push e2c2bd306b71a65f809263733bc51417a4391878
[wine/hacks.git] / configure
blob9407e505204e441e6262868f4c4fd43a377d5034
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0-rc5.
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-rc5'
578 PACKAGE_STRING='Wine 1.0-rc5'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 TESTSUBDIRS
667 WINETEST
668 SET_MAKE
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
677 CXXFLAGS
678 ac_ct_CXX
679 CPPBIN
680 TOOLSDIR
681 XMKMF
683 X_CFLAGS
684 X_PRE_LIBS
685 X_LIBS
686 X_EXTRA_LIBS
687 FLEX
688 BISON
690 ac_ct_AS
693 ARFLAGS
694 RANLIB
695 STRIP
696 WINDRES
697 LN_S
699 GREP
700 EGREP
701 LDCONFIG
702 INSTALL_PROGRAM
703 INSTALL_SCRIPT
704 INSTALL_DATA
705 LINT
706 LINTFLAGS
707 FONTFORGE
708 PKG_CONFIG
709 RSVG
710 ICOTOOL
711 PRELINK
712 LIBPTHREAD
713 XLIB
714 XFILES
715 OPENGLFILES
716 GLU32FILES
717 OPENGL_LIBS
718 QUARTZFILES
719 DLLEXT
720 DLLFLAGS
721 LDSHARED
722 LDDLLFLAGS
723 LIBEXT
724 IMPLIBEXT
725 LDRPATH_INSTALL
726 LDRPATH_LOCAL
728 DLLTOOL
729 DLLWRAP
730 MINGWAR
731 SECURITYLIB
732 COREFOUNDATIONLIB
733 IOKITLIB
734 LDEXECFLAGS
735 DISKARBITRATIONLIB
736 COREAUDIO
737 CARBONLIB
738 CROSSTEST
739 CROSSCC
740 CROSSWINDRES
741 NASLIBS
742 XML2LIBS
743 XML2INCL
744 XSLTLIBS
745 XSLTINCL
746 HALINCL
747 sane_devel
748 SANEINCL
749 gphoto2_devel
750 gphoto2port_devel
751 GPHOTO2LIBS
752 GPHOTO2INCL
753 RESOLVLIBS
754 LCMSLIBS
755 LDAPLIBS
756 ft_devel
757 FREETYPELIBS
758 FREETYPEINCL
759 FONTSSUBDIRS
760 ESDCONFIG
761 ESDLIBS
762 ESDINCL
763 ALSALIBS
764 AUDIOIOLIBS
765 FONTCONFIGINCL
766 EXTRACFLAGS
767 BUILTINFLAG
768 LDPATH
769 CRTLIBS
770 SOCKETLIBS
771 MAIN_BINARY
772 EXTRA_BINARIES
773 LIBDL
774 LIBPOLL
775 DEPENDENCIES
776 LIBOBJS
777 LTLIBOBJS'
778 ac_subst_files='MAKE_RULES
779 MAKE_DLL_RULES
780 MAKE_IMPLIB_RULES
781 MAKE_TEST_RULES
782 MAKE_PROG_RULES'
783 ac_precious_vars='build_alias
784 host_alias
785 target_alias
787 CFLAGS
788 LDFLAGS
789 LIBS
790 CPPFLAGS
792 CXXFLAGS
794 XMKMF
795 CPP'
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
836 htmldir='${docdir}'
837 dvidir='${docdir}'
838 pdfdir='${docdir}'
839 psdir='${docdir}'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
844 ac_prev=
845 ac_dashdash=
846 for ac_option
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
851 ac_prev=
852 continue
855 case $ac_option in
856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 *) ac_optarg=yes ;;
858 esac
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
864 ac_dashdash=yes ;;
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
867 ac_prev=bindir ;;
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 bindir=$ac_optarg ;;
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
883 --config-cache | -C)
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
887 ac_prev=datadir ;;
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_$ac_feature=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_$ac_feature=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1114 -with-* | --with-*)
1115 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_$ac_package=\$ac_optarg ;;
1123 -without-* | --without-*)
1124 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_$ac_package=no ;;
1132 --x)
1133 # Obsolete; use --with-x.
1134 with_x=yes ;;
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1155 *=*)
1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 esac
1173 done
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1188 case $ac_val in
1189 [\\/$]* | ?:[\\/]* ) continue;;
1190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191 esac
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1194 done
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1199 build=$build_alias
1200 host=$host_alias
1201 target=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x; then
1205 if test "x$build_alias" = x; then
1206 cross_compiling=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1210 cross_compiling=yes
1214 ac_tool_prefix=
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217 test "$silent" = yes && exec 6>/dev/null
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1239 echo X"$0" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 s//\1/
1244 /^X\(\/\/\)[^/].*/{
1245 s//\1/
1248 /^X\(\/\/\)$/{
1249 s//\1/
1252 /^X\(\/\).*/{
1253 s//\1/
1256 s/.*/./; q'`
1257 srcdir=$ac_confdir
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 srcdir=..
1261 else
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 ac_abs_confdir=`(
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1273 pwd)`
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 srcdir=.
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1281 case $srcdir in
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 esac
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 done
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1297 cat <<_ACEOF
1298 \`configure' configures Wine 1.0-rc5 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1307 Configuration:
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 [PREFIX]
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1351 _ACEOF
1353 cat <<\_ACEOF
1355 X features:
1356 --x-includes=DIR X include files are in DIR
1357 --x-libraries=DIR X library files are in DIR
1359 System types:
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1362 _ACEOF
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of Wine 1.0-rc5:";;
1368 esac
1369 cat <<\_ACEOF
1371 Optional Features:
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1376 binaries)
1377 --enable-maintainer-mode
1378 enable maintainer-specific build rules
1379 --disable-tests do not build the testsuites
1381 Optional Packages:
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --without-alsa do not use the Alsa sound support
1385 --without-audioio do not use the AudioIO sound support
1386 --without-capi do not use CAPI (ISDN support)
1387 --without-cms do not use CMS (color management support)
1388 --without-coreaudio do not use the CoreAudio sound support
1389 --without-cups do not use CUPS
1390 --without-curses do not use (n)curses
1391 --without-esd do not use the EsounD sound support
1392 --without-fontconfig do not use fontconfig
1393 --without-freetype do not use the FreeType library
1394 --without-gphoto do not use gphoto (Digital Camera support)
1395 --without-glu do not use the GLU library
1396 --without-hal do not use HAL (dynamic device support)
1397 --without-jack do not use the Jack sound support
1398 --without-jpeg do not use JPEG
1399 --without-ldap do not use LDAP
1400 --without-nas do not use the NAS sound support
1401 --without-opengl do not use OpenGL
1402 --without-openssl do not use OpenSSL
1403 --without-oss do not use the OSS sound support
1404 --without-png do not use PNG
1405 --without-sane do not use SANE (scanner support)
1406 --without-xcomposite do not use the Xcomposite extension
1407 --without-xcursor do not use the Xcursor extension
1408 --without-xinerama do not use Xinerama (multi-monitor support)
1409 --without-xinput do not use the Xinput extension
1410 --without-xml do not use XML
1411 --without-xrandr do not use Xrandr (resolution changes)
1412 --without-xrender do not use the Xrender extension
1413 --without-xshape do not use the Xshape extension
1414 --without-xshm do not use XShm (shared memory extension)
1415 --without-xslt do not use XSLT
1416 --without-xvidmode do not use XFree video mode extension
1417 --with-wine-tools=DIR use Wine tools from directory DIR
1418 --with-x use the X Window System
1420 Some influential environment variables:
1421 CC C compiler command
1422 CFLAGS C compiler flags
1423 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1424 nonstandard directory <lib dir>
1425 LIBS libraries to pass to the linker, e.g. -l<library>
1426 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1427 you have headers in a nonstandard directory <include dir>
1428 CXX C++ compiler command
1429 CXXFLAGS C++ compiler flags
1430 XMKMF Path to xmkmf, Makefile generator for X Window System
1431 CPP C preprocessor
1433 Use these variables to override the choices made by `configure' or to help
1434 it to find libraries and programs with nonstandard names/locations.
1436 Report bugs to <wine-devel@winehq.org>.
1437 _ACEOF
1438 ac_status=$?
1441 if test "$ac_init_help" = "recursive"; then
1442 # If there are subdirs, report their specific --help.
1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444 test -d "$ac_dir" || continue
1445 ac_builddir=.
1447 case "$ac_dir" in
1448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1451 # A ".." for each directory in $ac_dir_suffix.
1452 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1453 case $ac_top_builddir_sub in
1454 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1456 esac ;;
1457 esac
1458 ac_abs_top_builddir=$ac_pwd
1459 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1460 # for backward compatibility:
1461 ac_top_builddir=$ac_top_build_prefix
1463 case $srcdir in
1464 .) # We are building in place.
1465 ac_srcdir=.
1466 ac_top_srcdir=$ac_top_builddir_sub
1467 ac_abs_top_srcdir=$ac_pwd ;;
1468 [\\/]* | ?:[\\/]* ) # Absolute name.
1469 ac_srcdir=$srcdir$ac_dir_suffix;
1470 ac_top_srcdir=$srcdir
1471 ac_abs_top_srcdir=$srcdir ;;
1472 *) # Relative name.
1473 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1474 ac_top_srcdir=$ac_top_build_prefix$srcdir
1475 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 esac
1477 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1479 cd "$ac_dir" || { ac_status=$?; continue; }
1480 # Check for guested configure.
1481 if test -f "$ac_srcdir/configure.gnu"; then
1482 echo &&
1483 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1484 elif test -f "$ac_srcdir/configure"; then
1485 echo &&
1486 $SHELL "$ac_srcdir/configure" --help=recursive
1487 else
1488 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 fi || ac_status=$?
1490 cd "$ac_pwd" || { ac_status=$?; break; }
1491 done
1494 test -n "$ac_init_help" && exit $ac_status
1495 if $ac_init_version; then
1496 cat <<\_ACEOF
1497 Wine configure 1.0-rc5
1498 generated by GNU Autoconf 2.61
1500 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1501 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1502 This configure script is free software; the Free Software Foundation
1503 gives unlimited permission to copy, distribute and modify it.
1504 _ACEOF
1505 exit
1507 cat >config.log <<_ACEOF
1508 This file contains any messages produced by compilers while
1509 running configure, to aid debugging if configure makes a mistake.
1511 It was created by Wine $as_me 1.0-rc5, which was
1512 generated by GNU Autoconf 2.61. Invocation command line was
1514 $ $0 $@
1516 _ACEOF
1517 exec 5>>config.log
1519 cat <<_ASUNAME
1520 ## --------- ##
1521 ## Platform. ##
1522 ## --------- ##
1524 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1525 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1526 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1527 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1528 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1530 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1531 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1533 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1534 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1535 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1536 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1537 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1538 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1539 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1541 _ASUNAME
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1544 for as_dir in $PATH
1546 IFS=$as_save_IFS
1547 test -z "$as_dir" && as_dir=.
1548 echo "PATH: $as_dir"
1549 done
1550 IFS=$as_save_IFS
1552 } >&5
1554 cat >&5 <<_ACEOF
1557 ## ----------- ##
1558 ## Core tests. ##
1559 ## ----------- ##
1561 _ACEOF
1564 # Keep a trace of the command line.
1565 # Strip out --no-create and --no-recursion so they do not pile up.
1566 # Strip out --silent because we don't want to record it for future runs.
1567 # Also quote any args containing shell meta-characters.
1568 # Make two passes to allow for proper duplicate-argument suppression.
1569 ac_configure_args=
1570 ac_configure_args0=
1571 ac_configure_args1=
1572 ac_must_keep_next=false
1573 for ac_pass in 1 2
1575 for ac_arg
1577 case $ac_arg in
1578 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1579 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1580 | -silent | --silent | --silen | --sile | --sil)
1581 continue ;;
1582 *\'*)
1583 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1584 esac
1585 case $ac_pass in
1586 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1588 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1589 if test $ac_must_keep_next = true; then
1590 ac_must_keep_next=false # Got value, back to normal.
1591 else
1592 case $ac_arg in
1593 *=* | --config-cache | -C | -disable-* | --disable-* \
1594 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1595 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1596 | -with-* | --with-* | -without-* | --without-* | --x)
1597 case "$ac_configure_args0 " in
1598 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1599 esac
1601 -* ) ac_must_keep_next=true ;;
1602 esac
1604 ac_configure_args="$ac_configure_args '$ac_arg'"
1606 esac
1607 done
1608 done
1609 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1610 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1612 # When interrupted or exit'd, cleanup temporary files, and complete
1613 # config.log. We remove comments because anyway the quotes in there
1614 # would cause problems or look ugly.
1615 # WARNING: Use '\'' to represent an apostrophe within the trap.
1616 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1617 trap 'exit_status=$?
1618 # Save into config.log some information that might help in debugging.
1620 echo
1622 cat <<\_ASBOX
1623 ## ---------------- ##
1624 ## Cache variables. ##
1625 ## ---------------- ##
1626 _ASBOX
1627 echo
1628 # The following way of writing the cache mishandles newlines in values,
1630 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1631 eval ac_val=\$$ac_var
1632 case $ac_val in #(
1633 *${as_nl}*)
1634 case $ac_var in #(
1635 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1636 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1637 esac
1638 case $ac_var in #(
1639 _ | IFS | as_nl) ;; #(
1640 *) $as_unset $ac_var ;;
1641 esac ;;
1642 esac
1643 done
1644 (set) 2>&1 |
1645 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1646 *${as_nl}ac_space=\ *)
1647 sed -n \
1648 "s/'\''/'\''\\\\'\'''\''/g;
1649 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1650 ;; #(
1652 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1654 esac |
1655 sort
1657 echo
1659 cat <<\_ASBOX
1660 ## ----------------- ##
1661 ## Output variables. ##
1662 ## ----------------- ##
1663 _ASBOX
1664 echo
1665 for ac_var in $ac_subst_vars
1667 eval ac_val=\$$ac_var
1668 case $ac_val in
1669 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1670 esac
1671 echo "$ac_var='\''$ac_val'\''"
1672 done | sort
1673 echo
1675 if test -n "$ac_subst_files"; then
1676 cat <<\_ASBOX
1677 ## ------------------- ##
1678 ## File substitutions. ##
1679 ## ------------------- ##
1680 _ASBOX
1681 echo
1682 for ac_var in $ac_subst_files
1684 eval ac_val=\$$ac_var
1685 case $ac_val in
1686 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1687 esac
1688 echo "$ac_var='\''$ac_val'\''"
1689 done | sort
1690 echo
1693 if test -s confdefs.h; then
1694 cat <<\_ASBOX
1695 ## ----------- ##
1696 ## confdefs.h. ##
1697 ## ----------- ##
1698 _ASBOX
1699 echo
1700 cat confdefs.h
1701 echo
1703 test "$ac_signal" != 0 &&
1704 echo "$as_me: caught signal $ac_signal"
1705 echo "$as_me: exit $exit_status"
1706 } >&5
1707 rm -f core *.core core.conftest.* &&
1708 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1709 exit $exit_status
1711 for ac_signal in 1 2 13 15; do
1712 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1713 done
1714 ac_signal=0
1716 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1717 rm -f -r conftest* confdefs.h
1719 # Predefined preprocessor variables.
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_NAME "$PACKAGE_NAME"
1723 _ACEOF
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1728 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1733 _ACEOF
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_STRING "$PACKAGE_STRING"
1738 _ACEOF
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1743 _ACEOF
1746 # Let the site file select an alternate cache file if it wants to.
1747 # Prefer explicitly selected file to automatically selected ones.
1748 if test -n "$CONFIG_SITE"; then
1749 set x "$CONFIG_SITE"
1750 elif test "x$prefix" != xNONE; then
1751 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1752 else
1753 set x "$ac_default_prefix/share/config.site" \
1754 "$ac_default_prefix/etc/config.site"
1756 shift
1757 for ac_site_file
1759 if test -r "$ac_site_file"; then
1760 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1761 echo "$as_me: loading site script $ac_site_file" >&6;}
1762 sed 's/^/| /' "$ac_site_file" >&5
1763 . "$ac_site_file"
1765 done
1767 if test -r "$cache_file"; then
1768 # Some versions of bash will fail to source /dev/null (special
1769 # files actually), so we avoid doing that.
1770 if test -f "$cache_file"; then
1771 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1772 echo "$as_me: loading cache $cache_file" >&6;}
1773 case $cache_file in
1774 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1775 *) . "./$cache_file";;
1776 esac
1778 else
1779 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1780 echo "$as_me: creating cache $cache_file" >&6;}
1781 >$cache_file
1784 # Check that the precious variables saved in the cache have kept the same
1785 # value.
1786 ac_cache_corrupted=false
1787 for ac_var in $ac_precious_vars; do
1788 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1789 eval ac_new_set=\$ac_env_${ac_var}_set
1790 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1791 eval ac_new_val=\$ac_env_${ac_var}_value
1792 case $ac_old_set,$ac_new_set in
1793 set,)
1794 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1795 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1796 ac_cache_corrupted=: ;;
1797 ,set)
1798 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1799 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1800 ac_cache_corrupted=: ;;
1801 ,);;
1803 if test "x$ac_old_val" != "x$ac_new_val"; then
1804 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1805 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1806 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1807 echo "$as_me: former value: $ac_old_val" >&2;}
1808 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1809 echo "$as_me: current value: $ac_new_val" >&2;}
1810 ac_cache_corrupted=:
1811 fi;;
1812 esac
1813 # Pass precious variables to config.status.
1814 if test "$ac_new_set" = set; then
1815 case $ac_new_val in
1816 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1817 *) ac_arg=$ac_var=$ac_new_val ;;
1818 esac
1819 case " $ac_configure_args " in
1820 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1821 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1822 esac
1824 done
1825 if $ac_cache_corrupted; then
1826 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1827 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1828 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1829 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1830 { (exit 1); exit 1; }; }
1857 ac_ext=c
1858 ac_cpp='$CPP $CPPFLAGS'
1859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1865 ac_config_headers="$ac_config_headers include/config.h"
1867 ac_aux_dir=
1868 for ac_dir in tools "$srcdir"/tools; do
1869 if test -f "$ac_dir/install-sh"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/install-sh -c"
1872 break
1873 elif test -f "$ac_dir/install.sh"; then
1874 ac_aux_dir=$ac_dir
1875 ac_install_sh="$ac_aux_dir/install.sh -c"
1876 break
1877 elif test -f "$ac_dir/shtool"; then
1878 ac_aux_dir=$ac_dir
1879 ac_install_sh="$ac_aux_dir/shtool install -c"
1880 break
1882 done
1883 if test -z "$ac_aux_dir"; then
1884 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1885 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1886 { (exit 1); exit 1; }; }
1889 # These three variables are undocumented and unsupported,
1890 # and are intended to be withdrawn in a future Autoconf release.
1891 # They can cause serious problems if a builder's source tree is in a directory
1892 # whose full name contains unusual characters.
1893 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1894 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1895 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1900 # Check whether --enable-win16 was given.
1901 if test "${enable_win16+set}" = set; then
1902 enableval=$enable_win16;
1905 # Check whether --enable-win64 was given.
1906 if test "${enable_win64+set}" = set; then
1907 enableval=$enable_win64;
1910 # Check whether --enable-maintainer-mode was given.
1911 if test "${enable_maintainer_mode+set}" = set; then
1912 enableval=$enable_maintainer_mode;
1913 else
1914 MAINTAINER_MODE=\#
1920 # Check whether --with-alsa was given.
1921 if test "${with_alsa+set}" = set; then
1922 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1926 # Check whether --with-audioio was given.
1927 if test "${with_audioio+set}" = set; then
1928 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1932 # Check whether --with-capi was given.
1933 if test "${with_capi+set}" = set; then
1934 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1938 # Check whether --with-cms was given.
1939 if test "${with_cms+set}" = set; then
1940 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1944 # Check whether --with-coreaudio was given.
1945 if test "${with_coreaudio+set}" = set; then
1946 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1950 # Check whether --with-cups was given.
1951 if test "${with_cups+set}" = set; then
1952 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1956 # Check whether --with-curses was given.
1957 if test "${with_curses+set}" = set; then
1958 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1962 # Check whether --with-esd was given.
1963 if test "${with_esd+set}" = set; then
1964 withval=$with_esd;
1968 # Check whether --with-fontconfig was given.
1969 if test "${with_fontconfig+set}" = set; then
1970 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1974 # Check whether --with-freetype was given.
1975 if test "${with_freetype+set}" = set; then
1976 withval=$with_freetype;
1980 # Check whether --with-gphoto was given.
1981 if test "${with_gphoto+set}" = set; then
1982 withval=$with_gphoto;
1986 # Check whether --with-glu was given.
1987 if test "${with_glu+set}" = set; then
1988 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1992 # Check whether --with-hal was given.
1993 if test "${with_hal+set}" = set; then
1994 withval=$with_hal;
1998 # Check whether --with-jack was given.
1999 if test "${with_jack+set}" = set; then
2000 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2004 # Check whether --with-jpeg was given.
2005 if test "${with_jpeg+set}" = set; then
2006 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2010 # Check whether --with-ldap was given.
2011 if test "${with_ldap+set}" = set; then
2012 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2016 # Check whether --with-nas was given.
2017 if test "${with_nas+set}" = set; then
2018 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2022 # Check whether --with-opengl was given.
2023 if test "${with_opengl+set}" = set; then
2024 withval=$with_opengl;
2028 # Check whether --with-openssl was given.
2029 if test "${with_openssl+set}" = set; then
2030 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2034 # Check whether --with-oss was given.
2035 if test "${with_oss+set}" = set; then
2036 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
2040 # Check whether --with-png was given.
2041 if test "${with_png+set}" = set; then
2042 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2046 # Check whether --with-sane was given.
2047 if test "${with_sane+set}" = set; then
2048 withval=$with_sane;
2052 # Check whether --with-xcomposite was given.
2053 if test "${with_xcomposite+set}" = set; then
2054 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2058 # Check whether --with-xcursor was given.
2059 if test "${with_xcursor+set}" = set; then
2060 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2064 # Check whether --with-xinerama was given.
2065 if test "${with_xinerama+set}" = set; then
2066 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2070 # Check whether --with-xinput was given.
2071 if test "${with_xinput+set}" = set; then
2072 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2076 # Check whether --with-xml was given.
2077 if test "${with_xml+set}" = set; then
2078 withval=$with_xml;
2082 # Check whether --with-xrandr was given.
2083 if test "${with_xrandr+set}" = set; then
2084 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2088 # Check whether --with-xrender was given.
2089 if test "${with_xrender+set}" = set; then
2090 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2094 # Check whether --with-xshape was given.
2095 if test "${with_xshape+set}" = set; then
2096 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2100 # Check whether --with-xshm was given.
2101 if test "${with_xshm+set}" = set; then
2102 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2106 # Check whether --with-xslt was given.
2107 if test "${with_xslt+set}" = set; then
2108 withval=$with_xslt;
2112 # Check whether --with-xvidmode was given.
2113 if test "${with_xvidmode+set}" = set; then
2114 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2119 # Check whether --with-wine-tools was given.
2120 if test "${with_wine_tools+set}" = set; then
2121 withval=$with_wine_tools;
2124 # Check whether --enable-tests was given.
2125 if test "${enable_tests+set}" = set; then
2126 enableval=$enable_tests;
2130 # Make sure we can run config.sub.
2131 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2132 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2133 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2134 { (exit 1); exit 1; }; }
2136 { echo "$as_me:$LINENO: checking build system type" >&5
2137 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2138 if test "${ac_cv_build+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 else
2141 ac_build_alias=$build_alias
2142 test "x$ac_build_alias" = x &&
2143 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2144 test "x$ac_build_alias" = x &&
2145 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2146 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2147 { (exit 1); exit 1; }; }
2148 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2149 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2150 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2151 { (exit 1); exit 1; }; }
2154 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2155 echo "${ECHO_T}$ac_cv_build" >&6; }
2156 case $ac_cv_build in
2157 *-*-*) ;;
2158 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2159 echo "$as_me: error: invalid value of canonical build" >&2;}
2160 { (exit 1); exit 1; }; };;
2161 esac
2162 build=$ac_cv_build
2163 ac_save_IFS=$IFS; IFS='-'
2164 set x $ac_cv_build
2165 shift
2166 build_cpu=$1
2167 build_vendor=$2
2168 shift; shift
2169 # Remember, the first character of IFS is used to create $*,
2170 # except with old shells:
2171 build_os=$*
2172 IFS=$ac_save_IFS
2173 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2176 { echo "$as_me:$LINENO: checking host system type" >&5
2177 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2178 if test "${ac_cv_host+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 else
2181 if test "x$host_alias" = x; then
2182 ac_cv_host=$ac_cv_build
2183 else
2184 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2185 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2186 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2187 { (exit 1); exit 1; }; }
2191 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2192 echo "${ECHO_T}$ac_cv_host" >&6; }
2193 case $ac_cv_host in
2194 *-*-*) ;;
2195 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2196 echo "$as_me: error: invalid value of canonical host" >&2;}
2197 { (exit 1); exit 1; }; };;
2198 esac
2199 host=$ac_cv_host
2200 ac_save_IFS=$IFS; IFS='-'
2201 set x $ac_cv_host
2202 shift
2203 host_cpu=$1
2204 host_vendor=$2
2205 shift; shift
2206 # Remember, the first character of IFS is used to create $*,
2207 # except with old shells:
2208 host_os=$*
2209 IFS=$ac_save_IFS
2210 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2213 case $host in
2214 x86_64*linux*)
2215 if test "x$enable_win64" != "xyes"
2216 then
2217 test -n "$CC" || CC="gcc -m32"
2218 test -n "$CXX"|| CXX="g++ -m32"
2219 test -n "$LD" || LD="ld -m elf_i386"
2220 test -n "$AS" || AS="as --32"
2221 host_cpu="i386"
2224 esac
2226 case $host_cpu in
2227 *i[3456789]86*)
2228 if test "x$enable_win16" != "xno"
2229 then
2230 enable_win16="yes"
2233 esac
2235 WIN16_FILES="\$(WIN16_FILES)"
2237 WIN16_INSTALL="\$(WIN16_INSTALL)"
2239 if test "x$enable_win16" != "xyes"
2240 then
2241 WIN16_FILES=""
2242 WIN16_INSTALL=""
2245 if test "x$enable_tests" == "xno"
2246 then
2247 TESTSUBDIRS=""
2249 WINETEST=""
2251 else
2252 TESTSUBDIRS="\$(TESTSUBDIRS)"
2254 WINETEST="winetest"
2258 case "$srcdir" in
2259 .) ;;
2260 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2261 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2262 You need to run 'make distclean' in the source tree first." >&5
2263 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2264 You need to run 'make distclean' in the source tree first." >&2;}
2265 { (exit 1); exit 1; }; }
2266 fi ;;
2267 esac
2270 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2271 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2272 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2273 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276 cat >conftest.make <<\_ACEOF
2277 SHELL = /bin/sh
2278 all:
2279 @echo '@@@%%%=$(MAKE)=@@@%%%'
2280 _ACEOF
2281 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2282 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2283 *@@@%%%=?*=@@@%%%*)
2284 eval ac_cv_prog_make_${ac_make}_set=yes;;
2286 eval ac_cv_prog_make_${ac_make}_set=no;;
2287 esac
2288 rm -f conftest.make
2290 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2291 { echo "$as_me:$LINENO: result: yes" >&5
2292 echo "${ECHO_T}yes" >&6; }
2293 SET_MAKE=
2294 else
2295 { echo "$as_me:$LINENO: result: no" >&5
2296 echo "${ECHO_T}no" >&6; }
2297 SET_MAKE="MAKE=${MAKE-make}"
2300 ac_ext=c
2301 ac_cpp='$CPP $CPPFLAGS'
2302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2305 if test -n "$ac_tool_prefix"; then
2306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2307 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else
2313 if test -n "$CC"; then
2314 ac_cv_prog_CC="$CC" # Let the user override the test.
2315 else
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 for as_dir in $PATH
2319 IFS=$as_save_IFS
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 break 2
2327 done
2328 done
2329 IFS=$as_save_IFS
2333 CC=$ac_cv_prog_CC
2334 if test -n "$CC"; then
2335 { echo "$as_me:$LINENO: result: $CC" >&5
2336 echo "${ECHO_T}$CC" >&6; }
2337 else
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2344 if test -z "$ac_cv_prog_CC"; then
2345 ac_ct_CC=$CC
2346 # Extract the first word of "gcc", so it can be a program name with args.
2347 set dummy gcc; ac_word=$2
2348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2350 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2351 echo $ECHO_N "(cached) $ECHO_C" >&6
2352 else
2353 if test -n "$ac_ct_CC"; then
2354 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2355 else
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH
2359 IFS=$as_save_IFS
2360 test -z "$as_dir" && as_dir=.
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2363 ac_cv_prog_ac_ct_CC="gcc"
2364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 break 2
2367 done
2368 done
2369 IFS=$as_save_IFS
2373 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2374 if test -n "$ac_ct_CC"; then
2375 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2376 echo "${ECHO_T}$ac_ct_CC" >&6; }
2377 else
2378 { echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6; }
2382 if test "x$ac_ct_CC" = x; then
2383 CC=""
2384 else
2385 case $cross_compiling:$ac_tool_warned in
2386 yes:)
2387 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2388 whose name does not start with the host triplet. If you think this
2389 configuration is useful to you, please write to autoconf@gnu.org." >&5
2390 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2391 whose name does not start with the host triplet. If you think this
2392 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2393 ac_tool_warned=yes ;;
2394 esac
2395 CC=$ac_ct_CC
2397 else
2398 CC="$ac_cv_prog_CC"
2401 if test -z "$CC"; then
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}cc; ac_word=$2
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407 if test "${ac_cv_prog_CC+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 else
2410 if test -n "$CC"; then
2411 ac_cv_prog_CC="$CC" # Let the user override the test.
2412 else
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 for as_dir in $PATH
2416 IFS=$as_save_IFS
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_CC="${ac_tool_prefix}cc"
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 break 2
2424 done
2425 done
2426 IFS=$as_save_IFS
2430 CC=$ac_cv_prog_CC
2431 if test -n "$CC"; then
2432 { echo "$as_me:$LINENO: result: $CC" >&5
2433 echo "${ECHO_T}$CC" >&6; }
2434 else
2435 { echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6; }
2442 if test -z "$CC"; then
2443 # Extract the first word of "cc", so it can be a program name with args.
2444 set dummy cc; ac_word=$2
2445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2447 if test "${ac_cv_prog_CC+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 else
2450 if test -n "$CC"; then
2451 ac_cv_prog_CC="$CC" # Let the user override the test.
2452 else
2453 ac_prog_rejected=no
2454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 for as_dir in $PATH
2457 IFS=$as_save_IFS
2458 test -z "$as_dir" && as_dir=.
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2461 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2462 ac_prog_rejected=yes
2463 continue
2465 ac_cv_prog_CC="cc"
2466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 break 2
2469 done
2470 done
2471 IFS=$as_save_IFS
2473 if test $ac_prog_rejected = yes; then
2474 # We found a bogon in the path, so make sure we never use it.
2475 set dummy $ac_cv_prog_CC
2476 shift
2477 if test $# != 0; then
2478 # We chose a different compiler from the bogus one.
2479 # However, it has the same basename, so the bogon will be chosen
2480 # first if we set CC to just the basename; use the full file name.
2481 shift
2482 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2487 CC=$ac_cv_prog_CC
2488 if test -n "$CC"; then
2489 { echo "$as_me:$LINENO: result: $CC" >&5
2490 echo "${ECHO_T}$CC" >&6; }
2491 else
2492 { echo "$as_me:$LINENO: result: no" >&5
2493 echo "${ECHO_T}no" >&6; }
2498 if test -z "$CC"; then
2499 if test -n "$ac_tool_prefix"; then
2500 for ac_prog in cl.exe
2502 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2503 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2506 if test "${ac_cv_prog_CC+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509 if test -n "$CC"; then
2510 ac_cv_prog_CC="$CC" # Let the user override the test.
2511 else
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 for as_dir in $PATH
2515 IFS=$as_save_IFS
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2519 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 break 2
2523 done
2524 done
2525 IFS=$as_save_IFS
2529 CC=$ac_cv_prog_CC
2530 if test -n "$CC"; then
2531 { echo "$as_me:$LINENO: result: $CC" >&5
2532 echo "${ECHO_T}$CC" >&6; }
2533 else
2534 { echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6; }
2539 test -n "$CC" && break
2540 done
2542 if test -z "$CC"; then
2543 ac_ct_CC=$CC
2544 for ac_prog in cl.exe
2546 # Extract the first word of "$ac_prog", so it can be a program name with args.
2547 set dummy $ac_prog; ac_word=$2
2548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 else
2553 if test -n "$ac_ct_CC"; then
2554 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2555 else
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557 for as_dir in $PATH
2559 IFS=$as_save_IFS
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2563 ac_cv_prog_ac_ct_CC="$ac_prog"
2564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 break 2
2567 done
2568 done
2569 IFS=$as_save_IFS
2573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2574 if test -n "$ac_ct_CC"; then
2575 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2576 echo "${ECHO_T}$ac_ct_CC" >&6; }
2577 else
2578 { echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6; }
2583 test -n "$ac_ct_CC" && break
2584 done
2586 if test "x$ac_ct_CC" = x; then
2587 CC=""
2588 else
2589 case $cross_compiling:$ac_tool_warned in
2590 yes:)
2591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2592 whose name does not start with the host triplet. If you think this
2593 configuration is useful to you, please write to autoconf@gnu.org." >&5
2594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2595 whose name does not start with the host triplet. If you think this
2596 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2597 ac_tool_warned=yes ;;
2598 esac
2599 CC=$ac_ct_CC
2606 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2607 See \`config.log' for more details." >&5
2608 echo "$as_me: error: no acceptable C compiler found in \$PATH
2609 See \`config.log' for more details." >&2;}
2610 { (exit 1); exit 1; }; }
2612 # Provide some information about the compiler.
2613 echo "$as_me:$LINENO: checking for C compiler version" >&5
2614 ac_compiler=`set X $ac_compile; echo $2`
2615 { (ac_try="$ac_compiler --version >&5"
2616 case "(($ac_try" in
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2619 esac
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_compiler --version >&5") 2>&5
2622 ac_status=$?
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }
2625 { (ac_try="$ac_compiler -v >&5"
2626 case "(($ac_try" in
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2629 esac
2630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2631 (eval "$ac_compiler -v >&5") 2>&5
2632 ac_status=$?
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }
2635 { (ac_try="$ac_compiler -V >&5"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_compiler -V >&5") 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }
2646 cat >conftest.$ac_ext <<_ACEOF
2647 /* confdefs.h. */
2648 _ACEOF
2649 cat confdefs.h >>conftest.$ac_ext
2650 cat >>conftest.$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2654 main ()
2658 return 0;
2660 _ACEOF
2661 ac_clean_files_save=$ac_clean_files
2662 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2663 # Try to create an executable without -o first, disregard a.out.
2664 # It will help us diagnose broken compilers, and finding out an intuition
2665 # of exeext.
2666 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2667 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2668 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2670 # List of possible output files, starting from the most likely.
2671 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2672 # only as a last resort. b.out is created by i960 compilers.
2673 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2675 # The IRIX 6 linker writes into existing files which may not be
2676 # executable, retaining their permissions. Remove them first so a
2677 # subsequent execution test works.
2678 ac_rmfiles=
2679 for ac_file in $ac_files
2681 case $ac_file in
2682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2683 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2684 esac
2685 done
2686 rm -f $ac_rmfiles
2688 if { (ac_try="$ac_link_default"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2694 (eval "$ac_link_default") 2>&5
2695 ac_status=$?
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; then
2698 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2699 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2700 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2701 # so that the user can short-circuit this test for compilers unknown to
2702 # Autoconf.
2703 for ac_file in $ac_files ''
2705 test -f "$ac_file" || continue
2706 case $ac_file in
2707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2709 [ab].out )
2710 # We found the default executable, but exeext='' is most
2711 # certainly right.
2712 break;;
2713 *.* )
2714 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2715 then :; else
2716 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2718 # We set ac_cv_exeext here because the later test for it is not
2719 # safe: cross compilers may not add the suffix if given an `-o'
2720 # argument, so we may need to know it at that point already.
2721 # Even if this section looks crufty: it has the advantage of
2722 # actually working.
2723 break;;
2725 break;;
2726 esac
2727 done
2728 test "$ac_cv_exeext" = no && ac_cv_exeext=
2730 else
2731 ac_file=''
2734 { echo "$as_me:$LINENO: result: $ac_file" >&5
2735 echo "${ECHO_T}$ac_file" >&6; }
2736 if test -z "$ac_file"; then
2737 echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2740 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2741 See \`config.log' for more details." >&5
2742 echo "$as_me: error: C compiler cannot create executables
2743 See \`config.log' for more details." >&2;}
2744 { (exit 77); exit 77; }; }
2747 ac_exeext=$ac_cv_exeext
2749 # Check that the compiler produces executables we can run. If not, either
2750 # the compiler is broken, or we cross compile.
2751 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2752 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2753 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2754 # If not cross compiling, check that we can run a simple program.
2755 if test "$cross_compiling" != yes; then
2756 if { ac_try='./$ac_file'
2757 { (case "(($ac_try" in
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2760 esac
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2762 (eval "$ac_try") 2>&5
2763 ac_status=$?
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; }; then
2766 cross_compiling=no
2767 else
2768 if test "$cross_compiling" = maybe; then
2769 cross_compiling=yes
2770 else
2771 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2772 If you meant to cross compile, use \`--host'.
2773 See \`config.log' for more details." >&5
2774 echo "$as_me: error: cannot run C compiled programs.
2775 If you meant to cross compile, use \`--host'.
2776 See \`config.log' for more details." >&2;}
2777 { (exit 1); exit 1; }; }
2781 { echo "$as_me:$LINENO: result: yes" >&5
2782 echo "${ECHO_T}yes" >&6; }
2784 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2785 ac_clean_files=$ac_clean_files_save
2786 # Check that the compiler produces executables we can run. If not, either
2787 # the compiler is broken, or we cross compile.
2788 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2789 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2790 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2791 echo "${ECHO_T}$cross_compiling" >&6; }
2793 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2794 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2795 if { (ac_try="$ac_link"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 (eval "$ac_link") 2>&5
2802 ac_status=$?
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; then
2805 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2806 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2807 # work properly (i.e., refer to `conftest.exe'), while it won't with
2808 # `rm'.
2809 for ac_file in conftest.exe conftest conftest.*; do
2810 test -f "$ac_file" || continue
2811 case $ac_file in
2812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2813 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2814 break;;
2815 * ) break;;
2816 esac
2817 done
2818 else
2819 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2820 See \`config.log' for more details." >&5
2821 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." >&2;}
2823 { (exit 1); exit 1; }; }
2826 rm -f conftest$ac_cv_exeext
2827 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2828 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2830 rm -f conftest.$ac_ext
2831 EXEEXT=$ac_cv_exeext
2832 ac_exeext=$EXEEXT
2833 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2834 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2835 if test "${ac_cv_objext+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 else
2838 cat >conftest.$ac_ext <<_ACEOF
2839 /* confdefs.h. */
2840 _ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h. */
2846 main ()
2850 return 0;
2852 _ACEOF
2853 rm -f conftest.o conftest.obj
2854 if { (ac_try="$ac_compile"
2855 case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2858 esac
2859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2860 (eval "$ac_compile") 2>&5
2861 ac_status=$?
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); }; then
2864 for ac_file in conftest.o conftest.obj conftest.*; do
2865 test -f "$ac_file" || continue;
2866 case $ac_file in
2867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2868 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2869 break;;
2870 esac
2871 done
2872 else
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2876 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2877 See \`config.log' for more details." >&5
2878 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2879 See \`config.log' for more details." >&2;}
2880 { (exit 1); exit 1; }; }
2883 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2885 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2886 echo "${ECHO_T}$ac_cv_objext" >&6; }
2887 OBJEXT=$ac_cv_objext
2888 ac_objext=$OBJEXT
2889 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2890 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2891 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 else
2894 cat >conftest.$ac_ext <<_ACEOF
2895 /* confdefs.h. */
2896 _ACEOF
2897 cat confdefs.h >>conftest.$ac_ext
2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2902 main ()
2904 #ifndef __GNUC__
2905 choke me
2906 #endif
2909 return 0;
2911 _ACEOF
2912 rm -f conftest.$ac_objext
2913 if { (ac_try="$ac_compile"
2914 case "(($ac_try" in
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2917 esac
2918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2919 (eval "$ac_compile") 2>conftest.er1
2920 ac_status=$?
2921 grep -v '^ *+' conftest.er1 >conftest.err
2922 rm -f conftest.er1
2923 cat conftest.err >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } && {
2926 test -z "$ac_c_werror_flag" ||
2927 test ! -s conftest.err
2928 } && test -s conftest.$ac_objext; then
2929 ac_compiler_gnu=yes
2930 else
2931 echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2934 ac_compiler_gnu=no
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2938 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2941 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2942 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2943 GCC=`test $ac_compiler_gnu = yes && echo yes`
2944 ac_test_CFLAGS=${CFLAGS+set}
2945 ac_save_CFLAGS=$CFLAGS
2946 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2947 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2948 if test "${ac_cv_prog_cc_g+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 else
2951 ac_save_c_werror_flag=$ac_c_werror_flag
2952 ac_c_werror_flag=yes
2953 ac_cv_prog_cc_g=no
2954 CFLAGS="-g"
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h. */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2963 main ()
2967 return 0;
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (ac_try="$ac_compile"
2972 case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2975 esac
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_compile") 2>conftest.er1
2978 ac_status=$?
2979 grep -v '^ *+' conftest.er1 >conftest.err
2980 rm -f conftest.er1
2981 cat conftest.err >&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } && {
2984 test -z "$ac_c_werror_flag" ||
2985 test ! -s conftest.err
2986 } && test -s conftest.$ac_objext; then
2987 ac_cv_prog_cc_g=yes
2988 else
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 CFLAGS=""
2993 cat >conftest.$ac_ext <<_ACEOF
2994 /* confdefs.h. */
2995 _ACEOF
2996 cat confdefs.h >>conftest.$ac_ext
2997 cat >>conftest.$ac_ext <<_ACEOF
2998 /* end confdefs.h. */
3001 main ()
3005 return 0;
3007 _ACEOF
3008 rm -f conftest.$ac_objext
3009 if { (ac_try="$ac_compile"
3010 case "(($ac_try" in
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3013 esac
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_compile") 2>conftest.er1
3016 ac_status=$?
3017 grep -v '^ *+' conftest.er1 >conftest.err
3018 rm -f conftest.er1
3019 cat conftest.err >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } && {
3022 test -z "$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3024 } && test -s conftest.$ac_objext; then
3026 else
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3030 ac_c_werror_flag=$ac_save_c_werror_flag
3031 CFLAGS="-g"
3032 cat >conftest.$ac_ext <<_ACEOF
3033 /* confdefs.h. */
3034 _ACEOF
3035 cat confdefs.h >>conftest.$ac_ext
3036 cat >>conftest.$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3040 main ()
3044 return 0;
3046 _ACEOF
3047 rm -f conftest.$ac_objext
3048 if { (ac_try="$ac_compile"
3049 case "(($ac_try" in
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3052 esac
3053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054 (eval "$ac_compile") 2>conftest.er1
3055 ac_status=$?
3056 grep -v '^ *+' conftest.er1 >conftest.err
3057 rm -f conftest.er1
3058 cat conftest.err >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } && {
3061 test -z "$ac_c_werror_flag" ||
3062 test ! -s conftest.err
3063 } && test -s conftest.$ac_objext; then
3064 ac_cv_prog_cc_g=yes
3065 else
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 ac_c_werror_flag=$ac_save_c_werror_flag
3081 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3082 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3083 if test "$ac_test_CFLAGS" = set; then
3084 CFLAGS=$ac_save_CFLAGS
3085 elif test $ac_cv_prog_cc_g = yes; then
3086 if test "$GCC" = yes; then
3087 CFLAGS="-g -O2"
3088 else
3089 CFLAGS="-g"
3091 else
3092 if test "$GCC" = yes; then
3093 CFLAGS="-O2"
3094 else
3095 CFLAGS=
3098 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3099 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3100 if test "${ac_cv_prog_cc_c89+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 else
3103 ac_cv_prog_cc_c89=no
3104 ac_save_CC=$CC
3105 cat >conftest.$ac_ext <<_ACEOF
3106 /* confdefs.h. */
3107 _ACEOF
3108 cat confdefs.h >>conftest.$ac_ext
3109 cat >>conftest.$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3111 #include <stdarg.h>
3112 #include <stdio.h>
3113 #include <sys/types.h>
3114 #include <sys/stat.h>
3115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3116 struct buf { int x; };
3117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3118 static char *e (p, i)
3119 char **p;
3120 int i;
3122 return p[i];
3124 static char *f (char * (*g) (char **, int), char **p, ...)
3126 char *s;
3127 va_list v;
3128 va_start (v,p);
3129 s = g (p, va_arg (v,int));
3130 va_end (v);
3131 return s;
3134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3135 function prototypes and stuff, but not '\xHH' hex character constants.
3136 These don't provoke an error unfortunately, instead are silently treated
3137 as 'x'. The following induces an error, until -std is added to get
3138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3139 array size at least. It's necessary to write '\x00'==0 to get something
3140 that's true only with -std. */
3141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3143 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3144 inside strings and character constants. */
3145 #define FOO(x) 'x'
3146 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3148 int test (int i, double x);
3149 struct s1 {int (*f) (int a);};
3150 struct s2 {int (*f) (double a);};
3151 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3152 int argc;
3153 char **argv;
3155 main ()
3157 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3159 return 0;
3161 _ACEOF
3162 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3163 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3165 CC="$ac_save_CC $ac_arg"
3166 rm -f conftest.$ac_objext
3167 if { (ac_try="$ac_compile"
3168 case "(($ac_try" in
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3171 esac
3172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3173 (eval "$ac_compile") 2>conftest.er1
3174 ac_status=$?
3175 grep -v '^ *+' conftest.er1 >conftest.err
3176 rm -f conftest.er1
3177 cat conftest.err >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } && {
3180 test -z "$ac_c_werror_flag" ||
3181 test ! -s conftest.err
3182 } && test -s conftest.$ac_objext; then
3183 ac_cv_prog_cc_c89=$ac_arg
3184 else
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3191 rm -f core conftest.err conftest.$ac_objext
3192 test "x$ac_cv_prog_cc_c89" != "xno" && break
3193 done
3194 rm -f conftest.$ac_ext
3195 CC=$ac_save_CC
3198 # AC_CACHE_VAL
3199 case "x$ac_cv_prog_cc_c89" in
3201 { echo "$as_me:$LINENO: result: none needed" >&5
3202 echo "${ECHO_T}none needed" >&6; } ;;
3203 xno)
3204 { echo "$as_me:$LINENO: result: unsupported" >&5
3205 echo "${ECHO_T}unsupported" >&6; } ;;
3207 CC="$CC $ac_cv_prog_cc_c89"
3208 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3209 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3210 esac
3213 ac_ext=c
3214 ac_cpp='$CPP $CPPFLAGS'
3215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219 ac_ext=cpp
3220 ac_cpp='$CXXCPP $CPPFLAGS'
3221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3224 if test -z "$CXX"; then
3225 if test -n "$CCC"; then
3226 CXX=$CCC
3227 else
3228 if test -n "$ac_tool_prefix"; then
3229 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3232 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3235 if test "${ac_cv_prog_CXX+set}" = set; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 else
3238 if test -n "$CXX"; then
3239 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3240 else
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 for as_dir in $PATH
3244 IFS=$as_save_IFS
3245 test -z "$as_dir" && as_dir=.
3246 for ac_exec_ext in '' $ac_executable_extensions; do
3247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3248 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3250 break 2
3252 done
3253 done
3254 IFS=$as_save_IFS
3258 CXX=$ac_cv_prog_CXX
3259 if test -n "$CXX"; then
3260 { echo "$as_me:$LINENO: result: $CXX" >&5
3261 echo "${ECHO_T}$CXX" >&6; }
3262 else
3263 { echo "$as_me:$LINENO: result: no" >&5
3264 echo "${ECHO_T}no" >&6; }
3268 test -n "$CXX" && break
3269 done
3271 if test -z "$CXX"; then
3272 ac_ct_CXX=$CXX
3273 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3275 # Extract the first word of "$ac_prog", so it can be a program name with args.
3276 set dummy $ac_prog; ac_word=$2
3277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3279 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3281 else
3282 if test -n "$ac_ct_CXX"; then
3283 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3284 else
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3286 for as_dir in $PATH
3288 IFS=$as_save_IFS
3289 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292 ac_cv_prog_ac_ct_CXX="$ac_prog"
3293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3294 break 2
3296 done
3297 done
3298 IFS=$as_save_IFS
3302 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3303 if test -n "$ac_ct_CXX"; then
3304 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3305 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3306 else
3307 { echo "$as_me:$LINENO: result: no" >&5
3308 echo "${ECHO_T}no" >&6; }
3312 test -n "$ac_ct_CXX" && break
3313 done
3315 if test "x$ac_ct_CXX" = x; then
3316 CXX="g++"
3317 else
3318 case $cross_compiling:$ac_tool_warned in
3319 yes:)
3320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3321 whose name does not start with the host triplet. If you think this
3322 configuration is useful to you, please write to autoconf@gnu.org." >&5
3323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3324 whose name does not start with the host triplet. If you think this
3325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3326 ac_tool_warned=yes ;;
3327 esac
3328 CXX=$ac_ct_CXX
3334 # Provide some information about the compiler.
3335 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3336 ac_compiler=`set X $ac_compile; echo $2`
3337 { (ac_try="$ac_compiler --version >&5"
3338 case "(($ac_try" in
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3341 esac
3342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3343 (eval "$ac_compiler --version >&5") 2>&5
3344 ac_status=$?
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); }
3347 { (ac_try="$ac_compiler -v >&5"
3348 case "(($ac_try" in
3349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3351 esac
3352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3353 (eval "$ac_compiler -v >&5") 2>&5
3354 ac_status=$?
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }
3357 { (ac_try="$ac_compiler -V >&5"
3358 case "(($ac_try" in
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3361 esac
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_compiler -V >&5") 2>&5
3364 ac_status=$?
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); }
3368 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3369 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3370 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 else
3373 cat >conftest.$ac_ext <<_ACEOF
3374 /* confdefs.h. */
3375 _ACEOF
3376 cat confdefs.h >>conftest.$ac_ext
3377 cat >>conftest.$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3381 main ()
3383 #ifndef __GNUC__
3384 choke me
3385 #endif
3388 return 0;
3390 _ACEOF
3391 rm -f conftest.$ac_objext
3392 if { (ac_try="$ac_compile"
3393 case "(($ac_try" in
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3396 esac
3397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3398 (eval "$ac_compile") 2>conftest.er1
3399 ac_status=$?
3400 grep -v '^ *+' conftest.er1 >conftest.err
3401 rm -f conftest.er1
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } && {
3405 test -z "$ac_cxx_werror_flag" ||
3406 test ! -s conftest.err
3407 } && test -s conftest.$ac_objext; then
3408 ac_compiler_gnu=yes
3409 else
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3413 ac_compiler_gnu=no
3416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3420 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3421 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3422 GXX=`test $ac_compiler_gnu = yes && echo yes`
3423 ac_test_CXXFLAGS=${CXXFLAGS+set}
3424 ac_save_CXXFLAGS=$CXXFLAGS
3425 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3426 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3427 if test "${ac_cv_prog_cxx_g+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 else
3430 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3431 ac_cxx_werror_flag=yes
3432 ac_cv_prog_cxx_g=no
3433 CXXFLAGS="-g"
3434 cat >conftest.$ac_ext <<_ACEOF
3435 /* confdefs.h. */
3436 _ACEOF
3437 cat confdefs.h >>conftest.$ac_ext
3438 cat >>conftest.$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3442 main ()
3446 return 0;
3448 _ACEOF
3449 rm -f conftest.$ac_objext
3450 if { (ac_try="$ac_compile"
3451 case "(($ac_try" in
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3454 esac
3455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3456 (eval "$ac_compile") 2>conftest.er1
3457 ac_status=$?
3458 grep -v '^ *+' conftest.er1 >conftest.err
3459 rm -f conftest.er1
3460 cat conftest.err >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } && {
3463 test -z "$ac_cxx_werror_flag" ||
3464 test ! -s conftest.err
3465 } && test -s conftest.$ac_objext; then
3466 ac_cv_prog_cxx_g=yes
3467 else
3468 echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3471 CXXFLAGS=""
3472 cat >conftest.$ac_ext <<_ACEOF
3473 /* confdefs.h. */
3474 _ACEOF
3475 cat confdefs.h >>conftest.$ac_ext
3476 cat >>conftest.$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3480 main ()
3484 return 0;
3486 _ACEOF
3487 rm -f conftest.$ac_objext
3488 if { (ac_try="$ac_compile"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_compile") 2>conftest.er1
3495 ac_status=$?
3496 grep -v '^ *+' conftest.er1 >conftest.err
3497 rm -f conftest.er1
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } && {
3501 test -z "$ac_cxx_werror_flag" ||
3502 test ! -s conftest.err
3503 } && test -s conftest.$ac_objext; then
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3510 CXXFLAGS="-g"
3511 cat >conftest.$ac_ext <<_ACEOF
3512 /* confdefs.h. */
3513 _ACEOF
3514 cat confdefs.h >>conftest.$ac_ext
3515 cat >>conftest.$ac_ext <<_ACEOF
3516 /* end confdefs.h. */
3519 main ()
3523 return 0;
3525 _ACEOF
3526 rm -f conftest.$ac_objext
3527 if { (ac_try="$ac_compile"
3528 case "(($ac_try" in
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3531 esac
3532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_compile") 2>conftest.er1
3534 ac_status=$?
3535 grep -v '^ *+' conftest.er1 >conftest.err
3536 rm -f conftest.er1
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } && {
3540 test -z "$ac_cxx_werror_flag" ||
3541 test ! -s conftest.err
3542 } && test -s conftest.$ac_objext; then
3543 ac_cv_prog_cxx_g=yes
3544 else
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3560 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3561 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3562 if test "$ac_test_CXXFLAGS" = set; then
3563 CXXFLAGS=$ac_save_CXXFLAGS
3564 elif test $ac_cv_prog_cxx_g = yes; then
3565 if test "$GXX" = yes; then
3566 CXXFLAGS="-g -O2"
3567 else
3568 CXXFLAGS="-g"
3570 else
3571 if test "$GXX" = yes; then
3572 CXXFLAGS="-O2"
3573 else
3574 CXXFLAGS=
3577 ac_ext=c
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 if test -n "$ac_tool_prefix"; then
3584 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3588 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591 if test -n "$CPPBIN"; then
3592 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3597 IFS=$as_save_IFS
3598 test -z "$as_dir" && as_dir=.
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 break 2
3605 done
3606 done
3607 IFS=$as_save_IFS
3611 CPPBIN=$ac_cv_prog_CPPBIN
3612 if test -n "$CPPBIN"; then
3613 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3614 echo "${ECHO_T}$CPPBIN" >&6; }
3615 else
3616 { echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6; }
3622 if test -z "$ac_cv_prog_CPPBIN"; then
3623 ac_ct_CPPBIN=$CPPBIN
3624 # Extract the first word of "cpp", so it can be a program name with args.
3625 set dummy cpp; ac_word=$2
3626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3628 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 else
3631 if test -n "$ac_ct_CPPBIN"; then
3632 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3633 else
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 for as_dir in $PATH
3637 IFS=$as_save_IFS
3638 test -z "$as_dir" && as_dir=.
3639 for ac_exec_ext in '' $ac_executable_extensions; do
3640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641 ac_cv_prog_ac_ct_CPPBIN="cpp"
3642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 break 2
3645 done
3646 done
3647 IFS=$as_save_IFS
3651 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3652 if test -n "$ac_ct_CPPBIN"; then
3653 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3654 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3655 else
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3660 if test "x$ac_ct_CPPBIN" = x; then
3661 CPPBIN="cpp"
3662 else
3663 case $cross_compiling:$ac_tool_warned in
3664 yes:)
3665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3666 whose name does not start with the host triplet. If you think this
3667 configuration is useful to you, please write to autoconf@gnu.org." >&5
3668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3669 whose name does not start with the host triplet. If you think this
3670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3671 ac_tool_warned=yes ;;
3672 esac
3673 CPPBIN=$ac_ct_CPPBIN
3675 else
3676 CPPBIN="$ac_cv_prog_CPPBIN"
3680 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3681 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3682 if test "${wine_cv_toolsdir+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 else
3685 if test -z "$with_wine_tools"; then
3686 if test "$cross_compiling" = "yes"; then
3687 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3688 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3689 { (exit 1); exit 1; }; }
3690 else
3691 wine_cv_toolsdir="\$(TOPOBJDIR)"
3693 elif test -d "$with_wine_tools/tools/winebuild"; then
3694 case $with_wine_tools in
3695 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3696 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3697 esac
3698 else
3699 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3700 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3701 { (exit 1); exit 1; }; }
3704 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3705 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3706 TOOLSDIR=$wine_cv_toolsdir
3710 ac_ext=c
3711 ac_cpp='$CPP $CPPFLAGS'
3712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3716 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3717 # On Suns, sometimes $CPP names a directory.
3718 if test -n "$CPP" && test -d "$CPP"; then
3719 CPP=
3721 if test -z "$CPP"; then
3722 if test "${ac_cv_prog_CPP+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 else
3725 # Double quotes because CPP needs to be expanded
3726 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3728 ac_preproc_ok=false
3729 for ac_c_preproc_warn_flag in '' yes
3731 # Use a header file that comes with gcc, so configuring glibc
3732 # with a fresh cross-compiler works.
3733 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3734 # <limits.h> exists even on freestanding compilers.
3735 # On the NeXT, cc -E runs the code through the compiler's parser,
3736 # not just through cpp. "Syntax error" is here to catch this case.
3737 cat >conftest.$ac_ext <<_ACEOF
3738 /* confdefs.h. */
3739 _ACEOF
3740 cat confdefs.h >>conftest.$ac_ext
3741 cat >>conftest.$ac_ext <<_ACEOF
3742 /* end confdefs.h. */
3743 #ifdef __STDC__
3744 # include <limits.h>
3745 #else
3746 # include <assert.h>
3747 #endif
3748 Syntax error
3749 _ACEOF
3750 if { (ac_try="$ac_cpp conftest.$ac_ext"
3751 case "(($ac_try" in
3752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3754 esac
3755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3757 ac_status=$?
3758 grep -v '^ *+' conftest.er1 >conftest.err
3759 rm -f conftest.er1
3760 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } >/dev/null && {
3763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3764 test ! -s conftest.err
3765 }; then
3767 else
3768 echo "$as_me: failed program was:" >&5
3769 sed 's/^/| /' conftest.$ac_ext >&5
3771 # Broken: fails on valid input.
3772 continue
3775 rm -f conftest.err conftest.$ac_ext
3777 # OK, works on sane cases. Now check whether nonexistent headers
3778 # can be detected and how.
3779 cat >conftest.$ac_ext <<_ACEOF
3780 /* confdefs.h. */
3781 _ACEOF
3782 cat confdefs.h >>conftest.$ac_ext
3783 cat >>conftest.$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3785 #include <ac_nonexistent.h>
3786 _ACEOF
3787 if { (ac_try="$ac_cpp conftest.$ac_ext"
3788 case "(($ac_try" in
3789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790 *) ac_try_echo=$ac_try;;
3791 esac
3792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3794 ac_status=$?
3795 grep -v '^ *+' conftest.er1 >conftest.err
3796 rm -f conftest.er1
3797 cat conftest.err >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } >/dev/null && {
3800 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3801 test ! -s conftest.err
3802 }; then
3803 # Broken: success on invalid input.
3804 continue
3805 else
3806 echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.$ac_ext >&5
3809 # Passes both tests.
3810 ac_preproc_ok=:
3811 break
3814 rm -f conftest.err conftest.$ac_ext
3816 done
3817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3818 rm -f conftest.err conftest.$ac_ext
3819 if $ac_preproc_ok; then
3820 break
3823 done
3824 ac_cv_prog_CPP=$CPP
3827 CPP=$ac_cv_prog_CPP
3828 else
3829 ac_cv_prog_CPP=$CPP
3831 { echo "$as_me:$LINENO: result: $CPP" >&5
3832 echo "${ECHO_T}$CPP" >&6; }
3833 ac_preproc_ok=false
3834 for ac_c_preproc_warn_flag in '' yes
3836 # Use a header file that comes with gcc, so configuring glibc
3837 # with a fresh cross-compiler works.
3838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3839 # <limits.h> exists even on freestanding compilers.
3840 # On the NeXT, cc -E runs the code through the compiler's parser,
3841 # not just through cpp. "Syntax error" is here to catch this case.
3842 cat >conftest.$ac_ext <<_ACEOF
3843 /* confdefs.h. */
3844 _ACEOF
3845 cat confdefs.h >>conftest.$ac_ext
3846 cat >>conftest.$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3848 #ifdef __STDC__
3849 # include <limits.h>
3850 #else
3851 # include <assert.h>
3852 #endif
3853 Syntax error
3854 _ACEOF
3855 if { (ac_try="$ac_cpp conftest.$ac_ext"
3856 case "(($ac_try" in
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3859 esac
3860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3862 ac_status=$?
3863 grep -v '^ *+' conftest.er1 >conftest.err
3864 rm -f conftest.er1
3865 cat conftest.err >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } >/dev/null && {
3868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3869 test ! -s conftest.err
3870 }; then
3872 else
3873 echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.$ac_ext >&5
3876 # Broken: fails on valid input.
3877 continue
3880 rm -f conftest.err conftest.$ac_ext
3882 # OK, works on sane cases. Now check whether nonexistent headers
3883 # can be detected and how.
3884 cat >conftest.$ac_ext <<_ACEOF
3885 /* confdefs.h. */
3886 _ACEOF
3887 cat confdefs.h >>conftest.$ac_ext
3888 cat >>conftest.$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3890 #include <ac_nonexistent.h>
3891 _ACEOF
3892 if { (ac_try="$ac_cpp conftest.$ac_ext"
3893 case "(($ac_try" in
3894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3895 *) ac_try_echo=$ac_try;;
3896 esac
3897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3898 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3899 ac_status=$?
3900 grep -v '^ *+' conftest.er1 >conftest.err
3901 rm -f conftest.er1
3902 cat conftest.err >&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); } >/dev/null && {
3905 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3906 test ! -s conftest.err
3907 }; then
3908 # Broken: success on invalid input.
3909 continue
3910 else
3911 echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.$ac_ext >&5
3914 # Passes both tests.
3915 ac_preproc_ok=:
3916 break
3919 rm -f conftest.err conftest.$ac_ext
3921 done
3922 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3923 rm -f conftest.err conftest.$ac_ext
3924 if $ac_preproc_ok; then
3926 else
3927 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3928 See \`config.log' for more details." >&5
3929 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3930 See \`config.log' for more details." >&2;}
3931 { (exit 1); exit 1; }; }
3934 ac_ext=c
3935 ac_cpp='$CPP $CPPFLAGS'
3936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 { echo "$as_me:$LINENO: checking for X" >&5
3942 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3945 # Check whether --with-x was given.
3946 if test "${with_x+set}" = set; then
3947 withval=$with_x;
3950 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3951 if test "x$with_x" = xno; then
3952 # The user explicitly disabled X.
3953 have_x=disabled
3954 else
3955 case $x_includes,$x_libraries in #(
3956 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3957 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3958 { (exit 1); exit 1; }; };; #(
3959 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 else
3962 # One or both of the vars are not set, and there is no cached value.
3963 ac_x_includes=no ac_x_libraries=no
3964 rm -f -r conftest.dir
3965 if mkdir conftest.dir; then
3966 cd conftest.dir
3967 cat >Imakefile <<'_ACEOF'
3968 incroot:
3969 @echo incroot='${INCROOT}'
3970 usrlibdir:
3971 @echo usrlibdir='${USRLIBDIR}'
3972 libdir:
3973 @echo libdir='${LIBDIR}'
3974 _ACEOF
3975 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3976 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3977 for ac_var in incroot usrlibdir libdir; do
3978 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3979 done
3980 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3981 for ac_extension in a so sl; do
3982 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3983 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3984 ac_im_usrlibdir=$ac_im_libdir; break
3986 done
3987 # Screen out bogus values from the imake configuration. They are
3988 # bogus both because they are the default anyway, and because
3989 # using them would break gcc on systems where it needs fixed includes.
3990 case $ac_im_incroot in
3991 /usr/include) ac_x_includes= ;;
3992 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3993 esac
3994 case $ac_im_usrlibdir in
3995 /usr/lib | /lib) ;;
3996 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3997 esac
3999 cd ..
4000 rm -f -r conftest.dir
4003 # Standard set of common directories for X headers.
4004 # Check X11 before X11Rn because it is often a symlink to the current release.
4005 ac_x_header_dirs='
4006 /usr/X11/include
4007 /usr/X11R6/include
4008 /usr/X11R5/include
4009 /usr/X11R4/include
4011 /usr/include/X11
4012 /usr/include/X11R6
4013 /usr/include/X11R5
4014 /usr/include/X11R4
4016 /usr/local/X11/include
4017 /usr/local/X11R6/include
4018 /usr/local/X11R5/include
4019 /usr/local/X11R4/include
4021 /usr/local/include/X11
4022 /usr/local/include/X11R6
4023 /usr/local/include/X11R5
4024 /usr/local/include/X11R4
4026 /usr/X386/include
4027 /usr/x386/include
4028 /usr/XFree86/include/X11
4030 /usr/include
4031 /usr/local/include
4032 /usr/unsupported/include
4033 /usr/athena/include
4034 /usr/local/x11r5/include
4035 /usr/lpp/Xamples/include
4037 /usr/openwin/include
4038 /usr/openwin/share/include'
4040 if test "$ac_x_includes" = no; then
4041 # Guess where to find include files, by looking for Xlib.h.
4042 # First, try using that file with no special directory specified.
4043 cat >conftest.$ac_ext <<_ACEOF
4044 /* confdefs.h. */
4045 _ACEOF
4046 cat confdefs.h >>conftest.$ac_ext
4047 cat >>conftest.$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4049 #include <X11/Xlib.h>
4050 _ACEOF
4051 if { (ac_try="$ac_cpp conftest.$ac_ext"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4058 ac_status=$?
4059 grep -v '^ *+' conftest.er1 >conftest.err
4060 rm -f conftest.er1
4061 cat conftest.err >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } >/dev/null && {
4064 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4065 test ! -s conftest.err
4066 }; then
4067 # We can compile using X headers with no special include directory.
4068 ac_x_includes=
4069 else
4070 echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.$ac_ext >&5
4073 for ac_dir in $ac_x_header_dirs; do
4074 if test -r "$ac_dir/X11/Xlib.h"; then
4075 ac_x_includes=$ac_dir
4076 break
4078 done
4081 rm -f conftest.err conftest.$ac_ext
4082 fi # $ac_x_includes = no
4084 if test "$ac_x_libraries" = no; then
4085 # Check for the libraries.
4086 # See if we find them without any special options.
4087 # Don't add to $LIBS permanently.
4088 ac_save_LIBS=$LIBS
4089 LIBS="-lX11 $LIBS"
4090 cat >conftest.$ac_ext <<_ACEOF
4091 /* confdefs.h. */
4092 _ACEOF
4093 cat confdefs.h >>conftest.$ac_ext
4094 cat >>conftest.$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4096 #include <X11/Xlib.h>
4098 main ()
4100 XrmInitialize ()
4102 return 0;
4104 _ACEOF
4105 rm -f conftest.$ac_objext conftest$ac_exeext
4106 if { (ac_try="$ac_link"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112 (eval "$ac_link") 2>conftest.er1
4113 ac_status=$?
4114 grep -v '^ *+' conftest.er1 >conftest.err
4115 rm -f conftest.er1
4116 cat conftest.err >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } && {
4119 test -z "$ac_c_werror_flag" ||
4120 test ! -s conftest.err
4121 } && test -s conftest$ac_exeext &&
4122 $as_test_x conftest$ac_exeext; then
4123 LIBS=$ac_save_LIBS
4124 # We can link X programs with no special library path.
4125 ac_x_libraries=
4126 else
4127 echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.$ac_ext >&5
4130 LIBS=$ac_save_LIBS
4131 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4133 # Don't even attempt the hair of trying to link an X program!
4134 for ac_extension in a so sl; do
4135 if test -r "$ac_dir/libX11.$ac_extension"; then
4136 ac_x_libraries=$ac_dir
4137 break 2
4139 done
4140 done
4143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4144 conftest$ac_exeext conftest.$ac_ext
4145 fi # $ac_x_libraries = no
4147 case $ac_x_includes,$ac_x_libraries in #(
4148 no,* | *,no | *\'*)
4149 # Didn't find X, or a directory has "'" in its name.
4150 ac_cv_have_x="have_x=no";; #(
4152 # Record where we found X for the cache.
4153 ac_cv_have_x="have_x=yes\
4154 ac_x_includes='$ac_x_includes'\
4155 ac_x_libraries='$ac_x_libraries'"
4156 esac
4158 ;; #(
4159 *) have_x=yes;;
4160 esac
4161 eval "$ac_cv_have_x"
4162 fi # $with_x != no
4164 if test "$have_x" != yes; then
4165 { echo "$as_me:$LINENO: result: $have_x" >&5
4166 echo "${ECHO_T}$have_x" >&6; }
4167 no_x=yes
4168 else
4169 # If each of the values was on the command line, it overrides each guess.
4170 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4171 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4172 # Update the cache value to reflect the command line values.
4173 ac_cv_have_x="have_x=yes\
4174 ac_x_includes='$x_includes'\
4175 ac_x_libraries='$x_libraries'"
4176 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4177 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4180 if test "$no_x" = yes; then
4181 # Not all programs may use this symbol, but it does not hurt to define it.
4183 cat >>confdefs.h <<\_ACEOF
4184 #define X_DISPLAY_MISSING 1
4185 _ACEOF
4187 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4188 else
4189 if test -n "$x_includes"; then
4190 X_CFLAGS="$X_CFLAGS -I$x_includes"
4193 # It would also be nice to do this for all -L options, not just this one.
4194 if test -n "$x_libraries"; then
4195 X_LIBS="$X_LIBS -L$x_libraries"
4196 # For Solaris; some versions of Sun CC require a space after -R and
4197 # others require no space. Words are not sufficient . . . .
4198 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4199 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4200 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4201 ac_xsave_c_werror_flag=$ac_c_werror_flag
4202 ac_c_werror_flag=yes
4203 cat >conftest.$ac_ext <<_ACEOF
4204 /* confdefs.h. */
4205 _ACEOF
4206 cat confdefs.h >>conftest.$ac_ext
4207 cat >>conftest.$ac_ext <<_ACEOF
4208 /* end confdefs.h. */
4211 main ()
4215 return 0;
4217 _ACEOF
4218 rm -f conftest.$ac_objext conftest$ac_exeext
4219 if { (ac_try="$ac_link"
4220 case "(($ac_try" in
4221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222 *) ac_try_echo=$ac_try;;
4223 esac
4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4225 (eval "$ac_link") 2>conftest.er1
4226 ac_status=$?
4227 grep -v '^ *+' conftest.er1 >conftest.err
4228 rm -f conftest.er1
4229 cat conftest.err >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } && {
4232 test -z "$ac_c_werror_flag" ||
4233 test ! -s conftest.err
4234 } && test -s conftest$ac_exeext &&
4235 $as_test_x conftest$ac_exeext; then
4236 { echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6; }
4238 X_LIBS="$X_LIBS -R$x_libraries"
4239 else
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 LIBS="$ac_xsave_LIBS -R $x_libraries"
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4252 main ()
4256 return 0;
4258 _ACEOF
4259 rm -f conftest.$ac_objext conftest$ac_exeext
4260 if { (ac_try="$ac_link"
4261 case "(($ac_try" in
4262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4264 esac
4265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4266 (eval "$ac_link") 2>conftest.er1
4267 ac_status=$?
4268 grep -v '^ *+' conftest.er1 >conftest.err
4269 rm -f conftest.er1
4270 cat conftest.err >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); } && {
4273 test -z "$ac_c_werror_flag" ||
4274 test ! -s conftest.err
4275 } && test -s conftest$ac_exeext &&
4276 $as_test_x conftest$ac_exeext; then
4277 { echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6; }
4279 X_LIBS="$X_LIBS -R $x_libraries"
4280 else
4281 echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.$ac_ext >&5
4284 { echo "$as_me:$LINENO: result: neither works" >&5
4285 echo "${ECHO_T}neither works" >&6; }
4288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4289 conftest$ac_exeext conftest.$ac_ext
4292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4293 conftest$ac_exeext conftest.$ac_ext
4294 ac_c_werror_flag=$ac_xsave_c_werror_flag
4295 LIBS=$ac_xsave_LIBS
4298 # Check for system-dependent libraries X programs must link with.
4299 # Do this before checking for the system-independent R6 libraries
4300 # (-lICE), since we may need -lsocket or whatever for X linking.
4302 if test "$ISC" = yes; then
4303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4304 else
4305 # Martyn Johnson says this is needed for Ultrix, if the X
4306 # libraries were built with DECnet support. And Karl Berry says
4307 # the Alpha needs dnet_stub (dnet does not exist).
4308 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4309 cat >conftest.$ac_ext <<_ACEOF
4310 /* confdefs.h. */
4311 _ACEOF
4312 cat confdefs.h >>conftest.$ac_ext
4313 cat >>conftest.$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4316 /* Override any GCC internal prototype to avoid an error.
4317 Use char because int might match the return type of a GCC
4318 builtin and then its argument prototype would still apply. */
4319 #ifdef __cplusplus
4320 extern "C"
4321 #endif
4322 char XOpenDisplay ();
4324 main ()
4326 return XOpenDisplay ();
4328 return 0;
4330 _ACEOF
4331 rm -f conftest.$ac_objext conftest$ac_exeext
4332 if { (ac_try="$ac_link"
4333 case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4336 esac
4337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4338 (eval "$ac_link") 2>conftest.er1
4339 ac_status=$?
4340 grep -v '^ *+' conftest.er1 >conftest.err
4341 rm -f conftest.er1
4342 cat conftest.err >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } && {
4345 test -z "$ac_c_werror_flag" ||
4346 test ! -s conftest.err
4347 } && test -s conftest$ac_exeext &&
4348 $as_test_x conftest$ac_exeext; then
4350 else
4351 echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4355 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4356 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4357 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 else
4359 ac_check_lib_save_LIBS=$LIBS
4360 LIBS="-ldnet $LIBS"
4361 cat >conftest.$ac_ext <<_ACEOF
4362 /* confdefs.h. */
4363 _ACEOF
4364 cat confdefs.h >>conftest.$ac_ext
4365 cat >>conftest.$ac_ext <<_ACEOF
4366 /* end confdefs.h. */
4368 /* Override any GCC internal prototype to avoid an error.
4369 Use char because int might match the return type of a GCC
4370 builtin and then its argument prototype would still apply. */
4371 #ifdef __cplusplus
4372 extern "C"
4373 #endif
4374 char dnet_ntoa ();
4376 main ()
4378 return dnet_ntoa ();
4380 return 0;
4382 _ACEOF
4383 rm -f conftest.$ac_objext conftest$ac_exeext
4384 if { (ac_try="$ac_link"
4385 case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_link") 2>conftest.er1
4391 ac_status=$?
4392 grep -v '^ *+' conftest.er1 >conftest.err
4393 rm -f conftest.er1
4394 cat conftest.err >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } && {
4397 test -z "$ac_c_werror_flag" ||
4398 test ! -s conftest.err
4399 } && test -s conftest$ac_exeext &&
4400 $as_test_x conftest$ac_exeext; then
4401 ac_cv_lib_dnet_dnet_ntoa=yes
4402 else
4403 echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4406 ac_cv_lib_dnet_dnet_ntoa=no
4409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4410 conftest$ac_exeext conftest.$ac_ext
4411 LIBS=$ac_check_lib_save_LIBS
4413 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4414 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4415 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4416 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4419 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4420 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4421 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4422 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 else
4425 ac_check_lib_save_LIBS=$LIBS
4426 LIBS="-ldnet_stub $LIBS"
4427 cat >conftest.$ac_ext <<_ACEOF
4428 /* confdefs.h. */
4429 _ACEOF
4430 cat confdefs.h >>conftest.$ac_ext
4431 cat >>conftest.$ac_ext <<_ACEOF
4432 /* end confdefs.h. */
4434 /* Override any GCC internal prototype to avoid an error.
4435 Use char because int might match the return type of a GCC
4436 builtin and then its argument prototype would still apply. */
4437 #ifdef __cplusplus
4438 extern "C"
4439 #endif
4440 char dnet_ntoa ();
4442 main ()
4444 return dnet_ntoa ();
4446 return 0;
4448 _ACEOF
4449 rm -f conftest.$ac_objext conftest$ac_exeext
4450 if { (ac_try="$ac_link"
4451 case "(($ac_try" in
4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4454 esac
4455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4456 (eval "$ac_link") 2>conftest.er1
4457 ac_status=$?
4458 grep -v '^ *+' conftest.er1 >conftest.err
4459 rm -f conftest.er1
4460 cat conftest.err >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); } && {
4463 test -z "$ac_c_werror_flag" ||
4464 test ! -s conftest.err
4465 } && test -s conftest$ac_exeext &&
4466 $as_test_x conftest$ac_exeext; then
4467 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4468 else
4469 echo "$as_me: failed program was:" >&5
4470 sed 's/^/| /' conftest.$ac_ext >&5
4472 ac_cv_lib_dnet_stub_dnet_ntoa=no
4475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4476 conftest$ac_exeext conftest.$ac_ext
4477 LIBS=$ac_check_lib_save_LIBS
4479 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4480 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4481 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4482 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4489 conftest$ac_exeext conftest.$ac_ext
4490 LIBS="$ac_xsave_LIBS"
4492 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4493 # to get the SysV transport functions.
4494 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4495 # needs -lnsl.
4496 # The nsl library prevents programs from opening the X display
4497 # on Irix 5.2, according to T.E. Dickey.
4498 # The functions gethostbyname, getservbyname, and inet_addr are
4499 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4500 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4501 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4502 if test "${ac_cv_func_gethostbyname+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 else
4505 cat >conftest.$ac_ext <<_ACEOF
4506 /* confdefs.h. */
4507 _ACEOF
4508 cat confdefs.h >>conftest.$ac_ext
4509 cat >>conftest.$ac_ext <<_ACEOF
4510 /* end confdefs.h. */
4511 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4513 #define gethostbyname innocuous_gethostbyname
4515 /* System header to define __stub macros and hopefully few prototypes,
4516 which can conflict with char gethostbyname (); below.
4517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4518 <limits.h> exists even on freestanding compilers. */
4520 #ifdef __STDC__
4521 # include <limits.h>
4522 #else
4523 # include <assert.h>
4524 #endif
4526 #undef gethostbyname
4528 /* Override any GCC internal prototype to avoid an error.
4529 Use char because int might match the return type of a GCC
4530 builtin and then its argument prototype would still apply. */
4531 #ifdef __cplusplus
4532 extern "C"
4533 #endif
4534 char gethostbyname ();
4535 /* The GNU C library defines this for functions which it implements
4536 to always fail with ENOSYS. Some functions are actually named
4537 something starting with __ and the normal name is an alias. */
4538 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4539 choke me
4540 #endif
4543 main ()
4545 return gethostbyname ();
4547 return 0;
4549 _ACEOF
4550 rm -f conftest.$ac_objext conftest$ac_exeext
4551 if { (ac_try="$ac_link"
4552 case "(($ac_try" in
4553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554 *) ac_try_echo=$ac_try;;
4555 esac
4556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4557 (eval "$ac_link") 2>conftest.er1
4558 ac_status=$?
4559 grep -v '^ *+' conftest.er1 >conftest.err
4560 rm -f conftest.er1
4561 cat conftest.err >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } && {
4564 test -z "$ac_c_werror_flag" ||
4565 test ! -s conftest.err
4566 } && test -s conftest$ac_exeext &&
4567 $as_test_x conftest$ac_exeext; then
4568 ac_cv_func_gethostbyname=yes
4569 else
4570 echo "$as_me: failed program was:" >&5
4571 sed 's/^/| /' conftest.$ac_ext >&5
4573 ac_cv_func_gethostbyname=no
4576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4577 conftest$ac_exeext conftest.$ac_ext
4579 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4580 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4582 if test $ac_cv_func_gethostbyname = no; then
4583 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4584 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4585 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 else
4588 ac_check_lib_save_LIBS=$LIBS
4589 LIBS="-lnsl $LIBS"
4590 cat >conftest.$ac_ext <<_ACEOF
4591 /* confdefs.h. */
4592 _ACEOF
4593 cat confdefs.h >>conftest.$ac_ext
4594 cat >>conftest.$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4597 /* Override any GCC internal prototype to avoid an error.
4598 Use char because int might match the return type of a GCC
4599 builtin and then its argument prototype would still apply. */
4600 #ifdef __cplusplus
4601 extern "C"
4602 #endif
4603 char gethostbyname ();
4605 main ()
4607 return gethostbyname ();
4609 return 0;
4611 _ACEOF
4612 rm -f conftest.$ac_objext conftest$ac_exeext
4613 if { (ac_try="$ac_link"
4614 case "(($ac_try" in
4615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4616 *) ac_try_echo=$ac_try;;
4617 esac
4618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4619 (eval "$ac_link") 2>conftest.er1
4620 ac_status=$?
4621 grep -v '^ *+' conftest.er1 >conftest.err
4622 rm -f conftest.er1
4623 cat conftest.err >&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } && {
4626 test -z "$ac_c_werror_flag" ||
4627 test ! -s conftest.err
4628 } && test -s conftest$ac_exeext &&
4629 $as_test_x conftest$ac_exeext; then
4630 ac_cv_lib_nsl_gethostbyname=yes
4631 else
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.$ac_ext >&5
4635 ac_cv_lib_nsl_gethostbyname=no
4638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4639 conftest$ac_exeext conftest.$ac_ext
4640 LIBS=$ac_check_lib_save_LIBS
4642 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4643 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4644 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4645 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4648 if test $ac_cv_lib_nsl_gethostbyname = no; then
4649 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4650 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4651 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 else
4654 ac_check_lib_save_LIBS=$LIBS
4655 LIBS="-lbsd $LIBS"
4656 cat >conftest.$ac_ext <<_ACEOF
4657 /* confdefs.h. */
4658 _ACEOF
4659 cat confdefs.h >>conftest.$ac_ext
4660 cat >>conftest.$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4666 #ifdef __cplusplus
4667 extern "C"
4668 #endif
4669 char gethostbyname ();
4671 main ()
4673 return gethostbyname ();
4675 return 0;
4677 _ACEOF
4678 rm -f conftest.$ac_objext conftest$ac_exeext
4679 if { (ac_try="$ac_link"
4680 case "(($ac_try" in
4681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4683 esac
4684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4685 (eval "$ac_link") 2>conftest.er1
4686 ac_status=$?
4687 grep -v '^ *+' conftest.er1 >conftest.err
4688 rm -f conftest.er1
4689 cat conftest.err >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } && {
4692 test -z "$ac_c_werror_flag" ||
4693 test ! -s conftest.err
4694 } && test -s conftest$ac_exeext &&
4695 $as_test_x conftest$ac_exeext; then
4696 ac_cv_lib_bsd_gethostbyname=yes
4697 else
4698 echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.$ac_ext >&5
4701 ac_cv_lib_bsd_gethostbyname=no
4704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4705 conftest$ac_exeext conftest.$ac_ext
4706 LIBS=$ac_check_lib_save_LIBS
4708 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4709 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4710 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4711 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4717 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4718 # socket/setsockopt and other routines are undefined under SCO ODT
4719 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4720 # on later versions), says Simon Leinen: it contains gethostby*
4721 # variants that don't use the name server (or something). -lsocket
4722 # must be given before -lnsl if both are needed. We assume that
4723 # if connect needs -lnsl, so does gethostbyname.
4724 { echo "$as_me:$LINENO: checking for connect" >&5
4725 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4726 if test "${ac_cv_func_connect+set}" = set; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 else
4729 cat >conftest.$ac_ext <<_ACEOF
4730 /* confdefs.h. */
4731 _ACEOF
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4737 #define connect innocuous_connect
4739 /* System header to define __stub macros and hopefully few prototypes,
4740 which can conflict with char connect (); below.
4741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4742 <limits.h> exists even on freestanding compilers. */
4744 #ifdef __STDC__
4745 # include <limits.h>
4746 #else
4747 # include <assert.h>
4748 #endif
4750 #undef connect
4752 /* Override any GCC internal prototype to avoid an error.
4753 Use char because int might match the return type of a GCC
4754 builtin and then its argument prototype would still apply. */
4755 #ifdef __cplusplus
4756 extern "C"
4757 #endif
4758 char connect ();
4759 /* The GNU C library defines this for functions which it implements
4760 to always fail with ENOSYS. Some functions are actually named
4761 something starting with __ and the normal name is an alias. */
4762 #if defined __stub_connect || defined __stub___connect
4763 choke me
4764 #endif
4767 main ()
4769 return connect ();
4771 return 0;
4773 _ACEOF
4774 rm -f conftest.$ac_objext conftest$ac_exeext
4775 if { (ac_try="$ac_link"
4776 case "(($ac_try" in
4777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778 *) ac_try_echo=$ac_try;;
4779 esac
4780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4781 (eval "$ac_link") 2>conftest.er1
4782 ac_status=$?
4783 grep -v '^ *+' conftest.er1 >conftest.err
4784 rm -f conftest.er1
4785 cat conftest.err >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); } && {
4788 test -z "$ac_c_werror_flag" ||
4789 test ! -s conftest.err
4790 } && test -s conftest$ac_exeext &&
4791 $as_test_x conftest$ac_exeext; then
4792 ac_cv_func_connect=yes
4793 else
4794 echo "$as_me: failed program was:" >&5
4795 sed 's/^/| /' conftest.$ac_ext >&5
4797 ac_cv_func_connect=no
4800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4801 conftest$ac_exeext conftest.$ac_ext
4803 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4804 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4806 if test $ac_cv_func_connect = no; then
4807 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4808 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4809 if test "${ac_cv_lib_socket_connect+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 else
4812 ac_check_lib_save_LIBS=$LIBS
4813 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4814 cat >conftest.$ac_ext <<_ACEOF
4815 /* confdefs.h. */
4816 _ACEOF
4817 cat confdefs.h >>conftest.$ac_ext
4818 cat >>conftest.$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4821 /* Override any GCC internal prototype to avoid an error.
4822 Use char because int might match the return type of a GCC
4823 builtin and then its argument prototype would still apply. */
4824 #ifdef __cplusplus
4825 extern "C"
4826 #endif
4827 char connect ();
4829 main ()
4831 return connect ();
4833 return 0;
4835 _ACEOF
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4838 case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4844 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err
4846 rm -f conftest.er1
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest$ac_exeext &&
4853 $as_test_x conftest$ac_exeext; then
4854 ac_cv_lib_socket_connect=yes
4855 else
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4859 ac_cv_lib_socket_connect=no
4862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4863 conftest$ac_exeext conftest.$ac_ext
4864 LIBS=$ac_check_lib_save_LIBS
4866 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4867 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4868 if test $ac_cv_lib_socket_connect = yes; then
4869 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4874 # Guillermo Gomez says -lposix is necessary on A/UX.
4875 { echo "$as_me:$LINENO: checking for remove" >&5
4876 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4877 if test "${ac_cv_func_remove+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 else
4880 cat >conftest.$ac_ext <<_ACEOF
4881 /* confdefs.h. */
4882 _ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4886 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4888 #define remove innocuous_remove
4890 /* System header to define __stub macros and hopefully few prototypes,
4891 which can conflict with char remove (); below.
4892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4893 <limits.h> exists even on freestanding compilers. */
4895 #ifdef __STDC__
4896 # include <limits.h>
4897 #else
4898 # include <assert.h>
4899 #endif
4901 #undef remove
4903 /* Override any GCC internal prototype to avoid an error.
4904 Use char because int might match the return type of a GCC
4905 builtin and then its argument prototype would still apply. */
4906 #ifdef __cplusplus
4907 extern "C"
4908 #endif
4909 char remove ();
4910 /* The GNU C library defines this for functions which it implements
4911 to always fail with ENOSYS. Some functions are actually named
4912 something starting with __ and the normal name is an alias. */
4913 #if defined __stub_remove || defined __stub___remove
4914 choke me
4915 #endif
4918 main ()
4920 return remove ();
4922 return 0;
4924 _ACEOF
4925 rm -f conftest.$ac_objext conftest$ac_exeext
4926 if { (ac_try="$ac_link"
4927 case "(($ac_try" in
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4930 esac
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_link") 2>conftest.er1
4933 ac_status=$?
4934 grep -v '^ *+' conftest.er1 >conftest.err
4935 rm -f conftest.er1
4936 cat conftest.err >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); } && {
4939 test -z "$ac_c_werror_flag" ||
4940 test ! -s conftest.err
4941 } && test -s conftest$ac_exeext &&
4942 $as_test_x conftest$ac_exeext; then
4943 ac_cv_func_remove=yes
4944 else
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 ac_cv_func_remove=no
4951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4952 conftest$ac_exeext conftest.$ac_ext
4954 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4955 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4957 if test $ac_cv_func_remove = no; then
4958 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4959 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4960 if test "${ac_cv_lib_posix_remove+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 else
4963 ac_check_lib_save_LIBS=$LIBS
4964 LIBS="-lposix $LIBS"
4965 cat >conftest.$ac_ext <<_ACEOF
4966 /* confdefs.h. */
4967 _ACEOF
4968 cat confdefs.h >>conftest.$ac_ext
4969 cat >>conftest.$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4972 /* Override any GCC internal prototype to avoid an error.
4973 Use char because int might match the return type of a GCC
4974 builtin and then its argument prototype would still apply. */
4975 #ifdef __cplusplus
4976 extern "C"
4977 #endif
4978 char remove ();
4980 main ()
4982 return remove ();
4984 return 0;
4986 _ACEOF
4987 rm -f conftest.$ac_objext conftest$ac_exeext
4988 if { (ac_try="$ac_link"
4989 case "(($ac_try" in
4990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4991 *) ac_try_echo=$ac_try;;
4992 esac
4993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4994 (eval "$ac_link") 2>conftest.er1
4995 ac_status=$?
4996 grep -v '^ *+' conftest.er1 >conftest.err
4997 rm -f conftest.er1
4998 cat conftest.err >&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); } && {
5001 test -z "$ac_c_werror_flag" ||
5002 test ! -s conftest.err
5003 } && test -s conftest$ac_exeext &&
5004 $as_test_x conftest$ac_exeext; then
5005 ac_cv_lib_posix_remove=yes
5006 else
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.$ac_ext >&5
5010 ac_cv_lib_posix_remove=no
5013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5014 conftest$ac_exeext conftest.$ac_ext
5015 LIBS=$ac_check_lib_save_LIBS
5017 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5018 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5019 if test $ac_cv_lib_posix_remove = yes; then
5020 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5025 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5026 { echo "$as_me:$LINENO: checking for shmat" >&5
5027 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5028 if test "${ac_cv_func_shmat+set}" = set; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 else
5031 cat >conftest.$ac_ext <<_ACEOF
5032 /* confdefs.h. */
5033 _ACEOF
5034 cat confdefs.h >>conftest.$ac_ext
5035 cat >>conftest.$ac_ext <<_ACEOF
5036 /* end confdefs.h. */
5037 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5039 #define shmat innocuous_shmat
5041 /* System header to define __stub macros and hopefully few prototypes,
5042 which can conflict with char shmat (); below.
5043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5044 <limits.h> exists even on freestanding compilers. */
5046 #ifdef __STDC__
5047 # include <limits.h>
5048 #else
5049 # include <assert.h>
5050 #endif
5052 #undef shmat
5054 /* Override any GCC internal prototype to avoid an error.
5055 Use char because int might match the return type of a GCC
5056 builtin and then its argument prototype would still apply. */
5057 #ifdef __cplusplus
5058 extern "C"
5059 #endif
5060 char shmat ();
5061 /* The GNU C library defines this for functions which it implements
5062 to always fail with ENOSYS. Some functions are actually named
5063 something starting with __ and the normal name is an alias. */
5064 #if defined __stub_shmat || defined __stub___shmat
5065 choke me
5066 #endif
5069 main ()
5071 return shmat ();
5073 return 0;
5075 _ACEOF
5076 rm -f conftest.$ac_objext conftest$ac_exeext
5077 if { (ac_try="$ac_link"
5078 case "(($ac_try" in
5079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5080 *) ac_try_echo=$ac_try;;
5081 esac
5082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5083 (eval "$ac_link") 2>conftest.er1
5084 ac_status=$?
5085 grep -v '^ *+' conftest.er1 >conftest.err
5086 rm -f conftest.er1
5087 cat conftest.err >&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } && {
5090 test -z "$ac_c_werror_flag" ||
5091 test ! -s conftest.err
5092 } && test -s conftest$ac_exeext &&
5093 $as_test_x conftest$ac_exeext; then
5094 ac_cv_func_shmat=yes
5095 else
5096 echo "$as_me: failed program was:" >&5
5097 sed 's/^/| /' conftest.$ac_ext >&5
5099 ac_cv_func_shmat=no
5102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5103 conftest$ac_exeext conftest.$ac_ext
5105 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5106 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5108 if test $ac_cv_func_shmat = no; then
5109 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5110 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5111 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5113 else
5114 ac_check_lib_save_LIBS=$LIBS
5115 LIBS="-lipc $LIBS"
5116 cat >conftest.$ac_ext <<_ACEOF
5117 /* confdefs.h. */
5118 _ACEOF
5119 cat confdefs.h >>conftest.$ac_ext
5120 cat >>conftest.$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5123 /* Override any GCC internal prototype to avoid an error.
5124 Use char because int might match the return type of a GCC
5125 builtin and then its argument prototype would still apply. */
5126 #ifdef __cplusplus
5127 extern "C"
5128 #endif
5129 char shmat ();
5131 main ()
5133 return shmat ();
5135 return 0;
5137 _ACEOF
5138 rm -f conftest.$ac_objext conftest$ac_exeext
5139 if { (ac_try="$ac_link"
5140 case "(($ac_try" in
5141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5142 *) ac_try_echo=$ac_try;;
5143 esac
5144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5145 (eval "$ac_link") 2>conftest.er1
5146 ac_status=$?
5147 grep -v '^ *+' conftest.er1 >conftest.err
5148 rm -f conftest.er1
5149 cat conftest.err >&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } && {
5152 test -z "$ac_c_werror_flag" ||
5153 test ! -s conftest.err
5154 } && test -s conftest$ac_exeext &&
5155 $as_test_x conftest$ac_exeext; then
5156 ac_cv_lib_ipc_shmat=yes
5157 else
5158 echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.$ac_ext >&5
5161 ac_cv_lib_ipc_shmat=no
5164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5165 conftest$ac_exeext conftest.$ac_ext
5166 LIBS=$ac_check_lib_save_LIBS
5168 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5169 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5170 if test $ac_cv_lib_ipc_shmat = yes; then
5171 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5177 # Check for libraries that X11R6 Xt/Xaw programs need.
5178 ac_save_LDFLAGS=$LDFLAGS
5179 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5180 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5181 # check for ICE first), but we must link in the order -lSM -lICE or
5182 # we get undefined symbols. So assume we have SM if we have ICE.
5183 # These have to be linked with before -lX11, unlike the other
5184 # libraries we check for below, so use a different variable.
5185 # John Interrante, Karl Berry
5186 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5187 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5188 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5189 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 else
5191 ac_check_lib_save_LIBS=$LIBS
5192 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5193 cat >conftest.$ac_ext <<_ACEOF
5194 /* confdefs.h. */
5195 _ACEOF
5196 cat confdefs.h >>conftest.$ac_ext
5197 cat >>conftest.$ac_ext <<_ACEOF
5198 /* end confdefs.h. */
5200 /* Override any GCC internal prototype to avoid an error.
5201 Use char because int might match the return type of a GCC
5202 builtin and then its argument prototype would still apply. */
5203 #ifdef __cplusplus
5204 extern "C"
5205 #endif
5206 char IceConnectionNumber ();
5208 main ()
5210 return IceConnectionNumber ();
5212 return 0;
5214 _ACEOF
5215 rm -f conftest.$ac_objext conftest$ac_exeext
5216 if { (ac_try="$ac_link"
5217 case "(($ac_try" in
5218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5219 *) ac_try_echo=$ac_try;;
5220 esac
5221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5222 (eval "$ac_link") 2>conftest.er1
5223 ac_status=$?
5224 grep -v '^ *+' conftest.er1 >conftest.err
5225 rm -f conftest.er1
5226 cat conftest.err >&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); } && {
5229 test -z "$ac_c_werror_flag" ||
5230 test ! -s conftest.err
5231 } && test -s conftest$ac_exeext &&
5232 $as_test_x conftest$ac_exeext; then
5233 ac_cv_lib_ICE_IceConnectionNumber=yes
5234 else
5235 echo "$as_me: failed program was:" >&5
5236 sed 's/^/| /' conftest.$ac_ext >&5
5238 ac_cv_lib_ICE_IceConnectionNumber=no
5241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5242 conftest$ac_exeext conftest.$ac_ext
5243 LIBS=$ac_check_lib_save_LIBS
5245 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5246 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5247 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5248 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5251 LDFLAGS=$ac_save_LDFLAGS
5256 for ac_prog in flex
5258 # Extract the first word of "$ac_prog", so it can be a program name with args.
5259 set dummy $ac_prog; ac_word=$2
5260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5262 if test "${ac_cv_prog_FLEX+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 else
5265 if test -n "$FLEX"; then
5266 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5275 ac_cv_prog_FLEX="$ac_prog"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5281 IFS=$as_save_IFS
5285 FLEX=$ac_cv_prog_FLEX
5286 if test -n "$FLEX"; then
5287 { echo "$as_me:$LINENO: result: $FLEX" >&5
5288 echo "${ECHO_T}$FLEX" >&6; }
5289 else
5290 { echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6; }
5295 test -n "$FLEX" && break
5296 done
5297 test -n "$FLEX" || FLEX="none"
5299 if test "$FLEX" = "none"
5300 then
5301 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5302 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5303 { (exit 1); exit 1; }; }
5306 for ac_prog in bison
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy $ac_prog; ac_word=$2
5310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5312 if test "${ac_cv_prog_BISON+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 else
5315 if test -n "$BISON"; then
5316 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_prog_BISON="$ac_prog"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2
5329 done
5330 done
5331 IFS=$as_save_IFS
5335 BISON=$ac_cv_prog_BISON
5336 if test -n "$BISON"; then
5337 { echo "$as_me:$LINENO: result: $BISON" >&5
5338 echo "${ECHO_T}$BISON" >&6; }
5339 else
5340 { echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6; }
5345 test -n "$BISON" && break
5346 done
5347 test -n "$BISON" || BISON="none"
5349 if test "$BISON" = "none"
5350 then
5351 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5352 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5353 { (exit 1); exit 1; }; }
5356 if test -n "$ac_tool_prefix"; then
5357 for ac_prog in gas as
5359 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5360 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5363 if test "${ac_cv_prog_AS+set}" = set; then
5364 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 else
5366 if test -n "$AS"; then
5367 ac_cv_prog_AS="$AS" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 break 2
5380 done
5381 done
5382 IFS=$as_save_IFS
5386 AS=$ac_cv_prog_AS
5387 if test -n "$AS"; then
5388 { echo "$as_me:$LINENO: result: $AS" >&5
5389 echo "${ECHO_T}$AS" >&6; }
5390 else
5391 { echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6; }
5396 test -n "$AS" && break
5397 done
5399 if test -z "$AS"; then
5400 ac_ct_AS=$AS
5401 for ac_prog in gas as
5403 # Extract the first word of "$ac_prog", so it can be a program name with args.
5404 set dummy $ac_prog; ac_word=$2
5405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5407 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 else
5410 if test -n "$ac_ct_AS"; then
5411 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5412 else
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5420 ac_cv_prog_ac_ct_AS="$ac_prog"
5421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 break 2
5424 done
5425 done
5426 IFS=$as_save_IFS
5430 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5431 if test -n "$ac_ct_AS"; then
5432 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5433 echo "${ECHO_T}$ac_ct_AS" >&6; }
5434 else
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5440 test -n "$ac_ct_AS" && break
5441 done
5443 if test "x$ac_ct_AS" = x; then
5444 AS="as"
5445 else
5446 case $cross_compiling:$ac_tool_warned in
5447 yes:)
5448 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5449 whose name does not start with the host triplet. If you think this
5450 configuration is useful to you, please write to autoconf@gnu.org." >&5
5451 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5452 whose name does not start with the host triplet. If you think this
5453 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5454 ac_tool_warned=yes ;;
5455 esac
5456 AS=$ac_ct_AS
5460 if test -n "$ac_tool_prefix"; then
5461 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5462 set dummy ${ac_tool_prefix}ld; ac_word=$2
5463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5465 if test "${ac_cv_prog_LD+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 else
5468 if test -n "$LD"; then
5469 ac_cv_prog_LD="$LD" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478 ac_cv_prog_LD="${ac_tool_prefix}ld"
5479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5482 done
5483 done
5484 IFS=$as_save_IFS
5488 LD=$ac_cv_prog_LD
5489 if test -n "$LD"; then
5490 { echo "$as_me:$LINENO: result: $LD" >&5
5491 echo "${ECHO_T}$LD" >&6; }
5492 else
5493 { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5499 if test -z "$ac_cv_prog_LD"; then
5500 ac_ct_LD=$LD
5501 # Extract the first word of "ld", so it can be a program name with args.
5502 set dummy ld; ac_word=$2
5503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5505 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 else
5508 if test -n "$ac_ct_LD"; then
5509 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5510 else
5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 for as_dir in $PATH
5514 IFS=$as_save_IFS
5515 test -z "$as_dir" && as_dir=.
5516 for ac_exec_ext in '' $ac_executable_extensions; do
5517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5518 ac_cv_prog_ac_ct_LD="ld"
5519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 break 2
5522 done
5523 done
5524 IFS=$as_save_IFS
5528 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5529 if test -n "$ac_ct_LD"; then
5530 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5531 echo "${ECHO_T}$ac_ct_LD" >&6; }
5532 else
5533 { echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6; }
5537 if test "x$ac_ct_LD" = x; then
5538 LD="ld"
5539 else
5540 case $cross_compiling:$ac_tool_warned in
5541 yes:)
5542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5543 whose name does not start with the host triplet. If you think this
5544 configuration is useful to you, please write to autoconf@gnu.org." >&5
5545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5546 whose name does not start with the host triplet. If you think this
5547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5548 ac_tool_warned=yes ;;
5549 esac
5550 LD=$ac_ct_LD
5552 else
5553 LD="$ac_cv_prog_LD"
5556 if test -n "$ac_tool_prefix"; then
5557 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5558 set dummy ${ac_tool_prefix}ar; ac_word=$2
5559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5561 if test "${ac_cv_prog_AR+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 else
5564 if test -n "$AR"; then
5565 ac_cv_prog_AR="$AR" # Let the user override the test.
5566 else
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH
5570 IFS=$as_save_IFS
5571 test -z "$as_dir" && as_dir=.
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5574 ac_cv_prog_AR="${ac_tool_prefix}ar"
5575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 break 2
5578 done
5579 done
5580 IFS=$as_save_IFS
5584 AR=$ac_cv_prog_AR
5585 if test -n "$AR"; then
5586 { echo "$as_me:$LINENO: result: $AR" >&5
5587 echo "${ECHO_T}$AR" >&6; }
5588 else
5589 { echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6; }
5595 if test -z "$ac_cv_prog_AR"; then
5596 ac_ct_AR=$AR
5597 # Extract the first word of "ar", so it can be a program name with args.
5598 set dummy ar; ac_word=$2
5599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5601 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5602 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 else
5604 if test -n "$ac_ct_AR"; then
5605 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5606 else
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH
5610 IFS=$as_save_IFS
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5614 ac_cv_prog_ac_ct_AR="ar"
5615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 break 2
5618 done
5619 done
5620 IFS=$as_save_IFS
5624 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5625 if test -n "$ac_ct_AR"; then
5626 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5627 echo "${ECHO_T}$ac_ct_AR" >&6; }
5628 else
5629 { echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6; }
5633 if test "x$ac_ct_AR" = x; then
5634 AR="ar"
5635 else
5636 case $cross_compiling:$ac_tool_warned in
5637 yes:)
5638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5639 whose name does not start with the host triplet. If you think this
5640 configuration is useful to you, please write to autoconf@gnu.org." >&5
5641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5642 whose name does not start with the host triplet. If you think this
5643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5644 ac_tool_warned=yes ;;
5645 esac
5646 AR=$ac_ct_AR
5648 else
5649 AR="$ac_cv_prog_AR"
5652 ARFLAGS=rc
5654 if test -n "$ac_tool_prefix"; then
5655 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5656 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_prog_RANLIB+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 else
5662 if test -n "$RANLIB"; then
5663 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 RANLIB=$ac_cv_prog_RANLIB
5683 if test -n "$RANLIB"; then
5684 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5685 echo "${ECHO_T}$RANLIB" >&6; }
5686 else
5687 { echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6; }
5693 if test -z "$ac_cv_prog_RANLIB"; then
5694 ac_ct_RANLIB=$RANLIB
5695 # Extract the first word of "ranlib", so it can be a program name with args.
5696 set dummy ranlib; ac_word=$2
5697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5699 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 else
5702 if test -n "$ac_ct_RANLIB"; then
5703 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5704 else
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 for as_dir in $PATH
5708 IFS=$as_save_IFS
5709 test -z "$as_dir" && as_dir=.
5710 for ac_exec_ext in '' $ac_executable_extensions; do
5711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5712 ac_cv_prog_ac_ct_RANLIB="ranlib"
5713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 break 2
5716 done
5717 done
5718 IFS=$as_save_IFS
5722 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5723 if test -n "$ac_ct_RANLIB"; then
5724 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5725 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5726 else
5727 { echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6; }
5731 if test "x$ac_ct_RANLIB" = x; then
5732 RANLIB=":"
5733 else
5734 case $cross_compiling:$ac_tool_warned in
5735 yes:)
5736 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5737 whose name does not start with the host triplet. If you think this
5738 configuration is useful to you, please write to autoconf@gnu.org." >&5
5739 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5740 whose name does not start with the host triplet. If you think this
5741 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5742 ac_tool_warned=yes ;;
5743 esac
5744 RANLIB=$ac_ct_RANLIB
5746 else
5747 RANLIB="$ac_cv_prog_RANLIB"
5750 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5752 set dummy ${ac_tool_prefix}strip; ac_word=$2
5753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5755 if test "${ac_cv_prog_STRIP+set}" = set; then
5756 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 else
5758 if test -n "$STRIP"; then
5759 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5764 IFS=$as_save_IFS
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 break 2
5772 done
5773 done
5774 IFS=$as_save_IFS
5778 STRIP=$ac_cv_prog_STRIP
5779 if test -n "$STRIP"; then
5780 { echo "$as_me:$LINENO: result: $STRIP" >&5
5781 echo "${ECHO_T}$STRIP" >&6; }
5782 else
5783 { echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6; }
5789 if test -z "$ac_cv_prog_STRIP"; then
5790 ac_ct_STRIP=$STRIP
5791 # Extract the first word of "strip", so it can be a program name with args.
5792 set dummy strip; ac_word=$2
5793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5795 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 if test -n "$ac_ct_STRIP"; then
5799 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5800 else
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_ac_ct_STRIP="strip"
5809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 break 2
5812 done
5813 done
5814 IFS=$as_save_IFS
5818 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5819 if test -n "$ac_ct_STRIP"; then
5820 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5821 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5822 else
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5827 if test "x$ac_ct_STRIP" = x; then
5828 STRIP="strip"
5829 else
5830 case $cross_compiling:$ac_tool_warned in
5831 yes:)
5832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5833 whose name does not start with the host triplet. If you think this
5834 configuration is useful to you, please write to autoconf@gnu.org." >&5
5835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5836 whose name does not start with the host triplet. If you think this
5837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5838 ac_tool_warned=yes ;;
5839 esac
5840 STRIP=$ac_ct_STRIP
5842 else
5843 STRIP="$ac_cv_prog_STRIP"
5846 if test -n "$ac_tool_prefix"; then
5847 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5848 set dummy ${ac_tool_prefix}windres; ac_word=$2
5849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5851 if test "${ac_cv_prog_WINDRES+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 else
5854 if test -n "$WINDRES"; then
5855 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5856 else
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858 for as_dir in $PATH
5860 IFS=$as_save_IFS
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 break 2
5868 done
5869 done
5870 IFS=$as_save_IFS
5874 WINDRES=$ac_cv_prog_WINDRES
5875 if test -n "$WINDRES"; then
5876 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5877 echo "${ECHO_T}$WINDRES" >&6; }
5878 else
5879 { echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6; }
5885 if test -z "$ac_cv_prog_WINDRES"; then
5886 ac_ct_WINDRES=$WINDRES
5887 # Extract the first word of "windres", so it can be a program name with args.
5888 set dummy windres; ac_word=$2
5889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5891 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 else
5894 if test -n "$ac_ct_WINDRES"; then
5895 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5904 ac_cv_prog_ac_ct_WINDRES="windres"
5905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5915 if test -n "$ac_ct_WINDRES"; then
5916 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5917 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5918 else
5919 { echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6; }
5923 if test "x$ac_ct_WINDRES" = x; then
5924 WINDRES="false"
5925 else
5926 case $cross_compiling:$ac_tool_warned in
5927 yes:)
5928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5929 whose name does not start with the host triplet. If you think this
5930 configuration is useful to you, please write to autoconf@gnu.org." >&5
5931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5932 whose name does not start with the host triplet. If you think this
5933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5934 ac_tool_warned=yes ;;
5935 esac
5936 WINDRES=$ac_ct_WINDRES
5938 else
5939 WINDRES="$ac_cv_prog_WINDRES"
5942 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5943 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5944 LN_S=$as_ln_s
5945 if test "$LN_S" = "ln -s"; then
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5948 else
5949 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5950 echo "${ECHO_T}no, using $LN_S" >&6; }
5953 { echo "$as_me:$LINENO: checking whether ln works" >&5
5954 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5955 rm -f conf$$ conf$$.file
5956 echo >conf$$.file
5957 if ln conf$$.file conf$$ 2>/dev/null; then
5958 LN=ln
5960 { echo "$as_me:$LINENO: result: yes" >&5
5961 echo "${ECHO_T}yes" >&6; }
5962 else
5963 LN="cp -p"
5965 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5966 echo "${ECHO_T}no, using $LN" >&6; }
5968 rm -f conf$$ conf$$.file
5969 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5970 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5971 if test "${ac_cv_path_GREP+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 else
5974 # Extract the first word of "grep ggrep" to use in msg output
5975 if test -z "$GREP"; then
5976 set dummy grep ggrep; ac_prog_name=$2
5977 if test "${ac_cv_path_GREP+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 else
5980 ac_path_GREP_found=false
5981 # Loop through the user's path and test for each of PROGNAME-LIST
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5985 IFS=$as_save_IFS
5986 test -z "$as_dir" && as_dir=.
5987 for ac_prog in grep ggrep; do
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5990 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5991 # Check for GNU ac_path_GREP and select it if it is found.
5992 # Check for GNU $ac_path_GREP
5993 case `"$ac_path_GREP" --version 2>&1` in
5994 *GNU*)
5995 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5997 ac_count=0
5998 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5999 while :
6001 cat "conftest.in" "conftest.in" >"conftest.tmp"
6002 mv "conftest.tmp" "conftest.in"
6003 cp "conftest.in" "conftest.nl"
6004 echo 'GREP' >> "conftest.nl"
6005 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6006 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6007 ac_count=`expr $ac_count + 1`
6008 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6009 # Best one so far, save it but keep looking for a better one
6010 ac_cv_path_GREP="$ac_path_GREP"
6011 ac_path_GREP_max=$ac_count
6013 # 10*(2^10) chars as input seems more than enough
6014 test $ac_count -gt 10 && break
6015 done
6016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6017 esac
6020 $ac_path_GREP_found && break 3
6021 done
6022 done
6024 done
6025 IFS=$as_save_IFS
6030 GREP="$ac_cv_path_GREP"
6031 if test -z "$GREP"; then
6032 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6033 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6034 { (exit 1); exit 1; }; }
6037 else
6038 ac_cv_path_GREP=$GREP
6043 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6044 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6045 GREP="$ac_cv_path_GREP"
6048 { echo "$as_me:$LINENO: checking for egrep" >&5
6049 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6050 if test "${ac_cv_path_EGREP+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 else
6053 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6054 then ac_cv_path_EGREP="$GREP -E"
6055 else
6056 # Extract the first word of "egrep" to use in msg output
6057 if test -z "$EGREP"; then
6058 set dummy egrep; ac_prog_name=$2
6059 if test "${ac_cv_path_EGREP+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6061 else
6062 ac_path_EGREP_found=false
6063 # Loop through the user's path and test for each of PROGNAME-LIST
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_prog in egrep; do
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6072 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6073 # Check for GNU ac_path_EGREP and select it if it is found.
6074 # Check for GNU $ac_path_EGREP
6075 case `"$ac_path_EGREP" --version 2>&1` in
6076 *GNU*)
6077 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6079 ac_count=0
6080 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6081 while :
6083 cat "conftest.in" "conftest.in" >"conftest.tmp"
6084 mv "conftest.tmp" "conftest.in"
6085 cp "conftest.in" "conftest.nl"
6086 echo 'EGREP' >> "conftest.nl"
6087 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6088 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6089 ac_count=`expr $ac_count + 1`
6090 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6091 # Best one so far, save it but keep looking for a better one
6092 ac_cv_path_EGREP="$ac_path_EGREP"
6093 ac_path_EGREP_max=$ac_count
6095 # 10*(2^10) chars as input seems more than enough
6096 test $ac_count -gt 10 && break
6097 done
6098 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6099 esac
6102 $ac_path_EGREP_found && break 3
6103 done
6104 done
6106 done
6107 IFS=$as_save_IFS
6112 EGREP="$ac_cv_path_EGREP"
6113 if test -z "$EGREP"; then
6114 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6115 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6116 { (exit 1); exit 1; }; }
6119 else
6120 ac_cv_path_EGREP=$EGREP
6126 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6127 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6128 EGREP="$ac_cv_path_EGREP"
6131 # Extract the first word of "ldconfig", so it can be a program name with args.
6132 set dummy ldconfig; ac_word=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 case $LDCONFIG in
6139 [\\/]* | ?:[\\/]*)
6140 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in /sbin /usr/sbin $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6158 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6160 esac
6162 LDCONFIG=$ac_cv_path_LDCONFIG
6163 if test -n "$LDCONFIG"; then
6164 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6165 echo "${ECHO_T}$LDCONFIG" >&6; }
6166 else
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6172 # Find a good install program. We prefer a C program (faster),
6173 # so one script is as good as another. But avoid the broken or
6174 # incompatible versions:
6175 # SysV /etc/install, /usr/sbin/install
6176 # SunOS /usr/etc/install
6177 # IRIX /sbin/install
6178 # AIX /bin/install
6179 # AmigaOS /C/install, which installs bootblocks on floppy discs
6180 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6181 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6182 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6183 # OS/2's system install, which has a completely different semantic
6184 # ./install, which can be erroneously created by make from ./install.sh.
6185 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6186 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6187 if test -z "$INSTALL"; then
6188 if test "${ac_cv_path_install+set}" = set; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 else
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 for as_dir in $PATH
6194 IFS=$as_save_IFS
6195 test -z "$as_dir" && as_dir=.
6196 # Account for people who put trailing slashes in PATH elements.
6197 case $as_dir/ in
6198 ./ | .// | /cC/* | \
6199 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6200 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6201 /usr/ucb/* ) ;;
6203 # OSF1 and SCO ODT 3.0 have their own names for install.
6204 # Don't use installbsd from OSF since it installs stuff as root
6205 # by default.
6206 for ac_prog in ginstall scoinst install; do
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6209 if test $ac_prog = install &&
6210 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6211 # AIX install. It has an incompatible calling convention.
6213 elif test $ac_prog = install &&
6214 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6215 # program-specific install script used by HP pwplus--don't use.
6217 else
6218 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6219 break 3
6222 done
6223 done
6225 esac
6226 done
6227 IFS=$as_save_IFS
6231 if test "${ac_cv_path_install+set}" = set; then
6232 INSTALL=$ac_cv_path_install
6233 else
6234 # As a last resort, use the slow shell script. Don't cache a
6235 # value for INSTALL within a source directory, because that will
6236 # break other packages using the cache if that directory is
6237 # removed, or if the value is a relative name.
6238 INSTALL=$ac_install_sh
6241 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6242 echo "${ECHO_T}$INSTALL" >&6; }
6244 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6245 # It thinks the first close brace ends the variable substitution.
6246 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6248 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6250 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6252 case "$INSTALL" in
6253 [\\/$]* | ?:[\\/]* ) ;;
6254 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6255 esac
6257 for ac_prog in lclint lint
6259 # Extract the first word of "$ac_prog", so it can be a program name with args.
6260 set dummy $ac_prog; ac_word=$2
6261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6263 if test "${ac_cv_prog_LINT+set}" = set; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6265 else
6266 if test -n "$LINT"; then
6267 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6268 else
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 for as_dir in $PATH
6272 IFS=$as_save_IFS
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6276 ac_cv_prog_LINT="$ac_prog"
6277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6278 break 2
6280 done
6281 done
6282 IFS=$as_save_IFS
6286 LINT=$ac_cv_prog_LINT
6287 if test -n "$LINT"; then
6288 { echo "$as_me:$LINENO: result: $LINT" >&5
6289 echo "${ECHO_T}$LINT" >&6; }
6290 else
6291 { echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6; }
6296 test -n "$LINT" && break
6297 done
6299 if test "$LINT" = "lint"
6300 then
6301 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6306 for ac_prog in fontforge
6308 # Extract the first word of "$ac_prog", so it can be a program name with args.
6309 set dummy $ac_prog; ac_word=$2
6310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6312 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6314 else
6315 if test -n "$FONTFORGE"; then
6316 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6317 else
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 for as_dir in $PATH
6321 IFS=$as_save_IFS
6322 test -z "$as_dir" && as_dir=.
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325 ac_cv_prog_FONTFORGE="$ac_prog"
6326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 break 2
6329 done
6330 done
6331 IFS=$as_save_IFS
6335 FONTFORGE=$ac_cv_prog_FONTFORGE
6336 if test -n "$FONTFORGE"; then
6337 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6338 echo "${ECHO_T}$FONTFORGE" >&6; }
6339 else
6340 { echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6; }
6345 test -n "$FONTFORGE" && break
6346 done
6347 test -n "$FONTFORGE" || FONTFORGE="false"
6349 for ac_prog in pkg-config
6351 # Extract the first word of "$ac_prog", so it can be a program name with args.
6352 set dummy $ac_prog; ac_word=$2
6353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6355 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6357 else
6358 if test -n "$PKG_CONFIG"; then
6359 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6360 else
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in $PATH
6364 IFS=$as_save_IFS
6365 test -z "$as_dir" && as_dir=.
6366 for ac_exec_ext in '' $ac_executable_extensions; do
6367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368 ac_cv_prog_PKG_CONFIG="$ac_prog"
6369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 break 2
6372 done
6373 done
6374 IFS=$as_save_IFS
6378 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6379 if test -n "$PKG_CONFIG"; then
6380 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6381 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6382 else
6383 { echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6; }
6388 test -n "$PKG_CONFIG" && break
6389 done
6390 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6392 for ac_prog in rsvg
6394 # Extract the first word of "$ac_prog", so it can be a program name with args.
6395 set dummy $ac_prog; ac_word=$2
6396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6398 if test "${ac_cv_prog_RSVG+set}" = set; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 else
6401 if test -n "$RSVG"; then
6402 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6403 else
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405 for as_dir in $PATH
6407 IFS=$as_save_IFS
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 ac_cv_prog_RSVG="$ac_prog"
6412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6413 break 2
6415 done
6416 done
6417 IFS=$as_save_IFS
6421 RSVG=$ac_cv_prog_RSVG
6422 if test -n "$RSVG"; then
6423 { echo "$as_me:$LINENO: result: $RSVG" >&5
6424 echo "${ECHO_T}$RSVG" >&6; }
6425 else
6426 { echo "$as_me:$LINENO: result: no" >&5
6427 echo "${ECHO_T}no" >&6; }
6431 test -n "$RSVG" && break
6432 done
6433 test -n "$RSVG" || RSVG="false"
6435 for ac_prog in icotool
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6441 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6442 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 else
6444 if test -n "$ICOTOOL"; then
6445 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_ICOTOOL="$ac_prog"
6455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6458 done
6459 done
6460 IFS=$as_save_IFS
6464 ICOTOOL=$ac_cv_prog_ICOTOOL
6465 if test -n "$ICOTOOL"; then
6466 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6467 echo "${ECHO_T}$ICOTOOL" >&6; }
6468 else
6469 { echo "$as_me:$LINENO: result: no" >&5
6470 echo "${ECHO_T}no" >&6; }
6474 test -n "$ICOTOOL" && break
6475 done
6476 test -n "$ICOTOOL" || ICOTOOL="false"
6479 if test "${enable_maintainer_mode+set}" = set
6480 then
6481 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6482 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6483 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6486 case $host_cpu in
6487 *i[3456789]86*)
6488 # Extract the first word of "prelink", so it can be a program name with args.
6489 set dummy prelink; ac_word=$2
6490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6492 if test "${ac_cv_path_PRELINK+set}" = set; then
6493 echo $ECHO_N "(cached) $ECHO_C" >&6
6494 else
6495 case $PRELINK in
6496 [\\/]* | ?:[\\/]*)
6497 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in /sbin /usr/sbin $PATH
6503 IFS=$as_save_IFS
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6507 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 break 2
6511 done
6512 done
6513 IFS=$as_save_IFS
6515 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6517 esac
6519 PRELINK=$ac_cv_path_PRELINK
6520 if test -n "$PRELINK"; then
6521 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6522 echo "${ECHO_T}$PRELINK" >&6; }
6523 else
6524 { echo "$as_me:$LINENO: result: no" >&5
6525 echo "${ECHO_T}no" >&6; }
6530 esac
6534 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6535 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6536 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 else
6539 ac_check_lib_save_LIBS=$LIBS
6540 LIBS="-li386 $LIBS"
6541 cat >conftest.$ac_ext <<_ACEOF
6542 /* confdefs.h. */
6543 _ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6548 /* Override any GCC internal prototype to avoid an error.
6549 Use char because int might match the return type of a GCC
6550 builtin and then its argument prototype would still apply. */
6551 #ifdef __cplusplus
6552 extern "C"
6553 #endif
6554 char i386_set_ldt ();
6556 main ()
6558 return i386_set_ldt ();
6560 return 0;
6562 _ACEOF
6563 rm -f conftest.$ac_objext conftest$ac_exeext
6564 if { (ac_try="$ac_link"
6565 case "(($ac_try" in
6566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6567 *) ac_try_echo=$ac_try;;
6568 esac
6569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570 (eval "$ac_link") 2>conftest.er1
6571 ac_status=$?
6572 grep -v '^ *+' conftest.er1 >conftest.err
6573 rm -f conftest.er1
6574 cat conftest.err >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } && {
6577 test -z "$ac_c_werror_flag" ||
6578 test ! -s conftest.err
6579 } && test -s conftest$ac_exeext &&
6580 $as_test_x conftest$ac_exeext; then
6581 ac_cv_lib_i386_i386_set_ldt=yes
6582 else
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6586 ac_cv_lib_i386_i386_set_ldt=no
6589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6590 conftest$ac_exeext conftest.$ac_ext
6591 LIBS=$ac_check_lib_save_LIBS
6593 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6594 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6595 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6596 cat >>confdefs.h <<_ACEOF
6597 #define HAVE_LIBI386 1
6598 _ACEOF
6600 LIBS="-li386 $LIBS"
6605 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6606 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6607 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6608 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 else
6610 ac_check_lib_save_LIBS=$LIBS
6611 LIBS="-lossaudio $LIBS"
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6619 /* Override any GCC internal prototype to avoid an error.
6620 Use char because int might match the return type of a GCC
6621 builtin and then its argument prototype would still apply. */
6622 #ifdef __cplusplus
6623 extern "C"
6624 #endif
6625 char _oss_ioctl ();
6627 main ()
6629 return _oss_ioctl ();
6631 return 0;
6633 _ACEOF
6634 rm -f conftest.$ac_objext conftest$ac_exeext
6635 if { (ac_try="$ac_link"
6636 case "(($ac_try" in
6637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6638 *) ac_try_echo=$ac_try;;
6639 esac
6640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6641 (eval "$ac_link") 2>conftest.er1
6642 ac_status=$?
6643 grep -v '^ *+' conftest.er1 >conftest.err
6644 rm -f conftest.er1
6645 cat conftest.err >&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); } && {
6648 test -z "$ac_c_werror_flag" ||
6649 test ! -s conftest.err
6650 } && test -s conftest$ac_exeext &&
6651 $as_test_x conftest$ac_exeext; then
6652 ac_cv_lib_ossaudio__oss_ioctl=yes
6653 else
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_cv_lib_ossaudio__oss_ioctl=no
6660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6661 conftest$ac_exeext conftest.$ac_ext
6662 LIBS=$ac_check_lib_save_LIBS
6664 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6665 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6666 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6667 cat >>confdefs.h <<_ACEOF
6668 #define HAVE_LIBOSSAUDIO 1
6669 _ACEOF
6671 LIBS="-lossaudio $LIBS"
6675 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6676 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6677 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6678 echo $ECHO_N "(cached) $ECHO_C" >&6
6679 else
6680 ac_check_lib_save_LIBS=$LIBS
6681 LIBS="-lpthread $LIBS"
6682 cat >conftest.$ac_ext <<_ACEOF
6683 /* confdefs.h. */
6684 _ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6689 /* Override any GCC internal prototype to avoid an error.
6690 Use char because int might match the return type of a GCC
6691 builtin and then its argument prototype would still apply. */
6692 #ifdef __cplusplus
6693 extern "C"
6694 #endif
6695 char pthread_create ();
6697 main ()
6699 return pthread_create ();
6701 return 0;
6703 _ACEOF
6704 rm -f conftest.$ac_objext conftest$ac_exeext
6705 if { (ac_try="$ac_link"
6706 case "(($ac_try" in
6707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6708 *) ac_try_echo=$ac_try;;
6709 esac
6710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6711 (eval "$ac_link") 2>conftest.er1
6712 ac_status=$?
6713 grep -v '^ *+' conftest.er1 >conftest.err
6714 rm -f conftest.er1
6715 cat conftest.err >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } && {
6718 test -z "$ac_c_werror_flag" ||
6719 test ! -s conftest.err
6720 } && test -s conftest$ac_exeext &&
6721 $as_test_x conftest$ac_exeext; then
6722 ac_cv_lib_pthread_pthread_create=yes
6723 else
6724 echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6727 ac_cv_lib_pthread_pthread_create=no
6730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6731 conftest$ac_exeext conftest.$ac_ext
6732 LIBS=$ac_check_lib_save_LIBS
6734 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6735 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6736 if test $ac_cv_lib_pthread_pthread_create = yes; then
6737 LIBPTHREAD="-lpthread"
6742 XLIB=""
6744 XFILES=""
6746 OPENGLFILES=""
6748 GLU32FILES=""
6750 OPENGL_LIBS=""
6752 QUARTZFILES=""
6756 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6757 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6758 if test "${ac_cv_header_stdc+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 else
6761 cat >conftest.$ac_ext <<_ACEOF
6762 /* confdefs.h. */
6763 _ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 #include <stdlib.h>
6768 #include <stdarg.h>
6769 #include <string.h>
6770 #include <float.h>
6773 main ()
6777 return 0;
6779 _ACEOF
6780 rm -f conftest.$ac_objext
6781 if { (ac_try="$ac_compile"
6782 case "(($ac_try" in
6783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6784 *) ac_try_echo=$ac_try;;
6785 esac
6786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6787 (eval "$ac_compile") 2>conftest.er1
6788 ac_status=$?
6789 grep -v '^ *+' conftest.er1 >conftest.err
6790 rm -f conftest.er1
6791 cat conftest.err >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } && {
6794 test -z "$ac_c_werror_flag" ||
6795 test ! -s conftest.err
6796 } && test -s conftest.$ac_objext; then
6797 ac_cv_header_stdc=yes
6798 else
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.$ac_ext >&5
6802 ac_cv_header_stdc=no
6805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6807 if test $ac_cv_header_stdc = yes; then
6808 # SunOS 4.x string.h does not declare mem*, 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 <string.h>
6817 _ACEOF
6818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6819 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6830 cat >conftest.$ac_ext <<_ACEOF
6831 /* confdefs.h. */
6832 _ACEOF
6833 cat confdefs.h >>conftest.$ac_ext
6834 cat >>conftest.$ac_ext <<_ACEOF
6835 /* end confdefs.h. */
6836 #include <stdlib.h>
6838 _ACEOF
6839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6840 $EGREP "free" >/dev/null 2>&1; then
6842 else
6843 ac_cv_header_stdc=no
6845 rm -f conftest*
6849 if test $ac_cv_header_stdc = yes; then
6850 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6851 if test "$cross_compiling" = yes; then
6853 else
6854 cat >conftest.$ac_ext <<_ACEOF
6855 /* confdefs.h. */
6856 _ACEOF
6857 cat confdefs.h >>conftest.$ac_ext
6858 cat >>conftest.$ac_ext <<_ACEOF
6859 /* end confdefs.h. */
6860 #include <ctype.h>
6861 #include <stdlib.h>
6862 #if ((' ' & 0x0FF) == 0x020)
6863 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6864 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6865 #else
6866 # define ISLOWER(c) \
6867 (('a' <= (c) && (c) <= 'i') \
6868 || ('j' <= (c) && (c) <= 'r') \
6869 || ('s' <= (c) && (c) <= 'z'))
6870 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6871 #endif
6873 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6875 main ()
6877 int i;
6878 for (i = 0; i < 256; i++)
6879 if (XOR (islower (i), ISLOWER (i))
6880 || toupper (i) != TOUPPER (i))
6881 return 2;
6882 return 0;
6884 _ACEOF
6885 rm -f conftest$ac_exeext
6886 if { (ac_try="$ac_link"
6887 case "(($ac_try" in
6888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6889 *) ac_try_echo=$ac_try;;
6890 esac
6891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6892 (eval "$ac_link") 2>&5
6893 ac_status=$?
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6896 { (case "(($ac_try" in
6897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6898 *) ac_try_echo=$ac_try;;
6899 esac
6900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6901 (eval "$ac_try") 2>&5
6902 ac_status=$?
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; }; then
6906 else
6907 echo "$as_me: program exited with status $ac_status" >&5
6908 echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 ( exit $ac_status )
6912 ac_cv_header_stdc=no
6914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6920 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6921 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6922 if test $ac_cv_header_stdc = yes; then
6924 cat >>confdefs.h <<\_ACEOF
6925 #define STDC_HEADERS 1
6926 _ACEOF
6930 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6940 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6941 inttypes.h stdint.h unistd.h
6943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6948 else
6949 cat >conftest.$ac_ext <<_ACEOF
6950 /* confdefs.h. */
6951 _ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 $ac_includes_default
6957 #include <$ac_header>
6958 _ACEOF
6959 rm -f conftest.$ac_objext
6960 if { (ac_try="$ac_compile"
6961 case "(($ac_try" in
6962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6963 *) ac_try_echo=$ac_try;;
6964 esac
6965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6966 (eval "$ac_compile") 2>conftest.er1
6967 ac_status=$?
6968 grep -v '^ *+' conftest.er1 >conftest.err
6969 rm -f conftest.er1
6970 cat conftest.err >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); } && {
6973 test -z "$ac_c_werror_flag" ||
6974 test ! -s conftest.err
6975 } && test -s conftest.$ac_objext; then
6976 eval "$as_ac_Header=yes"
6977 else
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6981 eval "$as_ac_Header=no"
6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 ac_res=`eval echo '${'$as_ac_Header'}'`
6987 { echo "$as_me:$LINENO: result: $ac_res" >&5
6988 echo "${ECHO_T}$ac_res" >&6; }
6989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6990 cat >>confdefs.h <<_ACEOF
6991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6992 _ACEOF
6996 done
7109 for ac_header in \
7110 AudioUnit/AudioUnit.h \
7111 Carbon/Carbon.h \
7112 CoreAudio/CoreAudio.h \
7113 DiskArbitration/DiskArbitration.h \
7114 IOKit/IOKitLib.h \
7115 alsa/asoundlib.h \
7116 arpa/inet.h \
7117 arpa/nameser.h \
7118 asm/types.h \
7119 capi20.h \
7120 cups/cups.h \
7121 curses.h \
7122 direct.h \
7123 dlfcn.h \
7124 elf.h \
7125 float.h \
7126 fontconfig/fontconfig.h \
7127 getopt.h \
7128 ieeefp.h \
7129 io.h \
7130 jack/jack.h \
7131 jpeglib.h \
7132 lber.h \
7133 lcms.h \
7134 lcms/lcms.h \
7135 ldap.h \
7136 libaudioio.h \
7137 link.h \
7138 linux/cdrom.h \
7139 linux/compiler.h \
7140 linux/hdreg.h \
7141 linux/input.h \
7142 linux/ioctl.h \
7143 linux/joystick.h \
7144 linux/major.h \
7145 linux/param.h \
7146 linux/serial.h \
7147 linux/ucdrom.h \
7148 mach/mach.h \
7149 mach/machine.h \
7150 machine/cpu.h \
7151 machine/limits.h \
7152 machine/soundcard.h \
7153 mntent.h \
7154 ncurses.h \
7155 netdb.h \
7156 netinet/in.h \
7157 netinet/in_systm.h \
7158 netinet/tcp.h \
7159 netinet/tcp_fsm.h \
7160 openssl/err.h \
7161 openssl/ssl.h \
7162 png.h \
7163 poll.h \
7164 process.h \
7165 pthread.h \
7166 pwd.h \
7167 regex.h \
7168 sched.h \
7169 scsi/scsi.h \
7170 scsi/scsi_ioctl.h \
7171 scsi/sg.h \
7172 soundcard.h \
7173 stdint.h \
7174 strings.h \
7175 sys/asoundlib.h \
7176 sys/cdio.h \
7177 sys/elf32.h \
7178 sys/epoll.h \
7179 sys/errno.h \
7180 sys/event.h \
7181 sys/exec_elf.h \
7182 sys/filio.h \
7183 sys/ioctl.h \
7184 sys/ipc.h \
7185 sys/limits.h \
7186 sys/link.h \
7187 sys/lwp.h \
7188 sys/mman.h \
7189 sys/modem.h \
7190 sys/msg.h \
7191 sys/mtio.h \
7192 sys/param.h \
7193 sys/poll.h \
7194 sys/prctl.h \
7195 sys/ptrace.h \
7196 sys/reg.h \
7197 sys/resource.h \
7198 sys/scsiio.h \
7199 sys/shm.h \
7200 sys/signal.h \
7201 sys/socket.h \
7202 sys/socketvar.h \
7203 sys/sockio.h \
7204 sys/soundcard.h \
7205 sys/statvfs.h \
7206 sys/strtio.h \
7207 sys/syscall.h \
7208 sys/sysctl.h \
7209 sys/time.h \
7210 sys/times.h \
7211 sys/uio.h \
7212 sys/un.h \
7213 sys/vm86.h \
7214 sys/wait.h \
7215 syscall.h \
7216 termios.h \
7217 unistd.h \
7218 utime.h \
7219 valgrind/memcheck.h
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7229 ac_res=`eval echo '${'$as_ac_Header'}'`
7230 { echo "$as_me:$LINENO: result: $ac_res" >&5
7231 echo "${ECHO_T}$ac_res" >&6; }
7232 else
7233 # Is the header compilable?
7234 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7236 cat >conftest.$ac_ext <<_ACEOF
7237 /* confdefs.h. */
7238 _ACEOF
7239 cat confdefs.h >>conftest.$ac_ext
7240 cat >>conftest.$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7242 $ac_includes_default
7243 #include <$ac_header>
7244 _ACEOF
7245 rm -f conftest.$ac_objext
7246 if { (ac_try="$ac_compile"
7247 case "(($ac_try" in
7248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7249 *) ac_try_echo=$ac_try;;
7250 esac
7251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7252 (eval "$ac_compile") 2>conftest.er1
7253 ac_status=$?
7254 grep -v '^ *+' conftest.er1 >conftest.err
7255 rm -f conftest.er1
7256 cat conftest.err >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } && {
7259 test -z "$ac_c_werror_flag" ||
7260 test ! -s conftest.err
7261 } && test -s conftest.$ac_objext; then
7262 ac_header_compiler=yes
7263 else
7264 echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.$ac_ext >&5
7267 ac_header_compiler=no
7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7271 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7272 echo "${ECHO_T}$ac_header_compiler" >&6; }
7274 # Is the header present?
7275 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7277 cat >conftest.$ac_ext <<_ACEOF
7278 /* confdefs.h. */
7279 _ACEOF
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7283 #include <$ac_header>
7284 _ACEOF
7285 if { (ac_try="$ac_cpp conftest.$ac_ext"
7286 case "(($ac_try" in
7287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7288 *) ac_try_echo=$ac_try;;
7289 esac
7290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7292 ac_status=$?
7293 grep -v '^ *+' conftest.er1 >conftest.err
7294 rm -f conftest.er1
7295 cat conftest.err >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } >/dev/null && {
7298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7299 test ! -s conftest.err
7300 }; then
7301 ac_header_preproc=yes
7302 else
7303 echo "$as_me: failed program was:" >&5
7304 sed 's/^/| /' conftest.$ac_ext >&5
7306 ac_header_preproc=no
7309 rm -f conftest.err conftest.$ac_ext
7310 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7311 echo "${ECHO_T}$ac_header_preproc" >&6; }
7313 # So? What about this header?
7314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7315 yes:no: )
7316 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7317 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7319 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7320 ac_header_preproc=yes
7322 no:yes:* )
7323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7327 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7328 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7329 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7330 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7334 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7335 ( cat <<\_ASBOX
7336 ## ------------------------------------ ##
7337 ## Report this to wine-devel@winehq.org ##
7338 ## ------------------------------------ ##
7339 _ASBOX
7340 ) | sed "s/^/$as_me: WARNING: /" >&2
7342 esac
7343 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7347 else
7348 eval "$as_ac_Header=\$ac_header_preproc"
7350 ac_res=`eval echo '${'$as_ac_Header'}'`
7351 { echo "$as_me:$LINENO: result: $ac_res" >&5
7352 echo "${ECHO_T}$ac_res" >&6; }
7355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7356 cat >>confdefs.h <<_ACEOF
7357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7358 _ACEOF
7362 done
7364 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7365 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7366 if test "${ac_cv_header_stat_broken+set}" = set; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7368 else
7369 cat >conftest.$ac_ext <<_ACEOF
7370 /* confdefs.h. */
7371 _ACEOF
7372 cat confdefs.h >>conftest.$ac_ext
7373 cat >>conftest.$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7375 #include <sys/types.h>
7376 #include <sys/stat.h>
7378 #if defined S_ISBLK && defined S_IFDIR
7379 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7380 #endif
7382 #if defined S_ISBLK && defined S_IFCHR
7383 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7384 #endif
7386 #if defined S_ISLNK && defined S_IFREG
7387 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7388 #endif
7390 #if defined S_ISSOCK && defined S_IFREG
7391 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7392 #endif
7394 _ACEOF
7395 rm -f conftest.$ac_objext
7396 if { (ac_try="$ac_compile"
7397 case "(($ac_try" in
7398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7399 *) ac_try_echo=$ac_try;;
7400 esac
7401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7402 (eval "$ac_compile") 2>conftest.er1
7403 ac_status=$?
7404 grep -v '^ *+' conftest.er1 >conftest.err
7405 rm -f conftest.er1
7406 cat conftest.err >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); } && {
7409 test -z "$ac_c_werror_flag" ||
7410 test ! -s conftest.err
7411 } && test -s conftest.$ac_objext; then
7412 ac_cv_header_stat_broken=no
7413 else
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.$ac_ext >&5
7417 ac_cv_header_stat_broken=yes
7420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7422 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7423 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7424 if test $ac_cv_header_stat_broken = yes; then
7426 cat >>confdefs.h <<\_ACEOF
7427 #define STAT_MACROS_BROKEN 1
7428 _ACEOF
7438 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7444 echo $ECHO_N "(cached) $ECHO_C" >&6
7445 else
7446 cat >conftest.$ac_ext <<_ACEOF
7447 /* confdefs.h. */
7448 _ACEOF
7449 cat confdefs.h >>conftest.$ac_ext
7450 cat >>conftest.$ac_ext <<_ACEOF
7451 /* end confdefs.h. */
7452 #include <sys/types.h>
7453 #ifdef HAVE_SYS_PARAM_H
7454 # include <sys/param.h>
7455 #endif
7457 #include <$ac_header>
7458 _ACEOF
7459 rm -f conftest.$ac_objext
7460 if { (ac_try="$ac_compile"
7461 case "(($ac_try" in
7462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7463 *) ac_try_echo=$ac_try;;
7464 esac
7465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7466 (eval "$ac_compile") 2>conftest.er1
7467 ac_status=$?
7468 grep -v '^ *+' conftest.er1 >conftest.err
7469 rm -f conftest.er1
7470 cat conftest.err >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } && {
7473 test -z "$ac_c_werror_flag" ||
7474 test ! -s conftest.err
7475 } && test -s conftest.$ac_objext; then
7476 eval "$as_ac_Header=yes"
7477 else
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.$ac_ext >&5
7481 eval "$as_ac_Header=no"
7484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7486 ac_res=`eval echo '${'$as_ac_Header'}'`
7487 { echo "$as_me:$LINENO: result: $ac_res" >&5
7488 echo "${ECHO_T}$ac_res" >&6; }
7489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7490 cat >>confdefs.h <<_ACEOF
7491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7492 _ACEOF
7496 done
7507 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
7509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7514 else
7515 cat >conftest.$ac_ext <<_ACEOF
7516 /* confdefs.h. */
7517 _ACEOF
7518 cat confdefs.h >>conftest.$ac_ext
7519 cat >>conftest.$ac_ext <<_ACEOF
7520 /* end confdefs.h. */
7521 #include <sys/types.h>
7522 #ifdef HAVE_SYS_SOCKET_H
7523 # include <sys/socket.h>
7524 #endif
7525 #ifdef HAVE_SYS_SOCKETVAR_H
7526 # include <sys/socketvar.h>
7527 #endif
7528 #ifdef HAVE_NETINET_IN_H
7529 # include <netinet/in.h>
7530 #endif
7532 #include <$ac_header>
7533 _ACEOF
7534 rm -f conftest.$ac_objext
7535 if { (ac_try="$ac_compile"
7536 case "(($ac_try" in
7537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7538 *) ac_try_echo=$ac_try;;
7539 esac
7540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7541 (eval "$ac_compile") 2>conftest.er1
7542 ac_status=$?
7543 grep -v '^ *+' conftest.er1 >conftest.err
7544 rm -f conftest.er1
7545 cat conftest.err >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } && {
7548 test -z "$ac_c_werror_flag" ||
7549 test ! -s conftest.err
7550 } && test -s conftest.$ac_objext; then
7551 eval "$as_ac_Header=yes"
7552 else
7553 echo "$as_me: failed program was:" >&5
7554 sed 's/^/| /' conftest.$ac_ext >&5
7556 eval "$as_ac_Header=no"
7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7561 ac_res=`eval echo '${'$as_ac_Header'}'`
7562 { echo "$as_me:$LINENO: result: $ac_res" >&5
7563 echo "${ECHO_T}$ac_res" >&6; }
7564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7565 cat >>confdefs.h <<_ACEOF
7566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7567 _ACEOF
7571 done
7575 for ac_header in netinet/tcp_var.h
7577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7581 echo $ECHO_N "(cached) $ECHO_C" >&6
7582 else
7583 cat >conftest.$ac_ext <<_ACEOF
7584 /* confdefs.h. */
7585 _ACEOF
7586 cat confdefs.h >>conftest.$ac_ext
7587 cat >>conftest.$ac_ext <<_ACEOF
7588 /* end confdefs.h. */
7589 #include <sys/types.h>
7590 #ifdef HAVE_SYS_SOCKET_H
7591 # include <sys/socket.h>
7592 #endif
7593 #ifdef HAVE_SYS_SOCKETVAR_H
7594 # include <sys/socketvar.h>
7595 #endif
7596 #ifdef HAVE_NETINET_IN_H
7597 # include <netinet/in.h>
7598 #endif
7599 #ifdef HAVE_NETINET_TCP_H
7600 # include <netinet/tcp.h>
7601 #endif
7603 #include <$ac_header>
7604 _ACEOF
7605 rm -f conftest.$ac_objext
7606 if { (ac_try="$ac_compile"
7607 case "(($ac_try" in
7608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7609 *) ac_try_echo=$ac_try;;
7610 esac
7611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7612 (eval "$ac_compile") 2>conftest.er1
7613 ac_status=$?
7614 grep -v '^ *+' conftest.er1 >conftest.err
7615 rm -f conftest.er1
7616 cat conftest.err >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && {
7619 test -z "$ac_c_werror_flag" ||
7620 test ! -s conftest.err
7621 } && test -s conftest.$ac_objext; then
7622 eval "$as_ac_Header=yes"
7623 else
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.$ac_ext >&5
7627 eval "$as_ac_Header=no"
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7632 ac_res=`eval echo '${'$as_ac_Header'}'`
7633 { echo "$as_me:$LINENO: result: $ac_res" >&5
7634 echo "${ECHO_T}$ac_res" >&6; }
7635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7636 cat >>confdefs.h <<_ACEOF
7637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7638 _ACEOF
7642 done
7646 for ac_header in linux/ipx.h
7648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7649 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7653 else
7654 cat >conftest.$ac_ext <<_ACEOF
7655 /* confdefs.h. */
7656 _ACEOF
7657 cat confdefs.h >>conftest.$ac_ext
7658 cat >>conftest.$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 #include <sys/types.h>
7661 #ifdef HAVE_ASM_TYPES_H
7662 # include <asm/types.h>
7663 #endif
7664 #ifdef HAVE_SYS_SOCKET_H
7665 # include <sys/socket.h>
7666 #endif
7668 #include <$ac_header>
7669 _ACEOF
7670 rm -f conftest.$ac_objext
7671 if { (ac_try="$ac_compile"
7672 case "(($ac_try" in
7673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7674 *) ac_try_echo=$ac_try;;
7675 esac
7676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7677 (eval "$ac_compile") 2>conftest.er1
7678 ac_status=$?
7679 grep -v '^ *+' conftest.er1 >conftest.err
7680 rm -f conftest.er1
7681 cat conftest.err >&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); } && {
7684 test -z "$ac_c_werror_flag" ||
7685 test ! -s conftest.err
7686 } && test -s conftest.$ac_objext; then
7687 eval "$as_ac_Header=yes"
7688 else
7689 echo "$as_me: failed program was:" >&5
7690 sed 's/^/| /' conftest.$ac_ext >&5
7692 eval "$as_ac_Header=no"
7695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7697 ac_res=`eval echo '${'$as_ac_Header'}'`
7698 { echo "$as_me:$LINENO: result: $ac_res" >&5
7699 echo "${ECHO_T}$ac_res" >&6; }
7700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7701 cat >>confdefs.h <<_ACEOF
7702 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 _ACEOF
7707 done
7711 for ac_header in resolv.h
7713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7714 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 else
7719 cat >conftest.$ac_ext <<_ACEOF
7720 /* confdefs.h. */
7721 _ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7725 #include <sys/types.h>
7726 #ifdef HAVE_SYS_SOCKET_H
7727 # include <sys/socket.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IN_H
7730 # include <netinet/in.h>
7731 #endif
7732 #ifdef HAVE_ARPA_NAMESER_H
7733 # include <arpa/nameser.h>
7734 #endif
7736 #include <$ac_header>
7737 _ACEOF
7738 rm -f conftest.$ac_objext
7739 if { (ac_try="$ac_compile"
7740 case "(($ac_try" in
7741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7742 *) ac_try_echo=$ac_try;;
7743 esac
7744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7745 (eval "$ac_compile") 2>conftest.er1
7746 ac_status=$?
7747 grep -v '^ *+' conftest.er1 >conftest.err
7748 rm -f conftest.er1
7749 cat conftest.err >&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } && {
7752 test -z "$ac_c_werror_flag" ||
7753 test ! -s conftest.err
7754 } && test -s conftest.$ac_objext; then
7755 eval "$as_ac_Header=yes"
7756 else
7757 echo "$as_me: failed program was:" >&5
7758 sed 's/^/| /' conftest.$ac_ext >&5
7760 eval "$as_ac_Header=no"
7763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7765 ac_res=`eval echo '${'$as_ac_Header'}'`
7766 { echo "$as_me:$LINENO: result: $ac_res" >&5
7767 echo "${ECHO_T}$ac_res" >&6; }
7768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7769 cat >>confdefs.h <<_ACEOF
7770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7771 _ACEOF
7775 done
7779 for ac_header in ucontext.h
7781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7786 else
7787 cat >conftest.$ac_ext <<_ACEOF
7788 /* confdefs.h. */
7789 _ACEOF
7790 cat confdefs.h >>conftest.$ac_ext
7791 cat >>conftest.$ac_ext <<_ACEOF
7792 /* end confdefs.h. */
7793 #include <signal.h>
7795 #include <$ac_header>
7796 _ACEOF
7797 rm -f conftest.$ac_objext
7798 if { (ac_try="$ac_compile"
7799 case "(($ac_try" in
7800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7801 *) ac_try_echo=$ac_try;;
7802 esac
7803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7804 (eval "$ac_compile") 2>conftest.er1
7805 ac_status=$?
7806 grep -v '^ *+' conftest.er1 >conftest.err
7807 rm -f conftest.er1
7808 cat conftest.err >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } && {
7811 test -z "$ac_c_werror_flag" ||
7812 test ! -s conftest.err
7813 } && test -s conftest.$ac_objext; then
7814 eval "$as_ac_Header=yes"
7815 else
7816 echo "$as_me: failed program was:" >&5
7817 sed 's/^/| /' conftest.$ac_ext >&5
7819 eval "$as_ac_Header=no"
7822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7824 ac_res=`eval echo '${'$as_ac_Header'}'`
7825 { echo "$as_me:$LINENO: result: $ac_res" >&5
7826 echo "${ECHO_T}$ac_res" >&6; }
7827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7828 cat >>confdefs.h <<_ACEOF
7829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7830 _ACEOF
7834 done
7838 for ac_header in sys/thr.h
7840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7844 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 else
7846 cat >conftest.$ac_ext <<_ACEOF
7847 /* confdefs.h. */
7848 _ACEOF
7849 cat confdefs.h >>conftest.$ac_ext
7850 cat >>conftest.$ac_ext <<_ACEOF
7851 /* end confdefs.h. */
7852 #include <sys/types.h>
7853 #ifdef HAVE_UCONTEXT_H
7854 #include <ucontext.h>
7855 #endif
7857 #include <$ac_header>
7858 _ACEOF
7859 rm -f conftest.$ac_objext
7860 if { (ac_try="$ac_compile"
7861 case "(($ac_try" in
7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7864 esac
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_compile") 2>conftest.er1
7867 ac_status=$?
7868 grep -v '^ *+' conftest.er1 >conftest.err
7869 rm -f conftest.er1
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } && {
7873 test -z "$ac_c_werror_flag" ||
7874 test ! -s conftest.err
7875 } && test -s conftest.$ac_objext; then
7876 eval "$as_ac_Header=yes"
7877 else
7878 echo "$as_me: failed program was:" >&5
7879 sed 's/^/| /' conftest.$ac_ext >&5
7881 eval "$as_ac_Header=no"
7884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7886 ac_res=`eval echo '${'$as_ac_Header'}'`
7887 { echo "$as_me:$LINENO: result: $ac_res" >&5
7888 echo "${ECHO_T}$ac_res" >&6; }
7889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7890 cat >>confdefs.h <<_ACEOF
7891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7892 _ACEOF
7896 done
7900 for ac_header in pthread_np.h
7902 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7903 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7905 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7906 echo $ECHO_N "(cached) $ECHO_C" >&6
7907 else
7908 cat >conftest.$ac_ext <<_ACEOF
7909 /* confdefs.h. */
7910 _ACEOF
7911 cat confdefs.h >>conftest.$ac_ext
7912 cat >>conftest.$ac_ext <<_ACEOF
7913 /* end confdefs.h. */
7914 #ifdef HAVE_PTHREAD_H
7915 #include <pthread.h>
7916 #endif
7918 #include <$ac_header>
7919 _ACEOF
7920 rm -f conftest.$ac_objext
7921 if { (ac_try="$ac_compile"
7922 case "(($ac_try" in
7923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7924 *) ac_try_echo=$ac_try;;
7925 esac
7926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7927 (eval "$ac_compile") 2>conftest.er1
7928 ac_status=$?
7929 grep -v '^ *+' conftest.er1 >conftest.err
7930 rm -f conftest.er1
7931 cat conftest.err >&5
7932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7933 (exit $ac_status); } && {
7934 test -z "$ac_c_werror_flag" ||
7935 test ! -s conftest.err
7936 } && test -s conftest.$ac_objext; then
7937 eval "$as_ac_Header=yes"
7938 else
7939 echo "$as_me: failed program was:" >&5
7940 sed 's/^/| /' conftest.$ac_ext >&5
7942 eval "$as_ac_Header=no"
7945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7947 ac_res=`eval echo '${'$as_ac_Header'}'`
7948 { echo "$as_me:$LINENO: result: $ac_res" >&5
7949 echo "${ECHO_T}$ac_res" >&6; }
7950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7951 cat >>confdefs.h <<_ACEOF
7952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7953 _ACEOF
7957 done
7961 for ac_header in linux/videodev.h
7963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7968 else
7969 cat >conftest.$ac_ext <<_ACEOF
7970 /* confdefs.h. */
7971 _ACEOF
7972 cat confdefs.h >>conftest.$ac_ext
7973 cat >>conftest.$ac_ext <<_ACEOF
7974 /* end confdefs.h. */
7975 #ifdef HAVE_SYS_TIME_H
7976 #include <sys/time.h>
7977 #endif
7978 #include <sys/types.h>
7979 #ifdef HAVE_ASM_TYPES_H
7980 #include <asm/types.h>
7981 #endif
7983 #include <$ac_header>
7984 _ACEOF
7985 rm -f conftest.$ac_objext
7986 if { (ac_try="$ac_compile"
7987 case "(($ac_try" in
7988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7989 *) ac_try_echo=$ac_try;;
7990 esac
7991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992 (eval "$ac_compile") 2>conftest.er1
7993 ac_status=$?
7994 grep -v '^ *+' conftest.er1 >conftest.err
7995 rm -f conftest.er1
7996 cat conftest.err >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } && {
7999 test -z "$ac_c_werror_flag" ||
8000 test ! -s conftest.err
8001 } && test -s conftest.$ac_objext; then
8002 eval "$as_ac_Header=yes"
8003 else
8004 echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8007 eval "$as_ac_Header=no"
8010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8012 ac_res=`eval echo '${'$as_ac_Header'}'`
8013 { echo "$as_me:$LINENO: result: $ac_res" >&5
8014 echo "${ECHO_T}$ac_res" >&6; }
8015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8016 cat >>confdefs.h <<_ACEOF
8017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8018 _ACEOF
8022 done
8026 for ac_header in linux/capi.h
8028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 else
8034 cat >conftest.$ac_ext <<_ACEOF
8035 /* confdefs.h. */
8036 _ACEOF
8037 cat confdefs.h >>conftest.$ac_ext
8038 cat >>conftest.$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8040 #define __user
8042 #include <$ac_header>
8043 _ACEOF
8044 rm -f conftest.$ac_objext
8045 if { (ac_try="$ac_compile"
8046 case "(($ac_try" in
8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048 *) ac_try_echo=$ac_try;;
8049 esac
8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_compile") 2>conftest.er1
8052 ac_status=$?
8053 grep -v '^ *+' conftest.er1 >conftest.err
8054 rm -f conftest.er1
8055 cat conftest.err >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } && {
8058 test -z "$ac_c_werror_flag" ||
8059 test ! -s conftest.err
8060 } && test -s conftest.$ac_objext; then
8061 eval "$as_ac_Header=yes"
8062 else
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.$ac_ext >&5
8066 eval "$as_ac_Header=no"
8069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8071 ac_res=`eval echo '${'$as_ac_Header'}'`
8072 { echo "$as_me:$LINENO: result: $ac_res" >&5
8073 echo "${ECHO_T}$ac_res" >&6; }
8074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8075 cat >>confdefs.h <<_ACEOF
8076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8077 _ACEOF
8081 done
8085 DLLEXT=""
8087 DLLFLAGS="-D_REENTRANT"
8089 LDSHARED=""
8091 LDDLLFLAGS=""
8093 LIBEXT="so"
8095 IMPLIBEXT="def"
8097 LDRPATH_INSTALL=""
8099 LDRPATH_LOCAL=""
8101 # Extract the first word of "ldd", so it can be a program name with args.
8102 set dummy ldd; ac_word=$2
8103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8105 if test "${ac_cv_path_LDD+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 else
8108 case $LDD in
8109 [\\/]* | ?:[\\/]*)
8110 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8114 as_dummy="/sbin:/usr/sbin:$PATH"
8115 for as_dir in $as_dummy
8117 IFS=$as_save_IFS
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8121 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 break 2
8125 done
8126 done
8127 IFS=$as_save_IFS
8129 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8131 esac
8133 LDD=$ac_cv_path_LDD
8134 if test -n "$LDD"; then
8135 { echo "$as_me:$LINENO: result: $LDD" >&5
8136 echo "${ECHO_T}$LDD" >&6; }
8137 else
8138 { echo "$as_me:$LINENO: result: no" >&5
8139 echo "${ECHO_T}no" >&6; }
8144 case $host_os in
8145 cygwin*|mingw32*)
8146 if test -n "$ac_tool_prefix"; then
8147 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8148 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8151 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8152 echo $ECHO_N "(cached) $ECHO_C" >&6
8153 else
8154 if test -n "$DLLTOOL"; then
8155 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8156 else
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 for as_dir in $PATH
8160 IFS=$as_save_IFS
8161 test -z "$as_dir" && as_dir=.
8162 for ac_exec_ext in '' $ac_executable_extensions; do
8163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8164 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 break 2
8168 done
8169 done
8170 IFS=$as_save_IFS
8174 DLLTOOL=$ac_cv_prog_DLLTOOL
8175 if test -n "$DLLTOOL"; then
8176 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8177 echo "${ECHO_T}$DLLTOOL" >&6; }
8178 else
8179 { echo "$as_me:$LINENO: result: no" >&5
8180 echo "${ECHO_T}no" >&6; }
8185 if test -z "$ac_cv_prog_DLLTOOL"; then
8186 ac_ct_DLLTOOL=$DLLTOOL
8187 # Extract the first word of "dlltool", so it can be a program name with args.
8188 set dummy dlltool; ac_word=$2
8189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8191 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8192 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 else
8194 if test -n "$ac_ct_DLLTOOL"; then
8195 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8196 else
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 for as_dir in $PATH
8200 IFS=$as_save_IFS
8201 test -z "$as_dir" && as_dir=.
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8206 break 2
8208 done
8209 done
8210 IFS=$as_save_IFS
8214 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8215 if test -n "$ac_ct_DLLTOOL"; then
8216 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8217 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8218 else
8219 { echo "$as_me:$LINENO: result: no" >&5
8220 echo "${ECHO_T}no" >&6; }
8223 if test "x$ac_ct_DLLTOOL" = x; then
8224 DLLTOOL="false"
8225 else
8226 case $cross_compiling:$ac_tool_warned in
8227 yes:)
8228 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8229 whose name does not start with the host triplet. If you think this
8230 configuration is useful to you, please write to autoconf@gnu.org." >&5
8231 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8232 whose name does not start with the host triplet. If you think this
8233 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8234 ac_tool_warned=yes ;;
8235 esac
8236 DLLTOOL=$ac_ct_DLLTOOL
8238 else
8239 DLLTOOL="$ac_cv_prog_DLLTOOL"
8242 if test -n "$ac_tool_prefix"; then
8243 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8244 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8247 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 else
8250 if test -n "$DLLWRAP"; then
8251 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8252 else
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 for as_dir in $PATH
8256 IFS=$as_save_IFS
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8260 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 break 2
8264 done
8265 done
8266 IFS=$as_save_IFS
8270 DLLWRAP=$ac_cv_prog_DLLWRAP
8271 if test -n "$DLLWRAP"; then
8272 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8273 echo "${ECHO_T}$DLLWRAP" >&6; }
8274 else
8275 { echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6; }
8281 if test -z "$ac_cv_prog_DLLWRAP"; then
8282 ac_ct_DLLWRAP=$DLLWRAP
8283 # Extract the first word of "dllwrap", so it can be a program name with args.
8284 set dummy dllwrap; ac_word=$2
8285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8287 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 else
8290 if test -n "$ac_ct_DLLWRAP"; then
8291 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8292 else
8293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 for as_dir in $PATH
8296 IFS=$as_save_IFS
8297 test -z "$as_dir" && as_dir=.
8298 for ac_exec_ext in '' $ac_executable_extensions; do
8299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8300 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8302 break 2
8304 done
8305 done
8306 IFS=$as_save_IFS
8310 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8311 if test -n "$ac_ct_DLLWRAP"; then
8312 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8313 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8314 else
8315 { echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6; }
8319 if test "x$ac_ct_DLLWRAP" = x; then
8320 DLLWRAP="false"
8321 else
8322 case $cross_compiling:$ac_tool_warned in
8323 yes:)
8324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8325 whose name does not start with the host triplet. If you think this
8326 configuration is useful to you, please write to autoconf@gnu.org." >&5
8327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8328 whose name does not start with the host triplet. If you think this
8329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8330 ac_tool_warned=yes ;;
8331 esac
8332 DLLWRAP=$ac_ct_DLLWRAP
8334 else
8335 DLLWRAP="$ac_cv_prog_DLLWRAP"
8338 if test -n "$ac_tool_prefix"; then
8339 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8340 set dummy ${ac_tool_prefix}ar; ac_word=$2
8341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8343 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else
8346 if test -n "$MINGWAR"; then
8347 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8348 else
8349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350 for as_dir in $PATH
8352 IFS=$as_save_IFS
8353 test -z "$as_dir" && as_dir=.
8354 for ac_exec_ext in '' $ac_executable_extensions; do
8355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8356 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 break 2
8360 done
8361 done
8362 IFS=$as_save_IFS
8366 MINGWAR=$ac_cv_prog_MINGWAR
8367 if test -n "$MINGWAR"; then
8368 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8369 echo "${ECHO_T}$MINGWAR" >&6; }
8370 else
8371 { echo "$as_me:$LINENO: result: no" >&5
8372 echo "${ECHO_T}no" >&6; }
8377 if test -z "$ac_cv_prog_MINGWAR"; then
8378 ac_ct_MINGWAR=$MINGWAR
8379 # Extract the first word of "ar", so it can be a program name with args.
8380 set dummy ar; ac_word=$2
8381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8383 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8384 echo $ECHO_N "(cached) $ECHO_C" >&6
8385 else
8386 if test -n "$ac_ct_MINGWAR"; then
8387 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8388 else
8389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8390 for as_dir in $PATH
8392 IFS=$as_save_IFS
8393 test -z "$as_dir" && as_dir=.
8394 for ac_exec_ext in '' $ac_executable_extensions; do
8395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8396 ac_cv_prog_ac_ct_MINGWAR="ar"
8397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8398 break 2
8400 done
8401 done
8402 IFS=$as_save_IFS
8406 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8407 if test -n "$ac_ct_MINGWAR"; then
8408 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8409 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8410 else
8411 { echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6; }
8415 if test "x$ac_ct_MINGWAR" = x; then
8416 MINGWAR="false"
8417 else
8418 case $cross_compiling:$ac_tool_warned in
8419 yes:)
8420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8421 whose name does not start with the host triplet. If you think this
8422 configuration is useful to you, please write to autoconf@gnu.org." >&5
8423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8424 whose name does not start with the host triplet. If you think this
8425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8426 ac_tool_warned=yes ;;
8427 esac
8428 MINGWAR=$ac_ct_MINGWAR
8430 else
8431 MINGWAR="$ac_cv_prog_MINGWAR"
8434 if test "$DLLWRAP" = "false"; then
8435 LIBEXT="a"
8436 else
8437 LIBEXT="dll"
8439 IMPLIBEXT="a"
8440 WIN16_FILES=""
8441 WIN16_INSTALL=""
8443 darwin*|macosx*)
8444 DLLEXT=".so"
8445 LIBEXT="dylib"
8446 DLLFLAGS="$DLLFLAGS -fPIC"
8447 LDDLLFLAGS="-bundle -multiply_defined suppress"
8448 LIBWINE_LDFLAGS="-multiply_defined suppress"
8449 LDSHARED="\$(CC) -dynamiclib"
8450 STRIP="$STRIP -x"
8451 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8452 SECURITYLIB="-framework Security -framework CoreFoundation"
8454 COREFOUNDATIONLIB="-framework CoreFoundation"
8456 IOKITLIB="-framework IOKit -framework CoreFoundation"
8458 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8460 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8461 then
8462 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8465 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8466 then
8467 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8470 case $host_cpu in
8471 *powerpc*)
8472 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8473 esac
8474 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8475 then
8476 CARBONLIB="-framework Carbon"
8478 QUARTZFILES='$(QUARTZFILES)'
8482 DLLFLAGS="$DLLFLAGS -fPIC"
8483 DLLEXT=".so"
8484 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8485 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8486 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8487 echo $ECHO_N "(cached) $ECHO_C" >&6
8488 else
8489 ac_wine_try_cflags_saved=$CFLAGS
8490 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8491 cat >conftest.$ac_ext <<_ACEOF
8492 void myfunc() {}
8493 _ACEOF
8494 rm -f conftest.$ac_objext conftest$ac_exeext
8495 if { (ac_try="$ac_link"
8496 case "(($ac_try" in
8497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8499 esac
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_link") 2>conftest.er1
8502 ac_status=$?
8503 grep -v '^ *+' conftest.er1 >conftest.err
8504 rm -f conftest.er1
8505 cat conftest.err >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } && {
8508 test -z "$ac_c_werror_flag" ||
8509 test ! -s conftest.err
8510 } && test -s conftest$ac_exeext &&
8511 $as_test_x conftest$ac_exeext; then
8512 ac_cv_c_dll_gnuelf="yes"
8513 else
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_c_dll_gnuelf="no"
8520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8525 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8526 if test "$ac_cv_c_dll_gnuelf" = "yes"
8527 then
8528 LDSHARED="\$(CC) -shared"
8529 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8530 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8531 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8532 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8533 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 else
8535 ac_wine_try_cflags_saved=$CFLAGS
8536 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8537 cat >conftest.$ac_ext <<_ACEOF
8538 /* confdefs.h. */
8539 _ACEOF
8540 cat confdefs.h >>conftest.$ac_ext
8541 cat >>conftest.$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8545 main ()
8549 return 0;
8551 _ACEOF
8552 rm -f conftest.$ac_objext conftest$ac_exeext
8553 if { (ac_try="$ac_link"
8554 case "(($ac_try" in
8555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8556 *) ac_try_echo=$ac_try;;
8557 esac
8558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8559 (eval "$ac_link") 2>conftest.er1
8560 ac_status=$?
8561 grep -v '^ *+' conftest.er1 >conftest.err
8562 rm -f conftest.er1
8563 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } && {
8566 test -z "$ac_c_werror_flag" ||
8567 test ! -s conftest.err
8568 } && test -s conftest$ac_exeext &&
8569 $as_test_x conftest$ac_exeext; then
8570 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8571 else
8572 echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8575 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8579 conftest$ac_exeext conftest.$ac_ext
8580 CFLAGS=$ac_wine_try_cflags_saved
8582 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8583 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8584 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8585 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8586 else
8587 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8588 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8589 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 else
8592 ac_wine_try_cflags_saved=$CFLAGS
8593 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8594 cat >conftest.$ac_ext <<_ACEOF
8595 /* confdefs.h. */
8596 _ACEOF
8597 cat confdefs.h >>conftest.$ac_ext
8598 cat >>conftest.$ac_ext <<_ACEOF
8599 /* end confdefs.h. */
8602 main ()
8606 return 0;
8608 _ACEOF
8609 rm -f conftest.$ac_objext conftest$ac_exeext
8610 if { (ac_try="$ac_link"
8611 case "(($ac_try" in
8612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8613 *) ac_try_echo=$ac_try;;
8614 esac
8615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8616 (eval "$ac_link") 2>conftest.er1
8617 ac_status=$?
8618 grep -v '^ *+' conftest.er1 >conftest.err
8619 rm -f conftest.er1
8620 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && {
8623 test -z "$ac_c_werror_flag" ||
8624 test ! -s conftest.err
8625 } && test -s conftest$ac_exeext &&
8626 $as_test_x conftest$ac_exeext; then
8627 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8628 else
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.$ac_ext >&5
8632 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8640 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8641 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8642 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8648 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8649 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8650 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8655 cat >conftest.$ac_ext <<_ACEOF
8656 /* confdefs.h. */
8657 _ACEOF
8658 cat confdefs.h >>conftest.$ac_ext
8659 cat >>conftest.$ac_ext <<_ACEOF
8660 /* end confdefs.h. */
8663 main ()
8667 return 0;
8669 _ACEOF
8670 rm -f conftest.$ac_objext conftest$ac_exeext
8671 if { (ac_try="$ac_link"
8672 case "(($ac_try" in
8673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8674 *) ac_try_echo=$ac_try;;
8675 esac
8676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8677 (eval "$ac_link") 2>conftest.er1
8678 ac_status=$?
8679 grep -v '^ *+' conftest.er1 >conftest.err
8680 rm -f conftest.er1
8681 cat conftest.err >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); } && {
8684 test -z "$ac_c_werror_flag" ||
8685 test ! -s conftest.err
8686 } && test -s conftest$ac_exeext &&
8687 $as_test_x conftest$ac_exeext; then
8688 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8689 else
8690 echo "$as_me: failed program was:" >&5
8691 sed 's/^/| /' conftest.$ac_ext >&5
8693 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8697 conftest$ac_exeext conftest.$ac_ext
8698 CFLAGS=$ac_wine_try_cflags_saved
8700 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8701 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8702 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8703 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8707 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8708 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8709 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8714 cat >conftest.$ac_ext <<_ACEOF
8715 /* confdefs.h. */
8716 _ACEOF
8717 cat confdefs.h >>conftest.$ac_ext
8718 cat >>conftest.$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8722 main ()
8726 return 0;
8728 _ACEOF
8729 rm -f conftest.$ac_objext conftest$ac_exeext
8730 if { (ac_try="$ac_link"
8731 case "(($ac_try" in
8732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8733 *) ac_try_echo=$ac_try;;
8734 esac
8735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8736 (eval "$ac_link") 2>conftest.er1
8737 ac_status=$?
8738 grep -v '^ *+' conftest.er1 >conftest.err
8739 rm -f conftest.er1
8740 cat conftest.err >&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); } && {
8743 test -z "$ac_c_werror_flag" ||
8744 test ! -s conftest.err
8745 } && test -s conftest$ac_exeext &&
8746 $as_test_x conftest$ac_exeext; then
8747 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8748 else
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.$ac_ext >&5
8752 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8760 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8761 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8762 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8766 echo '{ global: *; };' >conftest.map
8767 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8768 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8769 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8770 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 else
8772 ac_wine_try_cflags_saved=$CFLAGS
8773 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8774 cat >conftest.$ac_ext <<_ACEOF
8775 /* confdefs.h. */
8776 _ACEOF
8777 cat confdefs.h >>conftest.$ac_ext
8778 cat >>conftest.$ac_ext <<_ACEOF
8779 /* end confdefs.h. */
8782 main ()
8786 return 0;
8788 _ACEOF
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (ac_try="$ac_link"
8791 case "(($ac_try" in
8792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8794 esac
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_link") 2>conftest.er1
8797 ac_status=$?
8798 grep -v '^ *+' conftest.er1 >conftest.err
8799 rm -f conftest.er1
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest$ac_exeext &&
8806 $as_test_x conftest$ac_exeext; then
8807 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8808 else
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8812 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8816 conftest$ac_exeext conftest.$ac_ext
8817 CFLAGS=$ac_wine_try_cflags_saved
8819 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8820 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8821 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8822 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8825 rm -f conftest.map
8827 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8828 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8829 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8834 cat >conftest.$ac_ext <<_ACEOF
8835 /* confdefs.h. */
8836 _ACEOF
8837 cat confdefs.h >>conftest.$ac_ext
8838 cat >>conftest.$ac_ext <<_ACEOF
8839 /* end confdefs.h. */
8842 main ()
8846 return 0;
8848 _ACEOF
8849 rm -f conftest.$ac_objext conftest$ac_exeext
8850 if { (ac_try="$ac_link"
8851 case "(($ac_try" in
8852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8853 *) ac_try_echo=$ac_try;;
8854 esac
8855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8856 (eval "$ac_link") 2>conftest.er1
8857 ac_status=$?
8858 grep -v '^ *+' conftest.er1 >conftest.err
8859 rm -f conftest.er1
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); } && {
8863 test -z "$ac_c_werror_flag" ||
8864 test ! -s conftest.err
8865 } && test -s conftest$ac_exeext &&
8866 $as_test_x conftest$ac_exeext; then
8867 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8868 else
8869 echo "$as_me: failed program was:" >&5
8870 sed 's/^/| /' conftest.$ac_ext >&5
8872 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8876 conftest$ac_exeext conftest.$ac_ext
8877 CFLAGS=$ac_wine_try_cflags_saved
8879 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8880 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8881 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8882 LDEXECFLAGS="-Wl,--export-dynamic"
8887 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8888 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8889 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8891 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 else
8893 ac_wine_try_cflags_saved=$CFLAGS
8894 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8895 cat >conftest.$ac_ext <<_ACEOF
8896 /* confdefs.h. */
8897 _ACEOF
8898 cat confdefs.h >>conftest.$ac_ext
8899 cat >>conftest.$ac_ext <<_ACEOF
8900 /* end confdefs.h. */
8903 main ()
8907 return 0;
8909 _ACEOF
8910 rm -f conftest.$ac_objext conftest$ac_exeext
8911 if { (ac_try="$ac_link"
8912 case "(($ac_try" in
8913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8914 *) ac_try_echo=$ac_try;;
8915 esac
8916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8917 (eval "$ac_link") 2>conftest.er1
8918 ac_status=$?
8919 grep -v '^ *+' conftest.er1 >conftest.err
8920 rm -f conftest.er1
8921 cat conftest.err >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); } && {
8924 test -z "$ac_c_werror_flag" ||
8925 test ! -s conftest.err
8926 } && test -s conftest$ac_exeext &&
8927 $as_test_x conftest$ac_exeext; then
8928 eval "$as_ac_var=yes"
8929 else
8930 echo "$as_me: failed program was:" >&5
8931 sed 's/^/| /' conftest.$ac_ext >&5
8933 eval "$as_ac_var=no"
8936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8937 conftest$ac_exeext conftest.$ac_ext
8938 CFLAGS=$ac_wine_try_cflags_saved
8940 ac_res=`eval echo '${'$as_ac_var'}'`
8941 { echo "$as_me:$LINENO: result: $ac_res" >&5
8942 echo "${ECHO_T}$ac_res" >&6; }
8943 if test `eval echo '${'$as_ac_var'}'` = yes; then
8944 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8945 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8946 else
8947 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8948 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8949 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 else
8953 ac_wine_try_cflags_saved=$CFLAGS
8954 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8963 main ()
8967 return 0;
8969 _ACEOF
8970 rm -f conftest.$ac_objext conftest$ac_exeext
8971 if { (ac_try="$ac_link"
8972 case "(($ac_try" in
8973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8974 *) ac_try_echo=$ac_try;;
8975 esac
8976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8977 (eval "$ac_link") 2>conftest.er1
8978 ac_status=$?
8979 grep -v '^ *+' conftest.er1 >conftest.err
8980 rm -f conftest.er1
8981 cat conftest.err >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); } && {
8984 test -z "$ac_c_werror_flag" ||
8985 test ! -s conftest.err
8986 } && test -s conftest$ac_exeext &&
8987 $as_test_x conftest$ac_exeext; then
8988 eval "$as_ac_var=yes"
8989 else
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5
8993 eval "$as_ac_var=no"
8996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8997 conftest$ac_exeext conftest.$ac_ext
8998 CFLAGS=$ac_wine_try_cflags_saved
9000 ac_res=`eval echo '${'$as_ac_var'}'`
9001 { echo "$as_me:$LINENO: result: $ac_res" >&5
9002 echo "${ECHO_T}$ac_res" >&6; }
9003 if test `eval echo '${'$as_ac_var'}'` = yes; then
9004 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9005 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9011 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9012 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9013 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9015 else
9016 ac_wine_try_cflags_saved=$CFLAGS
9017 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9018 cat >conftest.$ac_ext <<_ACEOF
9019 /* confdefs.h. */
9020 _ACEOF
9021 cat confdefs.h >>conftest.$ac_ext
9022 cat >>conftest.$ac_ext <<_ACEOF
9023 /* end confdefs.h. */
9026 main ()
9030 return 0;
9032 _ACEOF
9033 rm -f conftest.$ac_objext conftest$ac_exeext
9034 if { (ac_try="$ac_link"
9035 case "(($ac_try" in
9036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9037 *) ac_try_echo=$ac_try;;
9038 esac
9039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9040 (eval "$ac_link") 2>conftest.er1
9041 ac_status=$?
9042 grep -v '^ *+' conftest.er1 >conftest.err
9043 rm -f conftest.er1
9044 cat conftest.err >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } && {
9047 test -z "$ac_c_werror_flag" ||
9048 test ! -s conftest.err
9049 } && test -s conftest$ac_exeext &&
9050 $as_test_x conftest$ac_exeext; then
9051 ac_cv_cflags__Wl___enable_new_dtags=yes
9052 else
9053 echo "$as_me: failed program was:" >&5
9054 sed 's/^/| /' conftest.$ac_ext >&5
9056 ac_cv_cflags__Wl___enable_new_dtags=no
9059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9060 conftest$ac_exeext conftest.$ac_ext
9061 CFLAGS=$ac_wine_try_cflags_saved
9063 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9064 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9065 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9066 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9070 case $host_cpu in
9071 *i[3456789]86* | x86_64)
9072 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9073 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9074 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9075 echo $ECHO_N "(cached) $ECHO_C" >&6
9076 else
9077 ac_wine_try_cflags_saved=$CFLAGS
9078 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9079 cat >conftest.$ac_ext <<_ACEOF
9080 /* confdefs.h. */
9081 _ACEOF
9082 cat confdefs.h >>conftest.$ac_ext
9083 cat >>conftest.$ac_ext <<_ACEOF
9084 /* end confdefs.h. */
9087 main ()
9091 return 0;
9093 _ACEOF
9094 rm -f conftest.$ac_objext conftest$ac_exeext
9095 if { (ac_try="$ac_link"
9096 case "(($ac_try" in
9097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9098 *) ac_try_echo=$ac_try;;
9099 esac
9100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9101 (eval "$ac_link") 2>conftest.er1
9102 ac_status=$?
9103 grep -v '^ *+' conftest.er1 >conftest.err
9104 rm -f conftest.er1
9105 cat conftest.err >&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); } && {
9108 test -z "$ac_c_werror_flag" ||
9109 test ! -s conftest.err
9110 } && test -s conftest$ac_exeext &&
9111 $as_test_x conftest$ac_exeext; then
9112 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9113 else
9114 echo "$as_me: failed program was:" >&5
9115 sed 's/^/| /' conftest.$ac_ext >&5
9117 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9121 conftest$ac_exeext conftest.$ac_ext
9122 CFLAGS=$ac_wine_try_cflags_saved
9124 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9125 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9126 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9127 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9131 esac
9133 else
9134 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9135 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9136 if test "${ac_cv_c_dll_unixware+set}" = set; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 else
9139 ac_wine_try_cflags_saved=$CFLAGS
9140 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9141 cat >conftest.$ac_ext <<_ACEOF
9142 void myfunc() {}
9143 _ACEOF
9144 rm -f conftest.$ac_objext conftest$ac_exeext
9145 if { (ac_try="$ac_link"
9146 case "(($ac_try" in
9147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9148 *) ac_try_echo=$ac_try;;
9149 esac
9150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9151 (eval "$ac_link") 2>conftest.er1
9152 ac_status=$?
9153 grep -v '^ *+' conftest.er1 >conftest.err
9154 rm -f conftest.er1
9155 cat conftest.err >&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); } && {
9158 test -z "$ac_c_werror_flag" ||
9159 test ! -s conftest.err
9160 } && test -s conftest$ac_exeext &&
9161 $as_test_x conftest$ac_exeext; then
9162 ac_cv_c_dll_unixware="yes"
9163 else
9164 echo "$as_me: failed program was:" >&5
9165 sed 's/^/| /' conftest.$ac_ext >&5
9167 ac_cv_c_dll_unixware="no"
9170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9171 conftest$ac_exeext conftest.$ac_ext
9172 CFLAGS=$ac_wine_try_cflags_saved
9174 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9175 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9176 if test "$ac_cv_c_dll_unixware" = "yes"
9177 then
9178 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9179 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9181 else
9182 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9183 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9184 if test "${ac_cv_c_dll_hpux+set}" = set; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 else
9187 ac_wine_try_cflags_saved=$CFLAGS
9188 CFLAGS="$CFLAGS -shared"
9189 cat >conftest.$ac_ext <<_ACEOF
9190 void myfunc() {}
9191 _ACEOF
9192 rm -f conftest.$ac_objext conftest$ac_exeext
9193 if { (ac_try="$ac_link"
9194 case "(($ac_try" in
9195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9196 *) ac_try_echo=$ac_try;;
9197 esac
9198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9199 (eval "$ac_link") 2>conftest.er1
9200 ac_status=$?
9201 grep -v '^ *+' conftest.er1 >conftest.err
9202 rm -f conftest.er1
9203 cat conftest.err >&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); } && {
9206 test -z "$ac_c_werror_flag" ||
9207 test ! -s conftest.err
9208 } && test -s conftest$ac_exeext &&
9209 $as_test_x conftest$ac_exeext; then
9210 ac_cv_c_dll_hpux="yes"
9211 else
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.$ac_ext >&5
9215 ac_cv_c_dll_hpux="no"
9218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9219 conftest$ac_exeext conftest.$ac_ext
9220 CFLAGS=$ac_wine_try_cflags_saved
9222 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9223 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9224 if test "$ac_cv_c_dll_hpux" = "yes"
9225 then
9226 LIBEXT="sl"
9227 DLLEXT=".sl"
9228 LDDLLFLAGS="-shared -fPIC"
9229 LDSHARED="\$(CC) -shared"
9234 CROSSTEST=""
9236 if test "$cross_compiling" = "no"
9237 then
9238 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9240 # Extract the first word of "$ac_prog", so it can be a program name with args.
9241 set dummy $ac_prog; ac_word=$2
9242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9244 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9245 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 else
9247 if test -n "$CROSSCC"; then
9248 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9249 else
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9251 for as_dir in $PATH
9253 IFS=$as_save_IFS
9254 test -z "$as_dir" && as_dir=.
9255 for ac_exec_ext in '' $ac_executable_extensions; do
9256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257 ac_cv_prog_CROSSCC="$ac_prog"
9258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9259 break 2
9261 done
9262 done
9263 IFS=$as_save_IFS
9267 CROSSCC=$ac_cv_prog_CROSSCC
9268 if test -n "$CROSSCC"; then
9269 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9270 echo "${ECHO_T}$CROSSCC" >&6; }
9271 else
9272 { echo "$as_me:$LINENO: result: no" >&5
9273 echo "${ECHO_T}no" >&6; }
9277 test -n "$CROSSCC" && break
9278 done
9279 test -n "$CROSSCC" || CROSSCC="false"
9281 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9283 # Extract the first word of "$ac_prog", so it can be a program name with args.
9284 set dummy $ac_prog; ac_word=$2
9285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9287 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 else
9290 if test -n "$DLLTOOL"; then
9291 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9292 else
9293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9294 for as_dir in $PATH
9296 IFS=$as_save_IFS
9297 test -z "$as_dir" && as_dir=.
9298 for ac_exec_ext in '' $ac_executable_extensions; do
9299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9300 ac_cv_prog_DLLTOOL="$ac_prog"
9301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9302 break 2
9304 done
9305 done
9306 IFS=$as_save_IFS
9310 DLLTOOL=$ac_cv_prog_DLLTOOL
9311 if test -n "$DLLTOOL"; then
9312 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9313 echo "${ECHO_T}$DLLTOOL" >&6; }
9314 else
9315 { echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6; }
9320 test -n "$DLLTOOL" && break
9321 done
9322 test -n "$DLLTOOL" || DLLTOOL="false"
9324 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9326 # Extract the first word of "$ac_prog", so it can be a program name with args.
9327 set dummy $ac_prog; ac_word=$2
9328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9330 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 else
9333 if test -n "$CROSSWINDRES"; then
9334 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9335 else
9336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9337 for as_dir in $PATH
9339 IFS=$as_save_IFS
9340 test -z "$as_dir" && as_dir=.
9341 for ac_exec_ext in '' $ac_executable_extensions; do
9342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9343 ac_cv_prog_CROSSWINDRES="$ac_prog"
9344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9345 break 2
9347 done
9348 done
9349 IFS=$as_save_IFS
9353 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9354 if test -n "$CROSSWINDRES"; then
9355 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9356 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9357 else
9358 { echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6; }
9363 test -n "$CROSSWINDRES" && break
9364 done
9365 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9367 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9369 # Extract the first word of "$ac_prog", so it can be a program name with args.
9370 set dummy $ac_prog; ac_word=$2
9371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9373 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9374 echo $ECHO_N "(cached) $ECHO_C" >&6
9375 else
9376 if test -n "$MINGWAR"; then
9377 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9378 else
9379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9380 for as_dir in $PATH
9382 IFS=$as_save_IFS
9383 test -z "$as_dir" && as_dir=.
9384 for ac_exec_ext in '' $ac_executable_extensions; do
9385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9386 ac_cv_prog_MINGWAR="$ac_prog"
9387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9388 break 2
9390 done
9391 done
9392 IFS=$as_save_IFS
9396 MINGWAR=$ac_cv_prog_MINGWAR
9397 if test -n "$MINGWAR"; then
9398 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9399 echo "${ECHO_T}$MINGWAR" >&6; }
9400 else
9401 { echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6; }
9406 test -n "$MINGWAR" && break
9407 done
9408 test -n "$MINGWAR" || MINGWAR="false"
9410 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9413 esac
9415 if test "$LIBEXT" = "a"; then
9416 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9417 It is currently not possible to build Wine without shared library
9418 (.so) support to allow transparent switch between .so and .dll files.
9419 If you are using Linux, you will need a newer binutils.
9420 " >&5
9421 echo "$as_me: error: could not find a way to build shared libraries.
9422 It is currently not possible to build Wine without shared library
9423 (.so) support to allow transparent switch between .so and .dll files.
9424 If you are using Linux, you will need a newer binutils.
9425 " >&2;}
9426 { (exit 1); exit 1; }; }
9430 if test "$have_x" = "yes"
9431 then
9432 XLIB="-lXext -lX11"
9433 ac_save_CPPFLAGS="$CPPFLAGS"
9434 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9436 { echo "$as_me:$LINENO: checking for -lX11" >&5
9437 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9438 if test "${ac_cv_lib_soname_X11+set}" = set; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 else
9441 ac_check_soname_save_LIBS=$LIBS
9442 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9443 cat >conftest.$ac_ext <<_ACEOF
9444 /* confdefs.h. */
9445 _ACEOF
9446 cat confdefs.h >>conftest.$ac_ext
9447 cat >>conftest.$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9453 #ifdef __cplusplus
9454 extern "C"
9455 #endif
9456 char XCreateWindow ();
9458 main ()
9460 return XCreateWindow ();
9462 return 0;
9464 _ACEOF
9465 rm -f conftest.$ac_objext conftest$ac_exeext
9466 if { (ac_try="$ac_link"
9467 case "(($ac_try" in
9468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9469 *) ac_try_echo=$ac_try;;
9470 esac
9471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9472 (eval "$ac_link") 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } && {
9479 test -z "$ac_c_werror_flag" ||
9480 test ! -s conftest.err
9481 } && test -s conftest$ac_exeext &&
9482 $as_test_x conftest$ac_exeext; then
9483 case "$LIBEXT" in
9484 dll) ;;
9485 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'` ;;
9486 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9487 esac
9488 else
9489 echo "$as_me: failed program was:" >&5
9490 sed 's/^/| /' conftest.$ac_ext >&5
9495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9496 conftest$ac_exeext conftest.$ac_ext
9497 LIBS=$ac_check_soname_save_LIBS
9499 if test "x$ac_cv_lib_soname_X11" = "x"; then
9500 { echo "$as_me:$LINENO: result: not found" >&5
9501 echo "${ECHO_T}not found" >&6; }
9503 else
9504 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9505 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9507 cat >>confdefs.h <<_ACEOF
9508 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9509 _ACEOF
9514 { echo "$as_me:$LINENO: checking for -lXext" >&5
9515 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9516 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 else
9519 ac_check_soname_save_LIBS=$LIBS
9520 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9521 cat >conftest.$ac_ext <<_ACEOF
9522 /* confdefs.h. */
9523 _ACEOF
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9531 #ifdef __cplusplus
9532 extern "C"
9533 #endif
9534 char XextCreateExtension ();
9536 main ()
9538 return XextCreateExtension ();
9540 return 0;
9542 _ACEOF
9543 rm -f conftest.$ac_objext conftest$ac_exeext
9544 if { (ac_try="$ac_link"
9545 case "(($ac_try" in
9546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9547 *) ac_try_echo=$ac_try;;
9548 esac
9549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9550 (eval "$ac_link") 2>conftest.er1
9551 ac_status=$?
9552 grep -v '^ *+' conftest.er1 >conftest.err
9553 rm -f conftest.er1
9554 cat conftest.err >&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); } && {
9557 test -z "$ac_c_werror_flag" ||
9558 test ! -s conftest.err
9559 } && test -s conftest$ac_exeext &&
9560 $as_test_x conftest$ac_exeext; then
9561 case "$LIBEXT" in
9562 dll) ;;
9563 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'` ;;
9564 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9565 esac
9566 else
9567 echo "$as_me: failed program was:" >&5
9568 sed 's/^/| /' conftest.$ac_ext >&5
9573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9574 conftest$ac_exeext conftest.$ac_ext
9575 LIBS=$ac_check_soname_save_LIBS
9577 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9578 { echo "$as_me:$LINENO: result: not found" >&5
9579 echo "${ECHO_T}not found" >&6; }
9581 else
9582 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9583 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9585 cat >>confdefs.h <<_ACEOF
9586 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9587 _ACEOF
9605 for ac_header in X11/Xlib.h \
9606 X11/XKBlib.h \
9607 X11/Xutil.h \
9608 X11/Xcursor/Xcursor.h \
9609 X11/extensions/shape.h \
9610 X11/extensions/XInput.h \
9611 X11/extensions/XShm.h \
9612 X11/extensions/Xcomposite.h \
9613 X11/extensions/Xinerama.h \
9614 X11/extensions/Xrandr.h \
9615 X11/extensions/Xrender.h \
9616 X11/extensions/xf86vmode.h
9618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9622 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 else
9624 cat >conftest.$ac_ext <<_ACEOF
9625 /* confdefs.h. */
9626 _ACEOF
9627 cat confdefs.h >>conftest.$ac_ext
9628 cat >>conftest.$ac_ext <<_ACEOF
9629 /* end confdefs.h. */
9630 #ifdef HAVE_X11_XLIB_H
9631 # include <X11/Xlib.h>
9632 #endif
9633 #ifdef HAVE_X11_XUTIL_H
9634 # include <X11/Xutil.h>
9635 #endif
9637 #include <$ac_header>
9638 _ACEOF
9639 rm -f conftest.$ac_objext
9640 if { (ac_try="$ac_compile"
9641 case "(($ac_try" in
9642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9643 *) ac_try_echo=$ac_try;;
9644 esac
9645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9646 (eval "$ac_compile") 2>conftest.er1
9647 ac_status=$?
9648 grep -v '^ *+' conftest.er1 >conftest.err
9649 rm -f conftest.er1
9650 cat conftest.err >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); } && {
9653 test -z "$ac_c_werror_flag" ||
9654 test ! -s conftest.err
9655 } && test -s conftest.$ac_objext; then
9656 eval "$as_ac_Header=yes"
9657 else
9658 echo "$as_me: failed program was:" >&5
9659 sed 's/^/| /' conftest.$ac_ext >&5
9661 eval "$as_ac_Header=no"
9664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9666 ac_res=`eval echo '${'$as_ac_Header'}'`
9667 { echo "$as_me:$LINENO: result: $ac_res" >&5
9668 echo "${ECHO_T}$ac_res" >&6; }
9669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9670 cat >>confdefs.h <<_ACEOF
9671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9672 _ACEOF
9676 done
9679 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9680 then
9681 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9682 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9683 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9684 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 else
9686 ac_check_lib_save_LIBS=$LIBS
9687 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9688 cat >conftest.$ac_ext <<_ACEOF
9689 /* confdefs.h. */
9690 _ACEOF
9691 cat confdefs.h >>conftest.$ac_ext
9692 cat >>conftest.$ac_ext <<_ACEOF
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9698 #ifdef __cplusplus
9699 extern "C"
9700 #endif
9701 char XkbQueryExtension ();
9703 main ()
9705 return XkbQueryExtension ();
9707 return 0;
9709 _ACEOF
9710 rm -f conftest.$ac_objext conftest$ac_exeext
9711 if { (ac_try="$ac_link"
9712 case "(($ac_try" in
9713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9714 *) ac_try_echo=$ac_try;;
9715 esac
9716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9717 (eval "$ac_link") 2>conftest.er1
9718 ac_status=$?
9719 grep -v '^ *+' conftest.er1 >conftest.err
9720 rm -f conftest.er1
9721 cat conftest.err >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } && {
9724 test -z "$ac_c_werror_flag" ||
9725 test ! -s conftest.err
9726 } && test -s conftest$ac_exeext &&
9727 $as_test_x conftest$ac_exeext; then
9728 ac_cv_lib_X11_XkbQueryExtension=yes
9729 else
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.$ac_ext >&5
9733 ac_cv_lib_X11_XkbQueryExtension=no
9736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_lib_save_LIBS
9740 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9741 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9742 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9744 cat >>confdefs.h <<\_ACEOF
9745 #define HAVE_XKB 1
9746 _ACEOF
9752 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9753 then
9754 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9755 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9756 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9758 else
9759 ac_check_soname_save_LIBS=$LIBS
9760 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9761 cat >conftest.$ac_ext <<_ACEOF
9762 /* confdefs.h. */
9763 _ACEOF
9764 cat confdefs.h >>conftest.$ac_ext
9765 cat >>conftest.$ac_ext <<_ACEOF
9766 /* end confdefs.h. */
9768 /* Override any GCC internal prototype to avoid an error.
9769 Use char because int might match the return type of a GCC
9770 builtin and then its argument prototype would still apply. */
9771 #ifdef __cplusplus
9772 extern "C"
9773 #endif
9774 char XcursorImageLoadCursor ();
9776 main ()
9778 return XcursorImageLoadCursor ();
9780 return 0;
9782 _ACEOF
9783 rm -f conftest.$ac_objext conftest$ac_exeext
9784 if { (ac_try="$ac_link"
9785 case "(($ac_try" in
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9788 esac
9789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_link") 2>conftest.er1
9791 ac_status=$?
9792 grep -v '^ *+' conftest.er1 >conftest.err
9793 rm -f conftest.er1
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } && {
9797 test -z "$ac_c_werror_flag" ||
9798 test ! -s conftest.err
9799 } && test -s conftest$ac_exeext &&
9800 $as_test_x conftest$ac_exeext; then
9801 case "$LIBEXT" in
9802 dll) ;;
9803 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'` ;;
9804 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9805 esac
9806 else
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9814 conftest$ac_exeext conftest.$ac_ext
9815 LIBS=$ac_check_soname_save_LIBS
9817 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9818 { echo "$as_me:$LINENO: result: not found" >&5
9819 echo "${ECHO_T}not found" >&6; }
9821 else
9822 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9823 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9825 cat >>confdefs.h <<_ACEOF
9826 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9827 _ACEOF
9833 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9834 case "x$with_xcursor" in
9835 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9836 xno) ;;
9837 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9838 This is an error since --with-xcursor was requested." >&5
9839 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9840 This is an error since --with-xcursor was requested." >&2;}
9841 { (exit 1); exit 1; }; } ;;
9842 esac
9846 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9847 then
9848 { echo "$as_me:$LINENO: checking for -lXi" >&5
9849 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9850 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 else
9853 ac_check_soname_save_LIBS=$LIBS
9854 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9855 cat >conftest.$ac_ext <<_ACEOF
9856 /* confdefs.h. */
9857 _ACEOF
9858 cat confdefs.h >>conftest.$ac_ext
9859 cat >>conftest.$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9862 /* Override any GCC internal prototype to avoid an error.
9863 Use char because int might match the return type of a GCC
9864 builtin and then its argument prototype would still apply. */
9865 #ifdef __cplusplus
9866 extern "C"
9867 #endif
9868 char XOpenDevice ();
9870 main ()
9872 return XOpenDevice ();
9874 return 0;
9876 _ACEOF
9877 rm -f conftest.$ac_objext conftest$ac_exeext
9878 if { (ac_try="$ac_link"
9879 case "(($ac_try" in
9880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9881 *) ac_try_echo=$ac_try;;
9882 esac
9883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9884 (eval "$ac_link") 2>conftest.er1
9885 ac_status=$?
9886 grep -v '^ *+' conftest.er1 >conftest.err
9887 rm -f conftest.er1
9888 cat conftest.err >&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); } && {
9891 test -z "$ac_c_werror_flag" ||
9892 test ! -s conftest.err
9893 } && test -s conftest$ac_exeext &&
9894 $as_test_x conftest$ac_exeext; then
9895 case "$LIBEXT" in
9896 dll) ;;
9897 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'` ;;
9898 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9899 esac
9900 else
9901 echo "$as_me: failed program was:" >&5
9902 sed 's/^/| /' conftest.$ac_ext >&5
9907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9908 conftest$ac_exeext conftest.$ac_ext
9909 LIBS=$ac_check_soname_save_LIBS
9911 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9912 { echo "$as_me:$LINENO: result: not found" >&5
9913 echo "${ECHO_T}not found" >&6; }
9915 else
9916 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9917 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9919 cat >>confdefs.h <<_ACEOF
9920 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9921 _ACEOF
9927 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9928 case "x$with_xinput" in
9929 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9930 xno) ;;
9931 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9932 This is an error since --with-xinput was requested." >&5
9933 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9934 This is an error since --with-xinput was requested." >&2;}
9935 { (exit 1); exit 1; }; } ;;
9936 esac
9940 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9941 then
9942 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9943 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9944 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 else
9947 ac_check_lib_save_LIBS=$LIBS
9948 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9949 cat >conftest.$ac_ext <<_ACEOF
9950 /* confdefs.h. */
9951 _ACEOF
9952 cat confdefs.h >>conftest.$ac_ext
9953 cat >>conftest.$ac_ext <<_ACEOF
9954 /* end confdefs.h. */
9956 /* Override any GCC internal prototype to avoid an error.
9957 Use char because int might match the return type of a GCC
9958 builtin and then its argument prototype would still apply. */
9959 #ifdef __cplusplus
9960 extern "C"
9961 #endif
9962 char XShmQueryExtension ();
9964 main ()
9966 return XShmQueryExtension ();
9968 return 0;
9970 _ACEOF
9971 rm -f conftest.$ac_objext conftest$ac_exeext
9972 if { (ac_try="$ac_link"
9973 case "(($ac_try" in
9974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9976 esac
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_link") 2>conftest.er1
9979 ac_status=$?
9980 grep -v '^ *+' conftest.er1 >conftest.err
9981 rm -f conftest.er1
9982 cat conftest.err >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest$ac_exeext &&
9988 $as_test_x conftest$ac_exeext; then
9989 ac_cv_lib_Xext_XShmQueryExtension=yes
9990 else
9991 echo "$as_me: failed program was:" >&5
9992 sed 's/^/| /' conftest.$ac_ext >&5
9994 ac_cv_lib_Xext_XShmQueryExtension=no
9997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9998 conftest$ac_exeext conftest.$ac_ext
9999 LIBS=$ac_check_lib_save_LIBS
10001 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10002 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10003 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10005 cat >>confdefs.h <<\_ACEOF
10006 #define HAVE_LIBXXSHM 1
10007 _ACEOF
10012 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10013 case "x$with_xshm" in
10014 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10015 xno) ;;
10016 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10017 This is an error since --with-xshm was requested." >&5
10018 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10019 This is an error since --with-xshm was requested." >&2;}
10020 { (exit 1); exit 1; }; } ;;
10021 esac
10025 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10026 then
10027 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10028 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10029 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10030 echo $ECHO_N "(cached) $ECHO_C" >&6
10031 else
10032 ac_check_lib_save_LIBS=$LIBS
10033 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10034 cat >conftest.$ac_ext <<_ACEOF
10035 /* confdefs.h. */
10036 _ACEOF
10037 cat confdefs.h >>conftest.$ac_ext
10038 cat >>conftest.$ac_ext <<_ACEOF
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10044 #ifdef __cplusplus
10045 extern "C"
10046 #endif
10047 char XShapeQueryExtension ();
10049 main ()
10051 return XShapeQueryExtension ();
10053 return 0;
10055 _ACEOF
10056 rm -f conftest.$ac_objext conftest$ac_exeext
10057 if { (ac_try="$ac_link"
10058 case "(($ac_try" in
10059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10060 *) ac_try_echo=$ac_try;;
10061 esac
10062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10063 (eval "$ac_link") 2>conftest.er1
10064 ac_status=$?
10065 grep -v '^ *+' conftest.er1 >conftest.err
10066 rm -f conftest.er1
10067 cat conftest.err >&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); } && {
10070 test -z "$ac_c_werror_flag" ||
10071 test ! -s conftest.err
10072 } && test -s conftest$ac_exeext &&
10073 $as_test_x conftest$ac_exeext; then
10074 ac_cv_lib_Xext_XShapeQueryExtension=yes
10075 else
10076 echo "$as_me: failed program was:" >&5
10077 sed 's/^/| /' conftest.$ac_ext >&5
10079 ac_cv_lib_Xext_XShapeQueryExtension=no
10082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_lib_save_LIBS
10086 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10087 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10088 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10090 cat >>confdefs.h <<\_ACEOF
10091 #define HAVE_LIBXSHAPE 1
10092 _ACEOF
10097 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10098 case "x$with_xshape" in
10099 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10100 xno) ;;
10101 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10102 This is an error since --with-xshape was requested." >&5
10103 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10104 This is an error since --with-xshape was requested." >&2;}
10105 { (exit 1); exit 1; }; } ;;
10106 esac
10110 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10111 then
10112 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10113 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10114 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10115 echo $ECHO_N "(cached) $ECHO_C" >&6
10116 else
10117 ac_check_lib_save_LIBS=$LIBS
10118 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10119 cat >conftest.$ac_ext <<_ACEOF
10120 /* confdefs.h. */
10121 _ACEOF
10122 cat confdefs.h >>conftest.$ac_ext
10123 cat >>conftest.$ac_ext <<_ACEOF
10124 /* end confdefs.h. */
10126 /* Override any GCC internal prototype to avoid an error.
10127 Use char because int might match the return type of a GCC
10128 builtin and then its argument prototype would still apply. */
10129 #ifdef __cplusplus
10130 extern "C"
10131 #endif
10132 char XF86VidModeQueryExtension ();
10134 main ()
10136 return XF86VidModeQueryExtension ();
10138 return 0;
10140 _ACEOF
10141 rm -f conftest.$ac_objext conftest$ac_exeext
10142 if { (ac_try="$ac_link"
10143 case "(($ac_try" in
10144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10145 *) ac_try_echo=$ac_try;;
10146 esac
10147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10148 (eval "$ac_link") 2>conftest.er1
10149 ac_status=$?
10150 grep -v '^ *+' conftest.er1 >conftest.err
10151 rm -f conftest.er1
10152 cat conftest.err >&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); } && {
10155 test -z "$ac_c_werror_flag" ||
10156 test ! -s conftest.err
10157 } && test -s conftest$ac_exeext &&
10158 $as_test_x conftest$ac_exeext; then
10159 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10160 else
10161 echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.$ac_ext >&5
10164 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_lib_save_LIBS
10171 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10172 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10173 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10175 cat >>confdefs.h <<\_ACEOF
10176 #define HAVE_LIBXXF86VM 1
10177 _ACEOF
10179 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10184 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10185 case "x$with_xvidmode" in
10186 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10187 xno) ;;
10188 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10189 This is an error since --with-xvidmode was requested." >&5
10190 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10191 This is an error since --with-xvidmode was requested." >&2;}
10192 { (exit 1); exit 1; }; } ;;
10193 esac
10197 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"
10198 then
10199 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10200 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10201 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10202 echo $ECHO_N "(cached) $ECHO_C" >&6
10203 else
10204 ac_check_soname_save_LIBS=$LIBS
10205 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10206 cat >conftest.$ac_ext <<_ACEOF
10207 /* confdefs.h. */
10208 _ACEOF
10209 cat confdefs.h >>conftest.$ac_ext
10210 cat >>conftest.$ac_ext <<_ACEOF
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10216 #ifdef __cplusplus
10217 extern "C"
10218 #endif
10219 char XRenderQueryExtension ();
10221 main ()
10223 return XRenderQueryExtension ();
10225 return 0;
10227 _ACEOF
10228 rm -f conftest.$ac_objext conftest$ac_exeext
10229 if { (ac_try="$ac_link"
10230 case "(($ac_try" in
10231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10232 *) ac_try_echo=$ac_try;;
10233 esac
10234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10235 (eval "$ac_link") 2>conftest.er1
10236 ac_status=$?
10237 grep -v '^ *+' conftest.er1 >conftest.err
10238 rm -f conftest.er1
10239 cat conftest.err >&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); } && {
10242 test -z "$ac_c_werror_flag" ||
10243 test ! -s conftest.err
10244 } && test -s conftest$ac_exeext &&
10245 $as_test_x conftest$ac_exeext; then
10246 case "$LIBEXT" in
10247 dll) ;;
10248 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'` ;;
10249 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10250 esac
10251 else
10252 echo "$as_me: failed program was:" >&5
10253 sed 's/^/| /' conftest.$ac_ext >&5
10258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10259 conftest$ac_exeext conftest.$ac_ext
10260 LIBS=$ac_check_soname_save_LIBS
10262 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10263 { echo "$as_me:$LINENO: result: not found" >&5
10264 echo "${ECHO_T}not found" >&6; }
10266 else
10267 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10268 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10270 cat >>confdefs.h <<_ACEOF
10271 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10272 _ACEOF
10274 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10275 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10276 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279 ac_check_lib_save_LIBS=$LIBS
10280 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10281 cat >conftest.$ac_ext <<_ACEOF
10282 /* confdefs.h. */
10283 _ACEOF
10284 cat confdefs.h >>conftest.$ac_ext
10285 cat >>conftest.$ac_ext <<_ACEOF
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10291 #ifdef __cplusplus
10292 extern "C"
10293 #endif
10294 char XRenderSetPictureTransform ();
10296 main ()
10298 return XRenderSetPictureTransform ();
10300 return 0;
10302 _ACEOF
10303 rm -f conftest.$ac_objext conftest$ac_exeext
10304 if { (ac_try="$ac_link"
10305 case "(($ac_try" in
10306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10307 *) ac_try_echo=$ac_try;;
10308 esac
10309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10310 (eval "$ac_link") 2>conftest.er1
10311 ac_status=$?
10312 grep -v '^ *+' conftest.er1 >conftest.err
10313 rm -f conftest.er1
10314 cat conftest.err >&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } && {
10317 test -z "$ac_c_werror_flag" ||
10318 test ! -s conftest.err
10319 } && test -s conftest$ac_exeext &&
10320 $as_test_x conftest$ac_exeext; then
10321 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10322 else
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.$ac_ext >&5
10326 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_lib_save_LIBS
10333 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10334 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10335 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10337 cat >>confdefs.h <<\_ACEOF
10338 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10339 _ACEOF
10347 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10348 case "x$with_xrender" in
10349 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10350 xno) ;;
10351 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10352 This is an error since --with-xrender was requested." >&5
10353 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10354 This is an error since --with-xrender was requested." >&2;}
10355 { (exit 1); exit 1; }; } ;;
10356 esac
10360 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10361 then
10362 cat >conftest.$ac_ext <<_ACEOF
10363 /* confdefs.h. */
10364 _ACEOF
10365 cat confdefs.h >>conftest.$ac_ext
10366 cat >>conftest.$ac_ext <<_ACEOF
10367 /* end confdefs.h. */
10368 #include <X11/Xlib.h>
10369 #include <X11/extensions/Xrandr.h>
10371 main ()
10373 static typeof(XRRSetScreenConfigAndRate) * func;
10375 return 0;
10377 _ACEOF
10378 rm -f conftest.$ac_objext
10379 if { (ac_try="$ac_compile"
10380 case "(($ac_try" in
10381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10382 *) ac_try_echo=$ac_try;;
10383 esac
10384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10385 (eval "$ac_compile") 2>conftest.er1
10386 ac_status=$?
10387 grep -v '^ *+' conftest.er1 >conftest.err
10388 rm -f conftest.er1
10389 cat conftest.err >&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); } && {
10392 test -z "$ac_c_werror_flag" ||
10393 test ! -s conftest.err
10394 } && test -s conftest.$ac_objext; then
10395 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10396 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10397 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 else
10400 ac_check_soname_save_LIBS=$LIBS
10401 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10402 cat >conftest.$ac_ext <<_ACEOF
10403 /* confdefs.h. */
10404 _ACEOF
10405 cat confdefs.h >>conftest.$ac_ext
10406 cat >>conftest.$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10412 #ifdef __cplusplus
10413 extern "C"
10414 #endif
10415 char XRRQueryExtension ();
10417 main ()
10419 return XRRQueryExtension ();
10421 return 0;
10423 _ACEOF
10424 rm -f conftest.$ac_objext conftest$ac_exeext
10425 if { (ac_try="$ac_link"
10426 case "(($ac_try" in
10427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10428 *) ac_try_echo=$ac_try;;
10429 esac
10430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10431 (eval "$ac_link") 2>conftest.er1
10432 ac_status=$?
10433 grep -v '^ *+' conftest.er1 >conftest.err
10434 rm -f conftest.er1
10435 cat conftest.err >&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } && {
10438 test -z "$ac_c_werror_flag" ||
10439 test ! -s conftest.err
10440 } && test -s conftest$ac_exeext &&
10441 $as_test_x conftest$ac_exeext; then
10442 case "$LIBEXT" in
10443 dll) ;;
10444 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'` ;;
10445 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10446 esac
10447 else
10448 echo "$as_me: failed program was:" >&5
10449 sed 's/^/| /' conftest.$ac_ext >&5
10454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10455 conftest$ac_exeext conftest.$ac_ext
10456 LIBS=$ac_check_soname_save_LIBS
10458 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10459 { echo "$as_me:$LINENO: result: not found" >&5
10460 echo "${ECHO_T}not found" >&6; }
10462 else
10463 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10464 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10466 cat >>confdefs.h <<_ACEOF
10467 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10468 _ACEOF
10473 else
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10482 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10483 case "x$with_xrandr" in
10484 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10485 xno) ;;
10486 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10487 This is an error since --with-xrandr was requested." >&5
10488 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10489 This is an error since --with-xrandr was requested." >&2;}
10490 { (exit 1); exit 1; }; } ;;
10491 esac
10495 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10496 then
10497 cat >conftest.$ac_ext <<_ACEOF
10498 /* confdefs.h. */
10499 _ACEOF
10500 cat confdefs.h >>conftest.$ac_ext
10501 cat >>conftest.$ac_ext <<_ACEOF
10502 /* end confdefs.h. */
10503 #include <X11/Xlib.h>
10504 #include <X11/extensions/Xinerama.h>
10506 main ()
10508 static typeof(XineramaQueryScreens) * func;
10510 return 0;
10512 _ACEOF
10513 rm -f conftest.$ac_objext
10514 if { (ac_try="$ac_compile"
10515 case "(($ac_try" in
10516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10517 *) ac_try_echo=$ac_try;;
10518 esac
10519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10520 (eval "$ac_compile") 2>conftest.er1
10521 ac_status=$?
10522 grep -v '^ *+' conftest.er1 >conftest.err
10523 rm -f conftest.er1
10524 cat conftest.err >&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } && {
10527 test -z "$ac_c_werror_flag" ||
10528 test ! -s conftest.err
10529 } && test -s conftest.$ac_objext; then
10530 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10531 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10532 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 else
10535 ac_check_soname_save_LIBS=$LIBS
10536 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10537 cat >conftest.$ac_ext <<_ACEOF
10538 /* confdefs.h. */
10539 _ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10547 #ifdef __cplusplus
10548 extern "C"
10549 #endif
10550 char XineramaQueryScreens ();
10552 main ()
10554 return XineramaQueryScreens ();
10556 return 0;
10558 _ACEOF
10559 rm -f conftest.$ac_objext conftest$ac_exeext
10560 if { (ac_try="$ac_link"
10561 case "(($ac_try" in
10562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10563 *) ac_try_echo=$ac_try;;
10564 esac
10565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10566 (eval "$ac_link") 2>conftest.er1
10567 ac_status=$?
10568 grep -v '^ *+' conftest.er1 >conftest.err
10569 rm -f conftest.er1
10570 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } && {
10573 test -z "$ac_c_werror_flag" ||
10574 test ! -s conftest.err
10575 } && test -s conftest$ac_exeext &&
10576 $as_test_x conftest$ac_exeext; then
10577 case "$LIBEXT" in
10578 dll) ;;
10579 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'` ;;
10580 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10581 esac
10582 else
10583 echo "$as_me: failed program was:" >&5
10584 sed 's/^/| /' conftest.$ac_ext >&5
10589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10590 conftest$ac_exeext conftest.$ac_ext
10591 LIBS=$ac_check_soname_save_LIBS
10593 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10594 { echo "$as_me:$LINENO: result: not found" >&5
10595 echo "${ECHO_T}not found" >&6; }
10597 else
10598 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10599 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10601 cat >>confdefs.h <<_ACEOF
10602 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10603 _ACEOF
10608 else
10609 echo "$as_me: failed program was:" >&5
10610 sed 's/^/| /' conftest.$ac_ext >&5
10615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10617 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10618 case "x$with_xinerama" in
10619 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10620 xno) ;;
10621 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10622 This is an error since --with-xinerama was requested." >&5
10623 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10624 This is an error since --with-xinerama was requested." >&2;}
10625 { (exit 1); exit 1; }; } ;;
10626 esac
10630 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10631 then
10632 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10633 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10634 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 else
10637 ac_check_soname_save_LIBS=$LIBS
10638 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10639 cat >conftest.$ac_ext <<_ACEOF
10640 /* confdefs.h. */
10641 _ACEOF
10642 cat confdefs.h >>conftest.$ac_ext
10643 cat >>conftest.$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10646 /* Override any GCC internal prototype to avoid an error.
10647 Use char because int might match the return type of a GCC
10648 builtin and then its argument prototype would still apply. */
10649 #ifdef __cplusplus
10650 extern "C"
10651 #endif
10652 char XCompositeRedirectWindow ();
10654 main ()
10656 return XCompositeRedirectWindow ();
10658 return 0;
10660 _ACEOF
10661 rm -f conftest.$ac_objext conftest$ac_exeext
10662 if { (ac_try="$ac_link"
10663 case "(($ac_try" in
10664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10665 *) ac_try_echo=$ac_try;;
10666 esac
10667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10668 (eval "$ac_link") 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } && {
10675 test -z "$ac_c_werror_flag" ||
10676 test ! -s conftest.err
10677 } && test -s conftest$ac_exeext &&
10678 $as_test_x conftest$ac_exeext; then
10679 case "$LIBEXT" in
10680 dll) ;;
10681 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'` ;;
10682 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10683 esac
10684 else
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.$ac_ext >&5
10691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10692 conftest$ac_exeext conftest.$ac_ext
10693 LIBS=$ac_check_soname_save_LIBS
10695 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10696 { echo "$as_me:$LINENO: result: not found" >&5
10697 echo "${ECHO_T}not found" >&6; }
10699 else
10700 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10701 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10703 cat >>confdefs.h <<_ACEOF
10704 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10705 _ACEOF
10711 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10712 case "x$with_xcomposite" in
10713 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10714 xno) ;;
10715 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10716 This is an error since --with-xcomposite was requested." >&5
10717 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10718 This is an error since --with-xcomposite was requested." >&2;}
10719 { (exit 1); exit 1; }; } ;;
10720 esac
10724 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10725 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10726 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 else
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h. */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10735 #ifdef HAVE_X11_XLIB_H
10736 #include <X11/Xlib.h>
10737 #endif
10740 main ()
10742 static XICCallback ac_aggr;
10743 if (ac_aggr.callback)
10744 return 0;
10746 return 0;
10748 _ACEOF
10749 rm -f conftest.$ac_objext
10750 if { (ac_try="$ac_compile"
10751 case "(($ac_try" in
10752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10753 *) ac_try_echo=$ac_try;;
10754 esac
10755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10756 (eval "$ac_compile") 2>conftest.er1
10757 ac_status=$?
10758 grep -v '^ *+' conftest.er1 >conftest.err
10759 rm -f conftest.er1
10760 cat conftest.err >&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); } && {
10763 test -z "$ac_c_werror_flag" ||
10764 test ! -s conftest.err
10765 } && test -s conftest.$ac_objext; then
10766 ac_cv_member_XICCallback_callback=yes
10767 else
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10771 cat >conftest.$ac_ext <<_ACEOF
10772 /* confdefs.h. */
10773 _ACEOF
10774 cat confdefs.h >>conftest.$ac_ext
10775 cat >>conftest.$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10777 #ifdef HAVE_X11_XLIB_H
10778 #include <X11/Xlib.h>
10779 #endif
10782 main ()
10784 static XICCallback ac_aggr;
10785 if (sizeof ac_aggr.callback)
10786 return 0;
10788 return 0;
10790 _ACEOF
10791 rm -f conftest.$ac_objext
10792 if { (ac_try="$ac_compile"
10793 case "(($ac_try" in
10794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10795 *) ac_try_echo=$ac_try;;
10796 esac
10797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10798 (eval "$ac_compile") 2>conftest.er1
10799 ac_status=$?
10800 grep -v '^ *+' conftest.er1 >conftest.err
10801 rm -f conftest.er1
10802 cat conftest.err >&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); } && {
10805 test -z "$ac_c_werror_flag" ||
10806 test ! -s conftest.err
10807 } && test -s conftest.$ac_objext; then
10808 ac_cv_member_XICCallback_callback=yes
10809 else
10810 echo "$as_me: failed program was:" >&5
10811 sed 's/^/| /' conftest.$ac_ext >&5
10813 ac_cv_member_XICCallback_callback=no
10816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10821 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10822 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10823 if test $ac_cv_member_XICCallback_callback = yes; then
10825 cat >>confdefs.h <<_ACEOF
10826 #define HAVE_XICCALLBACK_CALLBACK 1
10827 _ACEOF
10834 opengl_msg=""
10835 if test "x$with_opengl" != "xno"
10836 then
10841 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10844 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10846 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 else
10849 cat >conftest.$ac_ext <<_ACEOF
10850 /* confdefs.h. */
10851 _ACEOF
10852 cat confdefs.h >>conftest.$ac_ext
10853 cat >>conftest.$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 #ifdef HAVE_GL_GLX_H
10856 # include <GL/glx.h>
10857 #endif
10859 #include <$ac_header>
10860 _ACEOF
10861 rm -f conftest.$ac_objext
10862 if { (ac_try="$ac_compile"
10863 case "(($ac_try" in
10864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10865 *) ac_try_echo=$ac_try;;
10866 esac
10867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10868 (eval "$ac_compile") 2>conftest.er1
10869 ac_status=$?
10870 grep -v '^ *+' conftest.er1 >conftest.err
10871 rm -f conftest.er1
10872 cat conftest.err >&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } && {
10875 test -z "$ac_c_werror_flag" ||
10876 test ! -s conftest.err
10877 } && test -s conftest.$ac_objext; then
10878 eval "$as_ac_Header=yes"
10879 else
10880 echo "$as_me: failed program was:" >&5
10881 sed 's/^/| /' conftest.$ac_ext >&5
10883 eval "$as_ac_Header=no"
10886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10888 ac_res=`eval echo '${'$as_ac_Header'}'`
10889 { echo "$as_me:$LINENO: result: $ac_res" >&5
10890 echo "${ECHO_T}$ac_res" >&6; }
10891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10892 cat >>confdefs.h <<_ACEOF
10893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10894 _ACEOF
10898 done
10900 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10901 then
10902 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10903 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10904 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10905 echo $ECHO_N "(cached) $ECHO_C" >&6
10906 else
10907 cat >conftest.$ac_ext <<_ACEOF
10908 /* confdefs.h. */
10909 _ACEOF
10910 cat confdefs.h >>conftest.$ac_ext
10911 cat >>conftest.$ac_ext <<_ACEOF
10912 /* end confdefs.h. */
10913 #include <GL/gl.h>
10915 main ()
10917 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10919 return 0;
10921 _ACEOF
10922 rm -f conftest.$ac_objext
10923 if { (ac_try="$ac_compile"
10924 case "(($ac_try" in
10925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10926 *) ac_try_echo=$ac_try;;
10927 esac
10928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10929 (eval "$ac_compile") 2>conftest.er1
10930 ac_status=$?
10931 grep -v '^ *+' conftest.er1 >conftest.err
10932 rm -f conftest.er1
10933 cat conftest.err >&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } && {
10936 test -z "$ac_c_werror_flag" ||
10937 test ! -s conftest.err
10938 } && test -s conftest.$ac_objext; then
10939 wine_cv_opengl_header_version_OK="yes"
10940 else
10941 echo "$as_me: failed program was:" >&5
10942 sed 's/^/| /' conftest.$ac_ext >&5
10944 wine_cv_opengl_header_version_OK="no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10949 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10950 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10952 if test "$wine_cv_opengl_header_version_OK" = "yes"
10953 then
10954 { echo "$as_me:$LINENO: checking for -lGL" >&5
10955 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10956 if test "${ac_cv_lib_soname_GL+set}" = set; then
10957 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 else
10959 ac_check_soname_save_LIBS=$LIBS
10960 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10961 cat >conftest.$ac_ext <<_ACEOF
10962 /* confdefs.h. */
10963 _ACEOF
10964 cat confdefs.h >>conftest.$ac_ext
10965 cat >>conftest.$ac_ext <<_ACEOF
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char glXCreateContext ();
10976 main ()
10978 return glXCreateContext ();
10980 return 0;
10982 _ACEOF
10983 rm -f conftest.$ac_objext conftest$ac_exeext
10984 if { (ac_try="$ac_link"
10985 case "(($ac_try" in
10986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10987 *) ac_try_echo=$ac_try;;
10988 esac
10989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10990 (eval "$ac_link") 2>conftest.er1
10991 ac_status=$?
10992 grep -v '^ *+' conftest.er1 >conftest.err
10993 rm -f conftest.er1
10994 cat conftest.err >&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); } && {
10997 test -z "$ac_c_werror_flag" ||
10998 test ! -s conftest.err
10999 } && test -s conftest$ac_exeext &&
11000 $as_test_x conftest$ac_exeext; then
11001 case "$LIBEXT" in
11002 dll) ;;
11003 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'` ;;
11004 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11005 esac
11006 else
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_soname_save_LIBS
11017 if test "x$ac_cv_lib_soname_GL" = "x"; then
11018 { echo "$as_me:$LINENO: result: not found" >&5
11019 echo "${ECHO_T}not found" >&6; }
11020 { echo "$as_me:$LINENO: checking for -lGL" >&5
11021 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11022 if test "${ac_cv_lib_soname_GL+set}" = set; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 else
11025 ac_check_soname_save_LIBS=$LIBS
11026 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"
11027 cat >conftest.$ac_ext <<_ACEOF
11028 /* confdefs.h. */
11029 _ACEOF
11030 cat confdefs.h >>conftest.$ac_ext
11031 cat >>conftest.$ac_ext <<_ACEOF
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char glXCreateContext ();
11042 main ()
11044 return glXCreateContext ();
11046 return 0;
11048 _ACEOF
11049 rm -f conftest.$ac_objext conftest$ac_exeext
11050 if { (ac_try="$ac_link"
11051 case "(($ac_try" in
11052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11053 *) ac_try_echo=$ac_try;;
11054 esac
11055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11056 (eval "$ac_link") 2>conftest.er1
11057 ac_status=$?
11058 grep -v '^ *+' conftest.er1 >conftest.err
11059 rm -f conftest.er1
11060 cat conftest.err >&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } && {
11063 test -z "$ac_c_werror_flag" ||
11064 test ! -s conftest.err
11065 } && test -s conftest$ac_exeext &&
11066 $as_test_x conftest$ac_exeext; then
11067 case "$LIBEXT" in
11068 dll) ;;
11069 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'` ;;
11070 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11071 esac
11072 else
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.$ac_ext >&5
11079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_soname_save_LIBS
11083 if test "x$ac_cv_lib_soname_GL" = "x"; then
11084 { echo "$as_me:$LINENO: result: not found" >&5
11085 echo "${ECHO_T}not found" >&6; }
11086 if test -f /usr/X11R6/lib/libGL.a
11087 then
11088 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11089 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11090 else
11091 opengl_msg="No OpenGL library found on this system."
11093 else
11094 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11095 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11097 cat >>confdefs.h <<_ACEOF
11098 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11099 _ACEOF
11101 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"
11102 OPENGLFILES='$(OPENGLFILES)'
11104 cat >>confdefs.h <<\_ACEOF
11105 #define HAVE_OPENGL 1
11106 _ACEOF
11110 else
11111 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11112 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11114 cat >>confdefs.h <<_ACEOF
11115 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11116 _ACEOF
11118 OPENGL_LIBS="-lGL"
11119 OPENGLFILES='$(OPENGLFILES)'
11121 cat >>confdefs.h <<\_ACEOF
11122 #define HAVE_OPENGL 1
11123 _ACEOF
11127 if test "$ac_cv_header_GL_glu_h" = "yes"
11128 then
11129 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11130 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11131 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11132 echo $ECHO_N "(cached) $ECHO_C" >&6
11133 else
11134 ac_check_soname_save_LIBS=$LIBS
11135 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11136 cat >conftest.$ac_ext <<_ACEOF
11137 /* confdefs.h. */
11138 _ACEOF
11139 cat confdefs.h >>conftest.$ac_ext
11140 cat >>conftest.$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char gluLookAt ();
11151 main ()
11153 return gluLookAt ();
11155 return 0;
11157 _ACEOF
11158 rm -f conftest.$ac_objext conftest$ac_exeext
11159 if { (ac_try="$ac_link"
11160 case "(($ac_try" in
11161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11162 *) ac_try_echo=$ac_try;;
11163 esac
11164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11165 (eval "$ac_link") 2>conftest.er1
11166 ac_status=$?
11167 grep -v '^ *+' conftest.er1 >conftest.err
11168 rm -f conftest.er1
11169 cat conftest.err >&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } && {
11172 test -z "$ac_c_werror_flag" ||
11173 test ! -s conftest.err
11174 } && test -s conftest$ac_exeext &&
11175 $as_test_x conftest$ac_exeext; then
11176 case "$LIBEXT" in
11177 dll) ;;
11178 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'` ;;
11179 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11180 esac
11181 else
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.$ac_ext >&5
11188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_soname_save_LIBS
11192 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11193 { echo "$as_me:$LINENO: result: not found" >&5
11194 echo "${ECHO_T}not found" >&6; }
11196 else
11197 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11198 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11200 cat >>confdefs.h <<_ACEOF
11201 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11202 _ACEOF
11204 GLU32FILES='$(GLU32FILES)'
11208 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11209 case "x$with_glu" in
11210 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11211 xno) ;;
11212 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11213 This is an error since --with-glu was requested." >&5
11214 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11215 This is an error since --with-glu was requested." >&2;}
11216 { (exit 1); exit 1; }; } ;;
11217 esac
11220 else
11221 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11223 else
11224 opengl_msg="OpenGL development headers not found."
11227 if test -n "$opengl_msg"; then
11228 case "x$with_opengl" in
11229 x) wine_warnings="$wine_warnings|$opengl_msg
11230 OpenGL and Direct3D won't be supported." ;;
11231 xno) ;;
11232 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11233 OpenGL and Direct3D won't be supported.
11234 This is an error since --with-opengl was requested." >&5
11235 echo "$as_me: error: $opengl_msg
11236 OpenGL and Direct3D won't be supported.
11237 This is an error since --with-opengl was requested." >&2;}
11238 { (exit 1); exit 1; }; } ;;
11239 esac
11243 NASLIBS=""
11246 for ac_header in audio/audiolib.h
11248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 ac_res=`eval echo '${'$as_ac_Header'}'`
11256 { echo "$as_me:$LINENO: result: $ac_res" >&5
11257 echo "${ECHO_T}$ac_res" >&6; }
11258 else
11259 # Is the header compilable?
11260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11262 cat >conftest.$ac_ext <<_ACEOF
11263 /* confdefs.h. */
11264 _ACEOF
11265 cat confdefs.h >>conftest.$ac_ext
11266 cat >>conftest.$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11268 $ac_includes_default
11269 #include <$ac_header>
11270 _ACEOF
11271 rm -f conftest.$ac_objext
11272 if { (ac_try="$ac_compile"
11273 case "(($ac_try" in
11274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11275 *) ac_try_echo=$ac_try;;
11276 esac
11277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11278 (eval "$ac_compile") 2>conftest.er1
11279 ac_status=$?
11280 grep -v '^ *+' conftest.er1 >conftest.err
11281 rm -f conftest.er1
11282 cat conftest.err >&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } && {
11285 test -z "$ac_c_werror_flag" ||
11286 test ! -s conftest.err
11287 } && test -s conftest.$ac_objext; then
11288 ac_header_compiler=yes
11289 else
11290 echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.$ac_ext >&5
11293 ac_header_compiler=no
11296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11298 echo "${ECHO_T}$ac_header_compiler" >&6; }
11300 # Is the header present?
11301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11303 cat >conftest.$ac_ext <<_ACEOF
11304 /* confdefs.h. */
11305 _ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11309 #include <$ac_header>
11310 _ACEOF
11311 if { (ac_try="$ac_cpp conftest.$ac_ext"
11312 case "(($ac_try" in
11313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11314 *) ac_try_echo=$ac_try;;
11315 esac
11316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11318 ac_status=$?
11319 grep -v '^ *+' conftest.er1 >conftest.err
11320 rm -f conftest.er1
11321 cat conftest.err >&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); } >/dev/null && {
11324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11325 test ! -s conftest.err
11326 }; then
11327 ac_header_preproc=yes
11328 else
11329 echo "$as_me: failed program was:" >&5
11330 sed 's/^/| /' conftest.$ac_ext >&5
11332 ac_header_preproc=no
11335 rm -f conftest.err conftest.$ac_ext
11336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11337 echo "${ECHO_T}$ac_header_preproc" >&6; }
11339 # So? What about this header?
11340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11341 yes:no: )
11342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11346 ac_header_preproc=yes
11348 no:yes:* )
11349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11361 ( cat <<\_ASBOX
11362 ## ------------------------------------ ##
11363 ## Report this to wine-devel@winehq.org ##
11364 ## ------------------------------------ ##
11365 _ASBOX
11366 ) | sed "s/^/$as_me: WARNING: /" >&2
11368 esac
11369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 else
11374 eval "$as_ac_Header=\$ac_header_preproc"
11376 ac_res=`eval echo '${'$as_ac_Header'}'`
11377 { echo "$as_me:$LINENO: result: $ac_res" >&5
11378 echo "${ECHO_T}$ac_res" >&6; }
11381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11382 cat >>confdefs.h <<_ACEOF
11383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11384 _ACEOF
11386 for ac_header in audio/soundlib.h
11388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 else
11394 cat >conftest.$ac_ext <<_ACEOF
11395 /* confdefs.h. */
11396 _ACEOF
11397 cat confdefs.h >>conftest.$ac_ext
11398 cat >>conftest.$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11400 #include <audio/audiolib.h>
11402 #include <$ac_header>
11403 _ACEOF
11404 rm -f conftest.$ac_objext
11405 if { (ac_try="$ac_compile"
11406 case "(($ac_try" in
11407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11408 *) ac_try_echo=$ac_try;;
11409 esac
11410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11411 (eval "$ac_compile") 2>conftest.er1
11412 ac_status=$?
11413 grep -v '^ *+' conftest.er1 >conftest.err
11414 rm -f conftest.er1
11415 cat conftest.err >&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); } && {
11418 test -z "$ac_c_werror_flag" ||
11419 test ! -s conftest.err
11420 } && test -s conftest.$ac_objext; then
11421 eval "$as_ac_Header=yes"
11422 else
11423 echo "$as_me: failed program was:" >&5
11424 sed 's/^/| /' conftest.$ac_ext >&5
11426 eval "$as_ac_Header=no"
11429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11431 ac_res=`eval echo '${'$as_ac_Header'}'`
11432 { echo "$as_me:$LINENO: result: $ac_res" >&5
11433 echo "${ECHO_T}$ac_res" >&6; }
11434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11435 cat >>confdefs.h <<_ACEOF
11436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11437 _ACEOF
11441 done
11443 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11444 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11445 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11446 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 else
11448 ac_check_lib_save_LIBS=$LIBS
11449 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11450 cat >conftest.$ac_ext <<_ACEOF
11451 /* confdefs.h. */
11452 _ACEOF
11453 cat confdefs.h >>conftest.$ac_ext
11454 cat >>conftest.$ac_ext <<_ACEOF
11455 /* end confdefs.h. */
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11460 #ifdef __cplusplus
11461 extern "C"
11462 #endif
11463 char AuCreateFlow ();
11465 main ()
11467 return AuCreateFlow ();
11469 return 0;
11471 _ACEOF
11472 rm -f conftest.$ac_objext conftest$ac_exeext
11473 if { (ac_try="$ac_link"
11474 case "(($ac_try" in
11475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11476 *) ac_try_echo=$ac_try;;
11477 esac
11478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11479 (eval "$ac_link") 2>conftest.er1
11480 ac_status=$?
11481 grep -v '^ *+' conftest.er1 >conftest.err
11482 rm -f conftest.er1
11483 cat conftest.err >&5
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); } && {
11486 test -z "$ac_c_werror_flag" ||
11487 test ! -s conftest.err
11488 } && test -s conftest$ac_exeext &&
11489 $as_test_x conftest$ac_exeext; then
11490 ac_cv_lib_audio_AuCreateFlow=yes
11491 else
11492 echo "$as_me: failed program was:" >&5
11493 sed 's/^/| /' conftest.$ac_ext >&5
11495 ac_cv_lib_audio_AuCreateFlow=no
11498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11499 conftest$ac_exeext conftest.$ac_ext
11500 LIBS=$ac_check_lib_save_LIBS
11502 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11503 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11504 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11506 cat >>confdefs.h <<\_ACEOF
11507 #define HAVE_NAS 1
11508 _ACEOF
11510 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11511 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11512 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-lXau $X_LIBS $LIBS"
11517 cat >conftest.$ac_ext <<_ACEOF
11518 /* confdefs.h. */
11519 _ACEOF
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char XauGetBestAuthByAddr ();
11532 main ()
11534 return XauGetBestAuthByAddr ();
11536 return 0;
11538 _ACEOF
11539 rm -f conftest.$ac_objext conftest$ac_exeext
11540 if { (ac_try="$ac_link"
11541 case "(($ac_try" in
11542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11543 *) ac_try_echo=$ac_try;;
11544 esac
11545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11546 (eval "$ac_link") 2>conftest.er1
11547 ac_status=$?
11548 grep -v '^ *+' conftest.er1 >conftest.err
11549 rm -f conftest.er1
11550 cat conftest.err >&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } && {
11553 test -z "$ac_c_werror_flag" ||
11554 test ! -s conftest.err
11555 } && test -s conftest$ac_exeext &&
11556 $as_test_x conftest$ac_exeext; then
11557 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11558 else
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_lib_save_LIBS
11569 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11570 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11571 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11572 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11573 else
11574 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11582 done
11585 CPPFLAGS="$ac_save_CPPFLAGS"
11586 XFILES='$(XFILES)'
11587 else
11588 XLIB=""
11589 X_CFLAGS=""
11590 X_LIBS=""
11592 if test "x$XLIB" = "x"; then
11593 case "x$with_x" in
11594 xno) ;;
11595 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11596 without X support, which probably isn't what you want. You will need to install
11597 development packages of Xlib/Xfree86 at the very least.
11598 Use the --without-x option if you really want this." >&5
11599 echo "$as_me: error: X development files not found. Wine will be built
11600 without X support, which probably isn't what you want. You will need to install
11601 development packages of Xlib/Xfree86 at the very least.
11602 Use the --without-x option if you really want this." >&2;}
11603 { (exit 1); exit 1; }; } ;;
11604 esac
11609 XML2LIBS=""
11611 XML2INCL=""
11613 XSLTLIBS=""
11615 XSLTINCL=""
11617 if test "x$with_xml" != "xno"
11618 then
11619 ac_save_CPPFLAGS="$CPPFLAGS"
11620 if test "$PKG_CONFIG" != "false"
11621 then
11622 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11623 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11624 else
11625 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11626 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11628 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11630 for ac_header in libxml/parser.h
11632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 ac_res=`eval echo '${'$as_ac_Header'}'`
11640 { echo "$as_me:$LINENO: result: $ac_res" >&5
11641 echo "${ECHO_T}$ac_res" >&6; }
11642 else
11643 # Is the header compilable?
11644 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11646 cat >conftest.$ac_ext <<_ACEOF
11647 /* confdefs.h. */
11648 _ACEOF
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11652 $ac_includes_default
11653 #include <$ac_header>
11654 _ACEOF
11655 rm -f conftest.$ac_objext
11656 if { (ac_try="$ac_compile"
11657 case "(($ac_try" in
11658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11659 *) ac_try_echo=$ac_try;;
11660 esac
11661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11662 (eval "$ac_compile") 2>conftest.er1
11663 ac_status=$?
11664 grep -v '^ *+' conftest.er1 >conftest.err
11665 rm -f conftest.er1
11666 cat conftest.err >&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); } && {
11669 test -z "$ac_c_werror_flag" ||
11670 test ! -s conftest.err
11671 } && test -s conftest.$ac_objext; then
11672 ac_header_compiler=yes
11673 else
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11677 ac_header_compiler=no
11680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11681 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11682 echo "${ECHO_T}$ac_header_compiler" >&6; }
11684 # Is the header present?
11685 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11687 cat >conftest.$ac_ext <<_ACEOF
11688 /* confdefs.h. */
11689 _ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693 #include <$ac_header>
11694 _ACEOF
11695 if { (ac_try="$ac_cpp conftest.$ac_ext"
11696 case "(($ac_try" in
11697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11698 *) ac_try_echo=$ac_try;;
11699 esac
11700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11702 ac_status=$?
11703 grep -v '^ *+' conftest.er1 >conftest.err
11704 rm -f conftest.er1
11705 cat conftest.err >&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } >/dev/null && {
11708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11709 test ! -s conftest.err
11710 }; then
11711 ac_header_preproc=yes
11712 else
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.$ac_ext >&5
11716 ac_header_preproc=no
11719 rm -f conftest.err conftest.$ac_ext
11720 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11721 echo "${ECHO_T}$ac_header_preproc" >&6; }
11723 # So? What about this header?
11724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11725 yes:no: )
11726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11729 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11730 ac_header_preproc=yes
11732 no:yes:* )
11733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11737 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11738 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11739 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11740 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11743 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11744 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11745 ( cat <<\_ASBOX
11746 ## ------------------------------------ ##
11747 ## Report this to wine-devel@winehq.org ##
11748 ## ------------------------------------ ##
11749 _ASBOX
11750 ) | sed "s/^/$as_me: WARNING: /" >&2
11752 esac
11753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 else
11758 eval "$as_ac_Header=\$ac_header_preproc"
11760 ac_res=`eval echo '${'$as_ac_Header'}'`
11761 { echo "$as_me:$LINENO: result: $ac_res" >&5
11762 echo "${ECHO_T}$ac_res" >&6; }
11765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11766 cat >>confdefs.h <<_ACEOF
11767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11768 _ACEOF
11769 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11770 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11771 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11774 ac_check_lib_save_LIBS=$LIBS
11775 LIBS="-lxml2 $ac_xml_libs $LIBS"
11776 cat >conftest.$ac_ext <<_ACEOF
11777 /* confdefs.h. */
11778 _ACEOF
11779 cat confdefs.h >>conftest.$ac_ext
11780 cat >>conftest.$ac_ext <<_ACEOF
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 #ifdef __cplusplus
11787 extern "C"
11788 #endif
11789 char xmlParseMemory ();
11791 main ()
11793 return xmlParseMemory ();
11795 return 0;
11797 _ACEOF
11798 rm -f conftest.$ac_objext conftest$ac_exeext
11799 if { (ac_try="$ac_link"
11800 case "(($ac_try" in
11801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11802 *) ac_try_echo=$ac_try;;
11803 esac
11804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11805 (eval "$ac_link") 2>conftest.er1
11806 ac_status=$?
11807 grep -v '^ *+' conftest.er1 >conftest.err
11808 rm -f conftest.er1
11809 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } && {
11812 test -z "$ac_c_werror_flag" ||
11813 test ! -s conftest.err
11814 } && test -s conftest$ac_exeext &&
11815 $as_test_x conftest$ac_exeext; then
11816 ac_cv_lib_xml2_xmlParseMemory=yes
11817 else
11818 echo "$as_me: failed program was:" >&5
11819 sed 's/^/| /' conftest.$ac_ext >&5
11821 ac_cv_lib_xml2_xmlParseMemory=no
11824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_lib_save_LIBS
11828 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11829 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11830 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11832 cat >>confdefs.h <<\_ACEOF
11833 #define HAVE_LIBXML2 1
11834 _ACEOF
11836 XML2LIBS="$ac_xml_libs"
11837 XML2INCL="$ac_xml_cflags"
11840 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11841 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11842 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11843 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 else
11845 ac_check_lib_save_LIBS=$LIBS
11846 LIBS="-lxml2 $ac_xml_libs $LIBS"
11847 cat >conftest.$ac_ext <<_ACEOF
11848 /* confdefs.h. */
11849 _ACEOF
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11857 #ifdef __cplusplus
11858 extern "C"
11859 #endif
11860 char xmlReadMemory ();
11862 main ()
11864 return xmlReadMemory ();
11866 return 0;
11868 _ACEOF
11869 rm -f conftest.$ac_objext conftest$ac_exeext
11870 if { (ac_try="$ac_link"
11871 case "(($ac_try" in
11872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11873 *) ac_try_echo=$ac_try;;
11874 esac
11875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11876 (eval "$ac_link") 2>conftest.er1
11877 ac_status=$?
11878 grep -v '^ *+' conftest.er1 >conftest.err
11879 rm -f conftest.er1
11880 cat conftest.err >&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } && {
11883 test -z "$ac_c_werror_flag" ||
11884 test ! -s conftest.err
11885 } && test -s conftest$ac_exeext &&
11886 $as_test_x conftest$ac_exeext; then
11887 ac_cv_lib_xml2_xmlReadMemory=yes
11888 else
11889 echo "$as_me: failed program was:" >&5
11890 sed 's/^/| /' conftest.$ac_ext >&5
11892 ac_cv_lib_xml2_xmlReadMemory=no
11895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11900 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11901 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11903 cat >>confdefs.h <<\_ACEOF
11904 #define HAVE_XMLREADMEMORY 1
11905 _ACEOF
11909 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11910 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11911 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 else
11914 ac_check_lib_save_LIBS=$LIBS
11915 LIBS="-lxml2 $ac_xml_libs $LIBS"
11916 cat >conftest.$ac_ext <<_ACEOF
11917 /* confdefs.h. */
11918 _ACEOF
11919 cat confdefs.h >>conftest.$ac_ext
11920 cat >>conftest.$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11923 /* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11926 #ifdef __cplusplus
11927 extern "C"
11928 #endif
11929 char xmlNewDocPI ();
11931 main ()
11933 return xmlNewDocPI ();
11935 return 0;
11937 _ACEOF
11938 rm -f conftest.$ac_objext conftest$ac_exeext
11939 if { (ac_try="$ac_link"
11940 case "(($ac_try" in
11941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11942 *) ac_try_echo=$ac_try;;
11943 esac
11944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11945 (eval "$ac_link") 2>conftest.er1
11946 ac_status=$?
11947 grep -v '^ *+' conftest.er1 >conftest.err
11948 rm -f conftest.er1
11949 cat conftest.err >&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } && {
11952 test -z "$ac_c_werror_flag" ||
11953 test ! -s conftest.err
11954 } && test -s conftest$ac_exeext &&
11955 $as_test_x conftest$ac_exeext; then
11956 ac_cv_lib_xml2_xmlNewDocPI=yes
11957 else
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11961 ac_cv_lib_xml2_xmlNewDocPI=no
11964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11965 conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11968 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11969 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11970 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11972 cat >>confdefs.h <<\_ACEOF
11973 #define HAVE_XMLNEWDOCPI 1
11974 _ACEOF
11981 done
11983 CPPFLAGS="$ac_save_CPPFLAGS"
11985 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11986 case "x$with_xml" in
11987 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
11988 xno) ;;
11989 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11990 This is an error since --with-xml was requested." >&5
11991 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11992 This is an error since --with-xml was requested." >&2;}
11993 { (exit 1); exit 1; }; } ;;
11994 esac
11998 if test "x$with_xslt" != "xno"
11999 then
12000 if test "$PKG_CONFIG" != "false"
12001 then
12002 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12003 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12004 else
12005 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12006 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12008 ac_save_CPPFLAGS="$CPPFLAGS"
12009 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12012 for ac_header in libxslt/pattern.h libxslt/transform.h
12014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 else
12020 cat >conftest.$ac_ext <<_ACEOF
12021 /* confdefs.h. */
12022 _ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12026 #ifdef HAVE_LIBXSLT_PATTERN_H
12027 # include <libxslt/pattern.h>
12028 #endif
12030 #include <$ac_header>
12031 _ACEOF
12032 rm -f conftest.$ac_objext
12033 if { (ac_try="$ac_compile"
12034 case "(($ac_try" in
12035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12036 *) ac_try_echo=$ac_try;;
12037 esac
12038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12039 (eval "$ac_compile") 2>conftest.er1
12040 ac_status=$?
12041 grep -v '^ *+' conftest.er1 >conftest.err
12042 rm -f conftest.er1
12043 cat conftest.err >&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); } && {
12046 test -z "$ac_c_werror_flag" ||
12047 test ! -s conftest.err
12048 } && test -s conftest.$ac_objext; then
12049 eval "$as_ac_Header=yes"
12050 else
12051 echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.$ac_ext >&5
12054 eval "$as_ac_Header=no"
12057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12059 ac_res=`eval echo '${'$as_ac_Header'}'`
12060 { echo "$as_me:$LINENO: result: $ac_res" >&5
12061 echo "${ECHO_T}$ac_res" >&6; }
12062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12063 cat >>confdefs.h <<_ACEOF
12064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12065 _ACEOF
12069 done
12071 CPPFLAGS="$ac_save_CPPFLAGS"
12072 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12073 then
12074 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12075 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12076 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 else
12079 ac_check_lib_save_LIBS=$LIBS
12080 LIBS="-lxslt $ac_xslt_libs $LIBS"
12081 cat >conftest.$ac_ext <<_ACEOF
12082 /* confdefs.h. */
12083 _ACEOF
12084 cat confdefs.h >>conftest.$ac_ext
12085 cat >>conftest.$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12088 /* Override any GCC internal prototype to avoid an error.
12089 Use char because int might match the return type of a GCC
12090 builtin and then its argument prototype would still apply. */
12091 #ifdef __cplusplus
12092 extern "C"
12093 #endif
12094 char xsltCompilePattern ();
12096 main ()
12098 return xsltCompilePattern ();
12100 return 0;
12102 _ACEOF
12103 rm -f conftest.$ac_objext conftest$ac_exeext
12104 if { (ac_try="$ac_link"
12105 case "(($ac_try" in
12106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12107 *) ac_try_echo=$ac_try;;
12108 esac
12109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12110 (eval "$ac_link") 2>conftest.er1
12111 ac_status=$?
12112 grep -v '^ *+' conftest.er1 >conftest.err
12113 rm -f conftest.er1
12114 cat conftest.err >&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); } && {
12117 test -z "$ac_c_werror_flag" ||
12118 test ! -s conftest.err
12119 } && test -s conftest$ac_exeext &&
12120 $as_test_x conftest$ac_exeext; then
12121 ac_cv_lib_xslt_xsltCompilePattern=yes
12122 else
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12126 ac_cv_lib_xslt_xsltCompilePattern=no
12129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12130 conftest$ac_exeext conftest.$ac_ext
12131 LIBS=$ac_check_lib_save_LIBS
12133 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12134 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12135 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12137 cat >>confdefs.h <<\_ACEOF
12138 #define HAVE_LIBXSLT 1
12139 _ACEOF
12141 XSLTLIBS="$ac_xslt_libs"
12142 XSLTINCL="$ac_xslt_cflags"
12143 ac_save_LIBS="$LIBS"
12144 LIBS="$LIBS $ac_xslt_libs"
12146 for ac_func in xsltInit
12148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 else
12154 cat >conftest.$ac_ext <<_ACEOF
12155 /* confdefs.h. */
12156 _ACEOF
12157 cat confdefs.h >>conftest.$ac_ext
12158 cat >>conftest.$ac_ext <<_ACEOF
12159 /* end confdefs.h. */
12160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12162 #define $ac_func innocuous_$ac_func
12164 /* System header to define __stub macros and hopefully few prototypes,
12165 which can conflict with char $ac_func (); below.
12166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12167 <limits.h> exists even on freestanding compilers. */
12169 #ifdef __STDC__
12170 # include <limits.h>
12171 #else
12172 # include <assert.h>
12173 #endif
12175 #undef $ac_func
12177 /* Override any GCC internal prototype to avoid an error.
12178 Use char because int might match the return type of a GCC
12179 builtin and then its argument prototype would still apply. */
12180 #ifdef __cplusplus
12181 extern "C"
12182 #endif
12183 char $ac_func ();
12184 /* The GNU C library defines this for functions which it implements
12185 to always fail with ENOSYS. Some functions are actually named
12186 something starting with __ and the normal name is an alias. */
12187 #if defined __stub_$ac_func || defined __stub___$ac_func
12188 choke me
12189 #endif
12192 main ()
12194 return $ac_func ();
12196 return 0;
12198 _ACEOF
12199 rm -f conftest.$ac_objext conftest$ac_exeext
12200 if { (ac_try="$ac_link"
12201 case "(($ac_try" in
12202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12203 *) ac_try_echo=$ac_try;;
12204 esac
12205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12206 (eval "$ac_link") 2>conftest.er1
12207 ac_status=$?
12208 grep -v '^ *+' conftest.er1 >conftest.err
12209 rm -f conftest.er1
12210 cat conftest.err >&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); } && {
12213 test -z "$ac_c_werror_flag" ||
12214 test ! -s conftest.err
12215 } && test -s conftest$ac_exeext &&
12216 $as_test_x conftest$ac_exeext; then
12217 eval "$as_ac_var=yes"
12218 else
12219 echo "$as_me: failed program was:" >&5
12220 sed 's/^/| /' conftest.$ac_ext >&5
12222 eval "$as_ac_var=no"
12225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12226 conftest$ac_exeext conftest.$ac_ext
12228 ac_res=`eval echo '${'$as_ac_var'}'`
12229 { echo "$as_me:$LINENO: result: $ac_res" >&5
12230 echo "${ECHO_T}$ac_res" >&6; }
12231 if test `eval echo '${'$as_ac_var'}'` = yes; then
12232 cat >>confdefs.h <<_ACEOF
12233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12234 _ACEOF
12237 done
12239 LIBS="$ac_save_LIBS"
12244 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12245 case "x$with_xslt" in
12246 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12247 xno) ;;
12248 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12249 This is an error since --with-xslt was requested." >&5
12250 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12251 This is an error since --with-xslt was requested." >&2;}
12252 { (exit 1); exit 1; }; } ;;
12253 esac
12257 HALINCL=""
12259 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12260 then
12261 ac_save_CPPFLAGS="$CPPFLAGS"
12262 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12263 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12264 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12267 for ac_header in dbus/dbus.h hal/libhal.h
12269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12270 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12271 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12276 ac_res=`eval echo '${'$as_ac_Header'}'`
12277 { echo "$as_me:$LINENO: result: $ac_res" >&5
12278 echo "${ECHO_T}$ac_res" >&6; }
12279 else
12280 # Is the header compilable?
12281 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12283 cat >conftest.$ac_ext <<_ACEOF
12284 /* confdefs.h. */
12285 _ACEOF
12286 cat confdefs.h >>conftest.$ac_ext
12287 cat >>conftest.$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12289 $ac_includes_default
12290 #include <$ac_header>
12291 _ACEOF
12292 rm -f conftest.$ac_objext
12293 if { (ac_try="$ac_compile"
12294 case "(($ac_try" in
12295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12296 *) ac_try_echo=$ac_try;;
12297 esac
12298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12299 (eval "$ac_compile") 2>conftest.er1
12300 ac_status=$?
12301 grep -v '^ *+' conftest.er1 >conftest.err
12302 rm -f conftest.er1
12303 cat conftest.err >&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } && {
12306 test -z "$ac_c_werror_flag" ||
12307 test ! -s conftest.err
12308 } && test -s conftest.$ac_objext; then
12309 ac_header_compiler=yes
12310 else
12311 echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.$ac_ext >&5
12314 ac_header_compiler=no
12317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12318 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12319 echo "${ECHO_T}$ac_header_compiler" >&6; }
12321 # Is the header present?
12322 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12324 cat >conftest.$ac_ext <<_ACEOF
12325 /* confdefs.h. */
12326 _ACEOF
12327 cat confdefs.h >>conftest.$ac_ext
12328 cat >>conftest.$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12330 #include <$ac_header>
12331 _ACEOF
12332 if { (ac_try="$ac_cpp conftest.$ac_ext"
12333 case "(($ac_try" in
12334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12335 *) ac_try_echo=$ac_try;;
12336 esac
12337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12338 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12339 ac_status=$?
12340 grep -v '^ *+' conftest.er1 >conftest.err
12341 rm -f conftest.er1
12342 cat conftest.err >&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } >/dev/null && {
12345 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12346 test ! -s conftest.err
12347 }; then
12348 ac_header_preproc=yes
12349 else
12350 echo "$as_me: failed program was:" >&5
12351 sed 's/^/| /' conftest.$ac_ext >&5
12353 ac_header_preproc=no
12356 rm -f conftest.err conftest.$ac_ext
12357 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12358 echo "${ECHO_T}$ac_header_preproc" >&6; }
12360 # So? What about this header?
12361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12362 yes:no: )
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12367 ac_header_preproc=yes
12369 no:yes:* )
12370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12382 ( cat <<\_ASBOX
12383 ## ------------------------------------ ##
12384 ## Report this to wine-devel@winehq.org ##
12385 ## ------------------------------------ ##
12386 _ASBOX
12387 ) | sed "s/^/$as_me: WARNING: /" >&2
12389 esac
12390 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 else
12395 eval "$as_ac_Header=\$ac_header_preproc"
12397 ac_res=`eval echo '${'$as_ac_Header'}'`
12398 { echo "$as_me:$LINENO: result: $ac_res" >&5
12399 echo "${ECHO_T}$ac_res" >&6; }
12402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12403 cat >>confdefs.h <<_ACEOF
12404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12405 _ACEOF
12409 done
12411 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12412 then
12413 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12414 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12415 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 else
12418 ac_check_lib_save_LIBS=$LIBS
12419 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h. */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12427 /* Override any GCC internal prototype to avoid an error.
12428 Use char because int might match the return type of a GCC
12429 builtin and then its argument prototype would still apply. */
12430 #ifdef __cplusplus
12431 extern "C"
12432 #endif
12433 char dbus_connection_close ();
12435 main ()
12437 return dbus_connection_close ();
12439 return 0;
12441 _ACEOF
12442 rm -f conftest.$ac_objext conftest$ac_exeext
12443 if { (ac_try="$ac_link"
12444 case "(($ac_try" in
12445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12446 *) ac_try_echo=$ac_try;;
12447 esac
12448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12449 (eval "$ac_link") 2>conftest.er1
12450 ac_status=$?
12451 grep -v '^ *+' conftest.er1 >conftest.err
12452 rm -f conftest.er1
12453 cat conftest.err >&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); } && {
12456 test -z "$ac_c_werror_flag" ||
12457 test ! -s conftest.err
12458 } && test -s conftest$ac_exeext &&
12459 $as_test_x conftest$ac_exeext; then
12460 ac_cv_lib_dbus_1_dbus_connection_close=yes
12461 else
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12465 ac_cv_lib_dbus_1_dbus_connection_close=no
12468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12469 conftest$ac_exeext conftest.$ac_ext
12470 LIBS=$ac_check_lib_save_LIBS
12472 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12473 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12474 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12475 { echo "$as_me:$LINENO: checking for -lhal" >&5
12476 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12477 if test "${ac_cv_lib_soname_hal+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 else
12480 ac_check_soname_save_LIBS=$LIBS
12481 LIBS="-lhal $ac_hal_libs $LIBS"
12482 cat >conftest.$ac_ext <<_ACEOF
12483 /* confdefs.h. */
12484 _ACEOF
12485 cat confdefs.h >>conftest.$ac_ext
12486 cat >>conftest.$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12489 /* Override any GCC internal prototype to avoid an error.
12490 Use char because int might match the return type of a GCC
12491 builtin and then its argument prototype would still apply. */
12492 #ifdef __cplusplus
12493 extern "C"
12494 #endif
12495 char libhal_ctx_new ();
12497 main ()
12499 return libhal_ctx_new ();
12501 return 0;
12503 _ACEOF
12504 rm -f conftest.$ac_objext conftest$ac_exeext
12505 if { (ac_try="$ac_link"
12506 case "(($ac_try" in
12507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12508 *) ac_try_echo=$ac_try;;
12509 esac
12510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12511 (eval "$ac_link") 2>conftest.er1
12512 ac_status=$?
12513 grep -v '^ *+' conftest.er1 >conftest.err
12514 rm -f conftest.er1
12515 cat conftest.err >&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } && {
12518 test -z "$ac_c_werror_flag" ||
12519 test ! -s conftest.err
12520 } && test -s conftest$ac_exeext &&
12521 $as_test_x conftest$ac_exeext; then
12522 case "$LIBEXT" in
12523 dll) ;;
12524 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'` ;;
12525 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12526 esac
12527 else
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.$ac_ext >&5
12534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12535 conftest$ac_exeext conftest.$ac_ext
12536 LIBS=$ac_check_soname_save_LIBS
12538 if test "x$ac_cv_lib_soname_hal" = "x"; then
12539 { echo "$as_me:$LINENO: result: not found" >&5
12540 echo "${ECHO_T}not found" >&6; }
12542 else
12543 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12544 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12546 cat >>confdefs.h <<_ACEOF
12547 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12548 _ACEOF
12550 HALINCL="$ac_hal_cflags"
12556 CPPFLAGS="$ac_save_CPPFLAGS"
12558 if test "x$ac_cv_lib_soname_hal" = "x"; then
12559 case "x$with_hal" in
12560 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12561 xno) ;;
12562 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12563 This is an error since --with-hal was requested." >&5
12564 echo "$as_me: error: libhal development files not found, no dynamic device support.
12565 This is an error since --with-hal was requested." >&2;}
12566 { (exit 1); exit 1; }; } ;;
12567 esac
12571 CURSESLIBS=""
12572 if test "$ac_cv_header_ncurses_h" = "yes"
12573 then
12574 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12575 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12576 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12577 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 else
12579 ac_check_soname_save_LIBS=$LIBS
12580 LIBS="-lncurses $LIBS"
12581 cat >conftest.$ac_ext <<_ACEOF
12582 /* confdefs.h. */
12583 _ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 char waddch ();
12596 main ()
12598 return waddch ();
12600 return 0;
12602 _ACEOF
12603 rm -f conftest.$ac_objext conftest$ac_exeext
12604 if { (ac_try="$ac_link"
12605 case "(($ac_try" in
12606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12607 *) ac_try_echo=$ac_try;;
12608 esac
12609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12610 (eval "$ac_link") 2>conftest.er1
12611 ac_status=$?
12612 grep -v '^ *+' conftest.er1 >conftest.err
12613 rm -f conftest.er1
12614 cat conftest.err >&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } && {
12617 test -z "$ac_c_werror_flag" ||
12618 test ! -s conftest.err
12619 } && test -s conftest$ac_exeext &&
12620 $as_test_x conftest$ac_exeext; then
12621 case "$LIBEXT" in
12622 dll) ;;
12623 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'` ;;
12624 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12625 esac
12626 else
12627 echo "$as_me: failed program was:" >&5
12628 sed 's/^/| /' conftest.$ac_ext >&5
12633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12634 conftest$ac_exeext conftest.$ac_ext
12635 LIBS=$ac_check_soname_save_LIBS
12637 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12638 { echo "$as_me:$LINENO: result: not found" >&5
12639 echo "${ECHO_T}not found" >&6; }
12641 else
12642 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12643 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12645 cat >>confdefs.h <<_ACEOF
12646 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12647 _ACEOF
12649 CURSESLIBS="-lncurses"
12652 elif test "$ac_cv_header_curses_h" = "yes"
12653 then
12654 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12655 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12656 if test "${ac_cv_lib_soname_curses+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 else
12659 ac_check_soname_save_LIBS=$LIBS
12660 LIBS="-lcurses $LIBS"
12661 cat >conftest.$ac_ext <<_ACEOF
12662 /* confdefs.h. */
12663 _ACEOF
12664 cat confdefs.h >>conftest.$ac_ext
12665 cat >>conftest.$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12668 /* Override any GCC internal prototype to avoid an error.
12669 Use char because int might match the return type of a GCC
12670 builtin and then its argument prototype would still apply. */
12671 #ifdef __cplusplus
12672 extern "C"
12673 #endif
12674 char waddch ();
12676 main ()
12678 return waddch ();
12680 return 0;
12682 _ACEOF
12683 rm -f conftest.$ac_objext conftest$ac_exeext
12684 if { (ac_try="$ac_link"
12685 case "(($ac_try" in
12686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12687 *) ac_try_echo=$ac_try;;
12688 esac
12689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12690 (eval "$ac_link") 2>conftest.er1
12691 ac_status=$?
12692 grep -v '^ *+' conftest.er1 >conftest.err
12693 rm -f conftest.er1
12694 cat conftest.err >&5
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); } && {
12697 test -z "$ac_c_werror_flag" ||
12698 test ! -s conftest.err
12699 } && test -s conftest$ac_exeext &&
12700 $as_test_x conftest$ac_exeext; then
12701 case "$LIBEXT" in
12702 dll) ;;
12703 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'` ;;
12704 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12705 esac
12706 else
12707 echo "$as_me: failed program was:" >&5
12708 sed 's/^/| /' conftest.$ac_ext >&5
12713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_soname_save_LIBS
12717 if test "x$ac_cv_lib_soname_curses" = "x"; then
12718 { echo "$as_me:$LINENO: result: not found" >&5
12719 echo "${ECHO_T}not found" >&6; }
12721 else
12722 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12723 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12725 cat >>confdefs.h <<_ACEOF
12726 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12727 _ACEOF
12729 CURSESLIBS="-lcurses"
12733 ac_save_LIBS="$LIBS"
12734 LIBS="$LIBS $CURSESLIBS"
12736 for ac_func in mousemask
12738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12742 echo $ECHO_N "(cached) $ECHO_C" >&6
12743 else
12744 cat >conftest.$ac_ext <<_ACEOF
12745 /* confdefs.h. */
12746 _ACEOF
12747 cat confdefs.h >>conftest.$ac_ext
12748 cat >>conftest.$ac_ext <<_ACEOF
12749 /* end confdefs.h. */
12750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12752 #define $ac_func innocuous_$ac_func
12754 /* System header to define __stub macros and hopefully few prototypes,
12755 which can conflict with char $ac_func (); below.
12756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12757 <limits.h> exists even on freestanding compilers. */
12759 #ifdef __STDC__
12760 # include <limits.h>
12761 #else
12762 # include <assert.h>
12763 #endif
12765 #undef $ac_func
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 #ifdef __cplusplus
12771 extern "C"
12772 #endif
12773 char $ac_func ();
12774 /* The GNU C library defines this for functions which it implements
12775 to always fail with ENOSYS. Some functions are actually named
12776 something starting with __ and the normal name is an alias. */
12777 #if defined __stub_$ac_func || defined __stub___$ac_func
12778 choke me
12779 #endif
12782 main ()
12784 return $ac_func ();
12786 return 0;
12788 _ACEOF
12789 rm -f conftest.$ac_objext conftest$ac_exeext
12790 if { (ac_try="$ac_link"
12791 case "(($ac_try" in
12792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12793 *) ac_try_echo=$ac_try;;
12794 esac
12795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12796 (eval "$ac_link") 2>conftest.er1
12797 ac_status=$?
12798 grep -v '^ *+' conftest.er1 >conftest.err
12799 rm -f conftest.er1
12800 cat conftest.err >&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); } && {
12803 test -z "$ac_c_werror_flag" ||
12804 test ! -s conftest.err
12805 } && test -s conftest$ac_exeext &&
12806 $as_test_x conftest$ac_exeext; then
12807 eval "$as_ac_var=yes"
12808 else
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.$ac_ext >&5
12812 eval "$as_ac_var=no"
12815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12816 conftest$ac_exeext conftest.$ac_ext
12818 ac_res=`eval echo '${'$as_ac_var'}'`
12819 { echo "$as_me:$LINENO: result: $ac_res" >&5
12820 echo "${ECHO_T}$ac_res" >&6; }
12821 if test `eval echo '${'$as_ac_var'}'` = yes; then
12822 cat >>confdefs.h <<_ACEOF
12823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12824 _ACEOF
12827 done
12829 LIBS="$ac_save_LIBS"
12830 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12831 case "x$with_curses" in
12832 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12833 xno) ;;
12834 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12835 This is an error since --with-curses was requested." >&5
12836 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12837 This is an error since --with-curses was requested." >&2;}
12838 { (exit 1); exit 1; }; } ;;
12839 esac
12843 # Extract the first word of "sane-config", so it can be a program name with args.
12844 set dummy sane-config; ac_word=$2
12845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12847 if test "${ac_cv_prog_sane_devel+set}" = set; then
12848 echo $ECHO_N "(cached) $ECHO_C" >&6
12849 else
12850 if test -n "$sane_devel"; then
12851 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12852 else
12853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12854 for as_dir in $PATH
12856 IFS=$as_save_IFS
12857 test -z "$as_dir" && as_dir=.
12858 for ac_exec_ext in '' $ac_executable_extensions; do
12859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12860 ac_cv_prog_sane_devel="sane-config"
12861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12862 break 2
12864 done
12865 done
12866 IFS=$as_save_IFS
12868 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12871 sane_devel=$ac_cv_prog_sane_devel
12872 if test -n "$sane_devel"; then
12873 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12874 echo "${ECHO_T}$sane_devel" >&6; }
12875 else
12876 { echo "$as_me:$LINENO: result: no" >&5
12877 echo "${ECHO_T}no" >&6; }
12881 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12882 then
12883 ac_sane_incl="`$sane_devel --cflags`"
12884 ac_save_CPPFLAGS="$CPPFLAGS"
12885 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12886 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12887 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12888 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12889 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12890 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12893 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12894 else
12895 # Is the header compilable?
12896 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12897 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12898 cat >conftest.$ac_ext <<_ACEOF
12899 /* confdefs.h. */
12900 _ACEOF
12901 cat confdefs.h >>conftest.$ac_ext
12902 cat >>conftest.$ac_ext <<_ACEOF
12903 /* end confdefs.h. */
12904 $ac_includes_default
12905 #include <sane/sane.h>
12906 _ACEOF
12907 rm -f conftest.$ac_objext
12908 if { (ac_try="$ac_compile"
12909 case "(($ac_try" in
12910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12911 *) ac_try_echo=$ac_try;;
12912 esac
12913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12914 (eval "$ac_compile") 2>conftest.er1
12915 ac_status=$?
12916 grep -v '^ *+' conftest.er1 >conftest.err
12917 rm -f conftest.er1
12918 cat conftest.err >&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } && {
12921 test -z "$ac_c_werror_flag" ||
12922 test ! -s conftest.err
12923 } && test -s conftest.$ac_objext; then
12924 ac_header_compiler=yes
12925 else
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.$ac_ext >&5
12929 ac_header_compiler=no
12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12933 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12934 echo "${ECHO_T}$ac_header_compiler" >&6; }
12936 # Is the header present?
12937 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12938 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12939 cat >conftest.$ac_ext <<_ACEOF
12940 /* confdefs.h. */
12941 _ACEOF
12942 cat confdefs.h >>conftest.$ac_ext
12943 cat >>conftest.$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12945 #include <sane/sane.h>
12946 _ACEOF
12947 if { (ac_try="$ac_cpp conftest.$ac_ext"
12948 case "(($ac_try" in
12949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12950 *) ac_try_echo=$ac_try;;
12951 esac
12952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12954 ac_status=$?
12955 grep -v '^ *+' conftest.er1 >conftest.err
12956 rm -f conftest.er1
12957 cat conftest.err >&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } >/dev/null && {
12960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12961 test ! -s conftest.err
12962 }; then
12963 ac_header_preproc=yes
12964 else
12965 echo "$as_me: failed program was:" >&5
12966 sed 's/^/| /' conftest.$ac_ext >&5
12968 ac_header_preproc=no
12971 rm -f conftest.err conftest.$ac_ext
12972 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12973 echo "${ECHO_T}$ac_header_preproc" >&6; }
12975 # So? What about this header?
12976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12977 yes:no: )
12978 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12979 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12980 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12981 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12982 ac_header_preproc=yes
12984 no:yes:* )
12985 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12986 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12987 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12988 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12989 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12990 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12991 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12992 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12993 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12994 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12995 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12996 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12997 ( cat <<\_ASBOX
12998 ## ------------------------------------ ##
12999 ## Report this to wine-devel@winehq.org ##
13000 ## ------------------------------------ ##
13001 _ASBOX
13002 ) | sed "s/^/$as_me: WARNING: /" >&2
13004 esac
13005 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13006 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13007 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13008 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 else
13010 ac_cv_header_sane_sane_h=$ac_header_preproc
13012 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13013 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13016 if test $ac_cv_header_sane_sane_h = yes; then
13017 { echo "$as_me:$LINENO: checking for -lsane" >&5
13018 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13019 if test "${ac_cv_lib_soname_sane+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 else
13022 ac_check_soname_save_LIBS=$LIBS
13023 LIBS="-lsane $LIBS"
13024 cat >conftest.$ac_ext <<_ACEOF
13025 /* confdefs.h. */
13026 _ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char sane_init ();
13039 main ()
13041 return sane_init ();
13043 return 0;
13045 _ACEOF
13046 rm -f conftest.$ac_objext conftest$ac_exeext
13047 if { (ac_try="$ac_link"
13048 case "(($ac_try" in
13049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13050 *) ac_try_echo=$ac_try;;
13051 esac
13052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_link") 2>conftest.er1
13054 ac_status=$?
13055 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } && {
13060 test -z "$ac_c_werror_flag" ||
13061 test ! -s conftest.err
13062 } && test -s conftest$ac_exeext &&
13063 $as_test_x conftest$ac_exeext; then
13064 case "$LIBEXT" in
13065 dll) ;;
13066 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'` ;;
13067 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13068 esac
13069 else
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13077 conftest$ac_exeext conftest.$ac_ext
13078 LIBS=$ac_check_soname_save_LIBS
13080 if test "x$ac_cv_lib_soname_sane" = "x"; then
13081 { echo "$as_me:$LINENO: result: not found" >&5
13082 echo "${ECHO_T}not found" >&6; }
13084 else
13085 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13086 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13088 cat >>confdefs.h <<_ACEOF
13089 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13090 _ACEOF
13092 SANEINCL="$ac_sane_incl"
13099 CPPFLAGS="$ac_save_CPPFLAGS"
13101 if test "x$ac_cv_lib_soname_sane" = "x"; then
13102 case "x$with_sane" in
13103 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13104 xno) ;;
13105 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13106 This is an error since --with-sane was requested." >&5
13107 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13108 This is an error since --with-sane was requested." >&2;}
13109 { (exit 1); exit 1; }; } ;;
13110 esac
13114 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13115 set dummy gphoto2-config; ac_word=$2
13116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13118 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 else
13121 if test -n "$gphoto2_devel"; then
13122 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13123 else
13124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13125 for as_dir in $PATH
13127 IFS=$as_save_IFS
13128 test -z "$as_dir" && as_dir=.
13129 for ac_exec_ext in '' $ac_executable_extensions; do
13130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13131 ac_cv_prog_gphoto2_devel="gphoto2-config"
13132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13133 break 2
13135 done
13136 done
13137 IFS=$as_save_IFS
13139 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13142 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13143 if test -n "$gphoto2_devel"; then
13144 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13145 echo "${ECHO_T}$gphoto2_devel" >&6; }
13146 else
13147 { echo "$as_me:$LINENO: result: no" >&5
13148 echo "${ECHO_T}no" >&6; }
13152 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13153 set dummy gphoto2-port-config; ac_word=$2
13154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13156 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 else
13159 if test -n "$gphoto2port_devel"; then
13160 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13161 else
13162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13163 for as_dir in $PATH
13165 IFS=$as_save_IFS
13166 test -z "$as_dir" && as_dir=.
13167 for ac_exec_ext in '' $ac_executable_extensions; do
13168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13169 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13171 break 2
13173 done
13174 done
13175 IFS=$as_save_IFS
13177 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13180 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13181 if test -n "$gphoto2port_devel"; then
13182 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13183 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13184 else
13185 { echo "$as_me:$LINENO: result: no" >&5
13186 echo "${ECHO_T}no" >&6; }
13190 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13191 then
13192 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13193 ac_gphoto2_libs=""
13194 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13196 case "$i" in
13197 -L/usr/lib|-L/usr/lib64) ;;
13198 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13199 esac
13200 done
13201 ac_save_CPPFLAGS="$CPPFLAGS"
13202 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13203 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13204 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13205 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13206 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13209 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13210 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13211 else
13212 # Is the header compilable?
13213 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13214 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13215 cat >conftest.$ac_ext <<_ACEOF
13216 /* confdefs.h. */
13217 _ACEOF
13218 cat confdefs.h >>conftest.$ac_ext
13219 cat >>conftest.$ac_ext <<_ACEOF
13220 /* end confdefs.h. */
13221 $ac_includes_default
13222 #include <gphoto2-camera.h>
13223 _ACEOF
13224 rm -f conftest.$ac_objext
13225 if { (ac_try="$ac_compile"
13226 case "(($ac_try" in
13227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13228 *) ac_try_echo=$ac_try;;
13229 esac
13230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13231 (eval "$ac_compile") 2>conftest.er1
13232 ac_status=$?
13233 grep -v '^ *+' conftest.er1 >conftest.err
13234 rm -f conftest.er1
13235 cat conftest.err >&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } && {
13238 test -z "$ac_c_werror_flag" ||
13239 test ! -s conftest.err
13240 } && test -s conftest.$ac_objext; then
13241 ac_header_compiler=yes
13242 else
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.$ac_ext >&5
13246 ac_header_compiler=no
13249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13251 echo "${ECHO_T}$ac_header_compiler" >&6; }
13253 # Is the header present?
13254 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13255 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13256 cat >conftest.$ac_ext <<_ACEOF
13257 /* confdefs.h. */
13258 _ACEOF
13259 cat confdefs.h >>conftest.$ac_ext
13260 cat >>conftest.$ac_ext <<_ACEOF
13261 /* end confdefs.h. */
13262 #include <gphoto2-camera.h>
13263 _ACEOF
13264 if { (ac_try="$ac_cpp conftest.$ac_ext"
13265 case "(($ac_try" in
13266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13267 *) ac_try_echo=$ac_try;;
13268 esac
13269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13271 ac_status=$?
13272 grep -v '^ *+' conftest.er1 >conftest.err
13273 rm -f conftest.er1
13274 cat conftest.err >&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); } >/dev/null && {
13277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13278 test ! -s conftest.err
13279 }; then
13280 ac_header_preproc=yes
13281 else
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.$ac_ext >&5
13285 ac_header_preproc=no
13288 rm -f conftest.err conftest.$ac_ext
13289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13290 echo "${ECHO_T}$ac_header_preproc" >&6; }
13292 # So? What about this header?
13293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13294 yes:no: )
13295 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13296 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13298 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13299 ac_header_preproc=yes
13301 no:yes:* )
13302 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13303 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13304 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13305 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13307 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13309 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13310 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13311 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13312 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13313 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13314 ( cat <<\_ASBOX
13315 ## ------------------------------------ ##
13316 ## Report this to wine-devel@winehq.org ##
13317 ## ------------------------------------ ##
13318 _ASBOX
13319 ) | sed "s/^/$as_me: WARNING: /" >&2
13321 esac
13322 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13323 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13324 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13326 else
13327 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13329 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13330 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13333 if test $ac_cv_header_gphoto2_camera_h = yes; then
13334 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13335 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13336 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 else
13339 ac_check_lib_save_LIBS=$LIBS
13340 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13341 cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h. */
13343 _ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13351 #ifdef __cplusplus
13352 extern "C"
13353 #endif
13354 char gp_camera_new ();
13356 main ()
13358 return gp_camera_new ();
13360 return 0;
13362 _ACEOF
13363 rm -f conftest.$ac_objext conftest$ac_exeext
13364 if { (ac_try="$ac_link"
13365 case "(($ac_try" in
13366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;;
13368 esac
13369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13370 (eval "$ac_link") 2>conftest.er1
13371 ac_status=$?
13372 grep -v '^ *+' conftest.er1 >conftest.err
13373 rm -f conftest.er1
13374 cat conftest.err >&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } && {
13377 test -z "$ac_c_werror_flag" ||
13378 test ! -s conftest.err
13379 } && test -s conftest$ac_exeext &&
13380 $as_test_x conftest$ac_exeext; then
13381 ac_cv_lib_gphoto2_gp_camera_new=yes
13382 else
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5
13386 ac_cv_lib_gphoto2_gp_camera_new=no
13389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13390 conftest$ac_exeext conftest.$ac_ext
13391 LIBS=$ac_check_lib_save_LIBS
13393 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13394 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13395 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13397 cat >>confdefs.h <<\_ACEOF
13398 #define HAVE_GPHOTO2 1
13399 _ACEOF
13401 GPHOTO2LIBS="$ac_gphoto2_libs"
13403 GPHOTO2INCL="$ac_gphoto2_incl"
13410 CPPFLAGS="$ac_save_CPPFLAGS"
13412 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13413 case "x$with_gphoto" in
13414 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13415 xno) ;;
13416 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13417 This is an error since --with-gphoto was requested." >&5
13418 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13419 This is an error since --with-gphoto was requested." >&2;}
13420 { (exit 1); exit 1; }; } ;;
13421 esac
13426 RESOLVLIBS=""
13428 if test "$ac_cv_header_resolv_h" = "yes"
13429 then
13430 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13431 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13432 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 else
13435 ac_check_lib_save_LIBS=$LIBS
13436 LIBS="-lresolv $LIBS"
13437 cat >conftest.$ac_ext <<_ACEOF
13438 /* confdefs.h. */
13439 _ACEOF
13440 cat confdefs.h >>conftest.$ac_ext
13441 cat >>conftest.$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13447 #ifdef __cplusplus
13448 extern "C"
13449 #endif
13450 char res_query ();
13452 main ()
13454 return res_query ();
13456 return 0;
13458 _ACEOF
13459 rm -f conftest.$ac_objext conftest$ac_exeext
13460 if { (ac_try="$ac_link"
13461 case "(($ac_try" in
13462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13463 *) ac_try_echo=$ac_try;;
13464 esac
13465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13466 (eval "$ac_link") 2>conftest.er1
13467 ac_status=$?
13468 grep -v '^ *+' conftest.er1 >conftest.err
13469 rm -f conftest.er1
13470 cat conftest.err >&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } && {
13473 test -z "$ac_c_werror_flag" ||
13474 test ! -s conftest.err
13475 } && test -s conftest$ac_exeext &&
13476 $as_test_x conftest$ac_exeext; then
13477 ac_cv_lib_resolv_res_query=yes
13478 else
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13482 ac_cv_lib_resolv_res_query=no
13485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13486 conftest$ac_exeext conftest.$ac_ext
13487 LIBS=$ac_check_lib_save_LIBS
13489 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13490 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13491 if test $ac_cv_lib_resolv_res_query = yes; then
13493 cat >>confdefs.h <<\_ACEOF
13494 #define HAVE_RESOLV 1
13495 _ACEOF
13497 RESOLVLIBS="-lresolv"
13502 LCMSLIBS=""
13504 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13505 then
13506 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13507 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13508 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 else
13511 ac_check_lib_save_LIBS=$LIBS
13512 LIBS="-llcms $LIBS"
13513 cat >conftest.$ac_ext <<_ACEOF
13514 /* confdefs.h. */
13515 _ACEOF
13516 cat confdefs.h >>conftest.$ac_ext
13517 cat >>conftest.$ac_ext <<_ACEOF
13518 /* end confdefs.h. */
13520 /* Override any GCC internal prototype to avoid an error.
13521 Use char because int might match the return type of a GCC
13522 builtin and then its argument prototype would still apply. */
13523 #ifdef __cplusplus
13524 extern "C"
13525 #endif
13526 char cmsOpenProfileFromFile ();
13528 main ()
13530 return cmsOpenProfileFromFile ();
13532 return 0;
13534 _ACEOF
13535 rm -f conftest.$ac_objext conftest$ac_exeext
13536 if { (ac_try="$ac_link"
13537 case "(($ac_try" in
13538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13539 *) ac_try_echo=$ac_try;;
13540 esac
13541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13542 (eval "$ac_link") 2>conftest.er1
13543 ac_status=$?
13544 grep -v '^ *+' conftest.er1 >conftest.err
13545 rm -f conftest.er1
13546 cat conftest.err >&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); } && {
13549 test -z "$ac_c_werror_flag" ||
13550 test ! -s conftest.err
13551 } && test -s conftest$ac_exeext &&
13552 $as_test_x conftest$ac_exeext; then
13553 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13554 else
13555 echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.$ac_ext >&5
13558 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13562 conftest$ac_exeext conftest.$ac_ext
13563 LIBS=$ac_check_lib_save_LIBS
13565 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13566 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13567 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13569 cat >>confdefs.h <<\_ACEOF
13570 #define HAVE_LCMS 1
13571 _ACEOF
13573 LCMSLIBS="-llcms"
13577 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13578 case "x$with_cms" in
13579 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13580 xno) ;;
13581 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13582 This is an error since --with-cms was requested." >&5
13583 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13584 This is an error since --with-cms was requested." >&2;}
13585 { (exit 1); exit 1; }; } ;;
13586 esac
13590 LDAPLIBS=""
13592 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13593 then
13594 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13595 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13596 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 else
13599 ac_check_lib_save_LIBS=$LIBS
13600 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13601 cat >conftest.$ac_ext <<_ACEOF
13602 /* confdefs.h. */
13603 _ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13608 /* Override any GCC internal prototype to avoid an error.
13609 Use char because int might match the return type of a GCC
13610 builtin and then its argument prototype would still apply. */
13611 #ifdef __cplusplus
13612 extern "C"
13613 #endif
13614 char ldap_initialize ();
13616 main ()
13618 return ldap_initialize ();
13620 return 0;
13622 _ACEOF
13623 rm -f conftest.$ac_objext conftest$ac_exeext
13624 if { (ac_try="$ac_link"
13625 case "(($ac_try" in
13626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13627 *) ac_try_echo=$ac_try;;
13628 esac
13629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13630 (eval "$ac_link") 2>conftest.er1
13631 ac_status=$?
13632 grep -v '^ *+' conftest.er1 >conftest.err
13633 rm -f conftest.er1
13634 cat conftest.err >&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); } && {
13637 test -z "$ac_c_werror_flag" ||
13638 test ! -s conftest.err
13639 } && test -s conftest$ac_exeext &&
13640 $as_test_x conftest$ac_exeext; then
13641 ac_cv_lib_ldap_r_ldap_initialize=yes
13642 else
13643 echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.$ac_ext >&5
13646 ac_cv_lib_ldap_r_ldap_initialize=no
13649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13650 conftest$ac_exeext conftest.$ac_ext
13651 LIBS=$ac_check_lib_save_LIBS
13653 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13654 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13655 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13656 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13657 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13658 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13661 ac_check_lib_save_LIBS=$LIBS
13662 LIBS="-llber $LIBPTHREAD $LIBS"
13663 cat >conftest.$ac_ext <<_ACEOF
13664 /* confdefs.h. */
13665 _ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13670 /* Override any GCC internal prototype to avoid an error.
13671 Use char because int might match the return type of a GCC
13672 builtin and then its argument prototype would still apply. */
13673 #ifdef __cplusplus
13674 extern "C"
13675 #endif
13676 char ber_init ();
13678 main ()
13680 return ber_init ();
13682 return 0;
13684 _ACEOF
13685 rm -f conftest.$ac_objext conftest$ac_exeext
13686 if { (ac_try="$ac_link"
13687 case "(($ac_try" in
13688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13689 *) ac_try_echo=$ac_try;;
13690 esac
13691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_link") 2>conftest.er1
13693 ac_status=$?
13694 grep -v '^ *+' conftest.er1 >conftest.err
13695 rm -f conftest.er1
13696 cat conftest.err >&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && {
13699 test -z "$ac_c_werror_flag" ||
13700 test ! -s conftest.err
13701 } && test -s conftest$ac_exeext &&
13702 $as_test_x conftest$ac_exeext; then
13703 ac_cv_lib_lber_ber_init=yes
13704 else
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.$ac_ext >&5
13708 ac_cv_lib_lber_ber_init=no
13711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13712 conftest$ac_exeext conftest.$ac_ext
13713 LIBS=$ac_check_lib_save_LIBS
13715 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13716 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13717 if test $ac_cv_lib_lber_ber_init = yes; then
13719 cat >>confdefs.h <<\_ACEOF
13720 #define HAVE_LDAP 1
13721 _ACEOF
13723 LDAPLIBS="-lldap_r -llber"
13728 ac_wine_check_funcs_save_LIBS="$LIBS"
13729 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13738 for ac_func in \
13739 ldap_count_references \
13740 ldap_first_reference \
13741 ldap_next_reference \
13742 ldap_parse_reference \
13743 ldap_parse_sort_control \
13744 ldap_parse_sortresponse_control \
13745 ldap_parse_vlv_control \
13746 ldap_parse_vlvresponse_control
13748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 else
13754 cat >conftest.$ac_ext <<_ACEOF
13755 /* confdefs.h. */
13756 _ACEOF
13757 cat confdefs.h >>conftest.$ac_ext
13758 cat >>conftest.$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13762 #define $ac_func innocuous_$ac_func
13764 /* System header to define __stub macros and hopefully few prototypes,
13765 which can conflict with char $ac_func (); below.
13766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13767 <limits.h> exists even on freestanding compilers. */
13769 #ifdef __STDC__
13770 # include <limits.h>
13771 #else
13772 # include <assert.h>
13773 #endif
13775 #undef $ac_func
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13780 #ifdef __cplusplus
13781 extern "C"
13782 #endif
13783 char $ac_func ();
13784 /* The GNU C library defines this for functions which it implements
13785 to always fail with ENOSYS. Some functions are actually named
13786 something starting with __ and the normal name is an alias. */
13787 #if defined __stub_$ac_func || defined __stub___$ac_func
13788 choke me
13789 #endif
13792 main ()
13794 return $ac_func ();
13796 return 0;
13798 _ACEOF
13799 rm -f conftest.$ac_objext conftest$ac_exeext
13800 if { (ac_try="$ac_link"
13801 case "(($ac_try" in
13802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13803 *) ac_try_echo=$ac_try;;
13804 esac
13805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13806 (eval "$ac_link") 2>conftest.er1
13807 ac_status=$?
13808 grep -v '^ *+' conftest.er1 >conftest.err
13809 rm -f conftest.er1
13810 cat conftest.err >&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } && {
13813 test -z "$ac_c_werror_flag" ||
13814 test ! -s conftest.err
13815 } && test -s conftest$ac_exeext &&
13816 $as_test_x conftest$ac_exeext; then
13817 eval "$as_ac_var=yes"
13818 else
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.$ac_ext >&5
13822 eval "$as_ac_var=no"
13825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13826 conftest$ac_exeext conftest.$ac_ext
13828 ac_res=`eval echo '${'$as_ac_var'}'`
13829 { echo "$as_me:$LINENO: result: $ac_res" >&5
13830 echo "${ECHO_T}$ac_res" >&6; }
13831 if test `eval echo '${'$as_ac_var'}'` = yes; then
13832 cat >>confdefs.h <<_ACEOF
13833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13834 _ACEOF
13837 done
13839 LIBS="$ac_wine_check_funcs_save_LIBS"
13841 if test "x$LDAPLIBS" = "x"; then
13842 case "x$with_ldap" in
13843 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13844 xno) ;;
13845 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13846 This is an error since --with-ldap was requested." >&5
13847 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13848 This is an error since --with-ldap was requested." >&2;}
13849 { (exit 1); exit 1; }; } ;;
13850 esac
13854 for ac_prog in freetype-config freetype2-config
13856 # Extract the first word of "$ac_prog", so it can be a program name with args.
13857 set dummy $ac_prog; ac_word=$2
13858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13860 if test "${ac_cv_prog_ft_devel+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 else
13863 if test -n "$ft_devel"; then
13864 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13865 else
13866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13867 for as_dir in $PATH
13869 IFS=$as_save_IFS
13870 test -z "$as_dir" && as_dir=.
13871 for ac_exec_ext in '' $ac_executable_extensions; do
13872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13873 ac_cv_prog_ft_devel="$ac_prog"
13874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13875 break 2
13877 done
13878 done
13879 IFS=$as_save_IFS
13883 ft_devel=$ac_cv_prog_ft_devel
13884 if test -n "$ft_devel"; then
13885 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13886 echo "${ECHO_T}$ft_devel" >&6; }
13887 else
13888 { echo "$as_me:$LINENO: result: no" >&5
13889 echo "${ECHO_T}no" >&6; }
13893 test -n "$ft_devel" && break
13894 done
13895 test -n "$ft_devel" || ft_devel="false"
13897 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13898 then
13899 ac_freetype_libs=`$ft_devel --libs`
13900 ac_freetype_incl=`$ft_devel --cflags`
13901 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13902 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13903 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13904 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 else
13906 ac_check_soname_save_LIBS=$LIBS
13907 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13908 cat >conftest.$ac_ext <<_ACEOF
13909 /* confdefs.h. */
13910 _ACEOF
13911 cat confdefs.h >>conftest.$ac_ext
13912 cat >>conftest.$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13915 /* Override any GCC internal prototype to avoid an error.
13916 Use char because int might match the return type of a GCC
13917 builtin and then its argument prototype would still apply. */
13918 #ifdef __cplusplus
13919 extern "C"
13920 #endif
13921 char FT_Init_FreeType ();
13923 main ()
13925 return FT_Init_FreeType ();
13927 return 0;
13929 _ACEOF
13930 rm -f conftest.$ac_objext conftest$ac_exeext
13931 if { (ac_try="$ac_link"
13932 case "(($ac_try" in
13933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13934 *) ac_try_echo=$ac_try;;
13935 esac
13936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13937 (eval "$ac_link") 2>conftest.er1
13938 ac_status=$?
13939 grep -v '^ *+' conftest.er1 >conftest.err
13940 rm -f conftest.er1
13941 cat conftest.err >&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } && {
13944 test -z "$ac_c_werror_flag" ||
13945 test ! -s conftest.err
13946 } && test -s conftest$ac_exeext &&
13947 $as_test_x conftest$ac_exeext; then
13948 case "$LIBEXT" in
13949 dll) ;;
13950 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'` ;;
13951 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13952 esac
13953 else
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS=$ac_check_soname_save_LIBS
13964 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13965 { echo "$as_me:$LINENO: result: not found" >&5
13966 echo "${ECHO_T}not found" >&6; }
13967 ft_lib=no
13968 else
13969 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13970 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13972 cat >>confdefs.h <<_ACEOF
13973 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13974 _ACEOF
13976 ft_lib=yes
13979 if test "$ft_lib" = "yes"
13980 then
13981 ac_save_CPPFLAGS="$CPPFLAGS"
13982 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13995 for ac_header in ft2build.h \
13996 freetype/freetype.h \
13997 freetype/ftglyph.h \
13998 freetype/fttypes.h \
13999 freetype/tttables.h \
14000 freetype/ftnames.h \
14001 freetype/ftsnames.h \
14002 freetype/ttnameid.h \
14003 freetype/ftoutln.h \
14004 freetype/ftwinfnt.h \
14005 freetype/ftmodapi.h \
14006 freetype/internal/sfnt.h
14008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14009 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 else
14014 cat >conftest.$ac_ext <<_ACEOF
14015 /* confdefs.h. */
14016 _ACEOF
14017 cat confdefs.h >>conftest.$ac_ext
14018 cat >>conftest.$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14020 #ifdef HAVE_FT2BUILD_H
14021 # include <ft2build.h>
14022 #endif
14024 #include <$ac_header>
14025 _ACEOF
14026 rm -f conftest.$ac_objext
14027 if { (ac_try="$ac_compile"
14028 case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;;
14031 esac
14032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14033 (eval "$ac_compile") 2>conftest.er1
14034 ac_status=$?
14035 grep -v '^ *+' conftest.er1 >conftest.err
14036 rm -f conftest.er1
14037 cat conftest.err >&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } && {
14040 test -z "$ac_c_werror_flag" ||
14041 test ! -s conftest.err
14042 } && test -s conftest.$ac_objext; then
14043 eval "$as_ac_Header=yes"
14044 else
14045 echo "$as_me: failed program was:" >&5
14046 sed 's/^/| /' conftest.$ac_ext >&5
14048 eval "$as_ac_Header=no"
14051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14053 ac_res=`eval echo '${'$as_ac_Header'}'`
14054 { echo "$as_me:$LINENO: result: $ac_res" >&5
14055 echo "${ECHO_T}$ac_res" >&6; }
14056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14057 cat >>confdefs.h <<_ACEOF
14058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14059 _ACEOF
14063 done
14065 cat >conftest.$ac_ext <<_ACEOF
14066 /* confdefs.h. */
14067 _ACEOF
14068 cat confdefs.h >>conftest.$ac_ext
14069 cat >>conftest.$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14071 #include <ft2build.h>
14072 #include <freetype/fttrigon.h>
14073 _ACEOF
14074 if { (ac_try="$ac_cpp conftest.$ac_ext"
14075 case "(($ac_try" in
14076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14077 *) ac_try_echo=$ac_try;;
14078 esac
14079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14081 ac_status=$?
14082 grep -v '^ *+' conftest.er1 >conftest.err
14083 rm -f conftest.er1
14084 cat conftest.err >&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } >/dev/null && {
14087 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14088 test ! -s conftest.err
14089 }; then
14091 cat >>confdefs.h <<\_ACEOF
14092 #define HAVE_FREETYPE_FTTRIGON_H 1
14093 _ACEOF
14095 wine_cv_fttrigon=yes
14096 else
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.$ac_ext >&5
14100 wine_cv_fttrigon=no
14103 rm -f conftest.err conftest.$ac_ext
14104 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14105 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14106 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 else
14109 cat >conftest.$ac_ext <<_ACEOF
14110 /* confdefs.h. */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14115 #include <freetype/ftmodapi.h>
14117 typedef FT_TrueTypeEngineType ac__type_new_;
14119 main ()
14121 if ((ac__type_new_ *) 0)
14122 return 0;
14123 if (sizeof (ac__type_new_))
14124 return 0;
14126 return 0;
14128 _ACEOF
14129 rm -f conftest.$ac_objext
14130 if { (ac_try="$ac_compile"
14131 case "(($ac_try" in
14132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14133 *) ac_try_echo=$ac_try;;
14134 esac
14135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14136 (eval "$ac_compile") 2>conftest.er1
14137 ac_status=$?
14138 grep -v '^ *+' conftest.er1 >conftest.err
14139 rm -f conftest.er1
14140 cat conftest.err >&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } && {
14143 test -z "$ac_c_werror_flag" ||
14144 test ! -s conftest.err
14145 } && test -s conftest.$ac_objext; then
14146 ac_cv_type_FT_TrueTypeEngineType=yes
14147 else
14148 echo "$as_me: failed program was:" >&5
14149 sed 's/^/| /' conftest.$ac_ext >&5
14151 ac_cv_type_FT_TrueTypeEngineType=no
14154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14156 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14157 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14158 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14160 cat >>confdefs.h <<_ACEOF
14161 #define HAVE_FT_TRUETYPEENGINETYPE 1
14162 _ACEOF
14167 ac_save_CFLAGS="$CFLAGS"
14168 CFLAGS="$CFLAGS $ac_freetype_libs"
14170 for ac_func in FT_Load_Sfnt_Table
14172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 cat >conftest.$ac_ext <<_ACEOF
14179 /* confdefs.h. */
14180 _ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14186 #define $ac_func innocuous_$ac_func
14188 /* System header to define __stub macros and hopefully few prototypes,
14189 which can conflict with char $ac_func (); below.
14190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14191 <limits.h> exists even on freestanding compilers. */
14193 #ifdef __STDC__
14194 # include <limits.h>
14195 #else
14196 # include <assert.h>
14197 #endif
14199 #undef $ac_func
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14204 #ifdef __cplusplus
14205 extern "C"
14206 #endif
14207 char $ac_func ();
14208 /* The GNU C library defines this for functions which it implements
14209 to always fail with ENOSYS. Some functions are actually named
14210 something starting with __ and the normal name is an alias. */
14211 #if defined __stub_$ac_func || defined __stub___$ac_func
14212 choke me
14213 #endif
14216 main ()
14218 return $ac_func ();
14220 return 0;
14222 _ACEOF
14223 rm -f conftest.$ac_objext conftest$ac_exeext
14224 if { (ac_try="$ac_link"
14225 case "(($ac_try" in
14226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14227 *) ac_try_echo=$ac_try;;
14228 esac
14229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14230 (eval "$ac_link") 2>conftest.er1
14231 ac_status=$?
14232 grep -v '^ *+' conftest.er1 >conftest.err
14233 rm -f conftest.er1
14234 cat conftest.err >&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } && {
14237 test -z "$ac_c_werror_flag" ||
14238 test ! -s conftest.err
14239 } && test -s conftest$ac_exeext &&
14240 $as_test_x conftest$ac_exeext; then
14241 eval "$as_ac_var=yes"
14242 else
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14246 eval "$as_ac_var=no"
14249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14250 conftest$ac_exeext conftest.$ac_ext
14252 ac_res=`eval echo '${'$as_ac_var'}'`
14253 { echo "$as_me:$LINENO: result: $ac_res" >&5
14254 echo "${ECHO_T}$ac_res" >&6; }
14255 if test `eval echo '${'$as_ac_var'}'` = yes; then
14256 cat >>confdefs.h <<_ACEOF
14257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14258 _ACEOF
14261 done
14263 CFLAGS="$ac_save_CFLAGS"
14264 CPPFLAGS="$ac_save_CPPFLAGS"
14265 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14266 then
14268 cat >>confdefs.h <<\_ACEOF
14269 #define HAVE_FREETYPE 1
14270 _ACEOF
14272 FREETYPELIBS="$ac_freetype_libs"
14274 FREETYPEINCL="$ac_freetype_incl"
14276 FONTSSUBDIRS="fonts"
14281 if test "x$FREETYPELIBS" = "x"; then
14282 case "x$with_freetype" in
14283 xno) ;;
14284 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14285 Fonts will not be built. Dialog text may be invisible or unaligned.
14286 Use the --without-freetype option if you really want this." >&5
14287 echo "$as_me: error: FreeType development files not found.
14288 Fonts will not be built. Dialog text may be invisible or unaligned.
14289 Use the --without-freetype option if you really want this." >&2;}
14290 { (exit 1); exit 1; }; } ;;
14291 esac
14295 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14296 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14297 if test "${ac_cv_c_ppdev+set}" = set; then
14298 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 else
14300 cat >conftest.$ac_ext <<_ACEOF
14301 /* confdefs.h. */
14302 _ACEOF
14303 cat confdefs.h >>conftest.$ac_ext
14304 cat >>conftest.$ac_ext <<_ACEOF
14305 /* end confdefs.h. */
14306 #include <linux/ppdev.h>
14308 main ()
14310 ioctl (1,PPCLAIM,0)
14312 return 0;
14314 _ACEOF
14315 rm -f conftest.$ac_objext
14316 if { (ac_try="$ac_compile"
14317 case "(($ac_try" in
14318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14319 *) ac_try_echo=$ac_try;;
14320 esac
14321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14322 (eval "$ac_compile") 2>conftest.er1
14323 ac_status=$?
14324 grep -v '^ *+' conftest.er1 >conftest.err
14325 rm -f conftest.er1
14326 cat conftest.err >&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } && {
14329 test -z "$ac_c_werror_flag" ||
14330 test ! -s conftest.err
14331 } && test -s conftest.$ac_objext; then
14332 ac_cv_c_ppdev="yes"
14333 else
14334 echo "$as_me: failed program was:" >&5
14335 sed 's/^/| /' conftest.$ac_ext >&5
14337 ac_cv_c_ppdev="no"
14340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14342 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14343 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14344 if test "$ac_cv_c_ppdev" = "yes"
14345 then
14347 cat >>confdefs.h <<\_ACEOF
14348 #define HAVE_PPDEV 1
14349 _ACEOF
14353 { echo "$as_me:$LINENO: checking for va_copy" >&5
14354 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14355 if test "${ac_cv_c_va_copy+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 else
14358 cat >conftest.$ac_ext <<_ACEOF
14359 /* confdefs.h. */
14360 _ACEOF
14361 cat confdefs.h >>conftest.$ac_ext
14362 cat >>conftest.$ac_ext <<_ACEOF
14363 /* end confdefs.h. */
14364 #include <stdarg.h>
14366 main ()
14368 va_list ap1, ap2; va_copy(ap1,ap2);
14370 return 0;
14372 _ACEOF
14373 rm -f conftest.$ac_objext conftest$ac_exeext
14374 if { (ac_try="$ac_link"
14375 case "(($ac_try" in
14376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14377 *) ac_try_echo=$ac_try;;
14378 esac
14379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14380 (eval "$ac_link") 2>conftest.er1
14381 ac_status=$?
14382 grep -v '^ *+' conftest.er1 >conftest.err
14383 rm -f conftest.er1
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && {
14387 test -z "$ac_c_werror_flag" ||
14388 test ! -s conftest.err
14389 } && test -s conftest$ac_exeext &&
14390 $as_test_x conftest$ac_exeext; then
14391 ac_cv_c_va_copy="yes"
14392 else
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14396 ac_cv_c_va_copy="no"
14399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14400 conftest$ac_exeext conftest.$ac_ext
14403 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14404 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14405 if test "$ac_cv_c_va_copy" = "yes"
14406 then
14408 cat >>confdefs.h <<\_ACEOF
14409 #define HAVE_VA_COPY 1
14410 _ACEOF
14413 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14414 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14415 if test "${ac_cv_c___va_copy+set}" = set; then
14416 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 else
14418 cat >conftest.$ac_ext <<_ACEOF
14419 /* confdefs.h. */
14420 _ACEOF
14421 cat confdefs.h >>conftest.$ac_ext
14422 cat >>conftest.$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424 #include <stdarg.h>
14426 main ()
14428 va_list ap1, ap2; __va_copy(ap1,ap2);
14430 return 0;
14432 _ACEOF
14433 rm -f conftest.$ac_objext conftest$ac_exeext
14434 if { (ac_try="$ac_link"
14435 case "(($ac_try" in
14436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14437 *) ac_try_echo=$ac_try;;
14438 esac
14439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14440 (eval "$ac_link") 2>conftest.er1
14441 ac_status=$?
14442 grep -v '^ *+' conftest.er1 >conftest.err
14443 rm -f conftest.er1
14444 cat conftest.err >&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); } && {
14447 test -z "$ac_c_werror_flag" ||
14448 test ! -s conftest.err
14449 } && test -s conftest$ac_exeext &&
14450 $as_test_x conftest$ac_exeext; then
14451 ac_cv_c___va_copy="yes"
14452 else
14453 echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.$ac_ext >&5
14456 ac_cv_c___va_copy="no"
14459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14460 conftest$ac_exeext conftest.$ac_ext
14463 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14464 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14465 if test "$ac_cv_c___va_copy" = "yes"
14466 then
14468 cat >>confdefs.h <<\_ACEOF
14469 #define HAVE___VA_COPY 1
14470 _ACEOF
14474 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14475 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14476 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 else
14479 cat >conftest.$ac_ext <<_ACEOF
14480 /* confdefs.h. */
14481 _ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 #define _GNU_SOURCE
14486 #include <pthread.h>
14488 typedef pthread_rwlock_t ac__type_new_;
14490 main ()
14492 if ((ac__type_new_ *) 0)
14493 return 0;
14494 if (sizeof (ac__type_new_))
14495 return 0;
14497 return 0;
14499 _ACEOF
14500 rm -f conftest.$ac_objext
14501 if { (ac_try="$ac_compile"
14502 case "(($ac_try" in
14503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14504 *) ac_try_echo=$ac_try;;
14505 esac
14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14507 (eval "$ac_compile") 2>conftest.er1
14508 ac_status=$?
14509 grep -v '^ *+' conftest.er1 >conftest.err
14510 rm -f conftest.er1
14511 cat conftest.err >&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } && {
14514 test -z "$ac_c_werror_flag" ||
14515 test ! -s conftest.err
14516 } && test -s conftest.$ac_objext; then
14517 ac_cv_type_pthread_rwlock_t=yes
14518 else
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 ac_cv_type_pthread_rwlock_t=no
14525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14527 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14528 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14529 if test $ac_cv_type_pthread_rwlock_t = yes; then
14531 cat >>confdefs.h <<_ACEOF
14532 #define HAVE_PTHREAD_RWLOCK_T 1
14533 _ACEOF
14537 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14538 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14539 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 else
14542 cat >conftest.$ac_ext <<_ACEOF
14543 /* confdefs.h. */
14544 _ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 #define _GNU_SOURCE
14549 #include <pthread.h>
14551 typedef pthread_rwlockattr_t ac__type_new_;
14553 main ()
14555 if ((ac__type_new_ *) 0)
14556 return 0;
14557 if (sizeof (ac__type_new_))
14558 return 0;
14560 return 0;
14562 _ACEOF
14563 rm -f conftest.$ac_objext
14564 if { (ac_try="$ac_compile"
14565 case "(($ac_try" in
14566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14567 *) ac_try_echo=$ac_try;;
14568 esac
14569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14570 (eval "$ac_compile") 2>conftest.er1
14571 ac_status=$?
14572 grep -v '^ *+' conftest.er1 >conftest.err
14573 rm -f conftest.er1
14574 cat conftest.err >&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } && {
14577 test -z "$ac_c_werror_flag" ||
14578 test ! -s conftest.err
14579 } && test -s conftest.$ac_objext; then
14580 ac_cv_type_pthread_rwlockattr_t=yes
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14585 ac_cv_type_pthread_rwlockattr_t=no
14588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14590 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14591 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14592 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14594 cat >>confdefs.h <<_ACEOF
14595 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14596 _ACEOF
14602 ac_wine_check_funcs_save_LIBS="$LIBS"
14603 LIBS="$LIBS $LIBPTHREAD"
14608 for ac_func in \
14609 pthread_attr_get_np \
14610 pthread_getattr_np \
14611 pthread_get_stackaddr_np \
14612 pthread_get_stacksize_np
14614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14615 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14617 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 else
14620 cat >conftest.$ac_ext <<_ACEOF
14621 /* confdefs.h. */
14622 _ACEOF
14623 cat confdefs.h >>conftest.$ac_ext
14624 cat >>conftest.$ac_ext <<_ACEOF
14625 /* end confdefs.h. */
14626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14628 #define $ac_func innocuous_$ac_func
14630 /* System header to define __stub macros and hopefully few prototypes,
14631 which can conflict with char $ac_func (); below.
14632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14633 <limits.h> exists even on freestanding compilers. */
14635 #ifdef __STDC__
14636 # include <limits.h>
14637 #else
14638 # include <assert.h>
14639 #endif
14641 #undef $ac_func
14643 /* Override any GCC internal prototype to avoid an error.
14644 Use char because int might match the return type of a GCC
14645 builtin and then its argument prototype would still apply. */
14646 #ifdef __cplusplus
14647 extern "C"
14648 #endif
14649 char $ac_func ();
14650 /* The GNU C library defines this for functions which it implements
14651 to always fail with ENOSYS. Some functions are actually named
14652 something starting with __ and the normal name is an alias. */
14653 #if defined __stub_$ac_func || defined __stub___$ac_func
14654 choke me
14655 #endif
14658 main ()
14660 return $ac_func ();
14662 return 0;
14664 _ACEOF
14665 rm -f conftest.$ac_objext conftest$ac_exeext
14666 if { (ac_try="$ac_link"
14667 case "(($ac_try" in
14668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14669 *) ac_try_echo=$ac_try;;
14670 esac
14671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14672 (eval "$ac_link") 2>conftest.er1
14673 ac_status=$?
14674 grep -v '^ *+' conftest.er1 >conftest.err
14675 rm -f conftest.er1
14676 cat conftest.err >&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } && {
14679 test -z "$ac_c_werror_flag" ||
14680 test ! -s conftest.err
14681 } && test -s conftest$ac_exeext &&
14682 $as_test_x conftest$ac_exeext; then
14683 eval "$as_ac_var=yes"
14684 else
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14688 eval "$as_ac_var=no"
14691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14692 conftest$ac_exeext conftest.$ac_ext
14694 ac_res=`eval echo '${'$as_ac_var'}'`
14695 { echo "$as_me:$LINENO: result: $ac_res" >&5
14696 echo "${ECHO_T}$ac_res" >&6; }
14697 if test `eval echo '${'$as_ac_var'}'` = yes; then
14698 cat >>confdefs.h <<_ACEOF
14699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14700 _ACEOF
14703 done
14705 LIBS="$ac_wine_check_funcs_save_LIBS"
14707 # Extract the first word of "esd-config", so it can be a program name with args.
14708 set dummy esd-config; ac_word=$2
14709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14711 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 else
14714 case $ESDCONFIG in
14715 [\\/]* | ?:[\\/]*)
14716 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14720 for as_dir in $PATH
14722 IFS=$as_save_IFS
14723 test -z "$as_dir" && as_dir=.
14724 for ac_exec_ext in '' $ac_executable_extensions; do
14725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14726 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14728 break 2
14730 done
14731 done
14732 IFS=$as_save_IFS
14735 esac
14737 ESDCONFIG=$ac_cv_path_ESDCONFIG
14738 if test -n "$ESDCONFIG"; then
14739 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14740 echo "${ECHO_T}$ESDCONFIG" >&6; }
14741 else
14742 { echo "$as_me:$LINENO: result: no" >&5
14743 echo "${ECHO_T}no" >&6; }
14747 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14748 then
14749 ESD_CFLAGS=""
14750 for i in `$ESDCONFIG --cflags`
14752 case "$i" in
14753 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14754 esac
14755 done
14756 ESD_LIBS=`$ESDCONFIG --libs`
14757 save_CFLAGS="$CFLAGS"
14758 CFLAGS="$CFLAGS $ESD_CFLAGS"
14759 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14760 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14761 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 else
14764 ac_check_lib_save_LIBS=$LIBS
14765 LIBS="-lesd $LIBS"
14766 cat >conftest.$ac_ext <<_ACEOF
14767 /* confdefs.h. */
14768 _ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14773 /* Override any GCC internal prototype to avoid an error.
14774 Use char because int might match the return type of a GCC
14775 builtin and then its argument prototype would still apply. */
14776 #ifdef __cplusplus
14777 extern "C"
14778 #endif
14779 char esd_open_sound ();
14781 main ()
14783 return esd_open_sound ();
14785 return 0;
14787 _ACEOF
14788 rm -f conftest.$ac_objext conftest$ac_exeext
14789 if { (ac_try="$ac_link"
14790 case "(($ac_try" in
14791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14792 *) ac_try_echo=$ac_try;;
14793 esac
14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14795 (eval "$ac_link") 2>conftest.er1
14796 ac_status=$?
14797 grep -v '^ *+' conftest.er1 >conftest.err
14798 rm -f conftest.er1
14799 cat conftest.err >&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); } && {
14802 test -z "$ac_c_werror_flag" ||
14803 test ! -s conftest.err
14804 } && test -s conftest$ac_exeext &&
14805 $as_test_x conftest$ac_exeext; then
14806 ac_cv_lib_esd_esd_open_sound=yes
14807 else
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14811 ac_cv_lib_esd_esd_open_sound=no
14814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14819 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14820 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14821 ESDLIBS=$ESD_LIBS
14823 ESDINCL=$ESD_CFLAGS
14826 cat >>confdefs.h <<\_ACEOF
14827 #define HAVE_ESD 1
14828 _ACEOF
14832 CFLAGS="$save_CFLAGS"
14835 ALSALIBS=""
14837 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14838 then
14839 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14840 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14841 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14842 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 else
14844 ac_check_lib_save_LIBS=$LIBS
14845 LIBS="-lasound $LIBS"
14846 cat >conftest.$ac_ext <<_ACEOF
14847 /* confdefs.h. */
14848 _ACEOF
14849 cat confdefs.h >>conftest.$ac_ext
14850 cat >>conftest.$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14856 #ifdef __cplusplus
14857 extern "C"
14858 #endif
14859 char snd_pcm_hw_params_get_access ();
14861 main ()
14863 return snd_pcm_hw_params_get_access ();
14865 return 0;
14867 _ACEOF
14868 rm -f conftest.$ac_objext conftest$ac_exeext
14869 if { (ac_try="$ac_link"
14870 case "(($ac_try" in
14871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14872 *) ac_try_echo=$ac_try;;
14873 esac
14874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14875 (eval "$ac_link") 2>conftest.er1
14876 ac_status=$?
14877 grep -v '^ *+' conftest.er1 >conftest.err
14878 rm -f conftest.er1
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } && {
14882 test -z "$ac_c_werror_flag" ||
14883 test ! -s conftest.err
14884 } && test -s conftest$ac_exeext &&
14885 $as_test_x conftest$ac_exeext; then
14886 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14887 else
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.$ac_ext >&5
14891 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14895 conftest$ac_exeext conftest.$ac_ext
14896 LIBS=$ac_check_lib_save_LIBS
14898 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14899 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14900 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14901 cat >conftest.$ac_ext <<_ACEOF
14902 /* confdefs.h. */
14903 _ACEOF
14904 cat confdefs.h >>conftest.$ac_ext
14905 cat >>conftest.$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14907 #ifdef HAVE_ALSA_ASOUNDLIB_H
14908 #include <alsa/asoundlib.h>
14909 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14910 #include <sys/asoundlib.h>
14911 #endif
14913 main ()
14915 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14917 return 0;
14919 _ACEOF
14920 rm -f conftest.$ac_objext
14921 if { (ac_try="$ac_compile"
14922 case "(($ac_try" in
14923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14924 *) ac_try_echo=$ac_try;;
14925 esac
14926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14927 (eval "$ac_compile") 2>conftest.er1
14928 ac_status=$?
14929 grep -v '^ *+' conftest.er1 >conftest.err
14930 rm -f conftest.er1
14931 cat conftest.err >&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } && {
14934 test -z "$ac_c_werror_flag" ||
14935 test ! -s conftest.err
14936 } && test -s conftest.$ac_objext; then
14938 cat >>confdefs.h <<\_ACEOF
14939 #define HAVE_ALSA 1
14940 _ACEOF
14942 ALSALIBS="-lasound"
14943 else
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14955 AUDIOIOLIBS=""
14957 if test "$ac_cv_header_libaudioio_h" = "yes"
14958 then
14959 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14960 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14961 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14962 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 else
14964 ac_check_lib_save_LIBS=$LIBS
14965 LIBS="-laudioio $LIBS"
14966 cat >conftest.$ac_ext <<_ACEOF
14967 /* confdefs.h. */
14968 _ACEOF
14969 cat confdefs.h >>conftest.$ac_ext
14970 cat >>conftest.$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14973 /* Override any GCC internal prototype to avoid an error.
14974 Use char because int might match the return type of a GCC
14975 builtin and then its argument prototype would still apply. */
14976 #ifdef __cplusplus
14977 extern "C"
14978 #endif
14979 char AudioIOGetVersion ();
14981 main ()
14983 return AudioIOGetVersion ();
14985 return 0;
14987 _ACEOF
14988 rm -f conftest.$ac_objext conftest$ac_exeext
14989 if { (ac_try="$ac_link"
14990 case "(($ac_try" in
14991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14992 *) ac_try_echo=$ac_try;;
14993 esac
14994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14995 (eval "$ac_link") 2>conftest.er1
14996 ac_status=$?
14997 grep -v '^ *+' conftest.er1 >conftest.err
14998 rm -f conftest.er1
14999 cat conftest.err >&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } && {
15002 test -z "$ac_c_werror_flag" ||
15003 test ! -s conftest.err
15004 } && test -s conftest$ac_exeext &&
15005 $as_test_x conftest$ac_exeext; then
15006 ac_cv_lib_audioio_AudioIOGetVersion=yes
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_lib_audioio_AudioIOGetVersion=no
15014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15015 conftest$ac_exeext conftest.$ac_ext
15016 LIBS=$ac_check_lib_save_LIBS
15018 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15019 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15020 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15021 AUDIOIOLIBS="-laudioio"
15023 cat >>confdefs.h <<\_ACEOF
15024 #define HAVE_LIBAUDIOIO 1
15025 _ACEOF
15032 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15033 then
15034 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15035 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15036 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 else
15039 ac_check_soname_save_LIBS=$LIBS
15040 LIBS="-lcapi20 $LIBS"
15041 cat >conftest.$ac_ext <<_ACEOF
15042 /* confdefs.h. */
15043 _ACEOF
15044 cat confdefs.h >>conftest.$ac_ext
15045 cat >>conftest.$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15048 /* Override any GCC internal prototype to avoid an error.
15049 Use char because int might match the return type of a GCC
15050 builtin and then its argument prototype would still apply. */
15051 #ifdef __cplusplus
15052 extern "C"
15053 #endif
15054 char capi20_register ();
15056 main ()
15058 return capi20_register ();
15060 return 0;
15062 _ACEOF
15063 rm -f conftest.$ac_objext conftest$ac_exeext
15064 if { (ac_try="$ac_link"
15065 case "(($ac_try" in
15066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15067 *) ac_try_echo=$ac_try;;
15068 esac
15069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15070 (eval "$ac_link") 2>conftest.er1
15071 ac_status=$?
15072 grep -v '^ *+' conftest.er1 >conftest.err
15073 rm -f conftest.er1
15074 cat conftest.err >&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } && {
15077 test -z "$ac_c_werror_flag" ||
15078 test ! -s conftest.err
15079 } && test -s conftest$ac_exeext &&
15080 $as_test_x conftest$ac_exeext; then
15081 case "$LIBEXT" in
15082 dll) ;;
15083 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'` ;;
15084 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15085 esac
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15094 conftest$ac_exeext conftest.$ac_ext
15095 LIBS=$ac_check_soname_save_LIBS
15097 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15098 { echo "$as_me:$LINENO: result: not found" >&5
15099 echo "${ECHO_T}not found" >&6; }
15101 else
15102 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15103 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15105 cat >>confdefs.h <<_ACEOF
15106 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15107 _ACEOF
15113 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15114 case "x$with_capi" in
15115 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15116 xno) ;;
15117 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15118 This is an error since --with-capi was requested." >&5
15119 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15120 This is an error since --with-capi was requested." >&2;}
15121 { (exit 1); exit 1; }; } ;;
15122 esac
15126 if test "$ac_cv_header_cups_cups_h" = "yes"
15127 then
15128 { echo "$as_me:$LINENO: checking for -lcups" >&5
15129 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15130 if test "${ac_cv_lib_soname_cups+set}" = set; then
15131 echo $ECHO_N "(cached) $ECHO_C" >&6
15132 else
15133 ac_check_soname_save_LIBS=$LIBS
15134 LIBS="-lcups $LIBS"
15135 cat >conftest.$ac_ext <<_ACEOF
15136 /* confdefs.h. */
15137 _ACEOF
15138 cat confdefs.h >>conftest.$ac_ext
15139 cat >>conftest.$ac_ext <<_ACEOF
15140 /* end confdefs.h. */
15142 /* Override any GCC internal prototype to avoid an error.
15143 Use char because int might match the return type of a GCC
15144 builtin and then its argument prototype would still apply. */
15145 #ifdef __cplusplus
15146 extern "C"
15147 #endif
15148 char cupsGetDefault ();
15150 main ()
15152 return cupsGetDefault ();
15154 return 0;
15156 _ACEOF
15157 rm -f conftest.$ac_objext conftest$ac_exeext
15158 if { (ac_try="$ac_link"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15162 esac
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_link") 2>conftest.er1
15165 ac_status=$?
15166 grep -v '^ *+' conftest.er1 >conftest.err
15167 rm -f conftest.er1
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest$ac_exeext &&
15174 $as_test_x conftest$ac_exeext; then
15175 case "$LIBEXT" in
15176 dll) ;;
15177 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'` ;;
15178 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15179 esac
15180 else
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.$ac_ext >&5
15187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15188 conftest$ac_exeext conftest.$ac_ext
15189 LIBS=$ac_check_soname_save_LIBS
15191 if test "x$ac_cv_lib_soname_cups" = "x"; then
15192 { echo "$as_me:$LINENO: result: not found" >&5
15193 echo "${ECHO_T}not found" >&6; }
15195 else
15196 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15197 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15199 cat >>confdefs.h <<_ACEOF
15200 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15201 _ACEOF
15207 if test "x$ac_cv_lib_soname_cups" = "x"; then
15208 case "x$with_cups" in
15209 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15210 xno) ;;
15211 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15212 This is an error since --with-cups was requested." >&5
15213 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15214 This is an error since --with-cups was requested." >&2;}
15215 { (exit 1); exit 1; }; } ;;
15216 esac
15220 if test "$ac_cv_header_jack_jack_h" = "yes"
15221 then
15222 { echo "$as_me:$LINENO: checking for -ljack" >&5
15223 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15224 if test "${ac_cv_lib_soname_jack+set}" = set; then
15225 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 else
15227 ac_check_soname_save_LIBS=$LIBS
15228 LIBS="-ljack $LIBS"
15229 cat >conftest.$ac_ext <<_ACEOF
15230 /* confdefs.h. */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 #ifdef __cplusplus
15240 extern "C"
15241 #endif
15242 char jack_client_new ();
15244 main ()
15246 return jack_client_new ();
15248 return 0;
15250 _ACEOF
15251 rm -f conftest.$ac_objext conftest$ac_exeext
15252 if { (ac_try="$ac_link"
15253 case "(($ac_try" in
15254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15255 *) ac_try_echo=$ac_try;;
15256 esac
15257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 (eval "$ac_link") 2>conftest.er1
15259 ac_status=$?
15260 grep -v '^ *+' conftest.er1 >conftest.err
15261 rm -f conftest.er1
15262 cat conftest.err >&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } && {
15265 test -z "$ac_c_werror_flag" ||
15266 test ! -s conftest.err
15267 } && test -s conftest$ac_exeext &&
15268 $as_test_x conftest$ac_exeext; then
15269 case "$LIBEXT" in
15270 dll) ;;
15271 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'` ;;
15272 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15273 esac
15274 else
15275 echo "$as_me: failed program was:" >&5
15276 sed 's/^/| /' conftest.$ac_ext >&5
15281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15282 conftest$ac_exeext conftest.$ac_ext
15283 LIBS=$ac_check_soname_save_LIBS
15285 if test "x$ac_cv_lib_soname_jack" = "x"; then
15286 { echo "$as_me:$LINENO: result: not found" >&5
15287 echo "${ECHO_T}not found" >&6; }
15289 else
15290 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15291 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15293 cat >>confdefs.h <<_ACEOF
15294 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15295 _ACEOF
15302 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15303 then
15304 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15305 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15306 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 else
15309 ac_check_soname_save_LIBS=$LIBS
15310 LIBS="-lfontconfig $LIBS"
15311 cat >conftest.$ac_ext <<_ACEOF
15312 /* confdefs.h. */
15313 _ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15318 /* Override any GCC internal prototype to avoid an error.
15319 Use char because int might match the return type of a GCC
15320 builtin and then its argument prototype would still apply. */
15321 #ifdef __cplusplus
15322 extern "C"
15323 #endif
15324 char FcInit ();
15326 main ()
15328 return FcInit ();
15330 return 0;
15332 _ACEOF
15333 rm -f conftest.$ac_objext conftest$ac_exeext
15334 if { (ac_try="$ac_link"
15335 case "(($ac_try" in
15336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15338 esac
15339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_link") 2>conftest.er1
15341 ac_status=$?
15342 grep -v '^ *+' conftest.er1 >conftest.err
15343 rm -f conftest.er1
15344 cat conftest.err >&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } && {
15347 test -z "$ac_c_werror_flag" ||
15348 test ! -s conftest.err
15349 } && test -s conftest$ac_exeext &&
15350 $as_test_x conftest$ac_exeext; then
15351 case "$LIBEXT" in
15352 dll) ;;
15353 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'` ;;
15354 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15355 esac
15356 else
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15364 conftest$ac_exeext conftest.$ac_ext
15365 LIBS=$ac_check_soname_save_LIBS
15367 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15368 { echo "$as_me:$LINENO: result: not found" >&5
15369 echo "${ECHO_T}not found" >&6; }
15371 else
15372 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15373 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15375 cat >>confdefs.h <<_ACEOF
15376 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15377 _ACEOF
15382 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15383 then
15384 ac_save_CPPFLAGS="$CPPFLAGS"
15385 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15386 $as_unset ac_cv_header_fontconfig_fontconfig_h
15388 for ac_header in fontconfig/fontconfig.h
15390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15392 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 ac_res=`eval echo '${'$as_ac_Header'}'`
15398 { echo "$as_me:$LINENO: result: $ac_res" >&5
15399 echo "${ECHO_T}$ac_res" >&6; }
15400 else
15401 # Is the header compilable?
15402 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15403 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15404 cat >conftest.$ac_ext <<_ACEOF
15405 /* confdefs.h. */
15406 _ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15410 $ac_includes_default
15411 #include <$ac_header>
15412 _ACEOF
15413 rm -f conftest.$ac_objext
15414 if { (ac_try="$ac_compile"
15415 case "(($ac_try" in
15416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15417 *) ac_try_echo=$ac_try;;
15418 esac
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_compile") 2>conftest.er1
15421 ac_status=$?
15422 grep -v '^ *+' conftest.er1 >conftest.err
15423 rm -f conftest.er1
15424 cat conftest.err >&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } && {
15427 test -z "$ac_c_werror_flag" ||
15428 test ! -s conftest.err
15429 } && test -s conftest.$ac_objext; then
15430 ac_header_compiler=yes
15431 else
15432 echo "$as_me: failed program was:" >&5
15433 sed 's/^/| /' conftest.$ac_ext >&5
15435 ac_header_compiler=no
15438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15439 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15440 echo "${ECHO_T}$ac_header_compiler" >&6; }
15442 # Is the header present?
15443 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15445 cat >conftest.$ac_ext <<_ACEOF
15446 /* confdefs.h. */
15447 _ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451 #include <$ac_header>
15452 _ACEOF
15453 if { (ac_try="$ac_cpp conftest.$ac_ext"
15454 case "(($ac_try" in
15455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15456 *) ac_try_echo=$ac_try;;
15457 esac
15458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15460 ac_status=$?
15461 grep -v '^ *+' conftest.er1 >conftest.err
15462 rm -f conftest.er1
15463 cat conftest.err >&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } >/dev/null && {
15466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15467 test ! -s conftest.err
15468 }; then
15469 ac_header_preproc=yes
15470 else
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.$ac_ext >&5
15474 ac_header_preproc=no
15477 rm -f conftest.err conftest.$ac_ext
15478 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15479 echo "${ECHO_T}$ac_header_preproc" >&6; }
15481 # So? What about this header?
15482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15483 yes:no: )
15484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15488 ac_header_preproc=yes
15490 no:yes:* )
15491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15495 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15496 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15497 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15498 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15501 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15502 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15503 ( cat <<\_ASBOX
15504 ## ------------------------------------ ##
15505 ## Report this to wine-devel@winehq.org ##
15506 ## ------------------------------------ ##
15507 _ASBOX
15508 ) | sed "s/^/$as_me: WARNING: /" >&2
15510 esac
15511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 else
15516 eval "$as_ac_Header=\$ac_header_preproc"
15518 ac_res=`eval echo '${'$as_ac_Header'}'`
15519 { echo "$as_me:$LINENO: result: $ac_res" >&5
15520 echo "${ECHO_T}$ac_res" >&6; }
15523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15524 cat >>confdefs.h <<_ACEOF
15525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15526 _ACEOF
15530 done
15532 CPPFLAGS="$ac_save_CPPFLAGS"
15533 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15534 then
15535 FONTCONFIGINCL="$X_CFLAGS"
15537 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15538 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15539 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 else
15542 ac_check_soname_save_LIBS=$LIBS
15543 LIBS="-lfontconfig $X_LIBS $LIBS"
15544 cat >conftest.$ac_ext <<_ACEOF
15545 /* confdefs.h. */
15546 _ACEOF
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15551 /* Override any GCC internal prototype to avoid an error.
15552 Use char because int might match the return type of a GCC
15553 builtin and then its argument prototype would still apply. */
15554 #ifdef __cplusplus
15555 extern "C"
15556 #endif
15557 char FcInit ();
15559 main ()
15561 return FcInit ();
15563 return 0;
15565 _ACEOF
15566 rm -f conftest.$ac_objext conftest$ac_exeext
15567 if { (ac_try="$ac_link"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15571 esac
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_link") 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest$ac_exeext &&
15583 $as_test_x conftest$ac_exeext; then
15584 case "$LIBEXT" in
15585 dll) ;;
15586 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'` ;;
15587 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15588 esac
15589 else
15590 echo "$as_me: failed program was:" >&5
15591 sed 's/^/| /' conftest.$ac_ext >&5
15596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15597 conftest$ac_exeext conftest.$ac_ext
15598 LIBS=$ac_check_soname_save_LIBS
15600 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15601 { echo "$as_me:$LINENO: result: not found" >&5
15602 echo "${ECHO_T}not found" >&6; }
15604 else
15605 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15606 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15608 cat >>confdefs.h <<_ACEOF
15609 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15610 _ACEOF
15617 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15618 case "x$with_fontconfig" in
15619 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15620 xno) ;;
15621 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15622 This is an error since --with-fontconfig was requested." >&5
15623 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15624 This is an error since --with-fontconfig was requested." >&2;}
15625 { (exit 1); exit 1; }; } ;;
15626 esac
15630 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15631 then
15632 { echo "$as_me:$LINENO: checking for -lssl" >&5
15633 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15634 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 else
15637 ac_check_soname_save_LIBS=$LIBS
15638 LIBS="-lssl $LIBS"
15639 cat >conftest.$ac_ext <<_ACEOF
15640 /* confdefs.h. */
15641 _ACEOF
15642 cat confdefs.h >>conftest.$ac_ext
15643 cat >>conftest.$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15646 /* Override any GCC internal prototype to avoid an error.
15647 Use char because int might match the return type of a GCC
15648 builtin and then its argument prototype would still apply. */
15649 #ifdef __cplusplus
15650 extern "C"
15651 #endif
15652 char SSL_library_init ();
15654 main ()
15656 return SSL_library_init ();
15658 return 0;
15660 _ACEOF
15661 rm -f conftest.$ac_objext conftest$ac_exeext
15662 if { (ac_try="$ac_link"
15663 case "(($ac_try" in
15664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15665 *) ac_try_echo=$ac_try;;
15666 esac
15667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15668 (eval "$ac_link") 2>conftest.er1
15669 ac_status=$?
15670 grep -v '^ *+' conftest.er1 >conftest.err
15671 rm -f conftest.er1
15672 cat conftest.err >&5
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); } && {
15675 test -z "$ac_c_werror_flag" ||
15676 test ! -s conftest.err
15677 } && test -s conftest$ac_exeext &&
15678 $as_test_x conftest$ac_exeext; then
15679 case "$LIBEXT" in
15680 dll) ;;
15681 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'` ;;
15682 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15683 esac
15684 else
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.$ac_ext >&5
15691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15692 conftest$ac_exeext conftest.$ac_ext
15693 LIBS=$ac_check_soname_save_LIBS
15695 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15696 { echo "$as_me:$LINENO: result: not found" >&5
15697 echo "${ECHO_T}not found" >&6; }
15699 else
15700 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15701 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15703 cat >>confdefs.h <<_ACEOF
15704 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15705 _ACEOF
15710 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15711 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15712 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715 ac_check_soname_save_LIBS=$LIBS
15716 LIBS="-lcrypto $LIBS"
15717 cat >conftest.$ac_ext <<_ACEOF
15718 /* confdefs.h. */
15719 _ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15724 /* Override any GCC internal prototype to avoid an error.
15725 Use char because int might match the return type of a GCC
15726 builtin and then its argument prototype would still apply. */
15727 #ifdef __cplusplus
15728 extern "C"
15729 #endif
15730 char BIO_new_socket ();
15732 main ()
15734 return BIO_new_socket ();
15736 return 0;
15738 _ACEOF
15739 rm -f conftest.$ac_objext conftest$ac_exeext
15740 if { (ac_try="$ac_link"
15741 case "(($ac_try" in
15742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15743 *) ac_try_echo=$ac_try;;
15744 esac
15745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15746 (eval "$ac_link") 2>conftest.er1
15747 ac_status=$?
15748 grep -v '^ *+' conftest.er1 >conftest.err
15749 rm -f conftest.er1
15750 cat conftest.err >&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } && {
15753 test -z "$ac_c_werror_flag" ||
15754 test ! -s conftest.err
15755 } && test -s conftest$ac_exeext &&
15756 $as_test_x conftest$ac_exeext; then
15757 case "$LIBEXT" in
15758 dll) ;;
15759 dylib) ac_cv_lib_soname_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'` ;;
15760 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15761 esac
15762 else
15763 echo "$as_me: failed program was:" >&5
15764 sed 's/^/| /' conftest.$ac_ext >&5
15769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15770 conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_soname_save_LIBS
15773 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15774 { echo "$as_me:$LINENO: result: not found" >&5
15775 echo "${ECHO_T}not found" >&6; }
15777 else
15778 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15779 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15781 cat >>confdefs.h <<_ACEOF
15782 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15783 _ACEOF
15789 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15790 case "x$with_openssl" in
15791 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15792 xno) ;;
15793 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15794 This is an error since --with-openssl was requested." >&5
15795 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15796 This is an error since --with-openssl was requested." >&2;}
15797 { (exit 1); exit 1; }; } ;;
15798 esac
15802 if test "$ac_cv_header_jpeglib_h" = "yes"
15803 then
15804 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15805 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15806 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15808 else
15809 ac_check_soname_save_LIBS=$LIBS
15810 LIBS="-ljpeg $LIBS"
15811 cat >conftest.$ac_ext <<_ACEOF
15812 /* confdefs.h. */
15813 _ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15821 #ifdef __cplusplus
15822 extern "C"
15823 #endif
15824 char jpeg_start_decompress ();
15826 main ()
15828 return jpeg_start_decompress ();
15830 return 0;
15832 _ACEOF
15833 rm -f conftest.$ac_objext conftest$ac_exeext
15834 if { (ac_try="$ac_link"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15838 esac
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_link") 2>conftest.er1
15841 ac_status=$?
15842 grep -v '^ *+' conftest.er1 >conftest.err
15843 rm -f conftest.er1
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest$ac_exeext &&
15850 $as_test_x conftest$ac_exeext; then
15851 case "$LIBEXT" in
15852 dll) ;;
15853 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'` ;;
15854 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15855 esac
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15864 conftest$ac_exeext conftest.$ac_ext
15865 LIBS=$ac_check_soname_save_LIBS
15867 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15868 { echo "$as_me:$LINENO: result: not found" >&5
15869 echo "${ECHO_T}not found" >&6; }
15871 else
15872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15873 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15875 cat >>confdefs.h <<_ACEOF
15876 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15877 _ACEOF
15883 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15884 case "x$with_jpeg" in
15885 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15886 xno) ;;
15887 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15888 This is an error since --with-jpeg was requested." >&5
15889 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15890 This is an error since --with-jpeg was requested." >&2;}
15891 { (exit 1); exit 1; }; } ;;
15892 esac
15896 if test "$ac_cv_header_png_h" = "yes"
15897 then
15898 { echo "$as_me:$LINENO: checking for -lpng" >&5
15899 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15900 if test "${ac_cv_lib_soname_png+set}" = set; then
15901 echo $ECHO_N "(cached) $ECHO_C" >&6
15902 else
15903 ac_check_soname_save_LIBS=$LIBS
15904 LIBS="-lpng $LIBS"
15905 cat >conftest.$ac_ext <<_ACEOF
15906 /* confdefs.h. */
15907 _ACEOF
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15912 /* Override any GCC internal prototype to avoid an error.
15913 Use char because int might match the return type of a GCC
15914 builtin and then its argument prototype would still apply. */
15915 #ifdef __cplusplus
15916 extern "C"
15917 #endif
15918 char png_create_read_struct ();
15920 main ()
15922 return png_create_read_struct ();
15924 return 0;
15926 _ACEOF
15927 rm -f conftest.$ac_objext conftest$ac_exeext
15928 if { (ac_try="$ac_link"
15929 case "(($ac_try" in
15930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15931 *) ac_try_echo=$ac_try;;
15932 esac
15933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15934 (eval "$ac_link") 2>conftest.er1
15935 ac_status=$?
15936 grep -v '^ *+' conftest.er1 >conftest.err
15937 rm -f conftest.er1
15938 cat conftest.err >&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } && {
15941 test -z "$ac_c_werror_flag" ||
15942 test ! -s conftest.err
15943 } && test -s conftest$ac_exeext &&
15944 $as_test_x conftest$ac_exeext; then
15945 case "$LIBEXT" in
15946 dll) ;;
15947 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'` ;;
15948 *) 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'` ;;
15949 esac
15950 else
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15958 conftest$ac_exeext conftest.$ac_ext
15959 LIBS=$ac_check_soname_save_LIBS
15961 if test "x$ac_cv_lib_soname_png" = "x"; then
15962 { echo "$as_me:$LINENO: result: not found" >&5
15963 echo "${ECHO_T}not found" >&6; }
15965 else
15966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15967 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15969 cat >>confdefs.h <<_ACEOF
15970 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15971 _ACEOF
15977 if test "x$ac_cv_lib_soname_png" = "x"; then
15978 case "x$with_png" in
15979 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
15980 xno) ;;
15981 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15982 This is an error since --with-png was requested." >&5
15983 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15984 This is an error since --with-png was requested." >&2;}
15985 { (exit 1); exit 1; }; } ;;
15986 esac
15990 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15991 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15992 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 else
15995 ac_check_soname_save_LIBS=$LIBS
15996 LIBS="-lodbc $LIBS"
15997 cat >conftest.$ac_ext <<_ACEOF
15998 /* confdefs.h. */
15999 _ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16004 /* Override any GCC internal prototype to avoid an error.
16005 Use char because int might match the return type of a GCC
16006 builtin and then its argument prototype would still apply. */
16007 #ifdef __cplusplus
16008 extern "C"
16009 #endif
16010 char SQLConnect ();
16012 main ()
16014 return SQLConnect ();
16016 return 0;
16018 _ACEOF
16019 rm -f conftest.$ac_objext conftest$ac_exeext
16020 if { (ac_try="$ac_link"
16021 case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16024 esac
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_link") 2>conftest.er1
16027 ac_status=$?
16028 grep -v '^ *+' conftest.er1 >conftest.err
16029 rm -f conftest.er1
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } && {
16033 test -z "$ac_c_werror_flag" ||
16034 test ! -s conftest.err
16035 } && test -s conftest$ac_exeext &&
16036 $as_test_x conftest$ac_exeext; then
16037 case "$LIBEXT" in
16038 dll) ;;
16039 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'` ;;
16040 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16041 esac
16042 else
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.$ac_ext >&5
16049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16050 conftest$ac_exeext conftest.$ac_ext
16051 LIBS=$ac_check_soname_save_LIBS
16053 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16054 { echo "$as_me:$LINENO: result: not found" >&5
16055 echo "${ECHO_T}not found" >&6; }
16056 cat >>confdefs.h <<_ACEOF
16057 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16058 _ACEOF
16060 else
16061 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16062 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16064 cat >>confdefs.h <<_ACEOF
16065 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16066 _ACEOF
16072 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16073 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16074 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16075 "$ac_cv_header_soundcard_h" != "yes" -a \
16076 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16077 then
16078 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16082 EXTRACFLAGS=""
16084 if test "x${GCC}" = "xyes"
16085 then
16086 EXTRACFLAGS="-Wall -pipe"
16088 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16089 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16090 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16091 echo $ECHO_N "(cached) $ECHO_C" >&6
16092 else
16093 if test "$cross_compiling" = yes; then
16094 ac_cv_c_gcc_strength_bug="yes"
16095 else
16096 cat >conftest.$ac_ext <<_ACEOF
16097 /* confdefs.h. */
16098 _ACEOF
16099 cat confdefs.h >>conftest.$ac_ext
16100 cat >>conftest.$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 int L[4] = {0,1,2,3};
16104 main ()
16106 static int Array[3];
16107 unsigned int B = 3;
16108 int i;
16109 for(i=0; i<B; i++) Array[i] = i - 3;
16110 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16111 L[i] = 4;
16112 exit( Array[1] != -2 || L[2] != 3)
16114 return 0;
16116 _ACEOF
16117 rm -f conftest$ac_exeext
16118 if { (ac_try="$ac_link"
16119 case "(($ac_try" in
16120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16121 *) ac_try_echo=$ac_try;;
16122 esac
16123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16124 (eval "$ac_link") 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16128 { (case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16131 esac
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_try") 2>&5
16134 ac_status=$?
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_cv_c_gcc_strength_bug="no"
16138 else
16139 echo "$as_me: program exited with status $ac_status" >&5
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16143 ( exit $ac_status )
16144 ac_cv_c_gcc_strength_bug="yes"
16146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16151 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16152 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16153 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16154 then
16155 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16159 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16160 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16161 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16162 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 else
16164 ac_wine_try_cflags_saved=$CFLAGS
16165 CFLAGS="$CFLAGS -fshort-wchar"
16166 cat >conftest.$ac_ext <<_ACEOF
16167 /* confdefs.h. */
16168 _ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16174 main ()
16178 return 0;
16180 _ACEOF
16181 rm -f conftest.$ac_objext conftest$ac_exeext
16182 if { (ac_try="$ac_link"
16183 case "(($ac_try" in
16184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16185 *) ac_try_echo=$ac_try;;
16186 esac
16187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16188 (eval "$ac_link") 2>conftest.er1
16189 ac_status=$?
16190 grep -v '^ *+' conftest.er1 >conftest.err
16191 rm -f conftest.er1
16192 cat conftest.err >&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); } && {
16195 test -z "$ac_c_werror_flag" ||
16196 test ! -s conftest.err
16197 } && test -s conftest$ac_exeext &&
16198 $as_test_x conftest$ac_exeext; then
16199 ac_cv_cflags__fshort_wchar=yes
16200 else
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.$ac_ext >&5
16204 ac_cv_cflags__fshort_wchar=no
16207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16208 conftest$ac_exeext conftest.$ac_ext
16209 CFLAGS=$ac_wine_try_cflags_saved
16211 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16212 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16213 if test $ac_cv_cflags__fshort_wchar = yes; then
16215 cat >>confdefs.h <<\_ACEOF
16216 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16217 _ACEOF
16221 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16222 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16223 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 else
16226 ac_wine_try_cflags_saved=$CFLAGS
16227 CFLAGS="$CFLAGS -fno-strict-aliasing"
16228 cat >conftest.$ac_ext <<_ACEOF
16229 /* confdefs.h. */
16230 _ACEOF
16231 cat confdefs.h >>conftest.$ac_ext
16232 cat >>conftest.$ac_ext <<_ACEOF
16233 /* end confdefs.h. */
16236 main ()
16240 return 0;
16242 _ACEOF
16243 rm -f conftest.$ac_objext conftest$ac_exeext
16244 if { (ac_try="$ac_link"
16245 case "(($ac_try" in
16246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16247 *) ac_try_echo=$ac_try;;
16248 esac
16249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16250 (eval "$ac_link") 2>conftest.er1
16251 ac_status=$?
16252 grep -v '^ *+' conftest.er1 >conftest.err
16253 rm -f conftest.er1
16254 cat conftest.err >&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } && {
16257 test -z "$ac_c_werror_flag" ||
16258 test ! -s conftest.err
16259 } && test -s conftest$ac_exeext &&
16260 $as_test_x conftest$ac_exeext; then
16261 ac_cv_cflags__fno_strict_aliasing=yes
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16266 ac_cv_cflags__fno_strict_aliasing=no
16269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16270 conftest$ac_exeext conftest.$ac_ext
16271 CFLAGS=$ac_wine_try_cflags_saved
16273 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16274 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16275 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16276 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16279 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16280 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16281 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16282 echo $ECHO_N "(cached) $ECHO_C" >&6
16283 else
16284 ac_wine_try_cflags_saved=$CFLAGS
16285 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16286 cat >conftest.$ac_ext <<_ACEOF
16287 /* confdefs.h. */
16288 _ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16294 main ()
16298 return 0;
16300 _ACEOF
16301 rm -f conftest.$ac_objext conftest$ac_exeext
16302 if { (ac_try="$ac_link"
16303 case "(($ac_try" in
16304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16305 *) ac_try_echo=$ac_try;;
16306 esac
16307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16308 (eval "$ac_link") 2>conftest.er1
16309 ac_status=$?
16310 grep -v '^ *+' conftest.er1 >conftest.err
16311 rm -f conftest.er1
16312 cat conftest.err >&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } && {
16315 test -z "$ac_c_werror_flag" ||
16316 test ! -s conftest.err
16317 } && test -s conftest$ac_exeext &&
16318 $as_test_x conftest$ac_exeext; then
16319 ac_cv_cflags__Wdeclaration_after_statement=yes
16320 else
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16324 ac_cv_cflags__Wdeclaration_after_statement=no
16327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16328 conftest$ac_exeext conftest.$ac_ext
16329 CFLAGS=$ac_wine_try_cflags_saved
16331 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16332 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16333 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16334 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16337 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16338 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16339 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 else
16342 ac_wine_try_cflags_saved=$CFLAGS
16343 CFLAGS="$CFLAGS -Wwrite-strings"
16344 cat >conftest.$ac_ext <<_ACEOF
16345 /* confdefs.h. */
16346 _ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16352 main ()
16356 return 0;
16358 _ACEOF
16359 rm -f conftest.$ac_objext conftest$ac_exeext
16360 if { (ac_try="$ac_link"
16361 case "(($ac_try" in
16362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16363 *) ac_try_echo=$ac_try;;
16364 esac
16365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16366 (eval "$ac_link") 2>conftest.er1
16367 ac_status=$?
16368 grep -v '^ *+' conftest.er1 >conftest.err
16369 rm -f conftest.er1
16370 cat conftest.err >&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } && {
16373 test -z "$ac_c_werror_flag" ||
16374 test ! -s conftest.err
16375 } && test -s conftest$ac_exeext &&
16376 $as_test_x conftest$ac_exeext; then
16377 ac_cv_cflags__Wwrite_strings=yes
16378 else
16379 echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.$ac_ext >&5
16382 ac_cv_cflags__Wwrite_strings=no
16385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16386 conftest$ac_exeext conftest.$ac_ext
16387 CFLAGS=$ac_wine_try_cflags_saved
16389 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16390 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16391 if test $ac_cv_cflags__Wwrite_strings = yes; then
16392 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16395 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16396 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16397 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16398 echo $ECHO_N "(cached) $ECHO_C" >&6
16399 else
16400 ac_wine_try_cflags_saved=$CFLAGS
16401 CFLAGS="$CFLAGS -Wtype-limits"
16402 cat >conftest.$ac_ext <<_ACEOF
16403 /* confdefs.h. */
16404 _ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16410 main ()
16414 return 0;
16416 _ACEOF
16417 rm -f conftest.$ac_objext conftest$ac_exeext
16418 if { (ac_try="$ac_link"
16419 case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16422 esac
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_link") 2>conftest.er1
16425 ac_status=$?
16426 grep -v '^ *+' conftest.er1 >conftest.err
16427 rm -f conftest.er1
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } && {
16431 test -z "$ac_c_werror_flag" ||
16432 test ! -s conftest.err
16433 } && test -s conftest$ac_exeext &&
16434 $as_test_x conftest$ac_exeext; then
16435 ac_cv_cflags__Wtype_limits=yes
16436 else
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16440 ac_cv_cflags__Wtype_limits=no
16443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16444 conftest$ac_exeext conftest.$ac_ext
16445 CFLAGS=$ac_wine_try_cflags_saved
16447 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16448 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16449 if test $ac_cv_cflags__Wtype_limits = yes; then
16450 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16454 saved_CFLAGS="$CFLAGS"
16455 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16456 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16457 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16458 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 else
16461 cat >conftest.$ac_ext <<_ACEOF
16462 /* confdefs.h. */
16463 _ACEOF
16464 cat confdefs.h >>conftest.$ac_ext
16465 cat >>conftest.$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16467 #include <string.h>
16469 main ()
16473 return 0;
16475 _ACEOF
16476 rm -f conftest.$ac_objext
16477 if { (ac_try="$ac_compile"
16478 case "(($ac_try" in
16479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16480 *) ac_try_echo=$ac_try;;
16481 esac
16482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16483 (eval "$ac_compile") 2>conftest.er1
16484 ac_status=$?
16485 grep -v '^ *+' conftest.er1 >conftest.err
16486 rm -f conftest.er1
16487 cat conftest.err >&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); } && {
16490 test -z "$ac_c_werror_flag" ||
16491 test ! -s conftest.err
16492 } && test -s conftest.$ac_objext; then
16493 ac_cv_c_string_h_warnings=no
16494 else
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.$ac_ext >&5
16498 ac_cv_c_string_h_warnings=yes
16501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16503 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16504 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16505 CFLAGS="$saved_CFLAGS"
16506 if test "$ac_cv_c_string_h_warnings" = "no"
16507 then
16508 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16511 BUILTINFLAG=""
16513 saved_CFLAGS="$CFLAGS"
16514 CFLAGS="$CFLAGS -Werror"
16515 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16516 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16517 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16519 else
16520 cat >conftest.$ac_ext <<_ACEOF
16521 /* confdefs.h. */
16522 _ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16528 main ()
16530 int iswlower(unsigned short);
16532 return 0;
16534 _ACEOF
16535 rm -f conftest.$ac_objext
16536 if { (ac_try="$ac_compile"
16537 case "(($ac_try" in
16538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16539 *) ac_try_echo=$ac_try;;
16540 esac
16541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16542 (eval "$ac_compile") 2>conftest.er1
16543 ac_status=$?
16544 grep -v '^ *+' conftest.er1 >conftest.err
16545 rm -f conftest.er1
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } && {
16549 test -z "$ac_c_werror_flag" ||
16550 test ! -s conftest.err
16551 } && test -s conftest.$ac_objext; then
16552 ac_cv_c_builtin_wchar_ctype=no
16553 else
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16557 ac_cv_c_builtin_wchar_ctype=yes
16560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16562 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16563 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16564 CFLAGS="$saved_CFLAGS"
16565 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16566 then
16567 BUILTINFLAG="-fno-builtin"
16572 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16573 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16574 if test "${ac_cv_asm_func_def+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16576 else
16577 cat >conftest.$ac_ext <<_ACEOF
16578 /* confdefs.h. */
16579 _ACEOF
16580 cat confdefs.h >>conftest.$ac_ext
16581 cat >>conftest.$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16585 main ()
16587 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16589 return 0;
16591 _ACEOF
16592 rm -f conftest.$ac_objext conftest$ac_exeext
16593 if { (ac_try="$ac_link"
16594 case "(($ac_try" in
16595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16596 *) ac_try_echo=$ac_try;;
16597 esac
16598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16599 (eval "$ac_link") 2>conftest.er1
16600 ac_status=$?
16601 grep -v '^ *+' conftest.er1 >conftest.err
16602 rm -f conftest.er1
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } && {
16606 test -z "$ac_c_werror_flag" ||
16607 test ! -s conftest.err
16608 } && test -s conftest$ac_exeext &&
16609 $as_test_x conftest$ac_exeext; then
16610 ac_cv_asm_func_def=".def"
16611 else
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.$ac_ext >&5
16615 cat >conftest.$ac_ext <<_ACEOF
16616 /* confdefs.h. */
16617 _ACEOF
16618 cat confdefs.h >>conftest.$ac_ext
16619 cat >>conftest.$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16623 main ()
16625 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16627 return 0;
16629 _ACEOF
16630 rm -f conftest.$ac_objext conftest$ac_exeext
16631 if { (ac_try="$ac_link"
16632 case "(($ac_try" in
16633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16634 *) ac_try_echo=$ac_try;;
16635 esac
16636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16637 (eval "$ac_link") 2>conftest.er1
16638 ac_status=$?
16639 grep -v '^ *+' conftest.er1 >conftest.err
16640 rm -f conftest.er1
16641 cat conftest.err >&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } && {
16644 test -z "$ac_c_werror_flag" ||
16645 test ! -s conftest.err
16646 } && test -s conftest$ac_exeext &&
16647 $as_test_x conftest$ac_exeext; then
16648 ac_cv_asm_func_def=".type @function"
16649 else
16650 echo "$as_me: failed program was:" >&5
16651 sed 's/^/| /' conftest.$ac_ext >&5
16653 cat >conftest.$ac_ext <<_ACEOF
16654 /* confdefs.h. */
16655 _ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16661 main ()
16663 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16665 return 0;
16667 _ACEOF
16668 rm -f conftest.$ac_objext conftest$ac_exeext
16669 if { (ac_try="$ac_link"
16670 case "(($ac_try" in
16671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16672 *) ac_try_echo=$ac_try;;
16673 esac
16674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16675 (eval "$ac_link") 2>conftest.er1
16676 ac_status=$?
16677 grep -v '^ *+' conftest.er1 >conftest.err
16678 rm -f conftest.er1
16679 cat conftest.err >&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } && {
16682 test -z "$ac_c_werror_flag" ||
16683 test ! -s conftest.err
16684 } && test -s conftest$ac_exeext &&
16685 $as_test_x conftest$ac_exeext; then
16686 ac_cv_asm_func_def=".type 2"
16687 else
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16691 ac_cv_asm_func_def="unknown"
16694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16695 conftest$ac_exeext conftest.$ac_ext
16698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16699 conftest$ac_exeext conftest.$ac_ext
16702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16703 conftest$ac_exeext conftest.$ac_ext
16705 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16706 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16710 case "$ac_cv_asm_func_def" in
16711 ".def")
16712 cat >>confdefs.h <<\_ACEOF
16713 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16714 _ACEOF
16716 ".type @function")
16717 cat >>confdefs.h <<\_ACEOF
16718 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16719 _ACEOF
16721 ".type 2")
16722 cat >>confdefs.h <<\_ACEOF
16723 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16724 _ACEOF
16727 cat >>confdefs.h <<\_ACEOF
16728 #define __ASM_FUNC(name) ""
16729 _ACEOF
16731 esac
16734 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16735 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16736 if test "${ac_cv_c_extern_prefix+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 else
16739 cat >conftest.$ac_ext <<_ACEOF
16740 /* confdefs.h. */
16741 _ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 extern int ac_test;
16747 main ()
16749 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16751 return 0;
16753 _ACEOF
16754 rm -f conftest.$ac_objext conftest$ac_exeext
16755 if { (ac_try="$ac_link"
16756 case "(($ac_try" in
16757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16758 *) ac_try_echo=$ac_try;;
16759 esac
16760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16761 (eval "$ac_link") 2>conftest.er1
16762 ac_status=$?
16763 grep -v '^ *+' conftest.er1 >conftest.err
16764 rm -f conftest.er1
16765 cat conftest.err >&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); } && {
16768 test -z "$ac_c_werror_flag" ||
16769 test ! -s conftest.err
16770 } && test -s conftest$ac_exeext &&
16771 $as_test_x conftest$ac_exeext; then
16772 ac_cv_c_extern_prefix="yes"
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 ac_cv_c_extern_prefix="no"
16780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16781 conftest$ac_exeext conftest.$ac_ext
16783 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16784 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16788 if test "$ac_cv_c_extern_prefix" = "yes"
16789 then
16790 cat >>confdefs.h <<\_ACEOF
16791 #define __ASM_NAME(name) "_" name
16792 _ACEOF
16794 else
16795 cat >>confdefs.h <<\_ACEOF
16796 #define __ASM_NAME(name) name
16797 _ACEOF
16802 LDPATH=""
16804 case $build_os in
16805 cygwin*|mingw32*)
16806 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16808 darwin*|macosx*)
16810 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16811 then
16812 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16816 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16818 esac
16820 case $host_os in
16821 mingw32*)
16822 CRTLIBS="-lmsvcrt"
16824 SOCKETLIBS="-lws2_32"
16827 esac
16829 MAIN_BINARY="wine-pthread"
16830 case $host_cpu in
16831 *i[3456789]86*)
16832 case $host_os in
16833 linux* | k*bsd*-gnu)
16834 MAIN_BINARY="wine-glibc"
16836 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16838 freebsd*)
16839 MAIN_BINARY="wine-freebsd"
16841 EXTRA_BINARIES="wine-pthread"
16843 esac
16845 esac
16917 for ac_func in \
16918 _pclose \
16919 _popen \
16920 _snprintf \
16921 _spawnvp \
16922 _strdup \
16923 _stricmp \
16924 _strnicmp \
16925 _strtoi64 \
16926 _strtoui64 \
16927 _vsnprintf \
16928 asctime_r \
16929 chsize \
16930 clone \
16931 dlopen \
16932 epoll_create \
16933 ffs \
16934 finite \
16935 fork \
16936 fpclass \
16937 fstatfs \
16938 fstatvfs \
16939 ftruncate \
16940 futimes \
16941 futimesat \
16942 getdirentries \
16943 getopt_long \
16944 getpagesize \
16945 getpwuid \
16946 gettid \
16947 gettimeofday \
16948 getuid \
16949 inet_pton \
16950 kqueue \
16951 lstat \
16952 memmove \
16953 mmap \
16954 pclose \
16955 poll \
16956 popen \
16957 prctl \
16958 pread \
16959 pwrite \
16960 readlink \
16961 rfork \
16962 sched_yield \
16963 select \
16964 setproctitle \
16965 setrlimit \
16966 settimeofday \
16967 sigaltstack \
16968 sigprocmask \
16969 snprintf \
16970 spawnvp \
16971 statfs \
16972 statvfs \
16973 strcasecmp \
16974 strdup \
16975 strerror \
16976 strncasecmp \
16977 strtold \
16978 strtoll \
16979 strtoull \
16980 tcgetattr \
16981 thr_kill2 \
16982 timegm \
16983 usleep \
16984 vsnprintf \
16985 wait4 \
16986 waitpid \
16989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16994 else
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17003 #define $ac_func innocuous_$ac_func
17005 /* System header to define __stub macros and hopefully few prototypes,
17006 which can conflict with char $ac_func (); below.
17007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17008 <limits.h> exists even on freestanding compilers. */
17010 #ifdef __STDC__
17011 # include <limits.h>
17012 #else
17013 # include <assert.h>
17014 #endif
17016 #undef $ac_func
17018 /* Override any GCC internal prototype to avoid an error.
17019 Use char because int might match the return type of a GCC
17020 builtin and then its argument prototype would still apply. */
17021 #ifdef __cplusplus
17022 extern "C"
17023 #endif
17024 char $ac_func ();
17025 /* The GNU C library defines this for functions which it implements
17026 to always fail with ENOSYS. Some functions are actually named
17027 something starting with __ and the normal name is an alias. */
17028 #if defined __stub_$ac_func || defined __stub___$ac_func
17029 choke me
17030 #endif
17033 main ()
17035 return $ac_func ();
17037 return 0;
17039 _ACEOF
17040 rm -f conftest.$ac_objext conftest$ac_exeext
17041 if { (ac_try="$ac_link"
17042 case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17045 esac
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_link") 2>conftest.er1
17048 ac_status=$?
17049 grep -v '^ *+' conftest.er1 >conftest.err
17050 rm -f conftest.er1
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } && {
17054 test -z "$ac_c_werror_flag" ||
17055 test ! -s conftest.err
17056 } && test -s conftest$ac_exeext &&
17057 $as_test_x conftest$ac_exeext; then
17058 eval "$as_ac_var=yes"
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 eval "$as_ac_var=no"
17066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17067 conftest$ac_exeext conftest.$ac_ext
17069 ac_res=`eval echo '${'$as_ac_var'}'`
17070 { echo "$as_me:$LINENO: result: $ac_res" >&5
17071 echo "${ECHO_T}$ac_res" >&6; }
17072 if test `eval echo '${'$as_ac_var'}'` = yes; then
17073 cat >>confdefs.h <<_ACEOF
17074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17075 _ACEOF
17078 done
17081 if test "$ac_cv_func_dlopen" = no
17082 then
17083 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17084 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17085 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 else
17088 ac_check_lib_save_LIBS=$LIBS
17089 LIBS="-ldl $LIBS"
17090 cat >conftest.$ac_ext <<_ACEOF
17091 /* confdefs.h. */
17092 _ACEOF
17093 cat confdefs.h >>conftest.$ac_ext
17094 cat >>conftest.$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17097 /* Override any GCC internal prototype to avoid an error.
17098 Use char because int might match the return type of a GCC
17099 builtin and then its argument prototype would still apply. */
17100 #ifdef __cplusplus
17101 extern "C"
17102 #endif
17103 char dlopen ();
17105 main ()
17107 return dlopen ();
17109 return 0;
17111 _ACEOF
17112 rm -f conftest.$ac_objext conftest$ac_exeext
17113 if { (ac_try="$ac_link"
17114 case "(($ac_try" in
17115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17116 *) ac_try_echo=$ac_try;;
17117 esac
17118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17119 (eval "$ac_link") 2>conftest.er1
17120 ac_status=$?
17121 grep -v '^ *+' conftest.er1 >conftest.err
17122 rm -f conftest.er1
17123 cat conftest.err >&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } && {
17126 test -z "$ac_c_werror_flag" ||
17127 test ! -s conftest.err
17128 } && test -s conftest$ac_exeext &&
17129 $as_test_x conftest$ac_exeext; then
17130 ac_cv_lib_dl_dlopen=yes
17131 else
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 ac_cv_lib_dl_dlopen=no
17138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17139 conftest$ac_exeext conftest.$ac_ext
17140 LIBS=$ac_check_lib_save_LIBS
17142 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17143 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17144 if test $ac_cv_lib_dl_dlopen = yes; then
17145 cat >>confdefs.h <<\_ACEOF
17146 #define HAVE_DLOPEN 1
17147 _ACEOF
17148 LIBDL="-ldl"
17153 ac_wine_check_funcs_save_LIBS="$LIBS"
17154 LIBS="$LIBS $LIBDL"
17156 for ac_func in dladdr
17158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17162 echo $ECHO_N "(cached) $ECHO_C" >&6
17163 else
17164 cat >conftest.$ac_ext <<_ACEOF
17165 /* confdefs.h. */
17166 _ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17172 #define $ac_func innocuous_$ac_func
17174 /* System header to define __stub macros and hopefully few prototypes,
17175 which can conflict with char $ac_func (); below.
17176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17177 <limits.h> exists even on freestanding compilers. */
17179 #ifdef __STDC__
17180 # include <limits.h>
17181 #else
17182 # include <assert.h>
17183 #endif
17185 #undef $ac_func
17187 /* Override any GCC internal prototype to avoid an error.
17188 Use char because int might match the return type of a GCC
17189 builtin and then its argument prototype would still apply. */
17190 #ifdef __cplusplus
17191 extern "C"
17192 #endif
17193 char $ac_func ();
17194 /* The GNU C library defines this for functions which it implements
17195 to always fail with ENOSYS. Some functions are actually named
17196 something starting with __ and the normal name is an alias. */
17197 #if defined __stub_$ac_func || defined __stub___$ac_func
17198 choke me
17199 #endif
17202 main ()
17204 return $ac_func ();
17206 return 0;
17208 _ACEOF
17209 rm -f conftest.$ac_objext conftest$ac_exeext
17210 if { (ac_try="$ac_link"
17211 case "(($ac_try" in
17212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17213 *) ac_try_echo=$ac_try;;
17214 esac
17215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17216 (eval "$ac_link") 2>conftest.er1
17217 ac_status=$?
17218 grep -v '^ *+' conftest.er1 >conftest.err
17219 rm -f conftest.er1
17220 cat conftest.err >&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } && {
17223 test -z "$ac_c_werror_flag" ||
17224 test ! -s conftest.err
17225 } && test -s conftest$ac_exeext &&
17226 $as_test_x conftest$ac_exeext; then
17227 eval "$as_ac_var=yes"
17228 else
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17232 eval "$as_ac_var=no"
17235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17236 conftest$ac_exeext conftest.$ac_ext
17238 ac_res=`eval echo '${'$as_ac_var'}'`
17239 { echo "$as_me:$LINENO: result: $ac_res" >&5
17240 echo "${ECHO_T}$ac_res" >&6; }
17241 if test `eval echo '${'$as_ac_var'}'` = yes; then
17242 cat >>confdefs.h <<_ACEOF
17243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17244 _ACEOF
17247 done
17249 LIBS="$ac_wine_check_funcs_save_LIBS"
17251 if test "$ac_cv_func_poll" = no
17252 then
17253 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17254 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17255 if test "${ac_cv_lib_poll_poll+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17257 else
17258 ac_check_lib_save_LIBS=$LIBS
17259 LIBS="-lpoll $LIBS"
17260 cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h. */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17267 /* Override any GCC internal prototype to avoid an error.
17268 Use char because int might match the return type of a GCC
17269 builtin and then its argument prototype would still apply. */
17270 #ifdef __cplusplus
17271 extern "C"
17272 #endif
17273 char poll ();
17275 main ()
17277 return poll ();
17279 return 0;
17281 _ACEOF
17282 rm -f conftest.$ac_objext conftest$ac_exeext
17283 if { (ac_try="$ac_link"
17284 case "(($ac_try" in
17285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17286 *) ac_try_echo=$ac_try;;
17287 esac
17288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17289 (eval "$ac_link") 2>conftest.er1
17290 ac_status=$?
17291 grep -v '^ *+' conftest.er1 >conftest.err
17292 rm -f conftest.er1
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } && {
17296 test -z "$ac_c_werror_flag" ||
17297 test ! -s conftest.err
17298 } && test -s conftest$ac_exeext &&
17299 $as_test_x conftest$ac_exeext; then
17300 ac_cv_lib_poll_poll=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 ac_cv_lib_poll_poll=no
17308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17309 conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17312 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17313 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17314 if test $ac_cv_lib_poll_poll = yes; then
17315 cat >>confdefs.h <<\_ACEOF
17316 #define HAVE_POLL 1
17317 _ACEOF
17318 LIBPOLL="-lpoll"
17324 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17325 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17326 if test "${ac_cv_search_gethostbyname+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 else
17329 ac_func_search_save_LIBS=$LIBS
17330 cat >conftest.$ac_ext <<_ACEOF
17331 /* confdefs.h. */
17332 _ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17337 /* Override any GCC internal prototype to avoid an error.
17338 Use char because int might match the return type of a GCC
17339 builtin and then its argument prototype would still apply. */
17340 #ifdef __cplusplus
17341 extern "C"
17342 #endif
17343 char gethostbyname ();
17345 main ()
17347 return gethostbyname ();
17349 return 0;
17351 _ACEOF
17352 for ac_lib in '' nsl; do
17353 if test -z "$ac_lib"; then
17354 ac_res="none required"
17355 else
17356 ac_res=-l$ac_lib
17357 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17359 rm -f conftest.$ac_objext conftest$ac_exeext
17360 if { (ac_try="$ac_link"
17361 case "(($ac_try" in
17362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17363 *) ac_try_echo=$ac_try;;
17364 esac
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_link") 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest$ac_exeext &&
17376 $as_test_x conftest$ac_exeext; then
17377 ac_cv_search_gethostbyname=$ac_res
17378 else
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17386 conftest$ac_exeext
17387 if test "${ac_cv_search_gethostbyname+set}" = set; then
17388 break
17390 done
17391 if test "${ac_cv_search_gethostbyname+set}" = set; then
17393 else
17394 ac_cv_search_gethostbyname=no
17396 rm conftest.$ac_ext
17397 LIBS=$ac_func_search_save_LIBS
17399 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17400 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17401 ac_res=$ac_cv_search_gethostbyname
17402 if test "$ac_res" != no; then
17403 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17408 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17409 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17410 if test "${ac_cv_search_connect+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 else
17413 ac_func_search_save_LIBS=$LIBS
17414 cat >conftest.$ac_ext <<_ACEOF
17415 /* confdefs.h. */
17416 _ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17421 /* Override any GCC internal prototype to avoid an error.
17422 Use char because int might match the return type of a GCC
17423 builtin and then its argument prototype would still apply. */
17424 #ifdef __cplusplus
17425 extern "C"
17426 #endif
17427 char connect ();
17429 main ()
17431 return connect ();
17433 return 0;
17435 _ACEOF
17436 for ac_lib in '' socket; do
17437 if test -z "$ac_lib"; then
17438 ac_res="none required"
17439 else
17440 ac_res=-l$ac_lib
17441 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17443 rm -f conftest.$ac_objext conftest$ac_exeext
17444 if { (ac_try="$ac_link"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17448 esac
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_link") 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_c_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest$ac_exeext &&
17460 $as_test_x conftest$ac_exeext; then
17461 ac_cv_search_connect=$ac_res
17462 else
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17470 conftest$ac_exeext
17471 if test "${ac_cv_search_connect+set}" = set; then
17472 break
17474 done
17475 if test "${ac_cv_search_connect+set}" = set; then
17477 else
17478 ac_cv_search_connect=no
17480 rm conftest.$ac_ext
17481 LIBS=$ac_func_search_save_LIBS
17483 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17484 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17485 ac_res=$ac_cv_search_connect
17486 if test "$ac_res" != no; then
17487 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17492 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17493 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17494 if test "${ac_cv_search_inet_aton+set}" = set; then
17495 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 else
17497 ac_func_search_save_LIBS=$LIBS
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17505 /* Override any GCC internal prototype to avoid an error.
17506 Use char because int might match the return type of a GCC
17507 builtin and then its argument prototype would still apply. */
17508 #ifdef __cplusplus
17509 extern "C"
17510 #endif
17511 char inet_aton ();
17513 main ()
17515 return inet_aton ();
17517 return 0;
17519 _ACEOF
17520 for ac_lib in '' resolv; do
17521 if test -z "$ac_lib"; then
17522 ac_res="none required"
17523 else
17524 ac_res=-l$ac_lib
17525 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17527 rm -f conftest.$ac_objext conftest$ac_exeext
17528 if { (ac_try="$ac_link"
17529 case "(($ac_try" in
17530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17531 *) ac_try_echo=$ac_try;;
17532 esac
17533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17534 (eval "$ac_link") 2>conftest.er1
17535 ac_status=$?
17536 grep -v '^ *+' conftest.er1 >conftest.err
17537 rm -f conftest.er1
17538 cat conftest.err >&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } && {
17541 test -z "$ac_c_werror_flag" ||
17542 test ! -s conftest.err
17543 } && test -s conftest$ac_exeext &&
17544 $as_test_x conftest$ac_exeext; then
17545 ac_cv_search_inet_aton=$ac_res
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17554 conftest$ac_exeext
17555 if test "${ac_cv_search_inet_aton+set}" = set; then
17556 break
17558 done
17559 if test "${ac_cv_search_inet_aton+set}" = set; then
17561 else
17562 ac_cv_search_inet_aton=no
17564 rm conftest.$ac_ext
17565 LIBS=$ac_func_search_save_LIBS
17567 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17568 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17569 ac_res=$ac_cv_search_inet_aton
17570 if test "$ac_res" != no; then
17571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17584 for ac_func in \
17585 getaddrinfo \
17586 getnameinfo \
17587 getnetbyname \
17588 getprotobyname \
17589 getprotobynumber \
17590 getservbyport \
17591 inet_network \
17592 sendmsg \
17595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 else
17601 cat >conftest.$ac_ext <<_ACEOF
17602 /* confdefs.h. */
17603 _ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17609 #define $ac_func innocuous_$ac_func
17611 /* System header to define __stub macros and hopefully few prototypes,
17612 which can conflict with char $ac_func (); below.
17613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17614 <limits.h> exists even on freestanding compilers. */
17616 #ifdef __STDC__
17617 # include <limits.h>
17618 #else
17619 # include <assert.h>
17620 #endif
17622 #undef $ac_func
17624 /* Override any GCC internal prototype to avoid an error.
17625 Use char because int might match the return type of a GCC
17626 builtin and then its argument prototype would still apply. */
17627 #ifdef __cplusplus
17628 extern "C"
17629 #endif
17630 char $ac_func ();
17631 /* The GNU C library defines this for functions which it implements
17632 to always fail with ENOSYS. Some functions are actually named
17633 something starting with __ and the normal name is an alias. */
17634 #if defined __stub_$ac_func || defined __stub___$ac_func
17635 choke me
17636 #endif
17639 main ()
17641 return $ac_func ();
17643 return 0;
17645 _ACEOF
17646 rm -f conftest.$ac_objext conftest$ac_exeext
17647 if { (ac_try="$ac_link"
17648 case "(($ac_try" in
17649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17651 esac
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_link") 2>conftest.er1
17654 ac_status=$?
17655 grep -v '^ *+' conftest.er1 >conftest.err
17656 rm -f conftest.er1
17657 cat conftest.err >&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); } && {
17660 test -z "$ac_c_werror_flag" ||
17661 test ! -s conftest.err
17662 } && test -s conftest$ac_exeext &&
17663 $as_test_x conftest$ac_exeext; then
17664 eval "$as_ac_var=yes"
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 eval "$as_ac_var=no"
17672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17673 conftest$ac_exeext conftest.$ac_ext
17675 ac_res=`eval echo '${'$as_ac_var'}'`
17676 { echo "$as_me:$LINENO: result: $ac_res" >&5
17677 echo "${ECHO_T}$ac_res" >&6; }
17678 if test `eval echo '${'$as_ac_var'}'` = yes; then
17679 cat >>confdefs.h <<_ACEOF
17680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17681 _ACEOF
17684 done
17688 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17689 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17690 if test "${ac_cv_c_const+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 else
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17701 main ()
17703 /* FIXME: Include the comments suggested by Paul. */
17704 #ifndef __cplusplus
17705 /* Ultrix mips cc rejects this. */
17706 typedef int charset[2];
17707 const charset cs;
17708 /* SunOS 4.1.1 cc rejects this. */
17709 char const *const *pcpcc;
17710 char **ppc;
17711 /* NEC SVR4.0.2 mips cc rejects this. */
17712 struct point {int x, y;};
17713 static struct point const zero = {0,0};
17714 /* AIX XL C 1.02.0.0 rejects this.
17715 It does not let you subtract one const X* pointer from another in
17716 an arm of an if-expression whose if-part is not a constant
17717 expression */
17718 const char *g = "string";
17719 pcpcc = &g + (g ? g-g : 0);
17720 /* HPUX 7.0 cc rejects these. */
17721 ++pcpcc;
17722 ppc = (char**) pcpcc;
17723 pcpcc = (char const *const *) ppc;
17724 { /* SCO 3.2v4 cc rejects this. */
17725 char *t;
17726 char const *s = 0 ? (char *) 0 : (char const *) 0;
17728 *t++ = 0;
17729 if (s) return 0;
17731 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17732 int x[] = {25, 17};
17733 const int *foo = &x[0];
17734 ++foo;
17736 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17737 typedef const int *iptr;
17738 iptr p = 0;
17739 ++p;
17741 { /* AIX XL C 1.02.0.0 rejects this saying
17742 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17743 struct s { int j; const int *ap[3]; };
17744 struct s *b; b->j = 5;
17746 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17747 const int foo = 10;
17748 if (!foo) return 0;
17750 return !cs[0] && !zero.x;
17751 #endif
17754 return 0;
17756 _ACEOF
17757 rm -f conftest.$ac_objext
17758 if { (ac_try="$ac_compile"
17759 case "(($ac_try" in
17760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17761 *) ac_try_echo=$ac_try;;
17762 esac
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_compile") 2>conftest.er1
17765 ac_status=$?
17766 grep -v '^ *+' conftest.er1 >conftest.err
17767 rm -f conftest.er1
17768 cat conftest.err >&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } && {
17771 test -z "$ac_c_werror_flag" ||
17772 test ! -s conftest.err
17773 } && test -s conftest.$ac_objext; then
17774 ac_cv_c_const=yes
17775 else
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17779 ac_cv_c_const=no
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17785 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17786 if test $ac_cv_c_const = no; then
17788 cat >>confdefs.h <<\_ACEOF
17789 #define const
17790 _ACEOF
17794 { echo "$as_me:$LINENO: checking for inline" >&5
17795 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17796 if test "${ac_cv_c_inline+set}" = set; then
17797 echo $ECHO_N "(cached) $ECHO_C" >&6
17798 else
17799 ac_cv_c_inline=no
17800 for ac_kw in inline __inline__ __inline; do
17801 cat >conftest.$ac_ext <<_ACEOF
17802 /* confdefs.h. */
17803 _ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 #ifndef __cplusplus
17808 typedef int foo_t;
17809 static $ac_kw foo_t static_foo () {return 0; }
17810 $ac_kw foo_t foo () {return 0; }
17811 #endif
17813 _ACEOF
17814 rm -f conftest.$ac_objext
17815 if { (ac_try="$ac_compile"
17816 case "(($ac_try" in
17817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17818 *) ac_try_echo=$ac_try;;
17819 esac
17820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 (eval "$ac_compile") 2>conftest.er1
17822 ac_status=$?
17823 grep -v '^ *+' conftest.er1 >conftest.err
17824 rm -f conftest.er1
17825 cat conftest.err >&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } && {
17828 test -z "$ac_c_werror_flag" ||
17829 test ! -s conftest.err
17830 } && test -s conftest.$ac_objext; then
17831 ac_cv_c_inline=$ac_kw
17832 else
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 test "$ac_cv_c_inline" != no && break
17841 done
17844 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17845 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17848 case $ac_cv_c_inline in
17849 inline | yes) ;;
17851 case $ac_cv_c_inline in
17852 no) ac_val=;;
17853 *) ac_val=$ac_cv_c_inline;;
17854 esac
17855 cat >>confdefs.h <<_ACEOF
17856 #ifndef __cplusplus
17857 #define inline $ac_val
17858 #endif
17859 _ACEOF
17861 esac
17863 { echo "$as_me:$LINENO: checking for mode_t" >&5
17864 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17865 if test "${ac_cv_type_mode_t+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 else
17868 cat >conftest.$ac_ext <<_ACEOF
17869 /* confdefs.h. */
17870 _ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 $ac_includes_default
17875 typedef mode_t ac__type_new_;
17877 main ()
17879 if ((ac__type_new_ *) 0)
17880 return 0;
17881 if (sizeof (ac__type_new_))
17882 return 0;
17884 return 0;
17886 _ACEOF
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17892 esac
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 ac_cv_type_mode_t=yes
17905 else
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17909 ac_cv_type_mode_t=no
17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17915 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17916 if test $ac_cv_type_mode_t = yes; then
17918 cat >>confdefs.h <<_ACEOF
17919 #define HAVE_MODE_T 1
17920 _ACEOF
17924 { echo "$as_me:$LINENO: checking for off_t" >&5
17925 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17926 if test "${ac_cv_type_off_t+set}" = set; then
17927 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 else
17929 cat >conftest.$ac_ext <<_ACEOF
17930 /* confdefs.h. */
17931 _ACEOF
17932 cat confdefs.h >>conftest.$ac_ext
17933 cat >>conftest.$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 $ac_includes_default
17936 typedef off_t ac__type_new_;
17938 main ()
17940 if ((ac__type_new_ *) 0)
17941 return 0;
17942 if (sizeof (ac__type_new_))
17943 return 0;
17945 return 0;
17947 _ACEOF
17948 rm -f conftest.$ac_objext
17949 if { (ac_try="$ac_compile"
17950 case "(($ac_try" in
17951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17952 *) ac_try_echo=$ac_try;;
17953 esac
17954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17955 (eval "$ac_compile") 2>conftest.er1
17956 ac_status=$?
17957 grep -v '^ *+' conftest.er1 >conftest.err
17958 rm -f conftest.er1
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } && {
17962 test -z "$ac_c_werror_flag" ||
17963 test ! -s conftest.err
17964 } && test -s conftest.$ac_objext; then
17965 ac_cv_type_off_t=yes
17966 else
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.$ac_ext >&5
17970 ac_cv_type_off_t=no
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17976 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17977 if test $ac_cv_type_off_t = yes; then
17979 cat >>confdefs.h <<_ACEOF
17980 #define HAVE_OFF_T 1
17981 _ACEOF
17985 { echo "$as_me:$LINENO: checking for pid_t" >&5
17986 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17987 if test "${ac_cv_type_pid_t+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 else
17990 cat >conftest.$ac_ext <<_ACEOF
17991 /* confdefs.h. */
17992 _ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
17997 typedef pid_t ac__type_new_;
17999 main ()
18001 if ((ac__type_new_ *) 0)
18002 return 0;
18003 if (sizeof (ac__type_new_))
18004 return 0;
18006 return 0;
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18014 esac
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.$ac_objext; then
18026 ac_cv_type_pid_t=yes
18027 else
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18031 ac_cv_type_pid_t=no
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18037 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18038 if test $ac_cv_type_pid_t = yes; then
18040 cat >>confdefs.h <<_ACEOF
18041 #define HAVE_PID_T 1
18042 _ACEOF
18046 { echo "$as_me:$LINENO: checking for size_t" >&5
18047 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18048 if test "${ac_cv_type_size_t+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 else
18051 cat >conftest.$ac_ext <<_ACEOF
18052 /* confdefs.h. */
18053 _ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18057 $ac_includes_default
18058 typedef size_t ac__type_new_;
18060 main ()
18062 if ((ac__type_new_ *) 0)
18063 return 0;
18064 if (sizeof (ac__type_new_))
18065 return 0;
18067 return 0;
18069 _ACEOF
18070 rm -f conftest.$ac_objext
18071 if { (ac_try="$ac_compile"
18072 case "(($ac_try" in
18073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18074 *) ac_try_echo=$ac_try;;
18075 esac
18076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18077 (eval "$ac_compile") 2>conftest.er1
18078 ac_status=$?
18079 grep -v '^ *+' conftest.er1 >conftest.err
18080 rm -f conftest.er1
18081 cat conftest.err >&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } && {
18084 test -z "$ac_c_werror_flag" ||
18085 test ! -s conftest.err
18086 } && test -s conftest.$ac_objext; then
18087 ac_cv_type_size_t=yes
18088 else
18089 echo "$as_me: failed program was:" >&5
18090 sed 's/^/| /' conftest.$ac_ext >&5
18092 ac_cv_type_size_t=no
18095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18097 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18098 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18099 if test $ac_cv_type_size_t = yes; then
18101 cat >>confdefs.h <<_ACEOF
18102 #define HAVE_SIZE_T 1
18103 _ACEOF
18107 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18108 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18109 if test "${ac_cv_type_ssize_t+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 else
18112 cat >conftest.$ac_ext <<_ACEOF
18113 /* confdefs.h. */
18114 _ACEOF
18115 cat confdefs.h >>conftest.$ac_ext
18116 cat >>conftest.$ac_ext <<_ACEOF
18117 /* end confdefs.h. */
18118 $ac_includes_default
18119 typedef ssize_t ac__type_new_;
18121 main ()
18123 if ((ac__type_new_ *) 0)
18124 return 0;
18125 if (sizeof (ac__type_new_))
18126 return 0;
18128 return 0;
18130 _ACEOF
18131 rm -f conftest.$ac_objext
18132 if { (ac_try="$ac_compile"
18133 case "(($ac_try" in
18134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18135 *) ac_try_echo=$ac_try;;
18136 esac
18137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18138 (eval "$ac_compile") 2>conftest.er1
18139 ac_status=$?
18140 grep -v '^ *+' conftest.er1 >conftest.err
18141 rm -f conftest.er1
18142 cat conftest.err >&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); } && {
18145 test -z "$ac_c_werror_flag" ||
18146 test ! -s conftest.err
18147 } && test -s conftest.$ac_objext; then
18148 ac_cv_type_ssize_t=yes
18149 else
18150 echo "$as_me: failed program was:" >&5
18151 sed 's/^/| /' conftest.$ac_ext >&5
18153 ac_cv_type_ssize_t=no
18156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18158 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18159 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18160 if test $ac_cv_type_ssize_t = yes; then
18162 cat >>confdefs.h <<_ACEOF
18163 #define HAVE_SSIZE_T 1
18164 _ACEOF
18168 { echo "$as_me:$LINENO: checking for long long" >&5
18169 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18170 if test "${ac_cv_type_long_long+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 else
18173 cat >conftest.$ac_ext <<_ACEOF
18174 /* confdefs.h. */
18175 _ACEOF
18176 cat confdefs.h >>conftest.$ac_ext
18177 cat >>conftest.$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18180 typedef long long ac__type_new_;
18182 main ()
18184 if ((ac__type_new_ *) 0)
18185 return 0;
18186 if (sizeof (ac__type_new_))
18187 return 0;
18189 return 0;
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18197 esac
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_c_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_type_long_long=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 ac_cv_type_long_long=no
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18220 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18221 if test $ac_cv_type_long_long = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_LONG_LONG 1
18225 _ACEOF
18229 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18230 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18231 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 $ac_includes_default
18241 typedef fsblkcnt_t ac__type_new_;
18243 main ()
18245 if ((ac__type_new_ *) 0)
18246 return 0;
18247 if (sizeof (ac__type_new_))
18248 return 0;
18250 return 0;
18252 _ACEOF
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18258 esac
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.$ac_objext; then
18270 ac_cv_type_fsblkcnt_t=yes
18271 else
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.$ac_ext >&5
18275 ac_cv_type_fsblkcnt_t=no
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18280 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18281 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18282 if test $ac_cv_type_fsblkcnt_t = yes; then
18284 cat >>confdefs.h <<_ACEOF
18285 #define HAVE_FSBLKCNT_T 1
18286 _ACEOF
18290 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18291 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18292 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18293 echo $ECHO_N "(cached) $ECHO_C" >&6
18294 else
18295 cat >conftest.$ac_ext <<_ACEOF
18296 /* confdefs.h. */
18297 _ACEOF
18298 cat confdefs.h >>conftest.$ac_ext
18299 cat >>conftest.$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 $ac_includes_default
18302 typedef fsfilcnt_t ac__type_new_;
18304 main ()
18306 if ((ac__type_new_ *) 0)
18307 return 0;
18308 if (sizeof (ac__type_new_))
18309 return 0;
18311 return 0;
18313 _ACEOF
18314 rm -f conftest.$ac_objext
18315 if { (ac_try="$ac_compile"
18316 case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18319 esac
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_compile") 2>conftest.er1
18322 ac_status=$?
18323 grep -v '^ *+' conftest.er1 >conftest.err
18324 rm -f conftest.er1
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } && {
18328 test -z "$ac_c_werror_flag" ||
18329 test ! -s conftest.err
18330 } && test -s conftest.$ac_objext; then
18331 ac_cv_type_fsfilcnt_t=yes
18332 else
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18336 ac_cv_type_fsfilcnt_t=no
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18341 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18342 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18343 if test $ac_cv_type_fsfilcnt_t = yes; then
18345 cat >>confdefs.h <<_ACEOF
18346 #define HAVE_FSFILCNT_T 1
18347 _ACEOF
18352 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18353 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18354 if test "${ac_cv_type_sigset_t+set}" = set; then
18355 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 else
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 #include <signal.h>
18365 typedef sigset_t ac__type_new_;
18367 main ()
18369 if ((ac__type_new_ *) 0)
18370 return 0;
18371 if (sizeof (ac__type_new_))
18372 return 0;
18374 return 0;
18376 _ACEOF
18377 rm -f conftest.$ac_objext
18378 if { (ac_try="$ac_compile"
18379 case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18382 esac
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_compile") 2>conftest.er1
18385 ac_status=$?
18386 grep -v '^ *+' conftest.er1 >conftest.err
18387 rm -f conftest.er1
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } && {
18391 test -z "$ac_c_werror_flag" ||
18392 test ! -s conftest.err
18393 } && test -s conftest.$ac_objext; then
18394 ac_cv_type_sigset_t=yes
18395 else
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18399 ac_cv_type_sigset_t=no
18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18404 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18405 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18406 if test $ac_cv_type_sigset_t = yes; then
18408 cat >>confdefs.h <<_ACEOF
18409 #define HAVE_SIGSET_T 1
18410 _ACEOF
18415 { echo "$as_me:$LINENO: checking for request_sense" >&5
18416 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18417 if test "${ac_cv_type_request_sense+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 else
18420 cat >conftest.$ac_ext <<_ACEOF
18421 /* confdefs.h. */
18422 _ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #include <linux/cdrom.h>
18428 typedef request_sense ac__type_new_;
18430 main ()
18432 if ((ac__type_new_ *) 0)
18433 return 0;
18434 if (sizeof (ac__type_new_))
18435 return 0;
18437 return 0;
18439 _ACEOF
18440 rm -f conftest.$ac_objext
18441 if { (ac_try="$ac_compile"
18442 case "(($ac_try" in
18443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18445 esac
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compile") 2>conftest.er1
18448 ac_status=$?
18449 grep -v '^ *+' conftest.er1 >conftest.err
18450 rm -f conftest.er1
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && {
18454 test -z "$ac_c_werror_flag" ||
18455 test ! -s conftest.err
18456 } && test -s conftest.$ac_objext; then
18457 ac_cv_type_request_sense=yes
18458 else
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 ac_cv_type_request_sense=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18468 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18469 if test $ac_cv_type_request_sense = yes; then
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_REQUEST_SENSE 1
18473 _ACEOF
18479 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18480 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18481 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18483 else
18484 cat >conftest.$ac_ext <<_ACEOF
18485 /* confdefs.h. */
18486 _ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18490 #ifdef HAVE_LINUX_INPUT_H
18491 #include <linux/input.h>
18492 #endif
18495 main ()
18497 static struct ff_effect ac_aggr;
18498 if (ac_aggr.direction)
18499 return 0;
18501 return 0;
18503 _ACEOF
18504 rm -f conftest.$ac_objext
18505 if { (ac_try="$ac_compile"
18506 case "(($ac_try" in
18507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18508 *) ac_try_echo=$ac_try;;
18509 esac
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 (eval "$ac_compile") 2>conftest.er1
18512 ac_status=$?
18513 grep -v '^ *+' conftest.er1 >conftest.err
18514 rm -f conftest.er1
18515 cat conftest.err >&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } && {
18518 test -z "$ac_c_werror_flag" ||
18519 test ! -s conftest.err
18520 } && test -s conftest.$ac_objext; then
18521 ac_cv_member_struct_ff_effect_direction=yes
18522 else
18523 echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.$ac_ext >&5
18526 cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h. */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 #ifdef HAVE_LINUX_INPUT_H
18533 #include <linux/input.h>
18534 #endif
18537 main ()
18539 static struct ff_effect ac_aggr;
18540 if (sizeof ac_aggr.direction)
18541 return 0;
18543 return 0;
18545 _ACEOF
18546 rm -f conftest.$ac_objext
18547 if { (ac_try="$ac_compile"
18548 case "(($ac_try" in
18549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18550 *) ac_try_echo=$ac_try;;
18551 esac
18552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18553 (eval "$ac_compile") 2>conftest.er1
18554 ac_status=$?
18555 grep -v '^ *+' conftest.er1 >conftest.err
18556 rm -f conftest.er1
18557 cat conftest.err >&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } && {
18560 test -z "$ac_c_werror_flag" ||
18561 test ! -s conftest.err
18562 } && test -s conftest.$ac_objext; then
18563 ac_cv_member_struct_ff_effect_direction=yes
18564 else
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 ac_cv_member_struct_ff_effect_direction=no
18571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18577 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18578 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18580 cat >>confdefs.h <<_ACEOF
18581 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18582 _ACEOF
18588 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18589 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18590 if test "${wine_cv_have_sigaddset+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 #include <signal.h>
18601 main ()
18603 sigset_t set; sigaddset(&set,SIGTERM);
18605 return 0;
18607 _ACEOF
18608 rm -f conftest.$ac_objext conftest$ac_exeext
18609 if { (ac_try="$ac_link"
18610 case "(($ac_try" in
18611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18612 *) ac_try_echo=$ac_try;;
18613 esac
18614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18615 (eval "$ac_link") 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && {
18622 test -z "$ac_c_werror_flag" ||
18623 test ! -s conftest.err
18624 } && test -s conftest$ac_exeext &&
18625 $as_test_x conftest$ac_exeext; then
18626 wine_cv_have_sigaddset=yes
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18631 wine_cv_have_sigaddset=no
18634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18635 conftest$ac_exeext conftest.$ac_ext
18637 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18638 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18639 if test "$wine_cv_have_sigaddset" = "yes"
18640 then
18642 cat >>confdefs.h <<\_ACEOF
18643 #define HAVE_SIGADDSET 1
18644 _ACEOF
18649 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18650 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18651 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18652 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 else
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 #include <netdb.h>
18662 main ()
18665 char *name=0;
18666 struct hostent he;
18667 struct hostent *result;
18668 char *buf=0;
18669 int bufsize=0;
18670 int res,errnr;
18671 char *addr=0;
18672 int addrlen=0;
18673 int addrtype=0;
18674 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18675 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18678 return 0;
18680 _ACEOF
18681 rm -f conftest.$ac_objext conftest$ac_exeext
18682 if { (ac_try="$ac_link"
18683 case "(($ac_try" in
18684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18685 *) ac_try_echo=$ac_try;;
18686 esac
18687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18688 (eval "$ac_link") 2>conftest.er1
18689 ac_status=$?
18690 grep -v '^ *+' conftest.er1 >conftest.err
18691 rm -f conftest.er1
18692 cat conftest.err >&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); } && {
18695 test -z "$ac_c_werror_flag" ||
18696 test ! -s conftest.err
18697 } && test -s conftest$ac_exeext &&
18698 $as_test_x conftest$ac_exeext; then
18699 wine_cv_linux_gethostbyname_r_6=yes
18700 else
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18704 wine_cv_linux_gethostbyname_r_6=no
18708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18709 conftest$ac_exeext conftest.$ac_ext
18712 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18713 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18714 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18715 then
18717 cat >>confdefs.h <<\_ACEOF
18718 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18719 _ACEOF
18723 if test "$ac_cv_header_linux_joystick_h" = "yes"
18724 then
18725 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18726 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18727 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18729 else
18730 cat >conftest.$ac_ext <<_ACEOF
18731 /* confdefs.h. */
18732 _ACEOF
18733 cat confdefs.h >>conftest.$ac_ext
18734 cat >>conftest.$ac_ext <<_ACEOF
18735 /* end confdefs.h. */
18737 #include <sys/ioctl.h>
18738 #include <sys/types.h>
18739 #include <linux/joystick.h>
18741 struct js_event blub;
18742 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18743 #error "no 2.2 header"
18744 #endif
18747 main ()
18749 /*empty*/
18751 return 0;
18753 _ACEOF
18754 rm -f conftest.$ac_objext
18755 if { (ac_try="$ac_compile"
18756 case "(($ac_try" in
18757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18758 *) ac_try_echo=$ac_try;;
18759 esac
18760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18761 (eval "$ac_compile") 2>conftest.er1
18762 ac_status=$?
18763 grep -v '^ *+' conftest.er1 >conftest.err
18764 rm -f conftest.er1
18765 cat conftest.err >&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); } && {
18768 test -z "$ac_c_werror_flag" ||
18769 test ! -s conftest.err
18770 } && test -s conftest.$ac_objext; then
18771 wine_cv_linux_joystick_22_api=yes
18772 else
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.$ac_ext >&5
18776 wine_cv_linux_joystick_22_api=no
18779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18782 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18783 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18784 if test "$wine_cv_linux_joystick_22_api" = "yes"
18785 then
18787 cat >>confdefs.h <<\_ACEOF
18788 #define HAVE_LINUX_22_JOYSTICK_API 1
18789 _ACEOF
18795 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18796 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18797 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18798 echo $ECHO_N "(cached) $ECHO_C" >&6
18799 else
18800 cat >conftest.$ac_ext <<_ACEOF
18801 /* confdefs.h. */
18802 _ACEOF
18803 cat confdefs.h >>conftest.$ac_ext
18804 cat >>conftest.$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 #include <sys/types.h>
18807 #ifdef HAVE_SYS_PARAM_H
18808 # include <sys/param.h>
18809 #endif
18810 #ifdef HAVE_SYS_MOUNT_H
18811 # include <sys/mount.h>
18812 #endif
18813 #ifdef HAVE_SYS_VFS_H
18814 # include <sys/vfs.h>
18815 #endif
18816 #ifdef HAVE_SYS_STATFS_H
18817 # include <sys/statfs.h>
18818 #endif
18821 main ()
18823 static struct statfs ac_aggr;
18824 if (ac_aggr.f_bfree)
18825 return 0;
18827 return 0;
18829 _ACEOF
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18835 esac
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18838 ac_status=$?
18839 grep -v '^ *+' conftest.er1 >conftest.err
18840 rm -f conftest.er1
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && {
18844 test -z "$ac_c_werror_flag" ||
18845 test ! -s conftest.err
18846 } && test -s conftest.$ac_objext; then
18847 ac_cv_member_struct_statfs_f_bfree=yes
18848 else
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.$ac_ext >&5
18852 cat >conftest.$ac_ext <<_ACEOF
18853 /* confdefs.h. */
18854 _ACEOF
18855 cat confdefs.h >>conftest.$ac_ext
18856 cat >>conftest.$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858 #include <sys/types.h>
18859 #ifdef HAVE_SYS_PARAM_H
18860 # include <sys/param.h>
18861 #endif
18862 #ifdef HAVE_SYS_MOUNT_H
18863 # include <sys/mount.h>
18864 #endif
18865 #ifdef HAVE_SYS_VFS_H
18866 # include <sys/vfs.h>
18867 #endif
18868 #ifdef HAVE_SYS_STATFS_H
18869 # include <sys/statfs.h>
18870 #endif
18873 main ()
18875 static struct statfs ac_aggr;
18876 if (sizeof ac_aggr.f_bfree)
18877 return 0;
18879 return 0;
18881 _ACEOF
18882 rm -f conftest.$ac_objext
18883 if { (ac_try="$ac_compile"
18884 case "(($ac_try" in
18885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18886 *) ac_try_echo=$ac_try;;
18887 esac
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_compile") 2>conftest.er1
18890 ac_status=$?
18891 grep -v '^ *+' conftest.er1 >conftest.err
18892 rm -f conftest.er1
18893 cat conftest.err >&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && {
18896 test -z "$ac_c_werror_flag" ||
18897 test ! -s conftest.err
18898 } && test -s conftest.$ac_objext; then
18899 ac_cv_member_struct_statfs_f_bfree=yes
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 ac_cv_member_struct_statfs_f_bfree=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18913 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18914 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18916 cat >>confdefs.h <<_ACEOF
18917 #define HAVE_STRUCT_STATFS_F_BFREE 1
18918 _ACEOF
18922 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18923 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18924 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 else
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_PARAM_H
18935 # include <sys/param.h>
18936 #endif
18937 #ifdef HAVE_SYS_MOUNT_H
18938 # include <sys/mount.h>
18939 #endif
18940 #ifdef HAVE_SYS_VFS_H
18941 # include <sys/vfs.h>
18942 #endif
18943 #ifdef HAVE_SYS_STATFS_H
18944 # include <sys/statfs.h>
18945 #endif
18948 main ()
18950 static struct statfs ac_aggr;
18951 if (ac_aggr.f_bavail)
18952 return 0;
18954 return 0;
18956 _ACEOF
18957 rm -f conftest.$ac_objext
18958 if { (ac_try="$ac_compile"
18959 case "(($ac_try" in
18960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18961 *) ac_try_echo=$ac_try;;
18962 esac
18963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18964 (eval "$ac_compile") 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } && {
18971 test -z "$ac_c_werror_flag" ||
18972 test ! -s conftest.err
18973 } && test -s conftest.$ac_objext; then
18974 ac_cv_member_struct_statfs_f_bavail=yes
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18979 cat >conftest.$ac_ext <<_ACEOF
18980 /* confdefs.h. */
18981 _ACEOF
18982 cat confdefs.h >>conftest.$ac_ext
18983 cat >>conftest.$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18985 #include <sys/types.h>
18986 #ifdef HAVE_SYS_PARAM_H
18987 # include <sys/param.h>
18988 #endif
18989 #ifdef HAVE_SYS_MOUNT_H
18990 # include <sys/mount.h>
18991 #endif
18992 #ifdef HAVE_SYS_VFS_H
18993 # include <sys/vfs.h>
18994 #endif
18995 #ifdef HAVE_SYS_STATFS_H
18996 # include <sys/statfs.h>
18997 #endif
19000 main ()
19002 static struct statfs ac_aggr;
19003 if (sizeof ac_aggr.f_bavail)
19004 return 0;
19006 return 0;
19008 _ACEOF
19009 rm -f conftest.$ac_objext
19010 if { (ac_try="$ac_compile"
19011 case "(($ac_try" in
19012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19013 *) ac_try_echo=$ac_try;;
19014 esac
19015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19016 (eval "$ac_compile") 2>conftest.er1
19017 ac_status=$?
19018 grep -v '^ *+' conftest.er1 >conftest.err
19019 rm -f conftest.er1
19020 cat conftest.err >&5
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); } && {
19023 test -z "$ac_c_werror_flag" ||
19024 test ! -s conftest.err
19025 } && test -s conftest.$ac_objext; then
19026 ac_cv_member_struct_statfs_f_bavail=yes
19027 else
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19031 ac_cv_member_struct_statfs_f_bavail=no
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19040 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19041 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19045 _ACEOF
19049 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19050 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19051 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 #include <sys/types.h>
19061 #ifdef HAVE_SYS_PARAM_H
19062 # include <sys/param.h>
19063 #endif
19064 #ifdef HAVE_SYS_MOUNT_H
19065 # include <sys/mount.h>
19066 #endif
19067 #ifdef HAVE_SYS_VFS_H
19068 # include <sys/vfs.h>
19069 #endif
19070 #ifdef HAVE_SYS_STATFS_H
19071 # include <sys/statfs.h>
19072 #endif
19075 main ()
19077 static struct statfs ac_aggr;
19078 if (ac_aggr.f_frsize)
19079 return 0;
19081 return 0;
19083 _ACEOF
19084 rm -f conftest.$ac_objext
19085 if { (ac_try="$ac_compile"
19086 case "(($ac_try" in
19087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19088 *) ac_try_echo=$ac_try;;
19089 esac
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19091 (eval "$ac_compile") 2>conftest.er1
19092 ac_status=$?
19093 grep -v '^ *+' conftest.er1 >conftest.err
19094 rm -f conftest.er1
19095 cat conftest.err >&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } && {
19098 test -z "$ac_c_werror_flag" ||
19099 test ! -s conftest.err
19100 } && test -s conftest.$ac_objext; then
19101 ac_cv_member_struct_statfs_f_frsize=yes
19102 else
19103 echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.$ac_ext >&5
19106 cat >conftest.$ac_ext <<_ACEOF
19107 /* confdefs.h. */
19108 _ACEOF
19109 cat confdefs.h >>conftest.$ac_ext
19110 cat >>conftest.$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19112 #include <sys/types.h>
19113 #ifdef HAVE_SYS_PARAM_H
19114 # include <sys/param.h>
19115 #endif
19116 #ifdef HAVE_SYS_MOUNT_H
19117 # include <sys/mount.h>
19118 #endif
19119 #ifdef HAVE_SYS_VFS_H
19120 # include <sys/vfs.h>
19121 #endif
19122 #ifdef HAVE_SYS_STATFS_H
19123 # include <sys/statfs.h>
19124 #endif
19127 main ()
19129 static struct statfs ac_aggr;
19130 if (sizeof ac_aggr.f_frsize)
19131 return 0;
19133 return 0;
19135 _ACEOF
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19141 esac
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19144 ac_status=$?
19145 grep -v '^ *+' conftest.er1 >conftest.err
19146 rm -f conftest.er1
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } && {
19150 test -z "$ac_c_werror_flag" ||
19151 test ! -s conftest.err
19152 } && test -s conftest.$ac_objext; then
19153 ac_cv_member_struct_statfs_f_frsize=yes
19154 else
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.$ac_ext >&5
19158 ac_cv_member_struct_statfs_f_frsize=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19167 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19168 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19172 _ACEOF
19176 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19177 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19178 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 else
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #include <sys/types.h>
19188 #ifdef HAVE_SYS_PARAM_H
19189 # include <sys/param.h>
19190 #endif
19191 #ifdef HAVE_SYS_MOUNT_H
19192 # include <sys/mount.h>
19193 #endif
19194 #ifdef HAVE_SYS_VFS_H
19195 # include <sys/vfs.h>
19196 #endif
19197 #ifdef HAVE_SYS_STATFS_H
19198 # include <sys/statfs.h>
19199 #endif
19202 main ()
19204 static struct statfs ac_aggr;
19205 if (ac_aggr.f_ffree)
19206 return 0;
19208 return 0;
19210 _ACEOF
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19216 esac
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19219 ac_status=$?
19220 grep -v '^ *+' conftest.er1 >conftest.err
19221 rm -f conftest.er1
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_member_struct_statfs_f_ffree=yes
19229 else
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 #include <sys/types.h>
19240 #ifdef HAVE_SYS_PARAM_H
19241 # include <sys/param.h>
19242 #endif
19243 #ifdef HAVE_SYS_MOUNT_H
19244 # include <sys/mount.h>
19245 #endif
19246 #ifdef HAVE_SYS_VFS_H
19247 # include <sys/vfs.h>
19248 #endif
19249 #ifdef HAVE_SYS_STATFS_H
19250 # include <sys/statfs.h>
19251 #endif
19254 main ()
19256 static struct statfs ac_aggr;
19257 if (sizeof ac_aggr.f_ffree)
19258 return 0;
19260 return 0;
19262 _ACEOF
19263 rm -f conftest.$ac_objext
19264 if { (ac_try="$ac_compile"
19265 case "(($ac_try" in
19266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19267 *) ac_try_echo=$ac_try;;
19268 esac
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_compile") 2>conftest.er1
19271 ac_status=$?
19272 grep -v '^ *+' conftest.er1 >conftest.err
19273 rm -f conftest.er1
19274 cat conftest.err >&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && {
19277 test -z "$ac_c_werror_flag" ||
19278 test ! -s conftest.err
19279 } && test -s conftest.$ac_objext; then
19280 ac_cv_member_struct_statfs_f_ffree=yes
19281 else
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19285 ac_cv_member_struct_statfs_f_ffree=no
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19294 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19295 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_STRUCT_STATFS_F_FFREE 1
19299 _ACEOF
19303 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19304 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19305 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 else
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 #include <sys/types.h>
19315 #ifdef HAVE_SYS_PARAM_H
19316 # include <sys/param.h>
19317 #endif
19318 #ifdef HAVE_SYS_MOUNT_H
19319 # include <sys/mount.h>
19320 #endif
19321 #ifdef HAVE_SYS_VFS_H
19322 # include <sys/vfs.h>
19323 #endif
19324 #ifdef HAVE_SYS_STATFS_H
19325 # include <sys/statfs.h>
19326 #endif
19329 main ()
19331 static struct statfs ac_aggr;
19332 if (ac_aggr.f_favail)
19333 return 0;
19335 return 0;
19337 _ACEOF
19338 rm -f conftest.$ac_objext
19339 if { (ac_try="$ac_compile"
19340 case "(($ac_try" in
19341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19342 *) ac_try_echo=$ac_try;;
19343 esac
19344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19345 (eval "$ac_compile") 2>conftest.er1
19346 ac_status=$?
19347 grep -v '^ *+' conftest.er1 >conftest.err
19348 rm -f conftest.er1
19349 cat conftest.err >&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } && {
19352 test -z "$ac_c_werror_flag" ||
19353 test ! -s conftest.err
19354 } && test -s conftest.$ac_objext; then
19355 ac_cv_member_struct_statfs_f_favail=yes
19356 else
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19360 cat >conftest.$ac_ext <<_ACEOF
19361 /* confdefs.h. */
19362 _ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_PARAM_H
19368 # include <sys/param.h>
19369 #endif
19370 #ifdef HAVE_SYS_MOUNT_H
19371 # include <sys/mount.h>
19372 #endif
19373 #ifdef HAVE_SYS_VFS_H
19374 # include <sys/vfs.h>
19375 #endif
19376 #ifdef HAVE_SYS_STATFS_H
19377 # include <sys/statfs.h>
19378 #endif
19381 main ()
19383 static struct statfs ac_aggr;
19384 if (sizeof ac_aggr.f_favail)
19385 return 0;
19387 return 0;
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19398 ac_status=$?
19399 grep -v '^ *+' conftest.er1 >conftest.err
19400 rm -f conftest.er1
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_cv_member_struct_statfs_f_favail=yes
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_cv_member_struct_statfs_f_favail=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19420 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19421 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19422 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19426 _ACEOF
19430 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19431 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19432 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 else
19435 cat >conftest.$ac_ext <<_ACEOF
19436 /* confdefs.h. */
19437 _ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 #include <sys/types.h>
19442 #ifdef HAVE_SYS_PARAM_H
19443 # include <sys/param.h>
19444 #endif
19445 #ifdef HAVE_SYS_MOUNT_H
19446 # include <sys/mount.h>
19447 #endif
19448 #ifdef HAVE_SYS_VFS_H
19449 # include <sys/vfs.h>
19450 #endif
19451 #ifdef HAVE_SYS_STATFS_H
19452 # include <sys/statfs.h>
19453 #endif
19456 main ()
19458 static struct statfs ac_aggr;
19459 if (ac_aggr.f_namelen)
19460 return 0;
19462 return 0;
19464 _ACEOF
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19470 esac
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.$ac_objext; then
19482 ac_cv_member_struct_statfs_f_namelen=yes
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_PARAM_H
19495 # include <sys/param.h>
19496 #endif
19497 #ifdef HAVE_SYS_MOUNT_H
19498 # include <sys/mount.h>
19499 #endif
19500 #ifdef HAVE_SYS_VFS_H
19501 # include <sys/vfs.h>
19502 #endif
19503 #ifdef HAVE_SYS_STATFS_H
19504 # include <sys/statfs.h>
19505 #endif
19508 main ()
19510 static struct statfs ac_aggr;
19511 if (sizeof ac_aggr.f_namelen)
19512 return 0;
19514 return 0;
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19522 esac
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19525 ac_status=$?
19526 grep -v '^ *+' conftest.er1 >conftest.err
19527 rm -f conftest.er1
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_cv_member_struct_statfs_f_namelen=yes
19535 else
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_member_struct_statfs_f_namelen=no
19542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19548 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19549 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19551 cat >>confdefs.h <<_ACEOF
19552 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19553 _ACEOF
19559 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19560 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19561 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h. */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 #ifdef HAVE_SYS_STATVFS_H
19571 #include <sys/statvfs.h>
19572 #endif
19575 main ()
19577 static struct statvfs ac_aggr;
19578 if (ac_aggr.f_blocks)
19579 return 0;
19581 return 0;
19583 _ACEOF
19584 rm -f conftest.$ac_objext
19585 if { (ac_try="$ac_compile"
19586 case "(($ac_try" in
19587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19588 *) ac_try_echo=$ac_try;;
19589 esac
19590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19591 (eval "$ac_compile") 2>conftest.er1
19592 ac_status=$?
19593 grep -v '^ *+' conftest.er1 >conftest.err
19594 rm -f conftest.er1
19595 cat conftest.err >&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } && {
19598 test -z "$ac_c_werror_flag" ||
19599 test ! -s conftest.err
19600 } && test -s conftest.$ac_objext; then
19601 ac_cv_member_struct_statvfs_f_blocks=yes
19602 else
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #ifdef HAVE_SYS_STATVFS_H
19613 #include <sys/statvfs.h>
19614 #endif
19617 main ()
19619 static struct statvfs ac_aggr;
19620 if (sizeof ac_aggr.f_blocks)
19621 return 0;
19623 return 0;
19625 _ACEOF
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19631 esac
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19634 ac_status=$?
19635 grep -v '^ *+' conftest.er1 >conftest.err
19636 rm -f conftest.er1
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_statvfs_f_blocks=yes
19644 else
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ac_cv_member_struct_statvfs_f_blocks=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19657 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19658 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19660 cat >>confdefs.h <<_ACEOF
19661 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19662 _ACEOF
19668 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19669 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19670 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 else
19673 cat >conftest.$ac_ext <<_ACEOF
19674 /* confdefs.h. */
19675 _ACEOF
19676 cat confdefs.h >>conftest.$ac_ext
19677 cat >>conftest.$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 #include <sys/types.h>
19680 #ifdef HAVE_SYS_SOCKET_H
19681 # include <sys/socket.h>
19682 #endif
19683 #ifdef HAVE_SYS_UN_H
19684 # include <sys/un.h>
19685 #endif
19688 main ()
19690 static struct msghdr ac_aggr;
19691 if (ac_aggr.msg_accrights)
19692 return 0;
19694 return 0;
19696 _ACEOF
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19702 esac
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19705 ac_status=$?
19706 grep -v '^ *+' conftest.er1 >conftest.err
19707 rm -f conftest.er1
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19714 ac_cv_member_struct_msghdr_msg_accrights=yes
19715 else
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 cat >conftest.$ac_ext <<_ACEOF
19720 /* confdefs.h. */
19721 _ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #include <sys/types.h>
19726 #ifdef HAVE_SYS_SOCKET_H
19727 # include <sys/socket.h>
19728 #endif
19729 #ifdef HAVE_SYS_UN_H
19730 # include <sys/un.h>
19731 #endif
19734 main ()
19736 static struct msghdr ac_aggr;
19737 if (sizeof ac_aggr.msg_accrights)
19738 return 0;
19740 return 0;
19742 _ACEOF
19743 rm -f conftest.$ac_objext
19744 if { (ac_try="$ac_compile"
19745 case "(($ac_try" in
19746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19747 *) ac_try_echo=$ac_try;;
19748 esac
19749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19750 (eval "$ac_compile") 2>conftest.er1
19751 ac_status=$?
19752 grep -v '^ *+' conftest.er1 >conftest.err
19753 rm -f conftest.er1
19754 cat conftest.err >&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } && {
19757 test -z "$ac_c_werror_flag" ||
19758 test ! -s conftest.err
19759 } && test -s conftest.$ac_objext; then
19760 ac_cv_member_struct_msghdr_msg_accrights=yes
19761 else
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 ac_cv_member_struct_msghdr_msg_accrights=no
19768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19773 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19774 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19775 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19777 cat >>confdefs.h <<_ACEOF
19778 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19779 _ACEOF
19783 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19784 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19785 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 else
19788 cat >conftest.$ac_ext <<_ACEOF
19789 /* confdefs.h. */
19790 _ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 #include <sys/types.h>
19795 #ifdef HAVE_SYS_SOCKET_H
19796 # include <sys/socket.h>
19797 #endif
19798 #ifdef HAVE_SYS_UN_H
19799 # include <sys/un.h>
19800 #endif
19803 main ()
19805 static struct sockaddr ac_aggr;
19806 if (ac_aggr.sa_len)
19807 return 0;
19809 return 0;
19811 _ACEOF
19812 rm -f conftest.$ac_objext
19813 if { (ac_try="$ac_compile"
19814 case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19817 esac
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_compile") 2>conftest.er1
19820 ac_status=$?
19821 grep -v '^ *+' conftest.er1 >conftest.err
19822 rm -f conftest.er1
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest.$ac_objext; then
19829 ac_cv_member_struct_sockaddr_sa_len=yes
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #include <sys/types.h>
19841 #ifdef HAVE_SYS_SOCKET_H
19842 # include <sys/socket.h>
19843 #endif
19844 #ifdef HAVE_SYS_UN_H
19845 # include <sys/un.h>
19846 #endif
19849 main ()
19851 static struct sockaddr ac_aggr;
19852 if (sizeof ac_aggr.sa_len)
19853 return 0;
19855 return 0;
19857 _ACEOF
19858 rm -f conftest.$ac_objext
19859 if { (ac_try="$ac_compile"
19860 case "(($ac_try" in
19861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19863 esac
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_compile") 2>conftest.er1
19866 ac_status=$?
19867 grep -v '^ *+' conftest.er1 >conftest.err
19868 rm -f conftest.er1
19869 cat conftest.err >&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); } && {
19872 test -z "$ac_c_werror_flag" ||
19873 test ! -s conftest.err
19874 } && test -s conftest.$ac_objext; then
19875 ac_cv_member_struct_sockaddr_sa_len=yes
19876 else
19877 echo "$as_me: failed program was:" >&5
19878 sed 's/^/| /' conftest.$ac_ext >&5
19880 ac_cv_member_struct_sockaddr_sa_len=no
19883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19888 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19889 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19890 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19892 cat >>confdefs.h <<_ACEOF
19893 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19894 _ACEOF
19898 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19899 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19900 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 else
19903 cat >conftest.$ac_ext <<_ACEOF
19904 /* confdefs.h. */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 #include <sys/types.h>
19910 #ifdef HAVE_SYS_SOCKET_H
19911 # include <sys/socket.h>
19912 #endif
19913 #ifdef HAVE_SYS_UN_H
19914 # include <sys/un.h>
19915 #endif
19918 main ()
19920 static struct sockaddr_un ac_aggr;
19921 if (ac_aggr.sun_len)
19922 return 0;
19924 return 0;
19926 _ACEOF
19927 rm -f conftest.$ac_objext
19928 if { (ac_try="$ac_compile"
19929 case "(($ac_try" in
19930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19931 *) ac_try_echo=$ac_try;;
19932 esac
19933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19934 (eval "$ac_compile") 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } && {
19941 test -z "$ac_c_werror_flag" ||
19942 test ! -s conftest.err
19943 } && test -s conftest.$ac_objext; then
19944 ac_cv_member_struct_sockaddr_un_sun_len=yes
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19949 cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h. */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 #include <sys/types.h>
19956 #ifdef HAVE_SYS_SOCKET_H
19957 # include <sys/socket.h>
19958 #endif
19959 #ifdef HAVE_SYS_UN_H
19960 # include <sys/un.h>
19961 #endif
19964 main ()
19966 static struct sockaddr_un ac_aggr;
19967 if (sizeof ac_aggr.sun_len)
19968 return 0;
19970 return 0;
19972 _ACEOF
19973 rm -f conftest.$ac_objext
19974 if { (ac_try="$ac_compile"
19975 case "(($ac_try" in
19976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19977 *) ac_try_echo=$ac_try;;
19978 esac
19979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19980 (eval "$ac_compile") 2>conftest.er1
19981 ac_status=$?
19982 grep -v '^ *+' conftest.er1 >conftest.err
19983 rm -f conftest.er1
19984 cat conftest.err >&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } && {
19987 test -z "$ac_c_werror_flag" ||
19988 test ! -s conftest.err
19989 } && test -s conftest.$ac_objext; then
19990 ac_cv_member_struct_sockaddr_un_sun_len=yes
19991 else
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19995 ac_cv_member_struct_sockaddr_un_sun_len=no
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20004 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20005 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20007 cat >>confdefs.h <<_ACEOF
20008 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20009 _ACEOF
20015 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20016 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20017 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20018 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 else
20020 cat >conftest.$ac_ext <<_ACEOF
20021 /* confdefs.h. */
20022 _ACEOF
20023 cat confdefs.h >>conftest.$ac_ext
20024 cat >>conftest.$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20026 #include <sys/types.h>
20027 #ifdef HAVE_SCSI_SG_H
20028 #include <scsi/sg.h>
20029 #endif
20032 main ()
20034 static scsireq_t ac_aggr;
20035 if (ac_aggr.cmd)
20036 return 0;
20038 return 0;
20040 _ACEOF
20041 rm -f conftest.$ac_objext
20042 if { (ac_try="$ac_compile"
20043 case "(($ac_try" in
20044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20045 *) ac_try_echo=$ac_try;;
20046 esac
20047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20048 (eval "$ac_compile") 2>conftest.er1
20049 ac_status=$?
20050 grep -v '^ *+' conftest.er1 >conftest.err
20051 rm -f conftest.er1
20052 cat conftest.err >&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } && {
20055 test -z "$ac_c_werror_flag" ||
20056 test ! -s conftest.err
20057 } && test -s conftest.$ac_objext; then
20058 ac_cv_member_scsireq_t_cmd=yes
20059 else
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20063 cat >conftest.$ac_ext <<_ACEOF
20064 /* confdefs.h. */
20065 _ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 #include <sys/types.h>
20070 #ifdef HAVE_SCSI_SG_H
20071 #include <scsi/sg.h>
20072 #endif
20075 main ()
20077 static scsireq_t ac_aggr;
20078 if (sizeof ac_aggr.cmd)
20079 return 0;
20081 return 0;
20083 _ACEOF
20084 rm -f conftest.$ac_objext
20085 if { (ac_try="$ac_compile"
20086 case "(($ac_try" in
20087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20088 *) ac_try_echo=$ac_try;;
20089 esac
20090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20091 (eval "$ac_compile") 2>conftest.er1
20092 ac_status=$?
20093 grep -v '^ *+' conftest.er1 >conftest.err
20094 rm -f conftest.er1
20095 cat conftest.err >&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } && {
20098 test -z "$ac_c_werror_flag" ||
20099 test ! -s conftest.err
20100 } && test -s conftest.$ac_objext; then
20101 ac_cv_member_scsireq_t_cmd=yes
20102 else
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20106 ac_cv_member_scsireq_t_cmd=no
20109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20115 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20116 if test $ac_cv_member_scsireq_t_cmd = yes; then
20118 cat >>confdefs.h <<_ACEOF
20119 #define HAVE_SCSIREQ_T_CMD 1
20120 _ACEOF
20124 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20125 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20126 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 else
20129 cat >conftest.$ac_ext <<_ACEOF
20130 /* confdefs.h. */
20131 _ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 #include <sys/types.h>
20136 #ifdef HAVE_SCSI_SG_H
20137 #include <scsi/sg.h>
20138 #endif
20141 main ()
20143 static sg_io_hdr_t ac_aggr;
20144 if (ac_aggr.interface_id)
20145 return 0;
20147 return 0;
20149 _ACEOF
20150 rm -f conftest.$ac_objext
20151 if { (ac_try="$ac_compile"
20152 case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20155 esac
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_compile") 2>conftest.er1
20158 ac_status=$?
20159 grep -v '^ *+' conftest.er1 >conftest.err
20160 rm -f conftest.er1
20161 cat conftest.err >&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); } && {
20164 test -z "$ac_c_werror_flag" ||
20165 test ! -s conftest.err
20166 } && test -s conftest.$ac_objext; then
20167 ac_cv_member_sg_io_hdr_t_interface_id=yes
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 #include <sys/types.h>
20179 #ifdef HAVE_SCSI_SG_H
20180 #include <scsi/sg.h>
20181 #endif
20184 main ()
20186 static sg_io_hdr_t ac_aggr;
20187 if (sizeof ac_aggr.interface_id)
20188 return 0;
20190 return 0;
20192 _ACEOF
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20201 ac_status=$?
20202 grep -v '^ *+' conftest.er1 >conftest.err
20203 rm -f conftest.er1
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.$ac_objext; then
20210 ac_cv_member_sg_io_hdr_t_interface_id=yes
20211 else
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20215 ac_cv_member_sg_io_hdr_t_interface_id=no
20218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20224 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20225 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20227 cat >>confdefs.h <<_ACEOF
20228 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20229 _ACEOF
20235 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20236 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20237 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <signal.h>
20249 main ()
20251 static siginfo_t ac_aggr;
20252 if (ac_aggr.si_fd)
20253 return 0;
20255 return 0;
20257 _ACEOF
20258 rm -f conftest.$ac_objext
20259 if { (ac_try="$ac_compile"
20260 case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20263 esac
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_compile") 2>conftest.er1
20266 ac_status=$?
20267 grep -v '^ *+' conftest.er1 >conftest.err
20268 rm -f conftest.er1
20269 cat conftest.err >&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); } && {
20272 test -z "$ac_c_werror_flag" ||
20273 test ! -s conftest.err
20274 } && test -s conftest.$ac_objext; then
20275 ac_cv_member_siginfo_t_si_fd=yes
20276 else
20277 echo "$as_me: failed program was:" >&5
20278 sed 's/^/| /' conftest.$ac_ext >&5
20280 cat >conftest.$ac_ext <<_ACEOF
20281 /* confdefs.h. */
20282 _ACEOF
20283 cat confdefs.h >>conftest.$ac_ext
20284 cat >>conftest.$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20286 #include <signal.h>
20289 main ()
20291 static siginfo_t ac_aggr;
20292 if (sizeof ac_aggr.si_fd)
20293 return 0;
20295 return 0;
20297 _ACEOF
20298 rm -f conftest.$ac_objext
20299 if { (ac_try="$ac_compile"
20300 case "(($ac_try" in
20301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20302 *) ac_try_echo=$ac_try;;
20303 esac
20304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20305 (eval "$ac_compile") 2>conftest.er1
20306 ac_status=$?
20307 grep -v '^ *+' conftest.er1 >conftest.err
20308 rm -f conftest.er1
20309 cat conftest.err >&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); } && {
20312 test -z "$ac_c_werror_flag" ||
20313 test ! -s conftest.err
20314 } && test -s conftest.$ac_objext; then
20315 ac_cv_member_siginfo_t_si_fd=yes
20316 else
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20320 ac_cv_member_siginfo_t_si_fd=no
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20329 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20330 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20332 cat >>confdefs.h <<_ACEOF
20333 #define HAVE_SIGINFO_T_SI_FD 1
20334 _ACEOF
20340 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20341 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20342 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20344 else
20345 cat >conftest.$ac_ext <<_ACEOF
20346 /* confdefs.h. */
20347 _ACEOF
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20351 #include <sys/types.h>
20352 #ifdef HAVE_SYS_MTIO_H
20353 #include <sys/mtio.h>
20354 #endif
20357 main ()
20359 static struct mtget ac_aggr;
20360 if (ac_aggr.mt_blksiz)
20361 return 0;
20363 return 0;
20365 _ACEOF
20366 rm -f conftest.$ac_objext
20367 if { (ac_try="$ac_compile"
20368 case "(($ac_try" in
20369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20370 *) ac_try_echo=$ac_try;;
20371 esac
20372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20373 (eval "$ac_compile") 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } && {
20380 test -z "$ac_c_werror_flag" ||
20381 test ! -s conftest.err
20382 } && test -s conftest.$ac_objext; then
20383 ac_cv_member_struct_mtget_mt_blksiz=yes
20384 else
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20388 cat >conftest.$ac_ext <<_ACEOF
20389 /* confdefs.h. */
20390 _ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 #include <sys/types.h>
20395 #ifdef HAVE_SYS_MTIO_H
20396 #include <sys/mtio.h>
20397 #endif
20400 main ()
20402 static struct mtget ac_aggr;
20403 if (sizeof ac_aggr.mt_blksiz)
20404 return 0;
20406 return 0;
20408 _ACEOF
20409 rm -f conftest.$ac_objext
20410 if { (ac_try="$ac_compile"
20411 case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20414 esac
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_compile") 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && {
20423 test -z "$ac_c_werror_flag" ||
20424 test ! -s conftest.err
20425 } && test -s conftest.$ac_objext; then
20426 ac_cv_member_struct_mtget_mt_blksiz=yes
20427 else
20428 echo "$as_me: failed program was:" >&5
20429 sed 's/^/| /' conftest.$ac_ext >&5
20431 ac_cv_member_struct_mtget_mt_blksiz=no
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20439 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20440 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20441 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20443 cat >>confdefs.h <<_ACEOF
20444 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20445 _ACEOF
20449 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20450 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20451 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else
20454 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */
20456 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 #include <sys/types.h>
20461 #ifdef HAVE_SYS_MTIO_H
20462 #include <sys/mtio.h>
20463 #endif
20466 main ()
20468 static struct mtget ac_aggr;
20469 if (ac_aggr.mt_gstat)
20470 return 0;
20472 return 0;
20474 _ACEOF
20475 rm -f conftest.$ac_objext
20476 if { (ac_try="$ac_compile"
20477 case "(($ac_try" in
20478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20479 *) ac_try_echo=$ac_try;;
20480 esac
20481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20482 (eval "$ac_compile") 2>conftest.er1
20483 ac_status=$?
20484 grep -v '^ *+' conftest.er1 >conftest.err
20485 rm -f conftest.er1
20486 cat conftest.err >&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } && {
20489 test -z "$ac_c_werror_flag" ||
20490 test ! -s conftest.err
20491 } && test -s conftest.$ac_objext; then
20492 ac_cv_member_struct_mtget_mt_gstat=yes
20493 else
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20497 cat >conftest.$ac_ext <<_ACEOF
20498 /* confdefs.h. */
20499 _ACEOF
20500 cat confdefs.h >>conftest.$ac_ext
20501 cat >>conftest.$ac_ext <<_ACEOF
20502 /* end confdefs.h. */
20503 #include <sys/types.h>
20504 #ifdef HAVE_SYS_MTIO_H
20505 #include <sys/mtio.h>
20506 #endif
20509 main ()
20511 static struct mtget ac_aggr;
20512 if (sizeof ac_aggr.mt_gstat)
20513 return 0;
20515 return 0;
20517 _ACEOF
20518 rm -f conftest.$ac_objext
20519 if { (ac_try="$ac_compile"
20520 case "(($ac_try" in
20521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20522 *) ac_try_echo=$ac_try;;
20523 esac
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_compile") 2>conftest.er1
20526 ac_status=$?
20527 grep -v '^ *+' conftest.er1 >conftest.err
20528 rm -f conftest.er1
20529 cat conftest.err >&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } && {
20532 test -z "$ac_c_werror_flag" ||
20533 test ! -s conftest.err
20534 } && test -s conftest.$ac_objext; then
20535 ac_cv_member_struct_mtget_mt_gstat=yes
20536 else
20537 echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.$ac_ext >&5
20540 ac_cv_member_struct_mtget_mt_gstat=no
20543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20548 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20549 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20550 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20552 cat >>confdefs.h <<_ACEOF
20553 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20554 _ACEOF
20558 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20559 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20560 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20562 else
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <sys/types.h>
20570 #ifdef HAVE_SYS_MTIO_H
20571 #include <sys/mtio.h>
20572 #endif
20575 main ()
20577 static struct mtget ac_aggr;
20578 if (ac_aggr.mt_blkno)
20579 return 0;
20581 return 0;
20583 _ACEOF
20584 rm -f conftest.$ac_objext
20585 if { (ac_try="$ac_compile"
20586 case "(($ac_try" in
20587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20588 *) ac_try_echo=$ac_try;;
20589 esac
20590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20591 (eval "$ac_compile") 2>conftest.er1
20592 ac_status=$?
20593 grep -v '^ *+' conftest.er1 >conftest.err
20594 rm -f conftest.er1
20595 cat conftest.err >&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } && {
20598 test -z "$ac_c_werror_flag" ||
20599 test ! -s conftest.err
20600 } && test -s conftest.$ac_objext; then
20601 ac_cv_member_struct_mtget_mt_blkno=yes
20602 else
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20606 cat >conftest.$ac_ext <<_ACEOF
20607 /* confdefs.h. */
20608 _ACEOF
20609 cat confdefs.h >>conftest.$ac_ext
20610 cat >>conftest.$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 #include <sys/types.h>
20613 #ifdef HAVE_SYS_MTIO_H
20614 #include <sys/mtio.h>
20615 #endif
20618 main ()
20620 static struct mtget ac_aggr;
20621 if (sizeof ac_aggr.mt_blkno)
20622 return 0;
20624 return 0;
20626 _ACEOF
20627 rm -f conftest.$ac_objext
20628 if { (ac_try="$ac_compile"
20629 case "(($ac_try" in
20630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20631 *) ac_try_echo=$ac_try;;
20632 esac
20633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20634 (eval "$ac_compile") 2>conftest.er1
20635 ac_status=$?
20636 grep -v '^ *+' conftest.er1 >conftest.err
20637 rm -f conftest.er1
20638 cat conftest.err >&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); } && {
20641 test -z "$ac_c_werror_flag" ||
20642 test ! -s conftest.err
20643 } && test -s conftest.$ac_objext; then
20644 ac_cv_member_struct_mtget_mt_blkno=yes
20645 else
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.$ac_ext >&5
20649 ac_cv_member_struct_mtget_mt_blkno=no
20652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20657 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20658 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20659 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20661 cat >>confdefs.h <<_ACEOF
20662 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20663 _ACEOF
20669 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20670 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20671 if test "${ac_cv_member_struct_option_name+set}" = set; then
20672 echo $ECHO_N "(cached) $ECHO_C" >&6
20673 else
20674 cat >conftest.$ac_ext <<_ACEOF
20675 /* confdefs.h. */
20676 _ACEOF
20677 cat confdefs.h >>conftest.$ac_ext
20678 cat >>conftest.$ac_ext <<_ACEOF
20679 /* end confdefs.h. */
20680 #ifdef HAVE_GETOPT_H
20681 #include <getopt.h>
20682 #endif
20685 main ()
20687 static struct option ac_aggr;
20688 if (ac_aggr.name)
20689 return 0;
20691 return 0;
20693 _ACEOF
20694 rm -f conftest.$ac_objext
20695 if { (ac_try="$ac_compile"
20696 case "(($ac_try" in
20697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20698 *) ac_try_echo=$ac_try;;
20699 esac
20700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20701 (eval "$ac_compile") 2>conftest.er1
20702 ac_status=$?
20703 grep -v '^ *+' conftest.er1 >conftest.err
20704 rm -f conftest.er1
20705 cat conftest.err >&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } && {
20708 test -z "$ac_c_werror_flag" ||
20709 test ! -s conftest.err
20710 } && test -s conftest.$ac_objext; then
20711 ac_cv_member_struct_option_name=yes
20712 else
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20716 cat >conftest.$ac_ext <<_ACEOF
20717 /* confdefs.h. */
20718 _ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 #ifdef HAVE_GETOPT_H
20723 #include <getopt.h>
20724 #endif
20727 main ()
20729 static struct option ac_aggr;
20730 if (sizeof ac_aggr.name)
20731 return 0;
20733 return 0;
20735 _ACEOF
20736 rm -f conftest.$ac_objext
20737 if { (ac_try="$ac_compile"
20738 case "(($ac_try" in
20739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20740 *) ac_try_echo=$ac_try;;
20741 esac
20742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743 (eval "$ac_compile") 2>conftest.er1
20744 ac_status=$?
20745 grep -v '^ *+' conftest.er1 >conftest.err
20746 rm -f conftest.er1
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && {
20750 test -z "$ac_c_werror_flag" ||
20751 test ! -s conftest.err
20752 } && test -s conftest.$ac_objext; then
20753 ac_cv_member_struct_option_name=yes
20754 else
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 ac_cv_member_struct_option_name=no
20761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20766 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20767 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20768 if test $ac_cv_member_struct_option_name = yes; then
20770 cat >>confdefs.h <<_ACEOF
20771 #define HAVE_STRUCT_OPTION_NAME 1
20772 _ACEOF
20778 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20779 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20780 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20781 echo $ECHO_N "(cached) $ECHO_C" >&6
20782 else
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20791 main ()
20793 static struct stat ac_aggr;
20794 if (ac_aggr.st_blocks)
20795 return 0;
20797 return 0;
20799 _ACEOF
20800 rm -f conftest.$ac_objext
20801 if { (ac_try="$ac_compile"
20802 case "(($ac_try" in
20803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20804 *) ac_try_echo=$ac_try;;
20805 esac
20806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20807 (eval "$ac_compile") 2>conftest.er1
20808 ac_status=$?
20809 grep -v '^ *+' conftest.er1 >conftest.err
20810 rm -f conftest.er1
20811 cat conftest.err >&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } && {
20814 test -z "$ac_c_werror_flag" ||
20815 test ! -s conftest.err
20816 } && test -s conftest.$ac_objext; then
20817 ac_cv_member_struct_stat_st_blocks=yes
20818 else
20819 echo "$as_me: failed program was:" >&5
20820 sed 's/^/| /' conftest.$ac_ext >&5
20822 cat >conftest.$ac_ext <<_ACEOF
20823 /* confdefs.h. */
20824 _ACEOF
20825 cat confdefs.h >>conftest.$ac_ext
20826 cat >>conftest.$ac_ext <<_ACEOF
20827 /* end confdefs.h. */
20828 $ac_includes_default
20830 main ()
20832 static struct stat ac_aggr;
20833 if (sizeof ac_aggr.st_blocks)
20834 return 0;
20836 return 0;
20838 _ACEOF
20839 rm -f conftest.$ac_objext
20840 if { (ac_try="$ac_compile"
20841 case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20844 esac
20845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_compile") 2>conftest.er1
20847 ac_status=$?
20848 grep -v '^ *+' conftest.er1 >conftest.err
20849 rm -f conftest.er1
20850 cat conftest.err >&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && {
20853 test -z "$ac_c_werror_flag" ||
20854 test ! -s conftest.err
20855 } && test -s conftest.$ac_objext; then
20856 ac_cv_member_struct_stat_st_blocks=yes
20857 else
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20861 ac_cv_member_struct_stat_st_blocks=no
20864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20870 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20871 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20873 cat >>confdefs.h <<_ACEOF
20874 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20875 _ACEOF
20881 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20882 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20883 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20885 else
20886 cat >conftest.$ac_ext <<_ACEOF
20887 /* confdefs.h. */
20888 _ACEOF
20889 cat confdefs.h >>conftest.$ac_ext
20890 cat >>conftest.$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 #ifdef HAVE_SYS_TYPES_H
20893 #include <sys/types.h>
20894 #endif
20895 #ifdef HAVE_NETINET_IN_H
20896 #include <netinet/in.h>
20897 #endif
20900 main ()
20902 static struct sockaddr_in6 ac_aggr;
20903 if (ac_aggr.sin6_scope_id)
20904 return 0;
20906 return 0;
20908 _ACEOF
20909 rm -f conftest.$ac_objext
20910 if { (ac_try="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20914 esac
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20917 ac_status=$?
20918 grep -v '^ *+' conftest.er1 >conftest.err
20919 rm -f conftest.er1
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20926 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20927 else
20928 echo "$as_me: failed program was:" >&5
20929 sed 's/^/| /' conftest.$ac_ext >&5
20931 cat >conftest.$ac_ext <<_ACEOF
20932 /* confdefs.h. */
20933 _ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 #ifdef HAVE_SYS_TYPES_H
20938 #include <sys/types.h>
20939 #endif
20940 #ifdef HAVE_NETINET_IN_H
20941 #include <netinet/in.h>
20942 #endif
20945 main ()
20947 static struct sockaddr_in6 ac_aggr;
20948 if (sizeof ac_aggr.sin6_scope_id)
20949 return 0;
20951 return 0;
20953 _ACEOF
20954 rm -f conftest.$ac_objext
20955 if { (ac_try="$ac_compile"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20958 *) ac_try_echo=$ac_try;;
20959 esac
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_compile") 2>conftest.er1
20962 ac_status=$?
20963 grep -v '^ *+' conftest.er1 >conftest.err
20964 rm -f conftest.er1
20965 cat conftest.err >&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } && {
20968 test -z "$ac_c_werror_flag" ||
20969 test ! -s conftest.err
20970 } && test -s conftest.$ac_objext; then
20971 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20976 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20984 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20985 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20986 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20988 cat >>confdefs.h <<_ACEOF
20989 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20990 _ACEOF
20996 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20997 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20998 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20999 echo $ECHO_N "(cached) $ECHO_C" >&6
21000 else
21001 cat >conftest.$ac_ext <<_ACEOF
21002 /* confdefs.h. */
21003 _ACEOF
21004 cat confdefs.h >>conftest.$ac_ext
21005 cat >>conftest.$ac_ext <<_ACEOF
21006 /* end confdefs.h. */
21007 #ifdef HAVE_SYS_TYPES_H
21008 #include <sys/types.h>
21009 #endif
21010 #ifdef HAVE_NETINET_IN_H
21011 # include <netinet/in.h>
21012 #endif
21013 #ifdef HAVE_ARPA_NAMESER_H
21014 # include <arpa/nameser.h>
21015 #endif
21018 main ()
21020 static ns_msg ac_aggr;
21021 if (ac_aggr._msg_ptr)
21022 return 0;
21024 return 0;
21026 _ACEOF
21027 rm -f conftest.$ac_objext
21028 if { (ac_try="$ac_compile"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21032 esac
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_compile") 2>conftest.er1
21035 ac_status=$?
21036 grep -v '^ *+' conftest.er1 >conftest.err
21037 rm -f conftest.er1
21038 cat conftest.err >&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } && {
21041 test -z "$ac_c_werror_flag" ||
21042 test ! -s conftest.err
21043 } && test -s conftest.$ac_objext; then
21044 ac_cv_member_ns_msg__msg_ptr=yes
21045 else
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 #ifdef HAVE_SYS_TYPES_H
21056 #include <sys/types.h>
21057 #endif
21058 #ifdef HAVE_NETINET_IN_H
21059 # include <netinet/in.h>
21060 #endif
21061 #ifdef HAVE_ARPA_NAMESER_H
21062 # include <arpa/nameser.h>
21063 #endif
21066 main ()
21068 static ns_msg ac_aggr;
21069 if (sizeof ac_aggr._msg_ptr)
21070 return 0;
21072 return 0;
21074 _ACEOF
21075 rm -f conftest.$ac_objext
21076 if { (ac_try="$ac_compile"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21080 esac
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_compile") 2>conftest.er1
21083 ac_status=$?
21084 grep -v '^ *+' conftest.er1 >conftest.err
21085 rm -f conftest.er1
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } && {
21089 test -z "$ac_c_werror_flag" ||
21090 test ! -s conftest.err
21091 } && test -s conftest.$ac_objext; then
21092 ac_cv_member_ns_msg__msg_ptr=yes
21093 else
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.$ac_ext >&5
21097 ac_cv_member_ns_msg__msg_ptr=no
21100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21105 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21106 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21107 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21109 cat >>confdefs.h <<_ACEOF
21110 #define HAVE_NS_MSG__MSG_PTR 1
21111 _ACEOF
21117 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21118 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21119 if test "${ac_cv_have_timezone+set}" = set; then
21120 echo $ECHO_N "(cached) $ECHO_C" >&6
21121 else
21122 cat >conftest.$ac_ext <<_ACEOF
21123 /* confdefs.h. */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 #include <time.h>
21130 main ()
21132 timezone = 1
21134 return 0;
21136 _ACEOF
21137 rm -f conftest.$ac_objext conftest$ac_exeext
21138 if { (ac_try="$ac_link"
21139 case "(($ac_try" in
21140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21141 *) ac_try_echo=$ac_try;;
21142 esac
21143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21144 (eval "$ac_link") 2>conftest.er1
21145 ac_status=$?
21146 grep -v '^ *+' conftest.er1 >conftest.err
21147 rm -f conftest.er1
21148 cat conftest.err >&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } && {
21151 test -z "$ac_c_werror_flag" ||
21152 test ! -s conftest.err
21153 } && test -s conftest$ac_exeext &&
21154 $as_test_x conftest$ac_exeext; then
21155 ac_cv_have_timezone="yes"
21156 else
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.$ac_ext >&5
21160 ac_cv_have_timezone="no"
21163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21164 conftest$ac_exeext conftest.$ac_ext
21166 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21167 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21168 if test "$ac_cv_have_timezone" = "yes"
21169 then
21171 cat >>confdefs.h <<\_ACEOF
21172 #define HAVE_TIMEZONE 1
21173 _ACEOF
21176 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21177 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21178 if test "${ac_cv_have_daylight+set}" = set; then
21179 echo $ECHO_N "(cached) $ECHO_C" >&6
21180 else
21181 cat >conftest.$ac_ext <<_ACEOF
21182 /* confdefs.h. */
21183 _ACEOF
21184 cat confdefs.h >>conftest.$ac_ext
21185 cat >>conftest.$ac_ext <<_ACEOF
21186 /* end confdefs.h. */
21187 #include <time.h>
21189 main ()
21191 daylight = 1
21193 return 0;
21195 _ACEOF
21196 rm -f conftest.$ac_objext conftest$ac_exeext
21197 if { (ac_try="$ac_link"
21198 case "(($ac_try" in
21199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21200 *) ac_try_echo=$ac_try;;
21201 esac
21202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21203 (eval "$ac_link") 2>conftest.er1
21204 ac_status=$?
21205 grep -v '^ *+' conftest.er1 >conftest.err
21206 rm -f conftest.er1
21207 cat conftest.err >&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); } && {
21210 test -z "$ac_c_werror_flag" ||
21211 test ! -s conftest.err
21212 } && test -s conftest$ac_exeext &&
21213 $as_test_x conftest$ac_exeext; then
21214 ac_cv_have_daylight="yes"
21215 else
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 ac_cv_have_daylight="no"
21222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21223 conftest$ac_exeext conftest.$ac_ext
21225 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21226 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21227 if test "$ac_cv_have_daylight" = "yes"
21228 then
21230 cat >>confdefs.h <<\_ACEOF
21231 #define HAVE_DAYLIGHT 1
21232 _ACEOF
21236 { echo "$as_me:$LINENO: checking for isinf" >&5
21237 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21238 if test "${ac_cv_have_isinf+set}" = set; then
21239 echo $ECHO_N "(cached) $ECHO_C" >&6
21240 else
21241 cat >conftest.$ac_ext <<_ACEOF
21242 /* confdefs.h. */
21243 _ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 #include <math.h>
21249 main ()
21251 float f = 0.0; isinf(f)
21253 return 0;
21255 _ACEOF
21256 rm -f conftest.$ac_objext conftest$ac_exeext
21257 if { (ac_try="$ac_link"
21258 case "(($ac_try" in
21259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21260 *) ac_try_echo=$ac_try;;
21261 esac
21262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21263 (eval "$ac_link") 2>conftest.er1
21264 ac_status=$?
21265 grep -v '^ *+' conftest.er1 >conftest.err
21266 rm -f conftest.er1
21267 cat conftest.err >&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } && {
21270 test -z "$ac_c_werror_flag" ||
21271 test ! -s conftest.err
21272 } && test -s conftest$ac_exeext &&
21273 $as_test_x conftest$ac_exeext; then
21274 ac_cv_have_isinf="yes"
21275 else
21276 echo "$as_me: failed program was:" >&5
21277 sed 's/^/| /' conftest.$ac_ext >&5
21279 ac_cv_have_isinf="no"
21282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21283 conftest$ac_exeext conftest.$ac_ext
21285 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21286 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21287 if test "$ac_cv_have_isinf" = "yes"
21288 then
21290 cat >>confdefs.h <<\_ACEOF
21291 #define HAVE_ISINF 1
21292 _ACEOF
21297 case $host_cpu in
21298 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21299 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21300 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21301 echo $ECHO_N "(cached) $ECHO_C" >&6
21302 else
21303 cat >conftest.$ac_ext <<_ACEOF
21304 /* confdefs.h. */
21305 _ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21309 #ifndef __i386__
21311 #endif
21312 _ACEOF
21313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21314 $EGREP "yes" >/dev/null 2>&1; then
21315 ac_cv_cpp_def___i386__=yes
21316 else
21317 ac_cv_cpp_def___i386__=no
21319 rm -f conftest*
21322 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21323 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21324 if test $ac_cv_cpp_def___i386__ = yes; then
21325 CFLAGS="$CFLAGS -D__i386__"
21326 LINTFLAGS="$LINTFLAGS -D__i386__"
21329 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21330 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21331 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21332 echo $ECHO_N "(cached) $ECHO_C" >&6
21333 else
21334 cat >conftest.$ac_ext <<_ACEOF
21335 /* confdefs.h. */
21336 _ACEOF
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 #ifndef __x86_64__
21342 #endif
21343 _ACEOF
21344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21345 $EGREP "yes" >/dev/null 2>&1; then
21346 ac_cv_cpp_def___x86_64__=yes
21347 else
21348 ac_cv_cpp_def___x86_64__=no
21350 rm -f conftest*
21353 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21354 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21355 if test $ac_cv_cpp_def___x86_64__ = yes; then
21356 CFLAGS="$CFLAGS -D__x86_64__"
21357 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21360 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21361 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21362 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21364 else
21365 cat >conftest.$ac_ext <<_ACEOF
21366 /* confdefs.h. */
21367 _ACEOF
21368 cat confdefs.h >>conftest.$ac_ext
21369 cat >>conftest.$ac_ext <<_ACEOF
21370 /* end confdefs.h. */
21371 #ifndef __ALPHA__
21373 #endif
21374 _ACEOF
21375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21376 $EGREP "yes" >/dev/null 2>&1; then
21377 ac_cv_cpp_def___ALPHA__=yes
21378 else
21379 ac_cv_cpp_def___ALPHA__=no
21381 rm -f conftest*
21384 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21385 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21386 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21387 CFLAGS="$CFLAGS -D__ALPHA__"
21388 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21391 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21392 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21393 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 else
21396 cat >conftest.$ac_ext <<_ACEOF
21397 /* confdefs.h. */
21398 _ACEOF
21399 cat confdefs.h >>conftest.$ac_ext
21400 cat >>conftest.$ac_ext <<_ACEOF
21401 /* end confdefs.h. */
21402 #ifndef __sparc__
21404 #endif
21405 _ACEOF
21406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21407 $EGREP "yes" >/dev/null 2>&1; then
21408 ac_cv_cpp_def___sparc__=yes
21409 else
21410 ac_cv_cpp_def___sparc__=no
21412 rm -f conftest*
21415 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21416 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21417 if test $ac_cv_cpp_def___sparc__ = yes; then
21418 CFLAGS="$CFLAGS -D__sparc__"
21419 LINTFLAGS="$LINTFLAGS -D__sparc__"
21422 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21423 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21424 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21425 echo $ECHO_N "(cached) $ECHO_C" >&6
21426 else
21427 cat >conftest.$ac_ext <<_ACEOF
21428 /* confdefs.h. */
21429 _ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 #ifndef __powerpc__
21435 #endif
21436 _ACEOF
21437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21438 $EGREP "yes" >/dev/null 2>&1; then
21439 ac_cv_cpp_def___powerpc__=yes
21440 else
21441 ac_cv_cpp_def___powerpc__=no
21443 rm -f conftest*
21446 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21447 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21448 if test $ac_cv_cpp_def___powerpc__ = yes; then
21449 CFLAGS="$CFLAGS -D__powerpc__"
21450 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21453 esac
21455 case $host_vendor in
21456 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21457 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21458 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21459 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 else
21461 cat >conftest.$ac_ext <<_ACEOF
21462 /* confdefs.h. */
21463 _ACEOF
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 #ifndef __sun__
21469 #endif
21470 _ACEOF
21471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21472 $EGREP "yes" >/dev/null 2>&1; then
21473 ac_cv_cpp_def___sun__=yes
21474 else
21475 ac_cv_cpp_def___sun__=no
21477 rm -f conftest*
21480 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21481 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21482 if test $ac_cv_cpp_def___sun__ = yes; then
21483 CFLAGS="$CFLAGS -D__sun__"
21484 LINTFLAGS="$LINTFLAGS -D__sun__"
21487 esac
21490 DEPENDENCIES="### Dependencies:
21492 .INIT: Makefile
21493 .BEGIN: Makefile
21494 Makefile: dummy
21495 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21497 \$(OBJS): \$(IDL_GEN_HEADERS)
21498 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21499 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21500 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21501 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21507 ac_config_commands="$ac_config_commands include/stamp-h"
21510 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21512 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21514 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21516 ac_config_commands="$ac_config_commands dlls/user32/resources"
21518 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21520 ac_config_commands="$ac_config_commands include/wine"
21523 MAKE_RULES=Make.rules
21526 MAKE_DLL_RULES=dlls/Makedll.rules
21529 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21532 MAKE_TEST_RULES=dlls/Maketest.rules
21535 MAKE_PROG_RULES=programs/Makeprog.rules
21538 ac_config_files="$ac_config_files Make.rules"
21540 ac_config_files="$ac_config_files dlls/Makedll.rules"
21542 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21544 ac_config_files="$ac_config_files dlls/Maketest.rules"
21546 ac_config_files="$ac_config_files programs/Makeprog.rules"
21548 ac_config_files="$ac_config_files Makefile"
21550 ac_config_files="$ac_config_files dlls/Makefile"
21552 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21554 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21556 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21558 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21560 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21562 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21564 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21566 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21568 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21570 ac_config_files="$ac_config_files dlls/atl/Makefile"
21572 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21574 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21576 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21578 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21580 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21582 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21584 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21586 ac_config_files="$ac_config_files dlls/cards/Makefile"
21588 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21590 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21592 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21594 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21596 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21598 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21602 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21604 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21606 ac_config_files="$ac_config_files dlls/credui/Makefile"
21608 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21610 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21612 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21614 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21616 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21618 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21620 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21622 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21624 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21626 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21628 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21630 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21632 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21634 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21636 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21638 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21640 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21642 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21644 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21646 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21648 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21650 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21652 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21654 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21656 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21658 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21660 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21662 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21664 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21666 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21668 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21670 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21672 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21674 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21676 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21680 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21682 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21684 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21686 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21688 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21690 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21692 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21694 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21696 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21698 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21700 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21702 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21704 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21706 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21708 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21710 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21712 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21714 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21716 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21718 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21720 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21722 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21724 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21726 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21728 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21730 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21732 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21734 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21736 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21738 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21740 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21742 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21744 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21746 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21748 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21750 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21752 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21754 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21756 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21758 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21760 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21762 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21766 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21768 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21770 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21772 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21774 ac_config_files="$ac_config_files dlls/hal/Makefile"
21776 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21778 ac_config_files="$ac_config_files dlls/hid/Makefile"
21780 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21782 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21784 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21786 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21788 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21790 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21792 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21794 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21796 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21798 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21800 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21802 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21804 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21806 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21808 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21810 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21812 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21814 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21816 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21818 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21820 ac_config_files="$ac_config_files dlls/itss/Makefile"
21822 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21824 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21826 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21828 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21830 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21832 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21834 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21836 ac_config_files="$ac_config_files dlls/localui/Makefile"
21838 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21840 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21842 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21844 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21846 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21848 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21850 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21852 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21854 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21856 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21858 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21860 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21862 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21864 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21866 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21868 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21870 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21872 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21874 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21876 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21878 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21880 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21882 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21884 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21886 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21888 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21890 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21892 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21894 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21896 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21898 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21900 ac_config_files="$ac_config_files dlls/msi/Makefile"
21902 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21904 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21906 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21908 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21910 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21912 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21914 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21916 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21918 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21920 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21922 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21924 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21926 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21928 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21930 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21932 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21934 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21936 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21938 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21940 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21944 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21946 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21948 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21950 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21952 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21954 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21956 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21958 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21960 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21962 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21964 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21966 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21968 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21970 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21972 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21974 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21976 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21978 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21980 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21982 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21984 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21986 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21988 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21990 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21992 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21994 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21996 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21998 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22000 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22002 ac_config_files="$ac_config_files dlls/printui/Makefile"
22004 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22006 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22008 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22010 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22012 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22014 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22016 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22018 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22020 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22022 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22024 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22026 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22028 ac_config_files="$ac_config_files dlls/query/Makefile"
22030 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22032 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22034 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22036 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22038 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22040 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22042 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22044 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22046 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22048 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22050 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22052 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22054 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22056 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22058 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22060 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22062 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22064 ac_config_files="$ac_config_files dlls/security/Makefile"
22066 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22068 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22070 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22072 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22074 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22076 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22078 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22080 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22082 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22084 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22086 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22088 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22090 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22092 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22094 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22096 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22098 ac_config_files="$ac_config_files dlls/slc/Makefile"
22100 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22102 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22104 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22106 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22108 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22110 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22112 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22114 ac_config_files="$ac_config_files dlls/sti/Makefile"
22116 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22118 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22120 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22122 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22124 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22126 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22128 ac_config_files="$ac_config_files dlls/url/Makefile"
22130 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22132 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22134 ac_config_files="$ac_config_files dlls/user32/Makefile"
22136 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22138 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22140 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22142 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22144 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22146 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22148 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22150 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22152 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22154 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22156 ac_config_files="$ac_config_files dlls/version/Makefile"
22158 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22160 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22162 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22164 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22166 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22168 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22170 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22172 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22174 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22176 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22178 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22180 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22182 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22184 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22186 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22188 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22190 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22192 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22194 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22196 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22198 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22200 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22202 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22204 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22206 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22208 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22210 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22212 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22214 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22216 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22218 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22220 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22222 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22224 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22226 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22228 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22230 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22232 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22234 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22236 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22238 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22240 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22242 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22244 ac_config_files="$ac_config_files documentation/Makefile"
22246 ac_config_files="$ac_config_files fonts/Makefile"
22248 ac_config_files="$ac_config_files include/Makefile"
22250 ac_config_files="$ac_config_files libs/Makefile"
22252 ac_config_files="$ac_config_files libs/port/Makefile"
22254 ac_config_files="$ac_config_files libs/wine/Makefile"
22256 ac_config_files="$ac_config_files libs/wpp/Makefile"
22258 ac_config_files="$ac_config_files loader/Makefile"
22260 ac_config_files="$ac_config_files programs/Makefile"
22262 ac_config_files="$ac_config_files programs/clock/Makefile"
22264 ac_config_files="$ac_config_files programs/cmd/Makefile"
22266 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22268 ac_config_files="$ac_config_files programs/control/Makefile"
22270 ac_config_files="$ac_config_files programs/eject/Makefile"
22272 ac_config_files="$ac_config_files programs/expand/Makefile"
22274 ac_config_files="$ac_config_files programs/explorer/Makefile"
22276 ac_config_files="$ac_config_files programs/hh/Makefile"
22278 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22280 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22282 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22284 ac_config_files="$ac_config_files programs/net/Makefile"
22286 ac_config_files="$ac_config_files programs/notepad/Makefile"
22288 ac_config_files="$ac_config_files programs/oleview/Makefile"
22290 ac_config_files="$ac_config_files programs/progman/Makefile"
22292 ac_config_files="$ac_config_files programs/reg/Makefile"
22294 ac_config_files="$ac_config_files programs/regedit/Makefile"
22296 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22298 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22300 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22302 ac_config_files="$ac_config_files programs/secedit/Makefile"
22304 ac_config_files="$ac_config_files programs/services/Makefile"
22306 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22308 ac_config_files="$ac_config_files programs/start/Makefile"
22310 ac_config_files="$ac_config_files programs/svchost/Makefile"
22312 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22314 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22316 ac_config_files="$ac_config_files programs/view/Makefile"
22318 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22320 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22322 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22324 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22326 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22328 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22330 ac_config_files="$ac_config_files programs/winefile/Makefile"
22332 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22334 ac_config_files="$ac_config_files programs/winemine/Makefile"
22336 ac_config_files="$ac_config_files programs/winepath/Makefile"
22338 ac_config_files="$ac_config_files programs/winetest/Makefile"
22340 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22342 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22344 ac_config_files="$ac_config_files programs/winver/Makefile"
22346 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22348 ac_config_files="$ac_config_files programs/write/Makefile"
22350 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22352 ac_config_files="$ac_config_files server/Makefile"
22354 ac_config_files="$ac_config_files tools/Makefile"
22356 ac_config_files="$ac_config_files tools/widl/Makefile"
22358 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22360 ac_config_files="$ac_config_files tools/winedump/Makefile"
22362 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22364 ac_config_files="$ac_config_files tools/wmc/Makefile"
22366 ac_config_files="$ac_config_files tools/wrc/Makefile"
22369 cat >confcache <<\_ACEOF
22370 # This file is a shell script that caches the results of configure
22371 # tests run on this system so they can be shared between configure
22372 # scripts and configure runs, see configure's option --config-cache.
22373 # It is not useful on other systems. If it contains results you don't
22374 # want to keep, you may remove or edit it.
22376 # config.status only pays attention to the cache file if you give it
22377 # the --recheck option to rerun configure.
22379 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22380 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22381 # following values.
22383 _ACEOF
22385 # The following way of writing the cache mishandles newlines in values,
22386 # but we know of no workaround that is simple, portable, and efficient.
22387 # So, we kill variables containing newlines.
22388 # Ultrix sh set writes to stderr and can't be redirected directly,
22389 # and sets the high bit in the cache file unless we assign to the vars.
22391 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22392 eval ac_val=\$$ac_var
22393 case $ac_val in #(
22394 *${as_nl}*)
22395 case $ac_var in #(
22396 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22397 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22398 esac
22399 case $ac_var in #(
22400 _ | IFS | as_nl) ;; #(
22401 *) $as_unset $ac_var ;;
22402 esac ;;
22403 esac
22404 done
22406 (set) 2>&1 |
22407 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22408 *${as_nl}ac_space=\ *)
22409 # `set' does not quote correctly, so add quotes (double-quote
22410 # substitution turns \\\\ into \\, and sed turns \\ into \).
22411 sed -n \
22412 "s/'/'\\\\''/g;
22413 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22414 ;; #(
22416 # `set' quotes correctly as required by POSIX, so do not add quotes.
22417 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22419 esac |
22420 sort
22422 sed '
22423 /^ac_cv_env_/b end
22424 t clear
22425 :clear
22426 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22427 t end
22428 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22429 :end' >>confcache
22430 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22431 if test -w "$cache_file"; then
22432 test "x$cache_file" != "x/dev/null" &&
22433 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22434 echo "$as_me: updating cache $cache_file" >&6;}
22435 cat confcache >$cache_file
22436 else
22437 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22438 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22441 rm -f confcache
22443 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22444 # Let make expand exec_prefix.
22445 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22447 DEFS=-DHAVE_CONFIG_H
22449 ac_libobjs=
22450 ac_ltlibobjs=
22451 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22452 # 1. Remove the extension, and $U if already installed.
22453 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22454 ac_i=`echo "$ac_i" | sed "$ac_script"`
22455 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22456 # will be set to the directory where LIBOBJS objects are built.
22457 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22458 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22459 done
22460 LIBOBJS=$ac_libobjs
22462 LTLIBOBJS=$ac_ltlibobjs
22466 : ${CONFIG_STATUS=./config.status}
22467 ac_clean_files_save=$ac_clean_files
22468 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22469 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22470 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22471 cat >$CONFIG_STATUS <<_ACEOF
22472 #! $SHELL
22473 # Generated by $as_me.
22474 # Run this file to recreate the current configuration.
22475 # Compiler output produced by configure, useful for debugging
22476 # configure, is in config.log if it exists.
22478 debug=false
22479 ac_cs_recheck=false
22480 ac_cs_silent=false
22481 SHELL=\${CONFIG_SHELL-$SHELL}
22482 _ACEOF
22484 cat >>$CONFIG_STATUS <<\_ACEOF
22485 ## --------------------- ##
22486 ## M4sh Initialization. ##
22487 ## --------------------- ##
22489 # Be more Bourne compatible
22490 DUALCASE=1; export DUALCASE # for MKS sh
22491 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22492 emulate sh
22493 NULLCMD=:
22494 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22495 # is contrary to our usage. Disable this feature.
22496 alias -g '${1+"$@"}'='"$@"'
22497 setopt NO_GLOB_SUBST
22498 else
22499 case `(set -o) 2>/dev/null` in
22500 *posix*) set -o posix ;;
22501 esac
22508 # PATH needs CR
22509 # Avoid depending upon Character Ranges.
22510 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22511 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22512 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22513 as_cr_digits='0123456789'
22514 as_cr_alnum=$as_cr_Letters$as_cr_digits
22516 # The user is always right.
22517 if test "${PATH_SEPARATOR+set}" != set; then
22518 echo "#! /bin/sh" >conf$$.sh
22519 echo "exit 0" >>conf$$.sh
22520 chmod +x conf$$.sh
22521 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22522 PATH_SEPARATOR=';'
22523 else
22524 PATH_SEPARATOR=:
22526 rm -f conf$$.sh
22529 # Support unset when possible.
22530 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22531 as_unset=unset
22532 else
22533 as_unset=false
22537 # IFS
22538 # We need space, tab and new line, in precisely that order. Quoting is
22539 # there to prevent editors from complaining about space-tab.
22540 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22541 # splitting by setting IFS to empty value.)
22542 as_nl='
22544 IFS=" "" $as_nl"
22546 # Find who we are. Look in the path if we contain no directory separator.
22547 case $0 in
22548 *[\\/]* ) as_myself=$0 ;;
22549 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22550 for as_dir in $PATH
22552 IFS=$as_save_IFS
22553 test -z "$as_dir" && as_dir=.
22554 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22555 done
22556 IFS=$as_save_IFS
22559 esac
22560 # We did not find ourselves, most probably we were run as `sh COMMAND'
22561 # in which case we are not to be found in the path.
22562 if test "x$as_myself" = x; then
22563 as_myself=$0
22565 if test ! -f "$as_myself"; then
22566 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22567 { (exit 1); exit 1; }
22570 # Work around bugs in pre-3.0 UWIN ksh.
22571 for as_var in ENV MAIL MAILPATH
22572 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22573 done
22574 PS1='$ '
22575 PS2='> '
22576 PS4='+ '
22578 # NLS nuisances.
22579 for as_var in \
22580 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22581 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22582 LC_TELEPHONE LC_TIME
22584 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22585 eval $as_var=C; export $as_var
22586 else
22587 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22589 done
22591 # Required to use basename.
22592 if expr a : '\(a\)' >/dev/null 2>&1 &&
22593 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22594 as_expr=expr
22595 else
22596 as_expr=false
22599 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22600 as_basename=basename
22601 else
22602 as_basename=false
22606 # Name of the executable.
22607 as_me=`$as_basename -- "$0" ||
22608 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22609 X"$0" : 'X\(//\)$' \| \
22610 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22611 echo X/"$0" |
22612 sed '/^.*\/\([^/][^/]*\)\/*$/{
22613 s//\1/
22616 /^X\/\(\/\/\)$/{
22617 s//\1/
22620 /^X\/\(\/\).*/{
22621 s//\1/
22624 s/.*/./; q'`
22626 # CDPATH.
22627 $as_unset CDPATH
22631 as_lineno_1=$LINENO
22632 as_lineno_2=$LINENO
22633 test "x$as_lineno_1" != "x$as_lineno_2" &&
22634 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22636 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22637 # uniformly replaced by the line number. The first 'sed' inserts a
22638 # line-number line after each line using $LINENO; the second 'sed'
22639 # does the real work. The second script uses 'N' to pair each
22640 # line-number line with the line containing $LINENO, and appends
22641 # trailing '-' during substitution so that $LINENO is not a special
22642 # case at line end.
22643 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22644 # scripts with optimization help from Paolo Bonzini. Blame Lee
22645 # E. McMahon (1931-1989) for sed's syntax. :-)
22646 sed -n '
22648 /[$]LINENO/=
22649 ' <$as_myself |
22650 sed '
22651 s/[$]LINENO.*/&-/
22652 t lineno
22654 :lineno
22656 :loop
22657 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22658 t loop
22659 s/-\n.*//
22660 ' >$as_me.lineno &&
22661 chmod +x "$as_me.lineno" ||
22662 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22663 { (exit 1); exit 1; }; }
22665 # Don't try to exec as it changes $[0], causing all sort of problems
22666 # (the dirname of $[0] is not the place where we might find the
22667 # original and so on. Autoconf is especially sensitive to this).
22668 . "./$as_me.lineno"
22669 # Exit status is that of the last command.
22670 exit
22674 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22675 as_dirname=dirname
22676 else
22677 as_dirname=false
22680 ECHO_C= ECHO_N= ECHO_T=
22681 case `echo -n x` in
22682 -n*)
22683 case `echo 'x\c'` in
22684 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22685 *) ECHO_C='\c';;
22686 esac;;
22688 ECHO_N='-n';;
22689 esac
22691 if expr a : '\(a\)' >/dev/null 2>&1 &&
22692 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22693 as_expr=expr
22694 else
22695 as_expr=false
22698 rm -f conf$$ conf$$.exe conf$$.file
22699 if test -d conf$$.dir; then
22700 rm -f conf$$.dir/conf$$.file
22701 else
22702 rm -f conf$$.dir
22703 mkdir conf$$.dir
22705 echo >conf$$.file
22706 if ln -s conf$$.file conf$$ 2>/dev/null; then
22707 as_ln_s='ln -s'
22708 # ... but there are two gotchas:
22709 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22710 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22711 # In both cases, we have to default to `cp -p'.
22712 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22713 as_ln_s='cp -p'
22714 elif ln conf$$.file conf$$ 2>/dev/null; then
22715 as_ln_s=ln
22716 else
22717 as_ln_s='cp -p'
22719 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22720 rmdir conf$$.dir 2>/dev/null
22722 if mkdir -p . 2>/dev/null; then
22723 as_mkdir_p=:
22724 else
22725 test -d ./-p && rmdir ./-p
22726 as_mkdir_p=false
22729 if test -x / >/dev/null 2>&1; then
22730 as_test_x='test -x'
22731 else
22732 if ls -dL / >/dev/null 2>&1; then
22733 as_ls_L_option=L
22734 else
22735 as_ls_L_option=
22737 as_test_x='
22738 eval sh -c '\''
22739 if test -d "$1"; then
22740 test -d "$1/.";
22741 else
22742 case $1 in
22743 -*)set "./$1";;
22744 esac;
22745 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22746 ???[sx]*):;;*)false;;esac;fi
22747 '\'' sh
22750 as_executable_p=$as_test_x
22752 # Sed expression to map a string onto a valid CPP name.
22753 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22755 # Sed expression to map a string onto a valid variable name.
22756 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22759 exec 6>&1
22761 # Save the log message, to keep $[0] and so on meaningful, and to
22762 # report actual input values of CONFIG_FILES etc. instead of their
22763 # values after options handling.
22764 ac_log="
22765 This file was extended by Wine $as_me 1.0-rc5, which was
22766 generated by GNU Autoconf 2.61. Invocation command line was
22768 CONFIG_FILES = $CONFIG_FILES
22769 CONFIG_HEADERS = $CONFIG_HEADERS
22770 CONFIG_LINKS = $CONFIG_LINKS
22771 CONFIG_COMMANDS = $CONFIG_COMMANDS
22772 $ $0 $@
22774 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22777 _ACEOF
22779 cat >>$CONFIG_STATUS <<_ACEOF
22780 # Files that config.status was made for.
22781 config_files="$ac_config_files"
22782 config_headers="$ac_config_headers"
22783 config_commands="$ac_config_commands"
22785 _ACEOF
22787 cat >>$CONFIG_STATUS <<\_ACEOF
22788 ac_cs_usage="\
22789 \`$as_me' instantiates files from templates according to the
22790 current configuration.
22792 Usage: $0 [OPTIONS] [FILE]...
22794 -h, --help print this help, then exit
22795 -V, --version print version number and configuration settings, then exit
22796 -q, --quiet do not print progress messages
22797 -d, --debug don't remove temporary files
22798 --recheck update $as_me by reconfiguring in the same conditions
22799 --file=FILE[:TEMPLATE]
22800 instantiate the configuration file FILE
22801 --header=FILE[:TEMPLATE]
22802 instantiate the configuration header FILE
22804 Configuration files:
22805 $config_files
22807 Configuration headers:
22808 $config_headers
22810 Configuration commands:
22811 $config_commands
22813 Report bugs to <bug-autoconf@gnu.org>."
22815 _ACEOF
22816 cat >>$CONFIG_STATUS <<_ACEOF
22817 ac_cs_version="\\
22818 Wine config.status 1.0-rc5
22819 configured by $0, generated by GNU Autoconf 2.61,
22820 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22822 Copyright (C) 2006 Free Software Foundation, Inc.
22823 This config.status script is free software; the Free Software Foundation
22824 gives unlimited permission to copy, distribute and modify it."
22826 ac_pwd='$ac_pwd'
22827 srcdir='$srcdir'
22828 INSTALL='$INSTALL'
22829 _ACEOF
22831 cat >>$CONFIG_STATUS <<\_ACEOF
22832 # If no file are specified by the user, then we need to provide default
22833 # value. By we need to know if files were specified by the user.
22834 ac_need_defaults=:
22835 while test $# != 0
22837 case $1 in
22838 --*=*)
22839 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22840 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22841 ac_shift=:
22844 ac_option=$1
22845 ac_optarg=$2
22846 ac_shift=shift
22848 esac
22850 case $ac_option in
22851 # Handling of the options.
22852 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22853 ac_cs_recheck=: ;;
22854 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22855 echo "$ac_cs_version"; exit ;;
22856 --debug | --debu | --deb | --de | --d | -d )
22857 debug=: ;;
22858 --file | --fil | --fi | --f )
22859 $ac_shift
22860 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22861 ac_need_defaults=false;;
22862 --header | --heade | --head | --hea )
22863 $ac_shift
22864 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22865 ac_need_defaults=false;;
22866 --he | --h)
22867 # Conflict between --help and --header
22868 { echo "$as_me: error: ambiguous option: $1
22869 Try \`$0 --help' for more information." >&2
22870 { (exit 1); exit 1; }; };;
22871 --help | --hel | -h )
22872 echo "$ac_cs_usage"; exit ;;
22873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22874 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22875 ac_cs_silent=: ;;
22877 # This is an error.
22878 -*) { echo "$as_me: error: unrecognized option: $1
22879 Try \`$0 --help' for more information." >&2
22880 { (exit 1); exit 1; }; } ;;
22882 *) ac_config_targets="$ac_config_targets $1"
22883 ac_need_defaults=false ;;
22885 esac
22886 shift
22887 done
22889 ac_configure_extra_args=
22891 if $ac_cs_silent; then
22892 exec 6>/dev/null
22893 ac_configure_extra_args="$ac_configure_extra_args --silent"
22896 _ACEOF
22897 cat >>$CONFIG_STATUS <<_ACEOF
22898 if \$ac_cs_recheck; then
22899 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22900 CONFIG_SHELL=$SHELL
22901 export CONFIG_SHELL
22902 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22905 _ACEOF
22906 cat >>$CONFIG_STATUS <<\_ACEOF
22907 exec 5>>config.log
22909 echo
22910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22911 ## Running $as_me. ##
22912 _ASBOX
22913 echo "$ac_log"
22914 } >&5
22916 _ACEOF
22917 cat >>$CONFIG_STATUS <<_ACEOF
22918 _ACEOF
22920 cat >>$CONFIG_STATUS <<\_ACEOF
22922 # Handling of arguments.
22923 for ac_config_target in $ac_config_targets
22925 case $ac_config_target in
22926 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22927 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22928 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22929 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22930 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22931 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22932 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22933 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22934 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22935 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22936 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22937 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22938 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22939 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22940 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22941 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22942 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22943 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22944 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22945 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22946 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22947 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22948 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22949 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22950 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22951 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22952 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22953 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22954 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22955 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22956 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22957 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22958 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22959 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22960 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22961 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22962 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22963 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22964 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22965 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22966 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22967 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22968 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22969 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22970 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22971 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22972 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22973 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22974 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22975 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22976 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22977 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22978 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22979 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22980 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22981 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22982 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22983 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22984 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22985 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22986 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22987 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22988 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22989 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22990 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22991 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22992 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22993 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22994 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22995 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22996 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22997 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22998 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22999 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23000 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23001 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23002 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23003 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23004 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23005 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23006 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23007 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23008 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23009 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23010 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23011 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23012 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23013 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23014 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23015 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23016 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23017 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23018 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23019 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23020 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23021 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23022 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23023 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23024 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23025 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23026 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23027 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23028 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23029 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23030 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23031 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23032 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23033 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23034 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23035 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23036 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23037 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23038 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23039 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23040 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23041 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23042 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23043 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23044 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23045 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23046 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23047 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23048 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23049 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23050 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23051 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23052 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23053 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23054 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23055 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23056 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23057 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23058 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23059 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23060 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23061 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23062 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23063 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23064 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23065 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23066 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23067 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23068 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23069 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23070 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23071 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23072 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23073 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23074 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23075 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23076 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23077 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23078 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23079 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23080 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23081 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23082 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23083 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23084 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23085 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23086 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23087 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23088 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23089 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23090 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23091 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23092 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23093 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23094 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23095 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23096 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23097 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23098 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23099 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23100 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23101 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23102 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23103 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23104 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23105 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23106 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23107 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23108 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23109 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23110 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23111 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23112 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23113 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23114 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23115 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23116 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23117 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23118 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23119 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23120 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23121 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23122 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23123 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23124 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23125 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23126 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23127 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23128 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23129 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23130 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23131 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23132 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23133 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23134 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23135 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23136 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23137 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23138 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23139 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23140 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23141 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23142 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23143 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23144 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23145 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23146 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23147 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23148 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23149 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23150 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23151 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23152 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23153 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23154 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23155 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23156 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23157 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23158 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23159 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23160 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23161 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23162 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23163 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23164 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23165 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23166 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23167 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23168 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23169 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23170 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23171 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23172 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23173 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23174 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23175 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23176 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23177 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23178 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23179 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23180 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23181 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23182 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23183 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23184 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23185 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23186 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23187 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23188 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23189 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23190 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23191 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23192 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23193 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23194 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23195 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23196 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23197 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23198 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23199 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23200 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23201 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23202 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23203 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23204 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23205 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23206 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23207 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23208 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23209 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23210 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23211 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23212 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23213 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23214 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23215 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23216 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23217 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23218 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23219 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23220 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23221 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23222 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23223 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23224 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23225 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23226 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23227 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23228 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23229 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23230 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23231 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23232 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23233 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23234 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23235 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23236 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23237 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23238 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23239 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23240 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23241 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23242 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23243 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23244 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23245 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23246 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23247 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23248 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23249 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23250 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23251 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23252 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23253 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23254 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23255 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23256 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23257 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23258 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23259 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23260 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23261 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23262 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23263 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23264 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23265 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23266 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23267 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23268 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23269 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23270 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23271 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23272 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23273 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23274 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23275 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23276 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23277 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23278 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23279 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23280 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23281 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23282 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23283 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23284 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23285 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23286 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23287 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23288 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23289 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23290 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23291 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23292 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23293 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23294 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23295 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23296 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23297 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23298 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23299 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23300 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23301 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23302 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23303 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23304 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23305 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23306 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23307 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23308 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23309 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23310 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23311 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23312 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23313 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23314 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23315 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23316 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23317 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23318 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23319 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23320 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23321 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23322 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23323 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23324 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23325 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23326 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23327 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23328 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23329 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23330 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23331 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23332 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23333 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23334 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23335 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23336 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23337 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23338 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23339 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23340 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23341 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23342 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23343 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23344 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23345 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23346 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23347 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23348 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23350 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23351 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23352 { (exit 1); exit 1; }; };;
23353 esac
23354 done
23357 # If the user did not use the arguments to specify the items to instantiate,
23358 # then the envvar interface is used. Set only those that are not.
23359 # We use the long form for the default assignment because of an extremely
23360 # bizarre bug on SunOS 4.1.3.
23361 if $ac_need_defaults; then
23362 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23363 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23364 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23367 # Have a temporary directory for convenience. Make it in the build tree
23368 # simply because there is no reason against having it here, and in addition,
23369 # creating and moving files from /tmp can sometimes cause problems.
23370 # Hook for its removal unless debugging.
23371 # Note that there is a small window in which the directory will not be cleaned:
23372 # after its creation but before its name has been assigned to `$tmp'.
23373 $debug ||
23375 tmp=
23376 trap 'exit_status=$?
23377 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23379 trap '{ (exit 1); exit 1; }' 1 2 13 15
23381 # Create a (secure) tmp directory for tmp files.
23384 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23385 test -n "$tmp" && test -d "$tmp"
23386 } ||
23388 tmp=./conf$$-$RANDOM
23389 (umask 077 && mkdir "$tmp")
23390 } ||
23392 echo "$me: cannot create a temporary directory in ." >&2
23393 { (exit 1); exit 1; }
23397 # Set up the sed scripts for CONFIG_FILES section.
23400 # No need to generate the scripts if there are no CONFIG_FILES.
23401 # This happens for instance when ./config.status config.h
23402 if test -n "$CONFIG_FILES"; then
23404 _ACEOF
23406 # Create sed commands to just substitute file output variables.
23408 # Remaining file output variables are in a fragment that also has non-file
23409 # output varibles.
23413 ac_delim='%!_!# '
23414 for ac_last_try in false false false false false :; do
23415 cat >conf$$subs.sed <<_ACEOF
23416 SHELL!$SHELL$ac_delim
23417 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23418 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23419 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23420 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23421 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23422 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23423 exec_prefix!$exec_prefix$ac_delim
23424 prefix!$prefix$ac_delim
23425 program_transform_name!$program_transform_name$ac_delim
23426 bindir!$bindir$ac_delim
23427 sbindir!$sbindir$ac_delim
23428 libexecdir!$libexecdir$ac_delim
23429 datarootdir!$datarootdir$ac_delim
23430 datadir!$datadir$ac_delim
23431 sysconfdir!$sysconfdir$ac_delim
23432 sharedstatedir!$sharedstatedir$ac_delim
23433 localstatedir!$localstatedir$ac_delim
23434 includedir!$includedir$ac_delim
23435 oldincludedir!$oldincludedir$ac_delim
23436 docdir!$docdir$ac_delim
23437 infodir!$infodir$ac_delim
23438 htmldir!$htmldir$ac_delim
23439 dvidir!$dvidir$ac_delim
23440 pdfdir!$pdfdir$ac_delim
23441 psdir!$psdir$ac_delim
23442 libdir!$libdir$ac_delim
23443 localedir!$localedir$ac_delim
23444 mandir!$mandir$ac_delim
23445 DEFS!$DEFS$ac_delim
23446 ECHO_C!$ECHO_C$ac_delim
23447 ECHO_N!$ECHO_N$ac_delim
23448 ECHO_T!$ECHO_T$ac_delim
23449 LIBS!$LIBS$ac_delim
23450 build_alias!$build_alias$ac_delim
23451 host_alias!$host_alias$ac_delim
23452 target_alias!$target_alias$ac_delim
23453 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23454 build!$build$ac_delim
23455 build_cpu!$build_cpu$ac_delim
23456 build_vendor!$build_vendor$ac_delim
23457 build_os!$build_os$ac_delim
23458 host!$host$ac_delim
23459 host_cpu!$host_cpu$ac_delim
23460 host_vendor!$host_vendor$ac_delim
23461 host_os!$host_os$ac_delim
23462 WIN16_FILES!$WIN16_FILES$ac_delim
23463 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23464 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23465 WINETEST!$WINETEST$ac_delim
23466 SET_MAKE!$SET_MAKE$ac_delim
23467 CC!$CC$ac_delim
23468 CFLAGS!$CFLAGS$ac_delim
23469 LDFLAGS!$LDFLAGS$ac_delim
23470 CPPFLAGS!$CPPFLAGS$ac_delim
23471 ac_ct_CC!$ac_ct_CC$ac_delim
23472 EXEEXT!$EXEEXT$ac_delim
23473 OBJEXT!$OBJEXT$ac_delim
23474 CXX!$CXX$ac_delim
23475 CXXFLAGS!$CXXFLAGS$ac_delim
23476 ac_ct_CXX!$ac_ct_CXX$ac_delim
23477 CPPBIN!$CPPBIN$ac_delim
23478 TOOLSDIR!$TOOLSDIR$ac_delim
23479 XMKMF!$XMKMF$ac_delim
23480 CPP!$CPP$ac_delim
23481 X_CFLAGS!$X_CFLAGS$ac_delim
23482 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23483 X_LIBS!$X_LIBS$ac_delim
23484 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23485 FLEX!$FLEX$ac_delim
23486 BISON!$BISON$ac_delim
23487 AS!$AS$ac_delim
23488 ac_ct_AS!$ac_ct_AS$ac_delim
23489 LD!$LD$ac_delim
23490 AR!$AR$ac_delim
23491 ARFLAGS!$ARFLAGS$ac_delim
23492 RANLIB!$RANLIB$ac_delim
23493 STRIP!$STRIP$ac_delim
23494 WINDRES!$WINDRES$ac_delim
23495 LN_S!$LN_S$ac_delim
23496 LN!$LN$ac_delim
23497 GREP!$GREP$ac_delim
23498 _ACEOF
23500 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23501 break
23502 elif $ac_last_try; then
23503 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23504 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23505 { (exit 1); exit 1; }; }
23506 else
23507 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23509 done
23511 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23512 if test -n "$ac_eof"; then
23513 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23514 ac_eof=`expr $ac_eof + 1`
23517 cat >>$CONFIG_STATUS <<_ACEOF
23518 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23520 /^[ ]*@MAKE_RULES@[ ]*$/{
23521 r $MAKE_RULES
23524 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23525 r $MAKE_DLL_RULES
23528 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23529 r $MAKE_IMPLIB_RULES
23532 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23533 r $MAKE_TEST_RULES
23536 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23537 r $MAKE_PROG_RULES
23540 _ACEOF
23541 sed '
23542 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23543 s/^/s,@/; s/!/@,|#_!!_#|/
23546 s/'"$ac_delim"'$/,g/; t
23547 s/$/\\/; p
23548 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23549 ' >>$CONFIG_STATUS <conf$$subs.sed
23550 rm -f conf$$subs.sed
23551 cat >>$CONFIG_STATUS <<_ACEOF
23552 CEOF$ac_eof
23553 _ACEOF
23556 ac_delim='%!_!# '
23557 for ac_last_try in false false false false false :; do
23558 cat >conf$$subs.sed <<_ACEOF
23559 EGREP!$EGREP$ac_delim
23560 LDCONFIG!$LDCONFIG$ac_delim
23561 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23562 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23563 INSTALL_DATA!$INSTALL_DATA$ac_delim
23564 LINT!$LINT$ac_delim
23565 LINTFLAGS!$LINTFLAGS$ac_delim
23566 FONTFORGE!$FONTFORGE$ac_delim
23567 PKG_CONFIG!$PKG_CONFIG$ac_delim
23568 RSVG!$RSVG$ac_delim
23569 ICOTOOL!$ICOTOOL$ac_delim
23570 PRELINK!$PRELINK$ac_delim
23571 LIBPTHREAD!$LIBPTHREAD$ac_delim
23572 XLIB!$XLIB$ac_delim
23573 XFILES!$XFILES$ac_delim
23574 OPENGLFILES!$OPENGLFILES$ac_delim
23575 GLU32FILES!$GLU32FILES$ac_delim
23576 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23577 QUARTZFILES!$QUARTZFILES$ac_delim
23578 DLLEXT!$DLLEXT$ac_delim
23579 DLLFLAGS!$DLLFLAGS$ac_delim
23580 LDSHARED!$LDSHARED$ac_delim
23581 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23582 LIBEXT!$LIBEXT$ac_delim
23583 IMPLIBEXT!$IMPLIBEXT$ac_delim
23584 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23585 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23586 LDD!$LDD$ac_delim
23587 DLLTOOL!$DLLTOOL$ac_delim
23588 DLLWRAP!$DLLWRAP$ac_delim
23589 MINGWAR!$MINGWAR$ac_delim
23590 SECURITYLIB!$SECURITYLIB$ac_delim
23591 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23592 IOKITLIB!$IOKITLIB$ac_delim
23593 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23594 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23595 COREAUDIO!$COREAUDIO$ac_delim
23596 CARBONLIB!$CARBONLIB$ac_delim
23597 CROSSTEST!$CROSSTEST$ac_delim
23598 CROSSCC!$CROSSCC$ac_delim
23599 CROSSWINDRES!$CROSSWINDRES$ac_delim
23600 NASLIBS!$NASLIBS$ac_delim
23601 XML2LIBS!$XML2LIBS$ac_delim
23602 XML2INCL!$XML2INCL$ac_delim
23603 XSLTLIBS!$XSLTLIBS$ac_delim
23604 XSLTINCL!$XSLTINCL$ac_delim
23605 HALINCL!$HALINCL$ac_delim
23606 sane_devel!$sane_devel$ac_delim
23607 SANEINCL!$SANEINCL$ac_delim
23608 gphoto2_devel!$gphoto2_devel$ac_delim
23609 gphoto2port_devel!$gphoto2port_devel$ac_delim
23610 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23611 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23612 RESOLVLIBS!$RESOLVLIBS$ac_delim
23613 LCMSLIBS!$LCMSLIBS$ac_delim
23614 LDAPLIBS!$LDAPLIBS$ac_delim
23615 ft_devel!$ft_devel$ac_delim
23616 FREETYPELIBS!$FREETYPELIBS$ac_delim
23617 FREETYPEINCL!$FREETYPEINCL$ac_delim
23618 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23619 ESDCONFIG!$ESDCONFIG$ac_delim
23620 ESDLIBS!$ESDLIBS$ac_delim
23621 ESDINCL!$ESDINCL$ac_delim
23622 ALSALIBS!$ALSALIBS$ac_delim
23623 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23624 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23625 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23626 BUILTINFLAG!$BUILTINFLAG$ac_delim
23627 LDPATH!$LDPATH$ac_delim
23628 CRTLIBS!$CRTLIBS$ac_delim
23629 SOCKETLIBS!$SOCKETLIBS$ac_delim
23630 MAIN_BINARY!$MAIN_BINARY$ac_delim
23631 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23632 LIBDL!$LIBDL$ac_delim
23633 LIBPOLL!$LIBPOLL$ac_delim
23634 DEPENDENCIES!$DEPENDENCIES$ac_delim
23635 LIBOBJS!$LIBOBJS$ac_delim
23636 LTLIBOBJS!$LTLIBOBJS$ac_delim
23637 _ACEOF
23639 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
23640 break
23641 elif $ac_last_try; then
23642 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23643 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23644 { (exit 1); exit 1; }; }
23645 else
23646 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23648 done
23650 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23651 if test -n "$ac_eof"; then
23652 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23653 ac_eof=`expr $ac_eof + 1`
23656 cat >>$CONFIG_STATUS <<_ACEOF
23657 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23658 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23659 _ACEOF
23660 sed '
23661 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23662 s/^/s,@/; s/!/@,|#_!!_#|/
23665 s/'"$ac_delim"'$/,g/; t
23666 s/$/\\/; p
23667 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23668 ' >>$CONFIG_STATUS <conf$$subs.sed
23669 rm -f conf$$subs.sed
23670 cat >>$CONFIG_STATUS <<_ACEOF
23671 :end
23672 s/|#_!!_#|//g
23673 CEOF$ac_eof
23674 _ACEOF
23677 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23678 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23679 # trailing colons and then remove the whole line if VPATH becomes empty
23680 # (actually we leave an empty line to preserve line numbers).
23681 if test "x$srcdir" = x.; then
23682 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23683 s/:*\$(srcdir):*/:/
23684 s/:*\${srcdir}:*/:/
23685 s/:*@srcdir@:*/:/
23686 s/^\([^=]*=[ ]*\):*/\1/
23687 s/:*$//
23688 s/^[^=]*=[ ]*$//
23692 cat >>$CONFIG_STATUS <<\_ACEOF
23693 fi # test -n "$CONFIG_FILES"
23696 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23698 case $ac_tag in
23699 :[FHLC]) ac_mode=$ac_tag; continue;;
23700 esac
23701 case $ac_mode$ac_tag in
23702 :[FHL]*:*);;
23703 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23704 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23705 { (exit 1); exit 1; }; };;
23706 :[FH]-) ac_tag=-:-;;
23707 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23708 esac
23709 ac_save_IFS=$IFS
23710 IFS=:
23711 set x $ac_tag
23712 IFS=$ac_save_IFS
23713 shift
23714 ac_file=$1
23715 shift
23717 case $ac_mode in
23718 :L) ac_source=$1;;
23719 :[FH])
23720 ac_file_inputs=
23721 for ac_f
23723 case $ac_f in
23724 -) ac_f="$tmp/stdin";;
23725 *) # Look for the file first in the build tree, then in the source tree
23726 # (if the path is not absolute). The absolute path cannot be DOS-style,
23727 # because $ac_f cannot contain `:'.
23728 test -f "$ac_f" ||
23729 case $ac_f in
23730 [\\/$]*) false;;
23731 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23732 esac ||
23733 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23734 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23735 { (exit 1); exit 1; }; };;
23736 esac
23737 ac_file_inputs="$ac_file_inputs $ac_f"
23738 done
23740 # Let's still pretend it is `configure' which instantiates (i.e., don't
23741 # use $as_me), people would be surprised to read:
23742 # /* config.h. Generated by config.status. */
23743 configure_input="Generated from "`IFS=:
23744 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23745 if test x"$ac_file" != x-; then
23746 configure_input="$ac_file. $configure_input"
23747 { echo "$as_me:$LINENO: creating $ac_file" >&5
23748 echo "$as_me: creating $ac_file" >&6;}
23751 case $ac_tag in
23752 *:-:* | *:-) cat >"$tmp/stdin";;
23753 esac
23755 esac
23757 ac_dir=`$as_dirname -- "$ac_file" ||
23758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23759 X"$ac_file" : 'X\(//\)[^/]' \| \
23760 X"$ac_file" : 'X\(//\)$' \| \
23761 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23762 echo X"$ac_file" |
23763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23764 s//\1/
23767 /^X\(\/\/\)[^/].*/{
23768 s//\1/
23771 /^X\(\/\/\)$/{
23772 s//\1/
23775 /^X\(\/\).*/{
23776 s//\1/
23779 s/.*/./; q'`
23780 { as_dir="$ac_dir"
23781 case $as_dir in #(
23782 -*) as_dir=./$as_dir;;
23783 esac
23784 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23785 as_dirs=
23786 while :; do
23787 case $as_dir in #(
23788 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23789 *) as_qdir=$as_dir;;
23790 esac
23791 as_dirs="'$as_qdir' $as_dirs"
23792 as_dir=`$as_dirname -- "$as_dir" ||
23793 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23794 X"$as_dir" : 'X\(//\)[^/]' \| \
23795 X"$as_dir" : 'X\(//\)$' \| \
23796 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23797 echo X"$as_dir" |
23798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23799 s//\1/
23802 /^X\(\/\/\)[^/].*/{
23803 s//\1/
23806 /^X\(\/\/\)$/{
23807 s//\1/
23810 /^X\(\/\).*/{
23811 s//\1/
23814 s/.*/./; q'`
23815 test -d "$as_dir" && break
23816 done
23817 test -z "$as_dirs" || eval "mkdir $as_dirs"
23818 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23819 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23820 { (exit 1); exit 1; }; }; }
23821 ac_builddir=.
23823 case "$ac_dir" in
23824 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23826 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23827 # A ".." for each directory in $ac_dir_suffix.
23828 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23829 case $ac_top_builddir_sub in
23830 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23831 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23832 esac ;;
23833 esac
23834 ac_abs_top_builddir=$ac_pwd
23835 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23836 # for backward compatibility:
23837 ac_top_builddir=$ac_top_build_prefix
23839 case $srcdir in
23840 .) # We are building in place.
23841 ac_srcdir=.
23842 ac_top_srcdir=$ac_top_builddir_sub
23843 ac_abs_top_srcdir=$ac_pwd ;;
23844 [\\/]* | ?:[\\/]* ) # Absolute name.
23845 ac_srcdir=$srcdir$ac_dir_suffix;
23846 ac_top_srcdir=$srcdir
23847 ac_abs_top_srcdir=$srcdir ;;
23848 *) # Relative name.
23849 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23850 ac_top_srcdir=$ac_top_build_prefix$srcdir
23851 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23852 esac
23853 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23856 case $ac_mode in
23859 # CONFIG_FILE
23862 case $INSTALL in
23863 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23864 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23865 esac
23866 _ACEOF
23868 cat >>$CONFIG_STATUS <<\_ACEOF
23869 # If the template does not know about datarootdir, expand it.
23870 # FIXME: This hack should be removed a few years after 2.60.
23871 ac_datarootdir_hack=; ac_datarootdir_seen=
23873 case `sed -n '/datarootdir/ {
23877 /@datadir@/p
23878 /@docdir@/p
23879 /@infodir@/p
23880 /@localedir@/p
23881 /@mandir@/p
23882 ' $ac_file_inputs` in
23883 *datarootdir*) ac_datarootdir_seen=yes;;
23884 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23885 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23886 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23887 _ACEOF
23888 cat >>$CONFIG_STATUS <<_ACEOF
23889 ac_datarootdir_hack='
23890 s&@datadir@&$datadir&g
23891 s&@docdir@&$docdir&g
23892 s&@infodir@&$infodir&g
23893 s&@localedir@&$localedir&g
23894 s&@mandir@&$mandir&g
23895 s&\\\${datarootdir}&$datarootdir&g' ;;
23896 esac
23897 _ACEOF
23899 # Neutralize VPATH when `$srcdir' = `.'.
23900 # Shell code in configure.ac might set extrasub.
23901 # FIXME: do we really want to maintain this feature?
23902 cat >>$CONFIG_STATUS <<_ACEOF
23903 sed "$ac_vpsub
23904 $extrasub
23905 _ACEOF
23906 cat >>$CONFIG_STATUS <<\_ACEOF
23908 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23909 s&@configure_input@&$configure_input&;t t
23910 s&@top_builddir@&$ac_top_builddir_sub&;t t
23911 s&@srcdir@&$ac_srcdir&;t t
23912 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23913 s&@top_srcdir@&$ac_top_srcdir&;t t
23914 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23915 s&@builddir@&$ac_builddir&;t t
23916 s&@abs_builddir@&$ac_abs_builddir&;t t
23917 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23918 s&@INSTALL@&$ac_INSTALL&;t t
23919 $ac_datarootdir_hack
23920 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23922 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23923 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23924 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23925 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23926 which seems to be undefined. Please make sure it is defined." >&5
23927 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23928 which seems to be undefined. Please make sure it is defined." >&2;}
23930 rm -f "$tmp/stdin"
23931 case $ac_file in
23932 -) cat "$tmp/out"; rm -f "$tmp/out";;
23933 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23934 esac
23938 # CONFIG_HEADER
23940 _ACEOF
23942 # Transform confdefs.h into a sed script `conftest.defines', that
23943 # substitutes the proper values into config.h.in to produce config.h.
23944 rm -f conftest.defines conftest.tail
23945 # First, append a space to every undef/define line, to ease matching.
23946 echo 's/$/ /' >conftest.defines
23947 # Then, protect against being on the right side of a sed subst, or in
23948 # an unquoted here document, in config.status. If some macros were
23949 # called several times there might be several #defines for the same
23950 # symbol, which is useless. But do not sort them, since the last
23951 # AC_DEFINE must be honored.
23952 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23953 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23954 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23955 # PARAMS is the parameter list in the macro definition--in most cases, it's
23956 # just an empty string.
23957 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23958 ac_dB='\\)[ (].*,\\1define\\2'
23959 ac_dC=' '
23960 ac_dD=' ,'
23962 uniq confdefs.h |
23963 sed -n '
23964 t rset
23965 :rset
23966 s/^[ ]*#[ ]*define[ ][ ]*//
23967 t ok
23970 s/[\\&,]/\\&/g
23971 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23972 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23973 ' >>conftest.defines
23975 # Remove the space that was appended to ease matching.
23976 # Then replace #undef with comments. This is necessary, for
23977 # example, in the case of _POSIX_SOURCE, which is predefined and required
23978 # on some systems where configure will not decide to define it.
23979 # (The regexp can be short, since the line contains either #define or #undef.)
23980 echo 's/ $//
23981 s,^[ #]*u.*,/* & */,' >>conftest.defines
23983 # Break up conftest.defines:
23984 ac_max_sed_lines=50
23986 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23987 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23988 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23989 # et cetera.
23990 ac_in='$ac_file_inputs'
23991 ac_out='"$tmp/out1"'
23992 ac_nxt='"$tmp/out2"'
23994 while :
23996 # Write a here document:
23997 cat >>$CONFIG_STATUS <<_ACEOF
23998 # First, check the format of the line:
23999 cat >"\$tmp/defines.sed" <<\\CEOF
24000 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24001 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24003 :def
24004 _ACEOF
24005 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24006 echo 'CEOF
24007 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24008 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24009 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24010 grep . conftest.tail >/dev/null || break
24011 rm -f conftest.defines
24012 mv conftest.tail conftest.defines
24013 done
24014 rm -f conftest.defines conftest.tail
24016 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24017 cat >>$CONFIG_STATUS <<\_ACEOF
24018 if test x"$ac_file" != x-; then
24019 echo "/* $configure_input */" >"$tmp/config.h"
24020 cat "$ac_result" >>"$tmp/config.h"
24021 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24022 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24023 echo "$as_me: $ac_file is unchanged" >&6;}
24024 else
24025 rm -f $ac_file
24026 mv "$tmp/config.h" $ac_file
24028 else
24029 echo "/* $configure_input */"
24030 cat "$ac_result"
24032 rm -f "$tmp/out12"
24035 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24036 echo "$as_me: executing $ac_file commands" >&6;}
24038 esac
24041 case $ac_file$ac_mode in
24042 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24043 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24044 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24045 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24046 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24047 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24048 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24049 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24050 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24051 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24052 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24053 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24054 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24056 esac
24057 done # for ac_tag
24060 { (exit 0); exit 0; }
24061 _ACEOF
24062 chmod +x $CONFIG_STATUS
24063 ac_clean_files=$ac_clean_files_save
24066 # configure is writing to config.log, and then calls config.status.
24067 # config.status does its own redirection, appending to config.log.
24068 # Unfortunately, on DOS this fails, as config.log is still kept open
24069 # by configure, so config.status won't be able to write to it; its
24070 # output is simply discarded. So we exec the FD to /dev/null,
24071 # effectively closing config.log, so it can be properly (re)opened and
24072 # appended to by config.status. When coming back to configure, we
24073 # need to make the FD available again.
24074 if test "$no_create" != yes; then
24075 ac_cs_success=:
24076 ac_config_status_args=
24077 test "$silent" = yes &&
24078 ac_config_status_args="$ac_config_status_args --quiet"
24079 exec 5>/dev/null
24080 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24081 exec 5>>config.log
24082 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24083 # would make configure fail if this is the last instruction.
24084 $ac_cs_success || { (exit 1); exit 1; }
24088 if test "$no_create" = "yes"
24089 then
24090 exit 0
24093 ac_save_IFS="$IFS"
24094 IFS="|"
24095 if test "x$wine_notices != "x; then
24096 echo >&6
24097 for msg in $wine_notices; do
24098 if test -n "$msg"; then
24099 { echo "$as_me:$LINENO: $msg" >&5
24100 echo "$as_me: $msg" >&6;}
24102 done
24104 for msg in $wine_warnings; do
24105 if test -n "$msg"; then
24106 echo >&2
24107 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24108 echo "$as_me: WARNING: $msg" >&2;}
24110 done
24111 IFS="$ac_save_IFS"
24113 echo "
24114 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24115 " >&6