push e0df906da86d63b02e6627be29199d5f00b65b36
[wine/hacks.git] / configure
blob148b5a8edc28440ca4cae80ddd4f6a2fb073389c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0-rc1.
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-rc1'
578 PACKAGE_STRING='Wine 1.0-rc1'
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-rc1 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-rc1:";;
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-gphoto do not use gphoto (Digital Camera support)
1394 --without-glu do not use the GLU library
1395 --without-hal do not use HAL (dynamic device support)
1396 --without-jack do not use the Jack sound support
1397 --without-jpeg do not use JPEG
1398 --without-ldap do not use LDAP
1399 --without-nas do not use the NAS sound support
1400 --without-opengl do not use OpenGL
1401 --without-openssl do not use OpenSSL
1402 --without-oss do not use the OSS sound support
1403 --without-png do not use PNG
1404 --without-sane do not use SANE (scanner support)
1405 --without-xcomposite do not use the Xcomposite extension
1406 --without-xcursor do not use the Xcursor extension
1407 --without-xinerama do not use Xinerama (multi-monitor support)
1408 --without-xinput do not use the Xinput extension
1409 --without-xml do not use XML
1410 --without-xrandr do not use Xrandr (resolution changes)
1411 --without-xrender do not use the Xrender extension
1412 --without-xshape do not use the Xshape extension
1413 --without-xshm do not use XShm (shared memory extension)
1414 --without-xslt do not use XSLT
1415 --without-xvidmode do not use XFree video mode extension
1416 --with-wine-tools=DIR use Wine tools from directory DIR
1417 --with-x use the X Window System
1419 Some influential environment variables:
1420 CC C compiler command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1423 nonstandard directory <lib dir>
1424 LIBS libraries to pass to the linker, e.g. -l<library>
1425 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1426 you have headers in a nonstandard directory <include dir>
1427 CXX C++ compiler command
1428 CXXFLAGS C++ compiler flags
1429 XMKMF Path to xmkmf, Makefile generator for X Window System
1430 CPP C preprocessor
1432 Use these variables to override the choices made by `configure' or to help
1433 it to find libraries and programs with nonstandard names/locations.
1435 Report bugs to <wine-devel@winehq.org>.
1436 _ACEOF
1437 ac_status=$?
1440 if test "$ac_init_help" = "recursive"; then
1441 # If there are subdirs, report their specific --help.
1442 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1443 test -d "$ac_dir" || continue
1444 ac_builddir=.
1446 case "$ac_dir" in
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1455 esac ;;
1456 esac
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1462 case $srcdir in
1463 .) # We are building in place.
1464 ac_srcdir=.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1471 *) # Relative name.
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475 esac
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1481 echo &&
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1484 echo &&
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1486 else
1487 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 fi || ac_status=$?
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1490 done
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1495 cat <<\_ACEOF
1496 Wine configure 1.0-rc1
1497 generated by GNU Autoconf 2.61
1499 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1500 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1501 This configure script is free software; the Free Software Foundation
1502 gives unlimited permission to copy, distribute and modify it.
1503 _ACEOF
1504 exit
1506 cat >config.log <<_ACEOF
1507 This file contains any messages produced by compilers while
1508 running configure, to aid debugging if configure makes a mistake.
1510 It was created by Wine $as_me 1.0-rc1, which was
1511 generated by GNU Autoconf 2.61. Invocation command line was
1513 $ $0 $@
1515 _ACEOF
1516 exec 5>>config.log
1518 cat <<_ASUNAME
1519 ## --------- ##
1520 ## Platform. ##
1521 ## --------- ##
1523 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1524 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1525 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1526 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1527 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1529 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1530 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1532 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1533 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1534 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1535 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1536 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1537 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1538 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1540 _ASUNAME
1542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 for as_dir in $PATH
1545 IFS=$as_save_IFS
1546 test -z "$as_dir" && as_dir=.
1547 echo "PATH: $as_dir"
1548 done
1549 IFS=$as_save_IFS
1551 } >&5
1553 cat >&5 <<_ACEOF
1556 ## ----------- ##
1557 ## Core tests. ##
1558 ## ----------- ##
1560 _ACEOF
1563 # Keep a trace of the command line.
1564 # Strip out --no-create and --no-recursion so they do not pile up.
1565 # Strip out --silent because we don't want to record it for future runs.
1566 # Also quote any args containing shell meta-characters.
1567 # Make two passes to allow for proper duplicate-argument suppression.
1568 ac_configure_args=
1569 ac_configure_args0=
1570 ac_configure_args1=
1571 ac_must_keep_next=false
1572 for ac_pass in 1 2
1574 for ac_arg
1576 case $ac_arg in
1577 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1579 | -silent | --silent | --silen | --sile | --sil)
1580 continue ;;
1581 *\'*)
1582 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1583 esac
1584 case $ac_pass in
1585 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1587 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1588 if test $ac_must_keep_next = true; then
1589 ac_must_keep_next=false # Got value, back to normal.
1590 else
1591 case $ac_arg in
1592 *=* | --config-cache | -C | -disable-* | --disable-* \
1593 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1594 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1595 | -with-* | --with-* | -without-* | --without-* | --x)
1596 case "$ac_configure_args0 " in
1597 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1598 esac
1600 -* ) ac_must_keep_next=true ;;
1601 esac
1603 ac_configure_args="$ac_configure_args '$ac_arg'"
1605 esac
1606 done
1607 done
1608 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1609 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1611 # When interrupted or exit'd, cleanup temporary files, and complete
1612 # config.log. We remove comments because anyway the quotes in there
1613 # would cause problems or look ugly.
1614 # WARNING: Use '\'' to represent an apostrophe within the trap.
1615 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1616 trap 'exit_status=$?
1617 # Save into config.log some information that might help in debugging.
1619 echo
1621 cat <<\_ASBOX
1622 ## ---------------- ##
1623 ## Cache variables. ##
1624 ## ---------------- ##
1625 _ASBOX
1626 echo
1627 # The following way of writing the cache mishandles newlines in values,
1629 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1630 eval ac_val=\$$ac_var
1631 case $ac_val in #(
1632 *${as_nl}*)
1633 case $ac_var in #(
1634 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1635 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1636 esac
1637 case $ac_var in #(
1638 _ | IFS | as_nl) ;; #(
1639 *) $as_unset $ac_var ;;
1640 esac ;;
1641 esac
1642 done
1643 (set) 2>&1 |
1644 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1645 *${as_nl}ac_space=\ *)
1646 sed -n \
1647 "s/'\''/'\''\\\\'\'''\''/g;
1648 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1649 ;; #(
1651 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1653 esac |
1654 sort
1656 echo
1658 cat <<\_ASBOX
1659 ## ----------------- ##
1660 ## Output variables. ##
1661 ## ----------------- ##
1662 _ASBOX
1663 echo
1664 for ac_var in $ac_subst_vars
1666 eval ac_val=\$$ac_var
1667 case $ac_val in
1668 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1669 esac
1670 echo "$ac_var='\''$ac_val'\''"
1671 done | sort
1672 echo
1674 if test -n "$ac_subst_files"; then
1675 cat <<\_ASBOX
1676 ## ------------------- ##
1677 ## File substitutions. ##
1678 ## ------------------- ##
1679 _ASBOX
1680 echo
1681 for ac_var in $ac_subst_files
1683 eval ac_val=\$$ac_var
1684 case $ac_val in
1685 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1686 esac
1687 echo "$ac_var='\''$ac_val'\''"
1688 done | sort
1689 echo
1692 if test -s confdefs.h; then
1693 cat <<\_ASBOX
1694 ## ----------- ##
1695 ## confdefs.h. ##
1696 ## ----------- ##
1697 _ASBOX
1698 echo
1699 cat confdefs.h
1700 echo
1702 test "$ac_signal" != 0 &&
1703 echo "$as_me: caught signal $ac_signal"
1704 echo "$as_me: exit $exit_status"
1705 } >&5
1706 rm -f core *.core core.conftest.* &&
1707 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1708 exit $exit_status
1710 for ac_signal in 1 2 13 15; do
1711 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1712 done
1713 ac_signal=0
1715 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1716 rm -f -r conftest* confdefs.h
1718 # Predefined preprocessor variables.
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_NAME "$PACKAGE_NAME"
1722 _ACEOF
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1727 _ACEOF
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1732 _ACEOF
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_STRING "$PACKAGE_STRING"
1737 _ACEOF
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1742 _ACEOF
1745 # Let the site file select an alternate cache file if it wants to.
1746 # Prefer explicitly selected file to automatically selected ones.
1747 if test -n "$CONFIG_SITE"; then
1748 set x "$CONFIG_SITE"
1749 elif test "x$prefix" != xNONE; then
1750 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1751 else
1752 set x "$ac_default_prefix/share/config.site" \
1753 "$ac_default_prefix/etc/config.site"
1755 shift
1756 for ac_site_file
1758 if test -r "$ac_site_file"; then
1759 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1760 echo "$as_me: loading site script $ac_site_file" >&6;}
1761 sed 's/^/| /' "$ac_site_file" >&5
1762 . "$ac_site_file"
1764 done
1766 if test -r "$cache_file"; then
1767 # Some versions of bash will fail to source /dev/null (special
1768 # files actually), so we avoid doing that.
1769 if test -f "$cache_file"; then
1770 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1771 echo "$as_me: loading cache $cache_file" >&6;}
1772 case $cache_file in
1773 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1774 *) . "./$cache_file";;
1775 esac
1777 else
1778 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1779 echo "$as_me: creating cache $cache_file" >&6;}
1780 >$cache_file
1783 # Check that the precious variables saved in the cache have kept the same
1784 # value.
1785 ac_cache_corrupted=false
1786 for ac_var in $ac_precious_vars; do
1787 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1788 eval ac_new_set=\$ac_env_${ac_var}_set
1789 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1790 eval ac_new_val=\$ac_env_${ac_var}_value
1791 case $ac_old_set,$ac_new_set in
1792 set,)
1793 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1794 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1795 ac_cache_corrupted=: ;;
1796 ,set)
1797 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1798 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1799 ac_cache_corrupted=: ;;
1800 ,);;
1802 if test "x$ac_old_val" != "x$ac_new_val"; then
1803 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1804 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1805 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1806 echo "$as_me: former value: $ac_old_val" >&2;}
1807 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1808 echo "$as_me: current value: $ac_new_val" >&2;}
1809 ac_cache_corrupted=:
1810 fi;;
1811 esac
1812 # Pass precious variables to config.status.
1813 if test "$ac_new_set" = set; then
1814 case $ac_new_val in
1815 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1816 *) ac_arg=$ac_var=$ac_new_val ;;
1817 esac
1818 case " $ac_configure_args " in
1819 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1820 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1821 esac
1823 done
1824 if $ac_cache_corrupted; then
1825 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1826 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1827 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1828 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1829 { (exit 1); exit 1; }; }
1856 ac_ext=c
1857 ac_cpp='$CPP $CPPFLAGS'
1858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1864 ac_config_headers="$ac_config_headers include/config.h"
1866 ac_aux_dir=
1867 for ac_dir in tools "$srcdir"/tools; do
1868 if test -f "$ac_dir/install-sh"; then
1869 ac_aux_dir=$ac_dir
1870 ac_install_sh="$ac_aux_dir/install-sh -c"
1871 break
1872 elif test -f "$ac_dir/install.sh"; then
1873 ac_aux_dir=$ac_dir
1874 ac_install_sh="$ac_aux_dir/install.sh -c"
1875 break
1876 elif test -f "$ac_dir/shtool"; then
1877 ac_aux_dir=$ac_dir
1878 ac_install_sh="$ac_aux_dir/shtool install -c"
1879 break
1881 done
1882 if test -z "$ac_aux_dir"; then
1883 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1884 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1885 { (exit 1); exit 1; }; }
1888 # These three variables are undocumented and unsupported,
1889 # and are intended to be withdrawn in a future Autoconf release.
1890 # They can cause serious problems if a builder's source tree is in a directory
1891 # whose full name contains unusual characters.
1892 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1893 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1894 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1899 # Check whether --enable-win16 was given.
1900 if test "${enable_win16+set}" = set; then
1901 enableval=$enable_win16;
1904 # Check whether --enable-win64 was given.
1905 if test "${enable_win64+set}" = set; then
1906 enableval=$enable_win64;
1909 # Check whether --enable-maintainer-mode was given.
1910 if test "${enable_maintainer_mode+set}" = set; then
1911 enableval=$enable_maintainer_mode;
1912 else
1913 MAINTAINER_MODE=\#
1919 # Check whether --with-alsa was given.
1920 if test "${with_alsa+set}" = set; then
1921 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1925 # Check whether --with-audioio was given.
1926 if test "${with_audioio+set}" = set; then
1927 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1931 # Check whether --with-capi was given.
1932 if test "${with_capi+set}" = set; then
1933 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1937 # Check whether --with-cms was given.
1938 if test "${with_cms+set}" = set; then
1939 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1943 # Check whether --with-coreaudio was given.
1944 if test "${with_coreaudio+set}" = set; then
1945 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1949 # Check whether --with-cups was given.
1950 if test "${with_cups+set}" = set; then
1951 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1955 # Check whether --with-curses was given.
1956 if test "${with_curses+set}" = set; then
1957 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1961 # Check whether --with-esd was given.
1962 if test "${with_esd+set}" = set; then
1963 withval=$with_esd;
1967 # Check whether --with-fontconfig was given.
1968 if test "${with_fontconfig+set}" = set; then
1969 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1973 # Check whether --with-gphoto was given.
1974 if test "${with_gphoto+set}" = set; then
1975 withval=$with_gphoto;
1979 # Check whether --with-glu was given.
1980 if test "${with_glu+set}" = set; then
1981 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1985 # Check whether --with-hal was given.
1986 if test "${with_hal+set}" = set; then
1987 withval=$with_hal;
1991 # Check whether --with-jack was given.
1992 if test "${with_jack+set}" = set; then
1993 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1997 # Check whether --with-jpeg was given.
1998 if test "${with_jpeg+set}" = set; then
1999 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2003 # Check whether --with-ldap was given.
2004 if test "${with_ldap+set}" = set; then
2005 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2009 # Check whether --with-nas was given.
2010 if test "${with_nas+set}" = set; then
2011 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2015 # Check whether --with-opengl was given.
2016 if test "${with_opengl+set}" = set; then
2017 withval=$with_opengl;
2021 # Check whether --with-openssl was given.
2022 if test "${with_openssl+set}" = set; then
2023 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2027 # Check whether --with-oss was given.
2028 if test "${with_oss+set}" = set; then
2029 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
2033 # Check whether --with-png was given.
2034 if test "${with_png+set}" = set; then
2035 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2039 # Check whether --with-sane was given.
2040 if test "${with_sane+set}" = set; then
2041 withval=$with_sane;
2045 # Check whether --with-xcomposite was given.
2046 if test "${with_xcomposite+set}" = set; then
2047 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2051 # Check whether --with-xcursor was given.
2052 if test "${with_xcursor+set}" = set; then
2053 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2057 # Check whether --with-xinerama was given.
2058 if test "${with_xinerama+set}" = set; then
2059 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2063 # Check whether --with-xinput was given.
2064 if test "${with_xinput+set}" = set; then
2065 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2069 # Check whether --with-xml was given.
2070 if test "${with_xml+set}" = set; then
2071 withval=$with_xml;
2075 # Check whether --with-xrandr was given.
2076 if test "${with_xrandr+set}" = set; then
2077 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2081 # Check whether --with-xrender was given.
2082 if test "${with_xrender+set}" = set; then
2083 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2087 # Check whether --with-xshape was given.
2088 if test "${with_xshape+set}" = set; then
2089 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2093 # Check whether --with-xshm was given.
2094 if test "${with_xshm+set}" = set; then
2095 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2099 # Check whether --with-xslt was given.
2100 if test "${with_xslt+set}" = set; then
2101 withval=$with_xslt;
2105 # Check whether --with-xvidmode was given.
2106 if test "${with_xvidmode+set}" = set; then
2107 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2112 # Check whether --with-wine-tools was given.
2113 if test "${with_wine_tools+set}" = set; then
2114 withval=$with_wine_tools;
2117 # Check whether --enable-tests was given.
2118 if test "${enable_tests+set}" = set; then
2119 enableval=$enable_tests;
2123 # Make sure we can run config.sub.
2124 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2125 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2126 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2127 { (exit 1); exit 1; }; }
2129 { echo "$as_me:$LINENO: checking build system type" >&5
2130 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2131 if test "${ac_cv_build+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 else
2134 ac_build_alias=$build_alias
2135 test "x$ac_build_alias" = x &&
2136 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2137 test "x$ac_build_alias" = x &&
2138 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2139 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2140 { (exit 1); exit 1; }; }
2141 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2142 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2143 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2144 { (exit 1); exit 1; }; }
2147 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2148 echo "${ECHO_T}$ac_cv_build" >&6; }
2149 case $ac_cv_build in
2150 *-*-*) ;;
2151 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2152 echo "$as_me: error: invalid value of canonical build" >&2;}
2153 { (exit 1); exit 1; }; };;
2154 esac
2155 build=$ac_cv_build
2156 ac_save_IFS=$IFS; IFS='-'
2157 set x $ac_cv_build
2158 shift
2159 build_cpu=$1
2160 build_vendor=$2
2161 shift; shift
2162 # Remember, the first character of IFS is used to create $*,
2163 # except with old shells:
2164 build_os=$*
2165 IFS=$ac_save_IFS
2166 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2169 { echo "$as_me:$LINENO: checking host system type" >&5
2170 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2171 if test "${ac_cv_host+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 else
2174 if test "x$host_alias" = x; then
2175 ac_cv_host=$ac_cv_build
2176 else
2177 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2178 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2179 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2180 { (exit 1); exit 1; }; }
2184 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2185 echo "${ECHO_T}$ac_cv_host" >&6; }
2186 case $ac_cv_host in
2187 *-*-*) ;;
2188 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2189 echo "$as_me: error: invalid value of canonical host" >&2;}
2190 { (exit 1); exit 1; }; };;
2191 esac
2192 host=$ac_cv_host
2193 ac_save_IFS=$IFS; IFS='-'
2194 set x $ac_cv_host
2195 shift
2196 host_cpu=$1
2197 host_vendor=$2
2198 shift; shift
2199 # Remember, the first character of IFS is used to create $*,
2200 # except with old shells:
2201 host_os=$*
2202 IFS=$ac_save_IFS
2203 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2206 case $host in
2207 x86_64*linux*)
2208 if test "x$enable_win64" != "xyes"
2209 then
2210 test -n "$CC" || CC="gcc -m32"
2211 test -n "$CXX"|| CXX="g++ -m32"
2212 test -n "$LD" || LD="ld -m elf_i386"
2213 test -n "$AS" || AS="as --32"
2214 host_cpu="i386"
2217 esac
2219 case $host_cpu in
2220 *i[3456789]86*)
2221 if test "x$enable_win16" != "xno"
2222 then
2223 enable_win16="yes"
2226 esac
2228 WIN16_FILES="\$(WIN16_FILES)"
2230 WIN16_INSTALL="\$(WIN16_INSTALL)"
2232 if test "x$enable_win16" != "xyes"
2233 then
2234 WIN16_FILES=""
2235 WIN16_INSTALL=""
2238 if test "x$enable_tests" == "xno"
2239 then
2240 TESTSUBDIRS=""
2242 WINETEST=""
2244 else
2245 TESTSUBDIRS="\$(TESTSUBDIRS)"
2247 WINETEST="winetest"
2251 case "$srcdir" in
2252 .) ;;
2253 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2254 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2255 You need to run 'make distclean' in the source tree first." >&5
2256 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2257 You need to run 'make distclean' in the source tree first." >&2;}
2258 { (exit 1); exit 1; }; }
2259 fi ;;
2260 esac
2263 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2264 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2265 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2266 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 else
2269 cat >conftest.make <<\_ACEOF
2270 SHELL = /bin/sh
2271 all:
2272 @echo '@@@%%%=$(MAKE)=@@@%%%'
2273 _ACEOF
2274 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2275 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2276 *@@@%%%=?*=@@@%%%*)
2277 eval ac_cv_prog_make_${ac_make}_set=yes;;
2279 eval ac_cv_prog_make_${ac_make}_set=no;;
2280 esac
2281 rm -f conftest.make
2283 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2284 { echo "$as_me:$LINENO: result: yes" >&5
2285 echo "${ECHO_T}yes" >&6; }
2286 SET_MAKE=
2287 else
2288 { echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6; }
2290 SET_MAKE="MAKE=${MAKE-make}"
2293 ac_ext=c
2294 ac_cpp='$CPP $CPPFLAGS'
2295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2298 if test -n "$ac_tool_prefix"; then
2299 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2300 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2303 if test "${ac_cv_prog_CC+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 else
2306 if test -n "$CC"; then
2307 ac_cv_prog_CC="$CC" # Let the user override the test.
2308 else
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 for as_dir in $PATH
2312 IFS=$as_save_IFS
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 break 2
2320 done
2321 done
2322 IFS=$as_save_IFS
2326 CC=$ac_cv_prog_CC
2327 if test -n "$CC"; then
2328 { echo "$as_me:$LINENO: result: $CC" >&5
2329 echo "${ECHO_T}$CC" >&6; }
2330 else
2331 { echo "$as_me:$LINENO: result: no" >&5
2332 echo "${ECHO_T}no" >&6; }
2337 if test -z "$ac_cv_prog_CC"; then
2338 ac_ct_CC=$CC
2339 # Extract the first word of "gcc", so it can be a program name with args.
2340 set dummy gcc; ac_word=$2
2341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2344 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 else
2346 if test -n "$ac_ct_CC"; then
2347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2348 else
2349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350 for as_dir in $PATH
2352 IFS=$as_save_IFS
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 ac_cv_prog_ac_ct_CC="gcc"
2357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 break 2
2360 done
2361 done
2362 IFS=$as_save_IFS
2366 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2367 if test -n "$ac_ct_CC"; then
2368 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2369 echo "${ECHO_T}$ac_ct_CC" >&6; }
2370 else
2371 { echo "$as_me:$LINENO: result: no" >&5
2372 echo "${ECHO_T}no" >&6; }
2375 if test "x$ac_ct_CC" = x; then
2376 CC=""
2377 else
2378 case $cross_compiling:$ac_tool_warned in
2379 yes:)
2380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2381 whose name does not start with the host triplet. If you think this
2382 configuration is useful to you, please write to autoconf@gnu.org." >&5
2383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2384 whose name does not start with the host triplet. If you think this
2385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2386 ac_tool_warned=yes ;;
2387 esac
2388 CC=$ac_ct_CC
2390 else
2391 CC="$ac_cv_prog_CC"
2394 if test -z "$CC"; then
2395 if test -n "$ac_tool_prefix"; then
2396 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2397 set dummy ${ac_tool_prefix}cc; ac_word=$2
2398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2400 if test "${ac_cv_prog_CC+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 else
2403 if test -n "$CC"; then
2404 ac_cv_prog_CC="$CC" # Let the user override the test.
2405 else
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 for as_dir in $PATH
2409 IFS=$as_save_IFS
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2413 ac_cv_prog_CC="${ac_tool_prefix}cc"
2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 break 2
2417 done
2418 done
2419 IFS=$as_save_IFS
2423 CC=$ac_cv_prog_CC
2424 if test -n "$CC"; then
2425 { echo "$as_me:$LINENO: result: $CC" >&5
2426 echo "${ECHO_T}$CC" >&6; }
2427 else
2428 { echo "$as_me:$LINENO: result: no" >&5
2429 echo "${ECHO_T}no" >&6; }
2435 if test -z "$CC"; then
2436 # Extract the first word of "cc", so it can be a program name with args.
2437 set dummy cc; ac_word=$2
2438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2440 if test "${ac_cv_prog_CC+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 else
2443 if test -n "$CC"; then
2444 ac_cv_prog_CC="$CC" # Let the user override the test.
2445 else
2446 ac_prog_rejected=no
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 for as_dir in $PATH
2450 IFS=$as_save_IFS
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2454 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2455 ac_prog_rejected=yes
2456 continue
2458 ac_cv_prog_CC="cc"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 break 2
2462 done
2463 done
2464 IFS=$as_save_IFS
2466 if test $ac_prog_rejected = yes; then
2467 # We found a bogon in the path, so make sure we never use it.
2468 set dummy $ac_cv_prog_CC
2469 shift
2470 if test $# != 0; then
2471 # We chose a different compiler from the bogus one.
2472 # However, it has the same basename, so the bogon will be chosen
2473 # first if we set CC to just the basename; use the full file name.
2474 shift
2475 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2480 CC=$ac_cv_prog_CC
2481 if test -n "$CC"; then
2482 { echo "$as_me:$LINENO: result: $CC" >&5
2483 echo "${ECHO_T}$CC" >&6; }
2484 else
2485 { echo "$as_me:$LINENO: result: no" >&5
2486 echo "${ECHO_T}no" >&6; }
2491 if test -z "$CC"; then
2492 if test -n "$ac_tool_prefix"; then
2493 for ac_prog in cl.exe
2495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499 if test "${ac_cv_prog_CC+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 else
2502 if test -n "$CC"; then
2503 ac_cv_prog_CC="$CC" # Let the user override the test.
2504 else
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 for as_dir in $PATH
2508 IFS=$as_save_IFS
2509 test -z "$as_dir" && as_dir=.
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 break 2
2516 done
2517 done
2518 IFS=$as_save_IFS
2522 CC=$ac_cv_prog_CC
2523 if test -n "$CC"; then
2524 { echo "$as_me:$LINENO: result: $CC" >&5
2525 echo "${ECHO_T}$CC" >&6; }
2526 else
2527 { echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6; }
2532 test -n "$CC" && break
2533 done
2535 if test -z "$CC"; then
2536 ac_ct_CC=$CC
2537 for ac_prog in cl.exe
2539 # Extract the first word of "$ac_prog", so it can be a program name with args.
2540 set dummy $ac_prog; ac_word=$2
2541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2543 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 else
2546 if test -n "$ac_ct_CC"; then
2547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2552 IFS=$as_save_IFS
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_ac_ct_CC="$ac_prog"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 break 2
2560 done
2561 done
2562 IFS=$as_save_IFS
2566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2567 if test -n "$ac_ct_CC"; then
2568 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2569 echo "${ECHO_T}$ac_ct_CC" >&6; }
2570 else
2571 { echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6; }
2576 test -n "$ac_ct_CC" && break
2577 done
2579 if test "x$ac_ct_CC" = x; then
2580 CC=""
2581 else
2582 case $cross_compiling:$ac_tool_warned in
2583 yes:)
2584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2585 whose name does not start with the host triplet. If you think this
2586 configuration is useful to you, please write to autoconf@gnu.org." >&5
2587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2588 whose name does not start with the host triplet. If you think this
2589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2590 ac_tool_warned=yes ;;
2591 esac
2592 CC=$ac_ct_CC
2599 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: no acceptable C compiler found in \$PATH
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2605 # Provide some information about the compiler.
2606 echo "$as_me:$LINENO: checking for C compiler version" >&5
2607 ac_compiler=`set X $ac_compile; echo $2`
2608 { (ac_try="$ac_compiler --version >&5"
2609 case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2612 esac
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_compiler --version >&5") 2>&5
2615 ac_status=$?
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }
2618 { (ac_try="$ac_compiler -v >&5"
2619 case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2622 esac
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compiler -v >&5") 2>&5
2625 ac_status=$?
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); }
2628 { (ac_try="$ac_compiler -V >&5"
2629 case "(($ac_try" in
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2632 esac
2633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2634 (eval "$ac_compiler -V >&5") 2>&5
2635 ac_status=$?
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }
2639 cat >conftest.$ac_ext <<_ACEOF
2640 /* confdefs.h. */
2641 _ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2647 main ()
2651 return 0;
2653 _ACEOF
2654 ac_clean_files_save=$ac_clean_files
2655 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2656 # Try to create an executable without -o first, disregard a.out.
2657 # It will help us diagnose broken compilers, and finding out an intuition
2658 # of exeext.
2659 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2660 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2661 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2663 # List of possible output files, starting from the most likely.
2664 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2665 # only as a last resort. b.out is created by i960 compilers.
2666 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2668 # The IRIX 6 linker writes into existing files which may not be
2669 # executable, retaining their permissions. Remove them first so a
2670 # subsequent execution test works.
2671 ac_rmfiles=
2672 for ac_file in $ac_files
2674 case $ac_file in
2675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2676 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2677 esac
2678 done
2679 rm -f $ac_rmfiles
2681 if { (ac_try="$ac_link_default"
2682 case "(($ac_try" in
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2685 esac
2686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2687 (eval "$ac_link_default") 2>&5
2688 ac_status=$?
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; then
2691 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2692 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2693 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2694 # so that the user can short-circuit this test for compilers unknown to
2695 # Autoconf.
2696 for ac_file in $ac_files ''
2698 test -f "$ac_file" || continue
2699 case $ac_file in
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2702 [ab].out )
2703 # We found the default executable, but exeext='' is most
2704 # certainly right.
2705 break;;
2706 *.* )
2707 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2708 then :; else
2709 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2711 # We set ac_cv_exeext here because the later test for it is not
2712 # safe: cross compilers may not add the suffix if given an `-o'
2713 # argument, so we may need to know it at that point already.
2714 # Even if this section looks crufty: it has the advantage of
2715 # actually working.
2716 break;;
2718 break;;
2719 esac
2720 done
2721 test "$ac_cv_exeext" = no && ac_cv_exeext=
2723 else
2724 ac_file=''
2727 { echo "$as_me:$LINENO: result: $ac_file" >&5
2728 echo "${ECHO_T}$ac_file" >&6; }
2729 if test -z "$ac_file"; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2734 See \`config.log' for more details." >&5
2735 echo "$as_me: error: C compiler cannot create executables
2736 See \`config.log' for more details." >&2;}
2737 { (exit 77); exit 77; }; }
2740 ac_exeext=$ac_cv_exeext
2742 # Check that the compiler produces executables we can run. If not, either
2743 # the compiler is broken, or we cross compile.
2744 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2745 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2746 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2747 # If not cross compiling, check that we can run a simple program.
2748 if test "$cross_compiling" != yes; then
2749 if { ac_try='./$ac_file'
2750 { (case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753 esac
2754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_try") 2>&5
2756 ac_status=$?
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; }; then
2759 cross_compiling=no
2760 else
2761 if test "$cross_compiling" = maybe; then
2762 cross_compiling=yes
2763 else
2764 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2765 If you meant to cross compile, use \`--host'.
2766 See \`config.log' for more details." >&5
2767 echo "$as_me: error: cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details." >&2;}
2770 { (exit 1); exit 1; }; }
2774 { echo "$as_me:$LINENO: result: yes" >&5
2775 echo "${ECHO_T}yes" >&6; }
2777 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2778 ac_clean_files=$ac_clean_files_save
2779 # Check that the compiler produces executables we can run. If not, either
2780 # the compiler is broken, or we cross compile.
2781 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2782 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2783 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2784 echo "${ECHO_T}$cross_compiling" >&6; }
2786 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2787 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2788 if { (ac_try="$ac_link"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_link") 2>&5
2795 ac_status=$?
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; then
2798 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2799 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2800 # work properly (i.e., refer to `conftest.exe'), while it won't with
2801 # `rm'.
2802 for ac_file in conftest.exe conftest conftest.*; do
2803 test -f "$ac_file" || continue
2804 case $ac_file in
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2806 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2807 break;;
2808 * ) break;;
2809 esac
2810 done
2811 else
2812 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2813 See \`config.log' for more details." >&5
2814 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2815 See \`config.log' for more details." >&2;}
2816 { (exit 1); exit 1; }; }
2819 rm -f conftest$ac_cv_exeext
2820 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2821 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2823 rm -f conftest.$ac_ext
2824 EXEEXT=$ac_cv_exeext
2825 ac_exeext=$EXEEXT
2826 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2827 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2828 if test "${ac_cv_objext+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 else
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h. */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2839 main ()
2843 return 0;
2845 _ACEOF
2846 rm -f conftest.o conftest.obj
2847 if { (ac_try="$ac_compile"
2848 case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2851 esac
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_compile") 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; then
2857 for ac_file in conftest.o conftest.obj conftest.*; do
2858 test -f "$ac_file" || continue;
2859 case $ac_file in
2860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2861 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2862 break;;
2863 esac
2864 done
2865 else
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.$ac_ext >&5
2869 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2872 See \`config.log' for more details." >&2;}
2873 { (exit 1); exit 1; }; }
2876 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2878 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2879 echo "${ECHO_T}$ac_cv_objext" >&6; }
2880 OBJEXT=$ac_cv_objext
2881 ac_objext=$OBJEXT
2882 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2883 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2884 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2885 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 else
2887 cat >conftest.$ac_ext <<_ACEOF
2888 /* confdefs.h. */
2889 _ACEOF
2890 cat confdefs.h >>conftest.$ac_ext
2891 cat >>conftest.$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2895 main ()
2897 #ifndef __GNUC__
2898 choke me
2899 #endif
2902 return 0;
2904 _ACEOF
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_compiler_gnu=yes
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 ac_compiler_gnu=no
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2934 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2935 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2936 GCC=`test $ac_compiler_gnu = yes && echo yes`
2937 ac_test_CFLAGS=${CFLAGS+set}
2938 ac_save_CFLAGS=$CFLAGS
2939 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2940 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2941 if test "${ac_cv_prog_cc_g+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 else
2944 ac_save_c_werror_flag=$ac_c_werror_flag
2945 ac_c_werror_flag=yes
2946 ac_cv_prog_cc_g=no
2947 CFLAGS="-g"
2948 cat >conftest.$ac_ext <<_ACEOF
2949 /* confdefs.h. */
2950 _ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2956 main ()
2960 return 0;
2962 _ACEOF
2963 rm -f conftest.$ac_objext
2964 if { (ac_try="$ac_compile"
2965 case "(($ac_try" in
2966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967 *) ac_try_echo=$ac_try;;
2968 esac
2969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2970 (eval "$ac_compile") 2>conftest.er1
2971 ac_status=$?
2972 grep -v '^ *+' conftest.er1 >conftest.err
2973 rm -f conftest.er1
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } && {
2977 test -z "$ac_c_werror_flag" ||
2978 test ! -s conftest.err
2979 } && test -s conftest.$ac_objext; then
2980 ac_cv_prog_cc_g=yes
2981 else
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5
2985 CFLAGS=""
2986 cat >conftest.$ac_ext <<_ACEOF
2987 /* confdefs.h. */
2988 _ACEOF
2989 cat confdefs.h >>conftest.$ac_ext
2990 cat >>conftest.$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
2994 main ()
2998 return 0;
3000 _ACEOF
3001 rm -f conftest.$ac_objext
3002 if { (ac_try="$ac_compile"
3003 case "(($ac_try" in
3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005 *) ac_try_echo=$ac_try;;
3006 esac
3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008 (eval "$ac_compile") 2>conftest.er1
3009 ac_status=$?
3010 grep -v '^ *+' conftest.er1 >conftest.err
3011 rm -f conftest.er1
3012 cat conftest.err >&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); } && {
3015 test -z "$ac_c_werror_flag" ||
3016 test ! -s conftest.err
3017 } && test -s conftest.$ac_objext; then
3019 else
3020 echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.$ac_ext >&5
3023 ac_c_werror_flag=$ac_save_c_werror_flag
3024 CFLAGS="-g"
3025 cat >conftest.$ac_ext <<_ACEOF
3026 /* confdefs.h. */
3027 _ACEOF
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3033 main ()
3037 return 0;
3039 _ACEOF
3040 rm -f conftest.$ac_objext
3041 if { (ac_try="$ac_compile"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047 (eval "$ac_compile") 2>conftest.er1
3048 ac_status=$?
3049 grep -v '^ *+' conftest.er1 >conftest.err
3050 rm -f conftest.er1
3051 cat conftest.err >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } && {
3054 test -z "$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3056 } && test -s conftest.$ac_objext; then
3057 ac_cv_prog_cc_g=yes
3058 else
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072 ac_c_werror_flag=$ac_save_c_werror_flag
3074 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3075 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3076 if test "$ac_test_CFLAGS" = set; then
3077 CFLAGS=$ac_save_CFLAGS
3078 elif test $ac_cv_prog_cc_g = yes; then
3079 if test "$GCC" = yes; then
3080 CFLAGS="-g -O2"
3081 else
3082 CFLAGS="-g"
3084 else
3085 if test "$GCC" = yes; then
3086 CFLAGS="-O2"
3087 else
3088 CFLAGS=
3091 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3092 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3093 if test "${ac_cv_prog_cc_c89+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 else
3096 ac_cv_prog_cc_c89=no
3097 ac_save_CC=$CC
3098 cat >conftest.$ac_ext <<_ACEOF
3099 /* confdefs.h. */
3100 _ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3104 #include <stdarg.h>
3105 #include <stdio.h>
3106 #include <sys/types.h>
3107 #include <sys/stat.h>
3108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3109 struct buf { int x; };
3110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3111 static char *e (p, i)
3112 char **p;
3113 int i;
3115 return p[i];
3117 static char *f (char * (*g) (char **, int), char **p, ...)
3119 char *s;
3120 va_list v;
3121 va_start (v,p);
3122 s = g (p, va_arg (v,int));
3123 va_end (v);
3124 return s;
3127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3128 function prototypes and stuff, but not '\xHH' hex character constants.
3129 These don't provoke an error unfortunately, instead are silently treated
3130 as 'x'. The following induces an error, until -std is added to get
3131 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3132 array size at least. It's necessary to write '\x00'==0 to get something
3133 that's true only with -std. */
3134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3136 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3137 inside strings and character constants. */
3138 #define FOO(x) 'x'
3139 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3141 int test (int i, double x);
3142 struct s1 {int (*f) (int a);};
3143 struct s2 {int (*f) (double a);};
3144 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3145 int argc;
3146 char **argv;
3148 main ()
3150 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3152 return 0;
3154 _ACEOF
3155 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3156 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3158 CC="$ac_save_CC $ac_arg"
3159 rm -f conftest.$ac_objext
3160 if { (ac_try="$ac_compile"
3161 case "(($ac_try" in
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3164 esac
3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compile") 2>conftest.er1
3167 ac_status=$?
3168 grep -v '^ *+' conftest.er1 >conftest.err
3169 rm -f conftest.er1
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } && {
3173 test -z "$ac_c_werror_flag" ||
3174 test ! -s conftest.err
3175 } && test -s conftest.$ac_objext; then
3176 ac_cv_prog_cc_c89=$ac_arg
3177 else
3178 echo "$as_me: failed program was:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3184 rm -f core conftest.err conftest.$ac_objext
3185 test "x$ac_cv_prog_cc_c89" != "xno" && break
3186 done
3187 rm -f conftest.$ac_ext
3188 CC=$ac_save_CC
3191 # AC_CACHE_VAL
3192 case "x$ac_cv_prog_cc_c89" in
3194 { echo "$as_me:$LINENO: result: none needed" >&5
3195 echo "${ECHO_T}none needed" >&6; } ;;
3196 xno)
3197 { echo "$as_me:$LINENO: result: unsupported" >&5
3198 echo "${ECHO_T}unsupported" >&6; } ;;
3200 CC="$CC $ac_cv_prog_cc_c89"
3201 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3202 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3203 esac
3206 ac_ext=c
3207 ac_cpp='$CPP $CPPFLAGS'
3208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212 ac_ext=cpp
3213 ac_cpp='$CXXCPP $CPPFLAGS'
3214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3217 if test -z "$CXX"; then
3218 if test -n "$CCC"; then
3219 CXX=$CCC
3220 else
3221 if test -n "$ac_tool_prefix"; then
3222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3228 if test "${ac_cv_prog_CXX+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231 if test -n "$CXX"; then
3232 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3233 else
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 for as_dir in $PATH
3237 IFS=$as_save_IFS
3238 test -z "$as_dir" && as_dir=.
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 break 2
3245 done
3246 done
3247 IFS=$as_save_IFS
3251 CXX=$ac_cv_prog_CXX
3252 if test -n "$CXX"; then
3253 { echo "$as_me:$LINENO: result: $CXX" >&5
3254 echo "${ECHO_T}$CXX" >&6; }
3255 else
3256 { echo "$as_me:$LINENO: result: no" >&5
3257 echo "${ECHO_T}no" >&6; }
3261 test -n "$CXX" && break
3262 done
3264 if test -z "$CXX"; then
3265 ac_ct_CXX=$CXX
3266 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3268 # Extract the first word of "$ac_prog", so it can be a program name with args.
3269 set dummy $ac_prog; ac_word=$2
3270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3272 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3274 else
3275 if test -n "$ac_ct_CXX"; then
3276 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3277 else
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279 for as_dir in $PATH
3281 IFS=$as_save_IFS
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3285 ac_cv_prog_ac_ct_CXX="$ac_prog"
3286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 break 2
3289 done
3290 done
3291 IFS=$as_save_IFS
3295 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3296 if test -n "$ac_ct_CXX"; then
3297 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3298 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3299 else
3300 { echo "$as_me:$LINENO: result: no" >&5
3301 echo "${ECHO_T}no" >&6; }
3305 test -n "$ac_ct_CXX" && break
3306 done
3308 if test "x$ac_ct_CXX" = x; then
3309 CXX="g++"
3310 else
3311 case $cross_compiling:$ac_tool_warned in
3312 yes:)
3313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3314 whose name does not start with the host triplet. If you think this
3315 configuration is useful to you, please write to autoconf@gnu.org." >&5
3316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3317 whose name does not start with the host triplet. If you think this
3318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3319 ac_tool_warned=yes ;;
3320 esac
3321 CXX=$ac_ct_CXX
3327 # Provide some information about the compiler.
3328 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3329 ac_compiler=`set X $ac_compile; echo $2`
3330 { (ac_try="$ac_compiler --version >&5"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compiler --version >&5") 2>&5
3337 ac_status=$?
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }
3340 { (ac_try="$ac_compiler -v >&5"
3341 case "(($ac_try" in
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3344 esac
3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_compiler -v >&5") 2>&5
3347 ac_status=$?
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }
3350 { (ac_try="$ac_compiler -V >&5"
3351 case "(($ac_try" in
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3354 esac
3355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3356 (eval "$ac_compiler -V >&5") 2>&5
3357 ac_status=$?
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }
3361 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3362 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3363 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 else
3366 cat >conftest.$ac_ext <<_ACEOF
3367 /* confdefs.h. */
3368 _ACEOF
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3374 main ()
3376 #ifndef __GNUC__
3377 choke me
3378 #endif
3381 return 0;
3383 _ACEOF
3384 rm -f conftest.$ac_objext
3385 if { (ac_try="$ac_compile"
3386 case "(($ac_try" in
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3389 esac
3390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3391 (eval "$ac_compile") 2>conftest.er1
3392 ac_status=$?
3393 grep -v '^ *+' conftest.er1 >conftest.err
3394 rm -f conftest.er1
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } && {
3398 test -z "$ac_cxx_werror_flag" ||
3399 test ! -s conftest.err
3400 } && test -s conftest.$ac_objext; then
3401 ac_compiler_gnu=yes
3402 else
3403 echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3406 ac_compiler_gnu=no
3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3413 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3414 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3415 GXX=`test $ac_compiler_gnu = yes && echo yes`
3416 ac_test_CXXFLAGS=${CXXFLAGS+set}
3417 ac_save_CXXFLAGS=$CXXFLAGS
3418 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3419 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3420 if test "${ac_cv_prog_cxx_g+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else
3423 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3424 ac_cxx_werror_flag=yes
3425 ac_cv_prog_cxx_g=no
3426 CXXFLAGS="-g"
3427 cat >conftest.$ac_ext <<_ACEOF
3428 /* confdefs.h. */
3429 _ACEOF
3430 cat confdefs.h >>conftest.$ac_ext
3431 cat >>conftest.$ac_ext <<_ACEOF
3432 /* end confdefs.h. */
3435 main ()
3439 return 0;
3441 _ACEOF
3442 rm -f conftest.$ac_objext
3443 if { (ac_try="$ac_compile"
3444 case "(($ac_try" in
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3447 esac
3448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449 (eval "$ac_compile") 2>conftest.er1
3450 ac_status=$?
3451 grep -v '^ *+' conftest.er1 >conftest.err
3452 rm -f conftest.er1
3453 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } && {
3456 test -z "$ac_cxx_werror_flag" ||
3457 test ! -s conftest.err
3458 } && test -s conftest.$ac_objext; then
3459 ac_cv_prog_cxx_g=yes
3460 else
3461 echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 CXXFLAGS=""
3465 cat >conftest.$ac_ext <<_ACEOF
3466 /* confdefs.h. */
3467 _ACEOF
3468 cat confdefs.h >>conftest.$ac_ext
3469 cat >>conftest.$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3473 main ()
3477 return 0;
3479 _ACEOF
3480 rm -f conftest.$ac_objext
3481 if { (ac_try="$ac_compile"
3482 case "(($ac_try" in
3483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484 *) ac_try_echo=$ac_try;;
3485 esac
3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487 (eval "$ac_compile") 2>conftest.er1
3488 ac_status=$?
3489 grep -v '^ *+' conftest.er1 >conftest.err
3490 rm -f conftest.er1
3491 cat conftest.err >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } && {
3494 test -z "$ac_cxx_werror_flag" ||
3495 test ! -s conftest.err
3496 } && test -s conftest.$ac_objext; then
3498 else
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3502 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3503 CXXFLAGS="-g"
3504 cat >conftest.$ac_ext <<_ACEOF
3505 /* confdefs.h. */
3506 _ACEOF
3507 cat confdefs.h >>conftest.$ac_ext
3508 cat >>conftest.$ac_ext <<_ACEOF
3509 /* end confdefs.h. */
3512 main ()
3516 return 0;
3518 _ACEOF
3519 rm -f conftest.$ac_objext
3520 if { (ac_try="$ac_compile"
3521 case "(($ac_try" in
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3524 esac
3525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3526 (eval "$ac_compile") 2>conftest.er1
3527 ac_status=$?
3528 grep -v '^ *+' conftest.er1 >conftest.err
3529 rm -f conftest.er1
3530 cat conftest.err >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); } && {
3533 test -z "$ac_cxx_werror_flag" ||
3534 test ! -s conftest.err
3535 } && test -s conftest.$ac_objext; then
3536 ac_cv_prog_cxx_g=yes
3537 else
3538 echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3551 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3553 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3554 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3555 if test "$ac_test_CXXFLAGS" = set; then
3556 CXXFLAGS=$ac_save_CXXFLAGS
3557 elif test $ac_cv_prog_cxx_g = yes; then
3558 if test "$GXX" = yes; then
3559 CXXFLAGS="-g -O2"
3560 else
3561 CXXFLAGS="-g"
3563 else
3564 if test "$GXX" = yes; then
3565 CXXFLAGS="-O2"
3566 else
3567 CXXFLAGS=
3570 ac_ext=c
3571 ac_cpp='$CPP $CPPFLAGS'
3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3578 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3581 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 else
3584 if test -n "$CPPBIN"; then
3585 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3598 done
3599 done
3600 IFS=$as_save_IFS
3604 CPPBIN=$ac_cv_prog_CPPBIN
3605 if test -n "$CPPBIN"; then
3606 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3607 echo "${ECHO_T}$CPPBIN" >&6; }
3608 else
3609 { echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6; }
3615 if test -z "$ac_cv_prog_CPPBIN"; then
3616 ac_ct_CPPBIN=$CPPBIN
3617 # Extract the first word of "cpp", so it can be a program name with args.
3618 set dummy cpp; ac_word=$2
3619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3621 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 else
3624 if test -n "$ac_ct_CPPBIN"; then
3625 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634 ac_cv_prog_ac_ct_CPPBIN="cpp"
3635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3638 done
3639 done
3640 IFS=$as_save_IFS
3644 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3645 if test -n "$ac_ct_CPPBIN"; then
3646 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3647 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3648 else
3649 { echo "$as_me:$LINENO: result: no" >&5
3650 echo "${ECHO_T}no" >&6; }
3653 if test "x$ac_ct_CPPBIN" = x; then
3654 CPPBIN="cpp"
3655 else
3656 case $cross_compiling:$ac_tool_warned in
3657 yes:)
3658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3659 whose name does not start with the host triplet. If you think this
3660 configuration is useful to you, please write to autoconf@gnu.org." >&5
3661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3662 whose name does not start with the host triplet. If you think this
3663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3664 ac_tool_warned=yes ;;
3665 esac
3666 CPPBIN=$ac_ct_CPPBIN
3668 else
3669 CPPBIN="$ac_cv_prog_CPPBIN"
3673 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3674 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3675 if test "${wine_cv_toolsdir+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 else
3678 if test -z "$with_wine_tools"; then
3679 if test "$cross_compiling" = "yes"; then
3680 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3681 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3682 { (exit 1); exit 1; }; }
3683 else
3684 wine_cv_toolsdir="\$(TOPOBJDIR)"
3686 elif test -d "$with_wine_tools/tools/winebuild"; then
3687 case $with_wine_tools in
3688 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3689 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3690 esac
3691 else
3692 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3693 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3694 { (exit 1); exit 1; }; }
3697 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3698 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3699 TOOLSDIR=$wine_cv_toolsdir
3703 ac_ext=c
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3708 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3709 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3710 # On Suns, sometimes $CPP names a directory.
3711 if test -n "$CPP" && test -d "$CPP"; then
3712 CPP=
3714 if test -z "$CPP"; then
3715 if test "${ac_cv_prog_CPP+set}" = set; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 else
3718 # Double quotes because CPP needs to be expanded
3719 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3721 ac_preproc_ok=false
3722 for ac_c_preproc_warn_flag in '' yes
3724 # Use a header file that comes with gcc, so configuring glibc
3725 # with a fresh cross-compiler works.
3726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3727 # <limits.h> exists even on freestanding compilers.
3728 # On the NeXT, cc -E runs the code through the compiler's parser,
3729 # not just through cpp. "Syntax error" is here to catch this case.
3730 cat >conftest.$ac_ext <<_ACEOF
3731 /* confdefs.h. */
3732 _ACEOF
3733 cat confdefs.h >>conftest.$ac_ext
3734 cat >>conftest.$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 #ifdef __STDC__
3737 # include <limits.h>
3738 #else
3739 # include <assert.h>
3740 #endif
3741 Syntax error
3742 _ACEOF
3743 if { (ac_try="$ac_cpp conftest.$ac_ext"
3744 case "(($ac_try" in
3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3747 esac
3748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3750 ac_status=$?
3751 grep -v '^ *+' conftest.er1 >conftest.err
3752 rm -f conftest.er1
3753 cat conftest.err >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } >/dev/null && {
3756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3757 test ! -s conftest.err
3758 }; then
3760 else
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3764 # Broken: fails on valid input.
3765 continue
3768 rm -f conftest.err conftest.$ac_ext
3770 # OK, works on sane cases. Now check whether nonexistent headers
3771 # can be detected and how.
3772 cat >conftest.$ac_ext <<_ACEOF
3773 /* confdefs.h. */
3774 _ACEOF
3775 cat confdefs.h >>conftest.$ac_ext
3776 cat >>conftest.$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3778 #include <ac_nonexistent.h>
3779 _ACEOF
3780 if { (ac_try="$ac_cpp conftest.$ac_ext"
3781 case "(($ac_try" in
3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3784 esac
3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3787 ac_status=$?
3788 grep -v '^ *+' conftest.er1 >conftest.err
3789 rm -f conftest.er1
3790 cat conftest.err >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } >/dev/null && {
3793 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3794 test ! -s conftest.err
3795 }; then
3796 # Broken: success on invalid input.
3797 continue
3798 else
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.$ac_ext >&5
3802 # Passes both tests.
3803 ac_preproc_ok=:
3804 break
3807 rm -f conftest.err conftest.$ac_ext
3809 done
3810 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3811 rm -f conftest.err conftest.$ac_ext
3812 if $ac_preproc_ok; then
3813 break
3816 done
3817 ac_cv_prog_CPP=$CPP
3820 CPP=$ac_cv_prog_CPP
3821 else
3822 ac_cv_prog_CPP=$CPP
3824 { echo "$as_me:$LINENO: result: $CPP" >&5
3825 echo "${ECHO_T}$CPP" >&6; }
3826 ac_preproc_ok=false
3827 for ac_c_preproc_warn_flag in '' yes
3829 # Use a header file that comes with gcc, so configuring glibc
3830 # with a fresh cross-compiler works.
3831 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3832 # <limits.h> exists even on freestanding compilers.
3833 # On the NeXT, cc -E runs the code through the compiler's parser,
3834 # not just through cpp. "Syntax error" is here to catch this case.
3835 cat >conftest.$ac_ext <<_ACEOF
3836 /* confdefs.h. */
3837 _ACEOF
3838 cat confdefs.h >>conftest.$ac_ext
3839 cat >>conftest.$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3841 #ifdef __STDC__
3842 # include <limits.h>
3843 #else
3844 # include <assert.h>
3845 #endif
3846 Syntax error
3847 _ACEOF
3848 if { (ac_try="$ac_cpp conftest.$ac_ext"
3849 case "(($ac_try" in
3850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3852 esac
3853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3855 ac_status=$?
3856 grep -v '^ *+' conftest.er1 >conftest.err
3857 rm -f conftest.er1
3858 cat conftest.err >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } >/dev/null && {
3861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 }; then
3865 else
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 # Broken: fails on valid input.
3870 continue
3873 rm -f conftest.err conftest.$ac_ext
3875 # OK, works on sane cases. Now check whether nonexistent headers
3876 # can be detected and how.
3877 cat >conftest.$ac_ext <<_ACEOF
3878 /* confdefs.h. */
3879 _ACEOF
3880 cat confdefs.h >>conftest.$ac_ext
3881 cat >>conftest.$ac_ext <<_ACEOF
3882 /* end confdefs.h. */
3883 #include <ac_nonexistent.h>
3884 _ACEOF
3885 if { (ac_try="$ac_cpp conftest.$ac_ext"
3886 case "(($ac_try" in
3887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888 *) ac_try_echo=$ac_try;;
3889 esac
3890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3892 ac_status=$?
3893 grep -v '^ *+' conftest.er1 >conftest.err
3894 rm -f conftest.er1
3895 cat conftest.err >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } >/dev/null && {
3898 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3899 test ! -s conftest.err
3900 }; then
3901 # Broken: success on invalid input.
3902 continue
3903 else
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
3907 # Passes both tests.
3908 ac_preproc_ok=:
3909 break
3912 rm -f conftest.err conftest.$ac_ext
3914 done
3915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3916 rm -f conftest.err conftest.$ac_ext
3917 if $ac_preproc_ok; then
3919 else
3920 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3921 See \`config.log' for more details." >&5
3922 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3923 See \`config.log' for more details." >&2;}
3924 { (exit 1); exit 1; }; }
3927 ac_ext=c
3928 ac_cpp='$CPP $CPPFLAGS'
3929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3934 { echo "$as_me:$LINENO: checking for X" >&5
3935 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3938 # Check whether --with-x was given.
3939 if test "${with_x+set}" = set; then
3940 withval=$with_x;
3943 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3944 if test "x$with_x" = xno; then
3945 # The user explicitly disabled X.
3946 have_x=disabled
3947 else
3948 case $x_includes,$x_libraries in #(
3949 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3950 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3951 { (exit 1); exit 1; }; };; #(
3952 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3954 else
3955 # One or both of the vars are not set, and there is no cached value.
3956 ac_x_includes=no ac_x_libraries=no
3957 rm -f -r conftest.dir
3958 if mkdir conftest.dir; then
3959 cd conftest.dir
3960 cat >Imakefile <<'_ACEOF'
3961 incroot:
3962 @echo incroot='${INCROOT}'
3963 usrlibdir:
3964 @echo usrlibdir='${USRLIBDIR}'
3965 libdir:
3966 @echo libdir='${LIBDIR}'
3967 _ACEOF
3968 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3969 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3970 for ac_var in incroot usrlibdir libdir; do
3971 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3972 done
3973 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3974 for ac_extension in a so sl; do
3975 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3976 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3977 ac_im_usrlibdir=$ac_im_libdir; break
3979 done
3980 # Screen out bogus values from the imake configuration. They are
3981 # bogus both because they are the default anyway, and because
3982 # using them would break gcc on systems where it needs fixed includes.
3983 case $ac_im_incroot in
3984 /usr/include) ac_x_includes= ;;
3985 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3986 esac
3987 case $ac_im_usrlibdir in
3988 /usr/lib | /lib) ;;
3989 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3990 esac
3992 cd ..
3993 rm -f -r conftest.dir
3996 # Standard set of common directories for X headers.
3997 # Check X11 before X11Rn because it is often a symlink to the current release.
3998 ac_x_header_dirs='
3999 /usr/X11/include
4000 /usr/X11R6/include
4001 /usr/X11R5/include
4002 /usr/X11R4/include
4004 /usr/include/X11
4005 /usr/include/X11R6
4006 /usr/include/X11R5
4007 /usr/include/X11R4
4009 /usr/local/X11/include
4010 /usr/local/X11R6/include
4011 /usr/local/X11R5/include
4012 /usr/local/X11R4/include
4014 /usr/local/include/X11
4015 /usr/local/include/X11R6
4016 /usr/local/include/X11R5
4017 /usr/local/include/X11R4
4019 /usr/X386/include
4020 /usr/x386/include
4021 /usr/XFree86/include/X11
4023 /usr/include
4024 /usr/local/include
4025 /usr/unsupported/include
4026 /usr/athena/include
4027 /usr/local/x11r5/include
4028 /usr/lpp/Xamples/include
4030 /usr/openwin/include
4031 /usr/openwin/share/include'
4033 if test "$ac_x_includes" = no; then
4034 # Guess where to find include files, by looking for Xlib.h.
4035 # First, try using that file with no special directory specified.
4036 cat >conftest.$ac_ext <<_ACEOF
4037 /* confdefs.h. */
4038 _ACEOF
4039 cat confdefs.h >>conftest.$ac_ext
4040 cat >>conftest.$ac_ext <<_ACEOF
4041 /* end confdefs.h. */
4042 #include <X11/Xlib.h>
4043 _ACEOF
4044 if { (ac_try="$ac_cpp conftest.$ac_ext"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4051 ac_status=$?
4052 grep -v '^ *+' conftest.er1 >conftest.err
4053 rm -f conftest.er1
4054 cat conftest.err >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } >/dev/null && {
4057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4058 test ! -s conftest.err
4059 }; then
4060 # We can compile using X headers with no special include directory.
4061 ac_x_includes=
4062 else
4063 echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4066 for ac_dir in $ac_x_header_dirs; do
4067 if test -r "$ac_dir/X11/Xlib.h"; then
4068 ac_x_includes=$ac_dir
4069 break
4071 done
4074 rm -f conftest.err conftest.$ac_ext
4075 fi # $ac_x_includes = no
4077 if test "$ac_x_libraries" = no; then
4078 # Check for the libraries.
4079 # See if we find them without any special options.
4080 # Don't add to $LIBS permanently.
4081 ac_save_LIBS=$LIBS
4082 LIBS="-lX11 $LIBS"
4083 cat >conftest.$ac_ext <<_ACEOF
4084 /* confdefs.h. */
4085 _ACEOF
4086 cat confdefs.h >>conftest.$ac_ext
4087 cat >>conftest.$ac_ext <<_ACEOF
4088 /* end confdefs.h. */
4089 #include <X11/Xlib.h>
4091 main ()
4093 XrmInitialize ()
4095 return 0;
4097 _ACEOF
4098 rm -f conftest.$ac_objext conftest$ac_exeext
4099 if { (ac_try="$ac_link"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4105 (eval "$ac_link") 2>conftest.er1
4106 ac_status=$?
4107 grep -v '^ *+' conftest.er1 >conftest.err
4108 rm -f conftest.er1
4109 cat conftest.err >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); } && {
4112 test -z "$ac_c_werror_flag" ||
4113 test ! -s conftest.err
4114 } && test -s conftest$ac_exeext &&
4115 $as_test_x conftest$ac_exeext; then
4116 LIBS=$ac_save_LIBS
4117 # We can link X programs with no special library path.
4118 ac_x_libraries=
4119 else
4120 echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4123 LIBS=$ac_save_LIBS
4124 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4126 # Don't even attempt the hair of trying to link an X program!
4127 for ac_extension in a so sl; do
4128 if test -r "$ac_dir/libX11.$ac_extension"; then
4129 ac_x_libraries=$ac_dir
4130 break 2
4132 done
4133 done
4136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4137 conftest$ac_exeext conftest.$ac_ext
4138 fi # $ac_x_libraries = no
4140 case $ac_x_includes,$ac_x_libraries in #(
4141 no,* | *,no | *\'*)
4142 # Didn't find X, or a directory has "'" in its name.
4143 ac_cv_have_x="have_x=no";; #(
4145 # Record where we found X for the cache.
4146 ac_cv_have_x="have_x=yes\
4147 ac_x_includes='$ac_x_includes'\
4148 ac_x_libraries='$ac_x_libraries'"
4149 esac
4151 ;; #(
4152 *) have_x=yes;;
4153 esac
4154 eval "$ac_cv_have_x"
4155 fi # $with_x != no
4157 if test "$have_x" != yes; then
4158 { echo "$as_me:$LINENO: result: $have_x" >&5
4159 echo "${ECHO_T}$have_x" >&6; }
4160 no_x=yes
4161 else
4162 # If each of the values was on the command line, it overrides each guess.
4163 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4164 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4165 # Update the cache value to reflect the command line values.
4166 ac_cv_have_x="have_x=yes\
4167 ac_x_includes='$x_includes'\
4168 ac_x_libraries='$x_libraries'"
4169 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4170 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4173 if test "$no_x" = yes; then
4174 # Not all programs may use this symbol, but it does not hurt to define it.
4176 cat >>confdefs.h <<\_ACEOF
4177 #define X_DISPLAY_MISSING 1
4178 _ACEOF
4180 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4181 else
4182 if test -n "$x_includes"; then
4183 X_CFLAGS="$X_CFLAGS -I$x_includes"
4186 # It would also be nice to do this for all -L options, not just this one.
4187 if test -n "$x_libraries"; then
4188 X_LIBS="$X_LIBS -L$x_libraries"
4189 # For Solaris; some versions of Sun CC require a space after -R and
4190 # others require no space. Words are not sufficient . . . .
4191 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4192 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4193 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4194 ac_xsave_c_werror_flag=$ac_c_werror_flag
4195 ac_c_werror_flag=yes
4196 cat >conftest.$ac_ext <<_ACEOF
4197 /* confdefs.h. */
4198 _ACEOF
4199 cat confdefs.h >>conftest.$ac_ext
4200 cat >>conftest.$ac_ext <<_ACEOF
4201 /* end confdefs.h. */
4204 main ()
4208 return 0;
4210 _ACEOF
4211 rm -f conftest.$ac_objext conftest$ac_exeext
4212 if { (ac_try="$ac_link"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_link") 2>conftest.er1
4219 ac_status=$?
4220 grep -v '^ *+' conftest.er1 >conftest.err
4221 rm -f conftest.er1
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } && {
4225 test -z "$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4227 } && test -s conftest$ac_exeext &&
4228 $as_test_x conftest$ac_exeext; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 X_LIBS="$X_LIBS -R$x_libraries"
4232 else
4233 echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 LIBS="$ac_xsave_LIBS -R $x_libraries"
4237 cat >conftest.$ac_ext <<_ACEOF
4238 /* confdefs.h. */
4239 _ACEOF
4240 cat confdefs.h >>conftest.$ac_ext
4241 cat >>conftest.$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4245 main ()
4249 return 0;
4251 _ACEOF
4252 rm -f conftest.$ac_objext conftest$ac_exeext
4253 if { (ac_try="$ac_link"
4254 case "(($ac_try" in
4255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256 *) ac_try_echo=$ac_try;;
4257 esac
4258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4259 (eval "$ac_link") 2>conftest.er1
4260 ac_status=$?
4261 grep -v '^ *+' conftest.er1 >conftest.err
4262 rm -f conftest.er1
4263 cat conftest.err >&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } && {
4266 test -z "$ac_c_werror_flag" ||
4267 test ! -s conftest.err
4268 } && test -s conftest$ac_exeext &&
4269 $as_test_x conftest$ac_exeext; then
4270 { echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6; }
4272 X_LIBS="$X_LIBS -R $x_libraries"
4273 else
4274 echo "$as_me: failed program was:" >&5
4275 sed 's/^/| /' conftest.$ac_ext >&5
4277 { echo "$as_me:$LINENO: result: neither works" >&5
4278 echo "${ECHO_T}neither works" >&6; }
4281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4282 conftest$ac_exeext conftest.$ac_ext
4285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4286 conftest$ac_exeext conftest.$ac_ext
4287 ac_c_werror_flag=$ac_xsave_c_werror_flag
4288 LIBS=$ac_xsave_LIBS
4291 # Check for system-dependent libraries X programs must link with.
4292 # Do this before checking for the system-independent R6 libraries
4293 # (-lICE), since we may need -lsocket or whatever for X linking.
4295 if test "$ISC" = yes; then
4296 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4297 else
4298 # Martyn Johnson says this is needed for Ultrix, if the X
4299 # libraries were built with DECnet support. And Karl Berry says
4300 # the Alpha needs dnet_stub (dnet does not exist).
4301 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4302 cat >conftest.$ac_ext <<_ACEOF
4303 /* confdefs.h. */
4304 _ACEOF
4305 cat confdefs.h >>conftest.$ac_ext
4306 cat >>conftest.$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4309 /* Override any GCC internal prototype to avoid an error.
4310 Use char because int might match the return type of a GCC
4311 builtin and then its argument prototype would still apply. */
4312 #ifdef __cplusplus
4313 extern "C"
4314 #endif
4315 char XOpenDisplay ();
4317 main ()
4319 return XOpenDisplay ();
4321 return 0;
4323 _ACEOF
4324 rm -f conftest.$ac_objext conftest$ac_exeext
4325 if { (ac_try="$ac_link"
4326 case "(($ac_try" in
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4329 esac
4330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4331 (eval "$ac_link") 2>conftest.er1
4332 ac_status=$?
4333 grep -v '^ *+' conftest.er1 >conftest.err
4334 rm -f conftest.er1
4335 cat conftest.err >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } && {
4338 test -z "$ac_c_werror_flag" ||
4339 test ! -s conftest.err
4340 } && test -s conftest$ac_exeext &&
4341 $as_test_x conftest$ac_exeext; then
4343 else
4344 echo "$as_me: failed program was:" >&5
4345 sed 's/^/| /' conftest.$ac_ext >&5
4347 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4348 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4349 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 else
4352 ac_check_lib_save_LIBS=$LIBS
4353 LIBS="-ldnet $LIBS"
4354 cat >conftest.$ac_ext <<_ACEOF
4355 /* confdefs.h. */
4356 _ACEOF
4357 cat confdefs.h >>conftest.$ac_ext
4358 cat >>conftest.$ac_ext <<_ACEOF
4359 /* end confdefs.h. */
4361 /* Override any GCC internal prototype to avoid an error.
4362 Use char because int might match the return type of a GCC
4363 builtin and then its argument prototype would still apply. */
4364 #ifdef __cplusplus
4365 extern "C"
4366 #endif
4367 char dnet_ntoa ();
4369 main ()
4371 return dnet_ntoa ();
4373 return 0;
4375 _ACEOF
4376 rm -f conftest.$ac_objext conftest$ac_exeext
4377 if { (ac_try="$ac_link"
4378 case "(($ac_try" in
4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4381 esac
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_link") 2>conftest.er1
4384 ac_status=$?
4385 grep -v '^ *+' conftest.er1 >conftest.err
4386 rm -f conftest.er1
4387 cat conftest.err >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); } && {
4390 test -z "$ac_c_werror_flag" ||
4391 test ! -s conftest.err
4392 } && test -s conftest$ac_exeext &&
4393 $as_test_x conftest$ac_exeext; then
4394 ac_cv_lib_dnet_dnet_ntoa=yes
4395 else
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4399 ac_cv_lib_dnet_dnet_ntoa=no
4402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4403 conftest$ac_exeext conftest.$ac_ext
4404 LIBS=$ac_check_lib_save_LIBS
4406 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4407 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4408 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4409 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4412 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4413 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4414 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4415 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418 ac_check_lib_save_LIBS=$LIBS
4419 LIBS="-ldnet_stub $LIBS"
4420 cat >conftest.$ac_ext <<_ACEOF
4421 /* confdefs.h. */
4422 _ACEOF
4423 cat confdefs.h >>conftest.$ac_ext
4424 cat >>conftest.$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4427 /* Override any GCC internal prototype to avoid an error.
4428 Use char because int might match the return type of a GCC
4429 builtin and then its argument prototype would still apply. */
4430 #ifdef __cplusplus
4431 extern "C"
4432 #endif
4433 char dnet_ntoa ();
4435 main ()
4437 return dnet_ntoa ();
4439 return 0;
4441 _ACEOF
4442 rm -f conftest.$ac_objext conftest$ac_exeext
4443 if { (ac_try="$ac_link"
4444 case "(($ac_try" in
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4447 esac
4448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4449 (eval "$ac_link") 2>conftest.er1
4450 ac_status=$?
4451 grep -v '^ *+' conftest.er1 >conftest.err
4452 rm -f conftest.er1
4453 cat conftest.err >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } && {
4456 test -z "$ac_c_werror_flag" ||
4457 test ! -s conftest.err
4458 } && test -s conftest$ac_exeext &&
4459 $as_test_x conftest$ac_exeext; then
4460 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4461 else
4462 echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.$ac_ext >&5
4465 ac_cv_lib_dnet_stub_dnet_ntoa=no
4468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4469 conftest$ac_exeext conftest.$ac_ext
4470 LIBS=$ac_check_lib_save_LIBS
4472 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4473 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4474 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4475 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4482 conftest$ac_exeext conftest.$ac_ext
4483 LIBS="$ac_xsave_LIBS"
4485 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4486 # to get the SysV transport functions.
4487 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4488 # needs -lnsl.
4489 # The nsl library prevents programs from opening the X display
4490 # on Irix 5.2, according to T.E. Dickey.
4491 # The functions gethostbyname, getservbyname, and inet_addr are
4492 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4493 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4494 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4495 if test "${ac_cv_func_gethostbyname+set}" = set; then
4496 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 else
4498 cat >conftest.$ac_ext <<_ACEOF
4499 /* confdefs.h. */
4500 _ACEOF
4501 cat confdefs.h >>conftest.$ac_ext
4502 cat >>conftest.$ac_ext <<_ACEOF
4503 /* end confdefs.h. */
4504 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4506 #define gethostbyname innocuous_gethostbyname
4508 /* System header to define __stub macros and hopefully few prototypes,
4509 which can conflict with char gethostbyname (); below.
4510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4511 <limits.h> exists even on freestanding compilers. */
4513 #ifdef __STDC__
4514 # include <limits.h>
4515 #else
4516 # include <assert.h>
4517 #endif
4519 #undef gethostbyname
4521 /* Override any GCC internal prototype to avoid an error.
4522 Use char because int might match the return type of a GCC
4523 builtin and then its argument prototype would still apply. */
4524 #ifdef __cplusplus
4525 extern "C"
4526 #endif
4527 char gethostbyname ();
4528 /* The GNU C library defines this for functions which it implements
4529 to always fail with ENOSYS. Some functions are actually named
4530 something starting with __ and the normal name is an alias. */
4531 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4532 choke me
4533 #endif
4536 main ()
4538 return gethostbyname ();
4540 return 0;
4542 _ACEOF
4543 rm -f conftest.$ac_objext conftest$ac_exeext
4544 if { (ac_try="$ac_link"
4545 case "(($ac_try" in
4546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4547 *) ac_try_echo=$ac_try;;
4548 esac
4549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4550 (eval "$ac_link") 2>conftest.er1
4551 ac_status=$?
4552 grep -v '^ *+' conftest.er1 >conftest.err
4553 rm -f conftest.er1
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } && {
4557 test -z "$ac_c_werror_flag" ||
4558 test ! -s conftest.err
4559 } && test -s conftest$ac_exeext &&
4560 $as_test_x conftest$ac_exeext; then
4561 ac_cv_func_gethostbyname=yes
4562 else
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.$ac_ext >&5
4566 ac_cv_func_gethostbyname=no
4569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4570 conftest$ac_exeext conftest.$ac_ext
4572 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4573 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4575 if test $ac_cv_func_gethostbyname = no; then
4576 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4577 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4578 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 else
4581 ac_check_lib_save_LIBS=$LIBS
4582 LIBS="-lnsl $LIBS"
4583 cat >conftest.$ac_ext <<_ACEOF
4584 /* confdefs.h. */
4585 _ACEOF
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4590 /* Override any GCC internal prototype to avoid an error.
4591 Use char because int might match the return type of a GCC
4592 builtin and then its argument prototype would still apply. */
4593 #ifdef __cplusplus
4594 extern "C"
4595 #endif
4596 char gethostbyname ();
4598 main ()
4600 return gethostbyname ();
4602 return 0;
4604 _ACEOF
4605 rm -f conftest.$ac_objext conftest$ac_exeext
4606 if { (ac_try="$ac_link"
4607 case "(($ac_try" in
4608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609 *) ac_try_echo=$ac_try;;
4610 esac
4611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4612 (eval "$ac_link") 2>conftest.er1
4613 ac_status=$?
4614 grep -v '^ *+' conftest.er1 >conftest.err
4615 rm -f conftest.er1
4616 cat conftest.err >&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); } && {
4619 test -z "$ac_c_werror_flag" ||
4620 test ! -s conftest.err
4621 } && test -s conftest$ac_exeext &&
4622 $as_test_x conftest$ac_exeext; then
4623 ac_cv_lib_nsl_gethostbyname=yes
4624 else
4625 echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4628 ac_cv_lib_nsl_gethostbyname=no
4631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4632 conftest$ac_exeext conftest.$ac_ext
4633 LIBS=$ac_check_lib_save_LIBS
4635 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4636 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4637 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4638 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4641 if test $ac_cv_lib_nsl_gethostbyname = no; then
4642 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4643 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4644 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 else
4647 ac_check_lib_save_LIBS=$LIBS
4648 LIBS="-lbsd $LIBS"
4649 cat >conftest.$ac_ext <<_ACEOF
4650 /* confdefs.h. */
4651 _ACEOF
4652 cat confdefs.h >>conftest.$ac_ext
4653 cat >>conftest.$ac_ext <<_ACEOF
4654 /* end confdefs.h. */
4656 /* Override any GCC internal prototype to avoid an error.
4657 Use char because int might match the return type of a GCC
4658 builtin and then its argument prototype would still apply. */
4659 #ifdef __cplusplus
4660 extern "C"
4661 #endif
4662 char gethostbyname ();
4664 main ()
4666 return gethostbyname ();
4668 return 0;
4670 _ACEOF
4671 rm -f conftest.$ac_objext conftest$ac_exeext
4672 if { (ac_try="$ac_link"
4673 case "(($ac_try" in
4674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4675 *) ac_try_echo=$ac_try;;
4676 esac
4677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4678 (eval "$ac_link") 2>conftest.er1
4679 ac_status=$?
4680 grep -v '^ *+' conftest.er1 >conftest.err
4681 rm -f conftest.er1
4682 cat conftest.err >&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); } && {
4685 test -z "$ac_c_werror_flag" ||
4686 test ! -s conftest.err
4687 } && test -s conftest$ac_exeext &&
4688 $as_test_x conftest$ac_exeext; then
4689 ac_cv_lib_bsd_gethostbyname=yes
4690 else
4691 echo "$as_me: failed program was:" >&5
4692 sed 's/^/| /' conftest.$ac_ext >&5
4694 ac_cv_lib_bsd_gethostbyname=no
4697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4698 conftest$ac_exeext conftest.$ac_ext
4699 LIBS=$ac_check_lib_save_LIBS
4701 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4702 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4703 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4704 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4710 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4711 # socket/setsockopt and other routines are undefined under SCO ODT
4712 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4713 # on later versions), says Simon Leinen: it contains gethostby*
4714 # variants that don't use the name server (or something). -lsocket
4715 # must be given before -lnsl if both are needed. We assume that
4716 # if connect needs -lnsl, so does gethostbyname.
4717 { echo "$as_me:$LINENO: checking for connect" >&5
4718 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4719 if test "${ac_cv_func_connect+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 else
4722 cat >conftest.$ac_ext <<_ACEOF
4723 /* confdefs.h. */
4724 _ACEOF
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4728 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4730 #define connect innocuous_connect
4732 /* System header to define __stub macros and hopefully few prototypes,
4733 which can conflict with char connect (); below.
4734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4735 <limits.h> exists even on freestanding compilers. */
4737 #ifdef __STDC__
4738 # include <limits.h>
4739 #else
4740 # include <assert.h>
4741 #endif
4743 #undef connect
4745 /* Override any GCC internal prototype to avoid an error.
4746 Use char because int might match the return type of a GCC
4747 builtin and then its argument prototype would still apply. */
4748 #ifdef __cplusplus
4749 extern "C"
4750 #endif
4751 char connect ();
4752 /* The GNU C library defines this for functions which it implements
4753 to always fail with ENOSYS. Some functions are actually named
4754 something starting with __ and the normal name is an alias. */
4755 #if defined __stub_connect || defined __stub___connect
4756 choke me
4757 #endif
4760 main ()
4762 return connect ();
4764 return 0;
4766 _ACEOF
4767 rm -f conftest.$ac_objext conftest$ac_exeext
4768 if { (ac_try="$ac_link"
4769 case "(($ac_try" in
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4772 esac
4773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4774 (eval "$ac_link") 2>conftest.er1
4775 ac_status=$?
4776 grep -v '^ *+' conftest.er1 >conftest.err
4777 rm -f conftest.er1
4778 cat conftest.err >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); } && {
4781 test -z "$ac_c_werror_flag" ||
4782 test ! -s conftest.err
4783 } && test -s conftest$ac_exeext &&
4784 $as_test_x conftest$ac_exeext; then
4785 ac_cv_func_connect=yes
4786 else
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.$ac_ext >&5
4790 ac_cv_func_connect=no
4793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4794 conftest$ac_exeext conftest.$ac_ext
4796 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4797 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4799 if test $ac_cv_func_connect = no; then
4800 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4801 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4802 if test "${ac_cv_lib_socket_connect+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 else
4805 ac_check_lib_save_LIBS=$LIBS
4806 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4807 cat >conftest.$ac_ext <<_ACEOF
4808 /* confdefs.h. */
4809 _ACEOF
4810 cat confdefs.h >>conftest.$ac_ext
4811 cat >>conftest.$ac_ext <<_ACEOF
4812 /* end confdefs.h. */
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4817 #ifdef __cplusplus
4818 extern "C"
4819 #endif
4820 char connect ();
4822 main ()
4824 return connect ();
4826 return 0;
4828 _ACEOF
4829 rm -f conftest.$ac_objext conftest$ac_exeext
4830 if { (ac_try="$ac_link"
4831 case "(($ac_try" in
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4834 esac
4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4836 (eval "$ac_link") 2>conftest.er1
4837 ac_status=$?
4838 grep -v '^ *+' conftest.er1 >conftest.err
4839 rm -f conftest.er1
4840 cat conftest.err >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } && {
4843 test -z "$ac_c_werror_flag" ||
4844 test ! -s conftest.err
4845 } && test -s conftest$ac_exeext &&
4846 $as_test_x conftest$ac_exeext; then
4847 ac_cv_lib_socket_connect=yes
4848 else
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4852 ac_cv_lib_socket_connect=no
4855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4856 conftest$ac_exeext conftest.$ac_ext
4857 LIBS=$ac_check_lib_save_LIBS
4859 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4860 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4861 if test $ac_cv_lib_socket_connect = yes; then
4862 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4867 # Guillermo Gomez says -lposix is necessary on A/UX.
4868 { echo "$as_me:$LINENO: checking for remove" >&5
4869 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4870 if test "${ac_cv_func_remove+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873 cat >conftest.$ac_ext <<_ACEOF
4874 /* confdefs.h. */
4875 _ACEOF
4876 cat confdefs.h >>conftest.$ac_ext
4877 cat >>conftest.$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4879 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4881 #define remove innocuous_remove
4883 /* System header to define __stub macros and hopefully few prototypes,
4884 which can conflict with char remove (); below.
4885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4886 <limits.h> exists even on freestanding compilers. */
4888 #ifdef __STDC__
4889 # include <limits.h>
4890 #else
4891 # include <assert.h>
4892 #endif
4894 #undef remove
4896 /* Override any GCC internal prototype to avoid an error.
4897 Use char because int might match the return type of a GCC
4898 builtin and then its argument prototype would still apply. */
4899 #ifdef __cplusplus
4900 extern "C"
4901 #endif
4902 char remove ();
4903 /* The GNU C library defines this for functions which it implements
4904 to always fail with ENOSYS. Some functions are actually named
4905 something starting with __ and the normal name is an alias. */
4906 #if defined __stub_remove || defined __stub___remove
4907 choke me
4908 #endif
4911 main ()
4913 return remove ();
4915 return 0;
4917 _ACEOF
4918 rm -f conftest.$ac_objext conftest$ac_exeext
4919 if { (ac_try="$ac_link"
4920 case "(($ac_try" in
4921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4922 *) ac_try_echo=$ac_try;;
4923 esac
4924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4925 (eval "$ac_link") 2>conftest.er1
4926 ac_status=$?
4927 grep -v '^ *+' conftest.er1 >conftest.err
4928 rm -f conftest.er1
4929 cat conftest.err >&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); } && {
4932 test -z "$ac_c_werror_flag" ||
4933 test ! -s conftest.err
4934 } && test -s conftest$ac_exeext &&
4935 $as_test_x conftest$ac_exeext; then
4936 ac_cv_func_remove=yes
4937 else
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4941 ac_cv_func_remove=no
4944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4945 conftest$ac_exeext conftest.$ac_ext
4947 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4948 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4950 if test $ac_cv_func_remove = no; then
4951 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4952 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4953 if test "${ac_cv_lib_posix_remove+set}" = set; then
4954 echo $ECHO_N "(cached) $ECHO_C" >&6
4955 else
4956 ac_check_lib_save_LIBS=$LIBS
4957 LIBS="-lposix $LIBS"
4958 cat >conftest.$ac_ext <<_ACEOF
4959 /* confdefs.h. */
4960 _ACEOF
4961 cat confdefs.h >>conftest.$ac_ext
4962 cat >>conftest.$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4965 /* Override any GCC internal prototype to avoid an error.
4966 Use char because int might match the return type of a GCC
4967 builtin and then its argument prototype would still apply. */
4968 #ifdef __cplusplus
4969 extern "C"
4970 #endif
4971 char remove ();
4973 main ()
4975 return remove ();
4977 return 0;
4979 _ACEOF
4980 rm -f conftest.$ac_objext conftest$ac_exeext
4981 if { (ac_try="$ac_link"
4982 case "(($ac_try" in
4983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4984 *) ac_try_echo=$ac_try;;
4985 esac
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_link") 2>conftest.er1
4988 ac_status=$?
4989 grep -v '^ *+' conftest.er1 >conftest.err
4990 rm -f conftest.er1
4991 cat conftest.err >&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } && {
4994 test -z "$ac_c_werror_flag" ||
4995 test ! -s conftest.err
4996 } && test -s conftest$ac_exeext &&
4997 $as_test_x conftest$ac_exeext; then
4998 ac_cv_lib_posix_remove=yes
4999 else
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.$ac_ext >&5
5003 ac_cv_lib_posix_remove=no
5006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5007 conftest$ac_exeext conftest.$ac_ext
5008 LIBS=$ac_check_lib_save_LIBS
5010 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5011 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5012 if test $ac_cv_lib_posix_remove = yes; then
5013 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5018 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5019 { echo "$as_me:$LINENO: checking for shmat" >&5
5020 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5021 if test "${ac_cv_func_shmat+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5023 else
5024 cat >conftest.$ac_ext <<_ACEOF
5025 /* confdefs.h. */
5026 _ACEOF
5027 cat confdefs.h >>conftest.$ac_ext
5028 cat >>conftest.$ac_ext <<_ACEOF
5029 /* end confdefs.h. */
5030 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5032 #define shmat innocuous_shmat
5034 /* System header to define __stub macros and hopefully few prototypes,
5035 which can conflict with char shmat (); below.
5036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5037 <limits.h> exists even on freestanding compilers. */
5039 #ifdef __STDC__
5040 # include <limits.h>
5041 #else
5042 # include <assert.h>
5043 #endif
5045 #undef shmat
5047 /* Override any GCC internal prototype to avoid an error.
5048 Use char because int might match the return type of a GCC
5049 builtin and then its argument prototype would still apply. */
5050 #ifdef __cplusplus
5051 extern "C"
5052 #endif
5053 char shmat ();
5054 /* The GNU C library defines this for functions which it implements
5055 to always fail with ENOSYS. Some functions are actually named
5056 something starting with __ and the normal name is an alias. */
5057 #if defined __stub_shmat || defined __stub___shmat
5058 choke me
5059 #endif
5062 main ()
5064 return shmat ();
5066 return 0;
5068 _ACEOF
5069 rm -f conftest.$ac_objext conftest$ac_exeext
5070 if { (ac_try="$ac_link"
5071 case "(($ac_try" in
5072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5073 *) ac_try_echo=$ac_try;;
5074 esac
5075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5076 (eval "$ac_link") 2>conftest.er1
5077 ac_status=$?
5078 grep -v '^ *+' conftest.er1 >conftest.err
5079 rm -f conftest.er1
5080 cat conftest.err >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } && {
5083 test -z "$ac_c_werror_flag" ||
5084 test ! -s conftest.err
5085 } && test -s conftest$ac_exeext &&
5086 $as_test_x conftest$ac_exeext; then
5087 ac_cv_func_shmat=yes
5088 else
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.$ac_ext >&5
5092 ac_cv_func_shmat=no
5095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5096 conftest$ac_exeext conftest.$ac_ext
5098 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5099 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5101 if test $ac_cv_func_shmat = no; then
5102 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5103 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5104 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 else
5107 ac_check_lib_save_LIBS=$LIBS
5108 LIBS="-lipc $LIBS"
5109 cat >conftest.$ac_ext <<_ACEOF
5110 /* confdefs.h. */
5111 _ACEOF
5112 cat confdefs.h >>conftest.$ac_ext
5113 cat >>conftest.$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5116 /* Override any GCC internal prototype to avoid an error.
5117 Use char because int might match the return type of a GCC
5118 builtin and then its argument prototype would still apply. */
5119 #ifdef __cplusplus
5120 extern "C"
5121 #endif
5122 char shmat ();
5124 main ()
5126 return shmat ();
5128 return 0;
5130 _ACEOF
5131 rm -f conftest.$ac_objext conftest$ac_exeext
5132 if { (ac_try="$ac_link"
5133 case "(($ac_try" in
5134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5135 *) ac_try_echo=$ac_try;;
5136 esac
5137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5138 (eval "$ac_link") 2>conftest.er1
5139 ac_status=$?
5140 grep -v '^ *+' conftest.er1 >conftest.err
5141 rm -f conftest.er1
5142 cat conftest.err >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } && {
5145 test -z "$ac_c_werror_flag" ||
5146 test ! -s conftest.err
5147 } && test -s conftest$ac_exeext &&
5148 $as_test_x conftest$ac_exeext; then
5149 ac_cv_lib_ipc_shmat=yes
5150 else
5151 echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.$ac_ext >&5
5154 ac_cv_lib_ipc_shmat=no
5157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5158 conftest$ac_exeext conftest.$ac_ext
5159 LIBS=$ac_check_lib_save_LIBS
5161 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5162 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5163 if test $ac_cv_lib_ipc_shmat = yes; then
5164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5170 # Check for libraries that X11R6 Xt/Xaw programs need.
5171 ac_save_LDFLAGS=$LDFLAGS
5172 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5173 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5174 # check for ICE first), but we must link in the order -lSM -lICE or
5175 # we get undefined symbols. So assume we have SM if we have ICE.
5176 # These have to be linked with before -lX11, unlike the other
5177 # libraries we check for below, so use a different variable.
5178 # John Interrante, Karl Berry
5179 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5180 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5181 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 else
5184 ac_check_lib_save_LIBS=$LIBS
5185 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5186 cat >conftest.$ac_ext <<_ACEOF
5187 /* confdefs.h. */
5188 _ACEOF
5189 cat confdefs.h >>conftest.$ac_ext
5190 cat >>conftest.$ac_ext <<_ACEOF
5191 /* end confdefs.h. */
5193 /* Override any GCC internal prototype to avoid an error.
5194 Use char because int might match the return type of a GCC
5195 builtin and then its argument prototype would still apply. */
5196 #ifdef __cplusplus
5197 extern "C"
5198 #endif
5199 char IceConnectionNumber ();
5201 main ()
5203 return IceConnectionNumber ();
5205 return 0;
5207 _ACEOF
5208 rm -f conftest.$ac_objext conftest$ac_exeext
5209 if { (ac_try="$ac_link"
5210 case "(($ac_try" in
5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5213 esac
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_link") 2>conftest.er1
5216 ac_status=$?
5217 grep -v '^ *+' conftest.er1 >conftest.err
5218 rm -f conftest.er1
5219 cat conftest.err >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } && {
5222 test -z "$ac_c_werror_flag" ||
5223 test ! -s conftest.err
5224 } && test -s conftest$ac_exeext &&
5225 $as_test_x conftest$ac_exeext; then
5226 ac_cv_lib_ICE_IceConnectionNumber=yes
5227 else
5228 echo "$as_me: failed program was:" >&5
5229 sed 's/^/| /' conftest.$ac_ext >&5
5231 ac_cv_lib_ICE_IceConnectionNumber=no
5234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5235 conftest$ac_exeext conftest.$ac_ext
5236 LIBS=$ac_check_lib_save_LIBS
5238 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5239 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5240 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5241 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5244 LDFLAGS=$ac_save_LDFLAGS
5249 for ac_prog in flex
5251 # Extract the first word of "$ac_prog", so it can be a program name with args.
5252 set dummy $ac_prog; ac_word=$2
5253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5255 if test "${ac_cv_prog_FLEX+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5257 else
5258 if test -n "$FLEX"; then
5259 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5260 else
5261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 for as_dir in $PATH
5264 IFS=$as_save_IFS
5265 test -z "$as_dir" && as_dir=.
5266 for ac_exec_ext in '' $ac_executable_extensions; do
5267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5268 ac_cv_prog_FLEX="$ac_prog"
5269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 break 2
5272 done
5273 done
5274 IFS=$as_save_IFS
5278 FLEX=$ac_cv_prog_FLEX
5279 if test -n "$FLEX"; then
5280 { echo "$as_me:$LINENO: result: $FLEX" >&5
5281 echo "${ECHO_T}$FLEX" >&6; }
5282 else
5283 { echo "$as_me:$LINENO: result: no" >&5
5284 echo "${ECHO_T}no" >&6; }
5288 test -n "$FLEX" && break
5289 done
5290 test -n "$FLEX" || FLEX="none"
5292 if test "$FLEX" = "none"
5293 then
5294 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5295 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5296 { (exit 1); exit 1; }; }
5299 for ac_prog in bison
5301 # Extract the first word of "$ac_prog", so it can be a program name with args.
5302 set dummy $ac_prog; ac_word=$2
5303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5305 if test "${ac_cv_prog_BISON+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 else
5308 if test -n "$BISON"; then
5309 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5318 ac_cv_prog_BISON="$ac_prog"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 break 2
5322 done
5323 done
5324 IFS=$as_save_IFS
5328 BISON=$ac_cv_prog_BISON
5329 if test -n "$BISON"; then
5330 { echo "$as_me:$LINENO: result: $BISON" >&5
5331 echo "${ECHO_T}$BISON" >&6; }
5332 else
5333 { echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6; }
5338 test -n "$BISON" && break
5339 done
5340 test -n "$BISON" || BISON="none"
5342 if test "$BISON" = "none"
5343 then
5344 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5345 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5346 { (exit 1); exit 1; }; }
5349 if test -n "$ac_tool_prefix"; then
5350 for ac_prog in gas as
5352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5356 if test "${ac_cv_prog_AS+set}" = set; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 else
5359 if test -n "$AS"; then
5360 ac_cv_prog_AS="$AS" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 AS=$ac_cv_prog_AS
5380 if test -n "$AS"; then
5381 { echo "$as_me:$LINENO: result: $AS" >&5
5382 echo "${ECHO_T}$AS" >&6; }
5383 else
5384 { echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6; }
5389 test -n "$AS" && break
5390 done
5392 if test -z "$AS"; then
5393 ac_ct_AS=$AS
5394 for ac_prog in gas as
5396 # Extract the first word of "$ac_prog", so it can be a program name with args.
5397 set dummy $ac_prog; ac_word=$2
5398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5400 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5401 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 else
5403 if test -n "$ac_ct_AS"; then
5404 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5405 else
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH
5409 IFS=$as_save_IFS
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5413 ac_cv_prog_ac_ct_AS="$ac_prog"
5414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 break 2
5417 done
5418 done
5419 IFS=$as_save_IFS
5423 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5424 if test -n "$ac_ct_AS"; then
5425 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5426 echo "${ECHO_T}$ac_ct_AS" >&6; }
5427 else
5428 { echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6; }
5433 test -n "$ac_ct_AS" && break
5434 done
5436 if test "x$ac_ct_AS" = x; then
5437 AS="as"
5438 else
5439 case $cross_compiling:$ac_tool_warned in
5440 yes:)
5441 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5442 whose name does not start with the host triplet. If you think this
5443 configuration is useful to you, please write to autoconf@gnu.org." >&5
5444 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5445 whose name does not start with the host triplet. If you think this
5446 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5447 ac_tool_warned=yes ;;
5448 esac
5449 AS=$ac_ct_AS
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}ld; ac_word=$2
5456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5458 if test "${ac_cv_prog_LD+set}" = set; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 else
5461 if test -n "$LD"; then
5462 ac_cv_prog_LD="$LD" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471 ac_cv_prog_LD="${ac_tool_prefix}ld"
5472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 LD=$ac_cv_prog_LD
5482 if test -n "$LD"; then
5483 { echo "$as_me:$LINENO: result: $LD" >&5
5484 echo "${ECHO_T}$LD" >&6; }
5485 else
5486 { echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6; }
5492 if test -z "$ac_cv_prog_LD"; then
5493 ac_ct_LD=$LD
5494 # Extract the first word of "ld", so it can be a program name with args.
5495 set dummy ld; ac_word=$2
5496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5498 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 else
5501 if test -n "$ac_ct_LD"; then
5502 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511 ac_cv_prog_ac_ct_LD="ld"
5512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5522 if test -n "$ac_ct_LD"; then
5523 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5524 echo "${ECHO_T}$ac_ct_LD" >&6; }
5525 else
5526 { echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6; }
5530 if test "x$ac_ct_LD" = x; then
5531 LD="ld"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5536 whose name does not start with the host triplet. If you think this
5537 configuration is useful to you, please write to autoconf@gnu.org." >&5
5538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5539 whose name does not start with the host triplet. If you think this
5540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5541 ac_tool_warned=yes ;;
5542 esac
5543 LD=$ac_ct_LD
5545 else
5546 LD="$ac_cv_prog_LD"
5549 if test -n "$ac_tool_prefix"; then
5550 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5551 set dummy ${ac_tool_prefix}ar; ac_word=$2
5552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5554 if test "${ac_cv_prog_AR+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 else
5557 if test -n "$AR"; then
5558 ac_cv_prog_AR="$AR" # Let the user override the test.
5559 else
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 for as_dir in $PATH
5563 IFS=$as_save_IFS
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_prog_AR="${ac_tool_prefix}ar"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 break 2
5571 done
5572 done
5573 IFS=$as_save_IFS
5577 AR=$ac_cv_prog_AR
5578 if test -n "$AR"; then
5579 { echo "$as_me:$LINENO: result: $AR" >&5
5580 echo "${ECHO_T}$AR" >&6; }
5581 else
5582 { echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6; }
5588 if test -z "$ac_cv_prog_AR"; then
5589 ac_ct_AR=$AR
5590 # Extract the first word of "ar", so it can be a program name with args.
5591 set dummy ar; ac_word=$2
5592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5594 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 else
5597 if test -n "$ac_ct_AR"; then
5598 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5599 else
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in $PATH
5603 IFS=$as_save_IFS
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607 ac_cv_prog_ac_ct_AR="ar"
5608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 break 2
5611 done
5612 done
5613 IFS=$as_save_IFS
5617 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5618 if test -n "$ac_ct_AR"; then
5619 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5620 echo "${ECHO_T}$ac_ct_AR" >&6; }
5621 else
5622 { echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6; }
5626 if test "x$ac_ct_AR" = x; then
5627 AR="ar"
5628 else
5629 case $cross_compiling:$ac_tool_warned in
5630 yes:)
5631 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5632 whose name does not start with the host triplet. If you think this
5633 configuration is useful to you, please write to autoconf@gnu.org." >&5
5634 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5635 whose name does not start with the host triplet. If you think this
5636 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5637 ac_tool_warned=yes ;;
5638 esac
5639 AR=$ac_ct_AR
5641 else
5642 AR="$ac_cv_prog_AR"
5645 ARFLAGS=rc
5647 if test -n "$ac_tool_prefix"; then
5648 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5649 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5652 if test "${ac_cv_prog_RANLIB+set}" = set; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5654 else
5655 if test -n "$RANLIB"; then
5656 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5657 else
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 for as_dir in $PATH
5661 IFS=$as_save_IFS
5662 test -z "$as_dir" && as_dir=.
5663 for ac_exec_ext in '' $ac_executable_extensions; do
5664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5665 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 break 2
5669 done
5670 done
5671 IFS=$as_save_IFS
5675 RANLIB=$ac_cv_prog_RANLIB
5676 if test -n "$RANLIB"; then
5677 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5678 echo "${ECHO_T}$RANLIB" >&6; }
5679 else
5680 { echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6; }
5686 if test -z "$ac_cv_prog_RANLIB"; then
5687 ac_ct_RANLIB=$RANLIB
5688 # Extract the first word of "ranlib", so it can be a program name with args.
5689 set dummy ranlib; ac_word=$2
5690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5692 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 else
5695 if test -n "$ac_ct_RANLIB"; then
5696 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5697 else
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5705 ac_cv_prog_ac_ct_RANLIB="ranlib"
5706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5715 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5716 if test -n "$ac_ct_RANLIB"; then
5717 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5718 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5719 else
5720 { echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6; }
5724 if test "x$ac_ct_RANLIB" = x; then
5725 RANLIB=":"
5726 else
5727 case $cross_compiling:$ac_tool_warned in
5728 yes:)
5729 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5730 whose name does not start with the host triplet. If you think this
5731 configuration is useful to you, please write to autoconf@gnu.org." >&5
5732 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5733 whose name does not start with the host triplet. If you think this
5734 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5735 ac_tool_warned=yes ;;
5736 esac
5737 RANLIB=$ac_ct_RANLIB
5739 else
5740 RANLIB="$ac_cv_prog_RANLIB"
5743 if test -n "$ac_tool_prefix"; then
5744 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5745 set dummy ${ac_tool_prefix}strip; ac_word=$2
5746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5748 if test "${ac_cv_prog_STRIP+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5750 else
5751 if test -n "$STRIP"; then
5752 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5765 done
5766 done
5767 IFS=$as_save_IFS
5771 STRIP=$ac_cv_prog_STRIP
5772 if test -n "$STRIP"; then
5773 { echo "$as_me:$LINENO: result: $STRIP" >&5
5774 echo "${ECHO_T}$STRIP" >&6; }
5775 else
5776 { echo "$as_me:$LINENO: result: no" >&5
5777 echo "${ECHO_T}no" >&6; }
5782 if test -z "$ac_cv_prog_STRIP"; then
5783 ac_ct_STRIP=$STRIP
5784 # Extract the first word of "strip", so it can be a program name with args.
5785 set dummy strip; ac_word=$2
5786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5788 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 else
5791 if test -n "$ac_ct_STRIP"; then
5792 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5793 else
5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 for as_dir in $PATH
5797 IFS=$as_save_IFS
5798 test -z "$as_dir" && as_dir=.
5799 for ac_exec_ext in '' $ac_executable_extensions; do
5800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5801 ac_cv_prog_ac_ct_STRIP="strip"
5802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 break 2
5805 done
5806 done
5807 IFS=$as_save_IFS
5811 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5812 if test -n "$ac_ct_STRIP"; then
5813 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5814 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5815 else
5816 { echo "$as_me:$LINENO: result: no" >&5
5817 echo "${ECHO_T}no" >&6; }
5820 if test "x$ac_ct_STRIP" = x; then
5821 STRIP="strip"
5822 else
5823 case $cross_compiling:$ac_tool_warned in
5824 yes:)
5825 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5826 whose name does not start with the host triplet. If you think this
5827 configuration is useful to you, please write to autoconf@gnu.org." >&5
5828 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5829 whose name does not start with the host triplet. If you think this
5830 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5831 ac_tool_warned=yes ;;
5832 esac
5833 STRIP=$ac_ct_STRIP
5835 else
5836 STRIP="$ac_cv_prog_STRIP"
5839 if test -n "$ac_tool_prefix"; then
5840 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5841 set dummy ${ac_tool_prefix}windres; ac_word=$2
5842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5844 if test "${ac_cv_prog_WINDRES+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 else
5847 if test -n "$WINDRES"; then
5848 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5857 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5863 IFS=$as_save_IFS
5867 WINDRES=$ac_cv_prog_WINDRES
5868 if test -n "$WINDRES"; then
5869 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5870 echo "${ECHO_T}$WINDRES" >&6; }
5871 else
5872 { echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6; }
5878 if test -z "$ac_cv_prog_WINDRES"; then
5879 ac_ct_WINDRES=$WINDRES
5880 # Extract the first word of "windres", so it can be a program name with args.
5881 set dummy windres; ac_word=$2
5882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5884 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 else
5887 if test -n "$ac_ct_WINDRES"; then
5888 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897 ac_cv_prog_ac_ct_WINDRES="windres"
5898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5908 if test -n "$ac_ct_WINDRES"; then
5909 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5910 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5911 else
5912 { echo "$as_me:$LINENO: result: no" >&5
5913 echo "${ECHO_T}no" >&6; }
5916 if test "x$ac_ct_WINDRES" = x; then
5917 WINDRES="false"
5918 else
5919 case $cross_compiling:$ac_tool_warned in
5920 yes:)
5921 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5922 whose name does not start with the host triplet. If you think this
5923 configuration is useful to you, please write to autoconf@gnu.org." >&5
5924 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5925 whose name does not start with the host triplet. If you think this
5926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5927 ac_tool_warned=yes ;;
5928 esac
5929 WINDRES=$ac_ct_WINDRES
5931 else
5932 WINDRES="$ac_cv_prog_WINDRES"
5935 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5936 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5937 LN_S=$as_ln_s
5938 if test "$LN_S" = "ln -s"; then
5939 { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5941 else
5942 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5943 echo "${ECHO_T}no, using $LN_S" >&6; }
5946 { echo "$as_me:$LINENO: checking whether ln works" >&5
5947 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5948 rm -f conf$$ conf$$.file
5949 echo >conf$$.file
5950 if ln conf$$.file conf$$ 2>/dev/null; then
5951 LN=ln
5953 { echo "$as_me:$LINENO: result: yes" >&5
5954 echo "${ECHO_T}yes" >&6; }
5955 else
5956 LN="cp -p"
5958 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5959 echo "${ECHO_T}no, using $LN" >&6; }
5961 rm -f conf$$ conf$$.file
5962 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5963 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5964 if test "${ac_cv_path_GREP+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 else
5967 # Extract the first word of "grep ggrep" to use in msg output
5968 if test -z "$GREP"; then
5969 set dummy grep ggrep; ac_prog_name=$2
5970 if test "${ac_cv_path_GREP+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 else
5973 ac_path_GREP_found=false
5974 # Loop through the user's path and test for each of PROGNAME-LIST
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5978 IFS=$as_save_IFS
5979 test -z "$as_dir" && as_dir=.
5980 for ac_prog in grep ggrep; do
5981 for ac_exec_ext in '' $ac_executable_extensions; do
5982 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5983 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5984 # Check for GNU ac_path_GREP and select it if it is found.
5985 # Check for GNU $ac_path_GREP
5986 case `"$ac_path_GREP" --version 2>&1` in
5987 *GNU*)
5988 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5990 ac_count=0
5991 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5992 while :
5994 cat "conftest.in" "conftest.in" >"conftest.tmp"
5995 mv "conftest.tmp" "conftest.in"
5996 cp "conftest.in" "conftest.nl"
5997 echo 'GREP' >> "conftest.nl"
5998 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5999 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6000 ac_count=`expr $ac_count + 1`
6001 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6002 # Best one so far, save it but keep looking for a better one
6003 ac_cv_path_GREP="$ac_path_GREP"
6004 ac_path_GREP_max=$ac_count
6006 # 10*(2^10) chars as input seems more than enough
6007 test $ac_count -gt 10 && break
6008 done
6009 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6010 esac
6013 $ac_path_GREP_found && break 3
6014 done
6015 done
6017 done
6018 IFS=$as_save_IFS
6023 GREP="$ac_cv_path_GREP"
6024 if test -z "$GREP"; then
6025 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6026 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6027 { (exit 1); exit 1; }; }
6030 else
6031 ac_cv_path_GREP=$GREP
6036 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6037 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6038 GREP="$ac_cv_path_GREP"
6041 { echo "$as_me:$LINENO: checking for egrep" >&5
6042 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6043 if test "${ac_cv_path_EGREP+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6045 else
6046 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6047 then ac_cv_path_EGREP="$GREP -E"
6048 else
6049 # Extract the first word of "egrep" to use in msg output
6050 if test -z "$EGREP"; then
6051 set dummy egrep; ac_prog_name=$2
6052 if test "${ac_cv_path_EGREP+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 else
6055 ac_path_EGREP_found=false
6056 # Loop through the user's path and test for each of PROGNAME-LIST
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_prog in egrep; do
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6065 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6066 # Check for GNU ac_path_EGREP and select it if it is found.
6067 # Check for GNU $ac_path_EGREP
6068 case `"$ac_path_EGREP" --version 2>&1` in
6069 *GNU*)
6070 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6072 ac_count=0
6073 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6074 while :
6076 cat "conftest.in" "conftest.in" >"conftest.tmp"
6077 mv "conftest.tmp" "conftest.in"
6078 cp "conftest.in" "conftest.nl"
6079 echo 'EGREP' >> "conftest.nl"
6080 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6081 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6082 ac_count=`expr $ac_count + 1`
6083 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6084 # Best one so far, save it but keep looking for a better one
6085 ac_cv_path_EGREP="$ac_path_EGREP"
6086 ac_path_EGREP_max=$ac_count
6088 # 10*(2^10) chars as input seems more than enough
6089 test $ac_count -gt 10 && break
6090 done
6091 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6092 esac
6095 $ac_path_EGREP_found && break 3
6096 done
6097 done
6099 done
6100 IFS=$as_save_IFS
6105 EGREP="$ac_cv_path_EGREP"
6106 if test -z "$EGREP"; then
6107 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6108 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6109 { (exit 1); exit 1; }; }
6112 else
6113 ac_cv_path_EGREP=$EGREP
6119 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6120 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6121 EGREP="$ac_cv_path_EGREP"
6124 # Extract the first word of "ldconfig", so it can be a program name with args.
6125 set dummy ldconfig; ac_word=$2
6126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6128 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 else
6131 case $LDCONFIG in
6132 [\\/]* | ?:[\\/]*)
6133 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6137 for as_dir in /sbin /usr/sbin $PATH
6139 IFS=$as_save_IFS
6140 test -z "$as_dir" && as_dir=.
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6145 break 2
6147 done
6148 done
6149 IFS=$as_save_IFS
6151 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6153 esac
6155 LDCONFIG=$ac_cv_path_LDCONFIG
6156 if test -n "$LDCONFIG"; then
6157 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6158 echo "${ECHO_T}$LDCONFIG" >&6; }
6159 else
6160 { echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6; }
6165 # Find a good install program. We prefer a C program (faster),
6166 # so one script is as good as another. But avoid the broken or
6167 # incompatible versions:
6168 # SysV /etc/install, /usr/sbin/install
6169 # SunOS /usr/etc/install
6170 # IRIX /sbin/install
6171 # AIX /bin/install
6172 # AmigaOS /C/install, which installs bootblocks on floppy discs
6173 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6174 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6175 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6176 # OS/2's system install, which has a completely different semantic
6177 # ./install, which can be erroneously created by make from ./install.sh.
6178 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6179 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6180 if test -z "$INSTALL"; then
6181 if test "${ac_cv_path_install+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 else
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 for as_dir in $PATH
6187 IFS=$as_save_IFS
6188 test -z "$as_dir" && as_dir=.
6189 # Account for people who put trailing slashes in PATH elements.
6190 case $as_dir/ in
6191 ./ | .// | /cC/* | \
6192 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6193 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6194 /usr/ucb/* ) ;;
6196 # OSF1 and SCO ODT 3.0 have their own names for install.
6197 # Don't use installbsd from OSF since it installs stuff as root
6198 # by default.
6199 for ac_prog in ginstall scoinst install; do
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6202 if test $ac_prog = install &&
6203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6204 # AIX install. It has an incompatible calling convention.
6206 elif test $ac_prog = install &&
6207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6208 # program-specific install script used by HP pwplus--don't use.
6210 else
6211 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6212 break 3
6215 done
6216 done
6218 esac
6219 done
6220 IFS=$as_save_IFS
6224 if test "${ac_cv_path_install+set}" = set; then
6225 INSTALL=$ac_cv_path_install
6226 else
6227 # As a last resort, use the slow shell script. Don't cache a
6228 # value for INSTALL within a source directory, because that will
6229 # break other packages using the cache if that directory is
6230 # removed, or if the value is a relative name.
6231 INSTALL=$ac_install_sh
6234 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6235 echo "${ECHO_T}$INSTALL" >&6; }
6237 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6238 # It thinks the first close brace ends the variable substitution.
6239 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6241 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6243 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6245 case "$INSTALL" in
6246 [\\/$]* | ?:[\\/]* ) ;;
6247 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6248 esac
6250 for ac_prog in lclint lint
6252 # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; ac_word=$2
6254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6256 if test "${ac_cv_prog_LINT+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 if test -n "$LINT"; then
6260 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6269 ac_cv_prog_LINT="$ac_prog"
6270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6275 IFS=$as_save_IFS
6279 LINT=$ac_cv_prog_LINT
6280 if test -n "$LINT"; then
6281 { echo "$as_me:$LINENO: result: $LINT" >&5
6282 echo "${ECHO_T}$LINT" >&6; }
6283 else
6284 { echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6; }
6289 test -n "$LINT" && break
6290 done
6292 if test "$LINT" = "lint"
6293 then
6294 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6299 for ac_prog in fontforge
6301 # Extract the first word of "$ac_prog", so it can be a program name with args.
6302 set dummy $ac_prog; ac_word=$2
6303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6305 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6307 else
6308 if test -n "$FONTFORGE"; then
6309 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6310 else
6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 for as_dir in $PATH
6314 IFS=$as_save_IFS
6315 test -z "$as_dir" && as_dir=.
6316 for ac_exec_ext in '' $ac_executable_extensions; do
6317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318 ac_cv_prog_FONTFORGE="$ac_prog"
6319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6320 break 2
6322 done
6323 done
6324 IFS=$as_save_IFS
6328 FONTFORGE=$ac_cv_prog_FONTFORGE
6329 if test -n "$FONTFORGE"; then
6330 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6331 echo "${ECHO_T}$FONTFORGE" >&6; }
6332 else
6333 { echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6; }
6338 test -n "$FONTFORGE" && break
6339 done
6340 test -n "$FONTFORGE" || FONTFORGE="false"
6342 for ac_prog in pkg-config
6344 # Extract the first word of "$ac_prog", so it can be a program name with args.
6345 set dummy $ac_prog; ac_word=$2
6346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6348 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6349 echo $ECHO_N "(cached) $ECHO_C" >&6
6350 else
6351 if test -n "$PKG_CONFIG"; then
6352 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6353 else
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 for as_dir in $PATH
6357 IFS=$as_save_IFS
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361 ac_cv_prog_PKG_CONFIG="$ac_prog"
6362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 break 2
6365 done
6366 done
6367 IFS=$as_save_IFS
6371 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6372 if test -n "$PKG_CONFIG"; then
6373 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6374 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6375 else
6376 { echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6; }
6381 test -n "$PKG_CONFIG" && break
6382 done
6383 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6385 for ac_prog in rsvg
6387 # Extract the first word of "$ac_prog", so it can be a program name with args.
6388 set dummy $ac_prog; ac_word=$2
6389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6391 if test "${ac_cv_prog_RSVG+set}" = set; then
6392 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 else
6394 if test -n "$RSVG"; then
6395 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6396 else
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6400 IFS=$as_save_IFS
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404 ac_cv_prog_RSVG="$ac_prog"
6405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 break 2
6408 done
6409 done
6410 IFS=$as_save_IFS
6414 RSVG=$ac_cv_prog_RSVG
6415 if test -n "$RSVG"; then
6416 { echo "$as_me:$LINENO: result: $RSVG" >&5
6417 echo "${ECHO_T}$RSVG" >&6; }
6418 else
6419 { echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6; }
6424 test -n "$RSVG" && break
6425 done
6426 test -n "$RSVG" || RSVG="false"
6428 for ac_prog in icotool
6430 # Extract the first word of "$ac_prog", so it can be a program name with args.
6431 set dummy $ac_prog; ac_word=$2
6432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6434 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 else
6437 if test -n "$ICOTOOL"; then
6438 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6439 else
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 for as_dir in $PATH
6443 IFS=$as_save_IFS
6444 test -z "$as_dir" && as_dir=.
6445 for ac_exec_ext in '' $ac_executable_extensions; do
6446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6447 ac_cv_prog_ICOTOOL="$ac_prog"
6448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6449 break 2
6451 done
6452 done
6453 IFS=$as_save_IFS
6457 ICOTOOL=$ac_cv_prog_ICOTOOL
6458 if test -n "$ICOTOOL"; then
6459 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6460 echo "${ECHO_T}$ICOTOOL" >&6; }
6461 else
6462 { echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6; }
6467 test -n "$ICOTOOL" && break
6468 done
6469 test -n "$ICOTOOL" || ICOTOOL="false"
6472 if test "${enable_maintainer_mode+set}" = set
6473 then
6474 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6475 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6476 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6479 case $host_cpu in
6480 *i[3456789]86*)
6481 # Extract the first word of "prelink", so it can be a program name with args.
6482 set dummy prelink; ac_word=$2
6483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6485 if test "${ac_cv_path_PRELINK+set}" = set; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 else
6488 case $PRELINK in
6489 [\\/]* | ?:[\\/]*)
6490 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in /sbin /usr/sbin $PATH
6496 IFS=$as_save_IFS
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 break 2
6504 done
6505 done
6506 IFS=$as_save_IFS
6508 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6510 esac
6512 PRELINK=$ac_cv_path_PRELINK
6513 if test -n "$PRELINK"; then
6514 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6515 echo "${ECHO_T}$PRELINK" >&6; }
6516 else
6517 { echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6; }
6523 esac
6527 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6528 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6529 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 else
6532 ac_check_lib_save_LIBS=$LIBS
6533 LIBS="-li386 $LIBS"
6534 cat >conftest.$ac_ext <<_ACEOF
6535 /* confdefs.h. */
6536 _ACEOF
6537 cat confdefs.h >>conftest.$ac_ext
6538 cat >>conftest.$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6541 /* Override any GCC internal prototype to avoid an error.
6542 Use char because int might match the return type of a GCC
6543 builtin and then its argument prototype would still apply. */
6544 #ifdef __cplusplus
6545 extern "C"
6546 #endif
6547 char i386_set_ldt ();
6549 main ()
6551 return i386_set_ldt ();
6553 return 0;
6555 _ACEOF
6556 rm -f conftest.$ac_objext conftest$ac_exeext
6557 if { (ac_try="$ac_link"
6558 case "(($ac_try" in
6559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6560 *) ac_try_echo=$ac_try;;
6561 esac
6562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6563 (eval "$ac_link") 2>conftest.er1
6564 ac_status=$?
6565 grep -v '^ *+' conftest.er1 >conftest.err
6566 rm -f conftest.er1
6567 cat conftest.err >&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); } && {
6570 test -z "$ac_c_werror_flag" ||
6571 test ! -s conftest.err
6572 } && test -s conftest$ac_exeext &&
6573 $as_test_x conftest$ac_exeext; then
6574 ac_cv_lib_i386_i386_set_ldt=yes
6575 else
6576 echo "$as_me: failed program was:" >&5
6577 sed 's/^/| /' conftest.$ac_ext >&5
6579 ac_cv_lib_i386_i386_set_ldt=no
6582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6583 conftest$ac_exeext conftest.$ac_ext
6584 LIBS=$ac_check_lib_save_LIBS
6586 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6587 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6588 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6589 cat >>confdefs.h <<_ACEOF
6590 #define HAVE_LIBI386 1
6591 _ACEOF
6593 LIBS="-li386 $LIBS"
6598 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6599 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6600 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 else
6603 ac_check_lib_save_LIBS=$LIBS
6604 LIBS="-lossaudio $LIBS"
6605 cat >conftest.$ac_ext <<_ACEOF
6606 /* confdefs.h. */
6607 _ACEOF
6608 cat confdefs.h >>conftest.$ac_ext
6609 cat >>conftest.$ac_ext <<_ACEOF
6610 /* end confdefs.h. */
6612 /* Override any GCC internal prototype to avoid an error.
6613 Use char because int might match the return type of a GCC
6614 builtin and then its argument prototype would still apply. */
6615 #ifdef __cplusplus
6616 extern "C"
6617 #endif
6618 char _oss_ioctl ();
6620 main ()
6622 return _oss_ioctl ();
6624 return 0;
6626 _ACEOF
6627 rm -f conftest.$ac_objext conftest$ac_exeext
6628 if { (ac_try="$ac_link"
6629 case "(($ac_try" in
6630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6631 *) ac_try_echo=$ac_try;;
6632 esac
6633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6634 (eval "$ac_link") 2>conftest.er1
6635 ac_status=$?
6636 grep -v '^ *+' conftest.er1 >conftest.err
6637 rm -f conftest.er1
6638 cat conftest.err >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } && {
6641 test -z "$ac_c_werror_flag" ||
6642 test ! -s conftest.err
6643 } && test -s conftest$ac_exeext &&
6644 $as_test_x conftest$ac_exeext; then
6645 ac_cv_lib_ossaudio__oss_ioctl=yes
6646 else
6647 echo "$as_me: failed program was:" >&5
6648 sed 's/^/| /' conftest.$ac_ext >&5
6650 ac_cv_lib_ossaudio__oss_ioctl=no
6653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6654 conftest$ac_exeext conftest.$ac_ext
6655 LIBS=$ac_check_lib_save_LIBS
6657 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6658 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6659 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6660 cat >>confdefs.h <<_ACEOF
6661 #define HAVE_LIBOSSAUDIO 1
6662 _ACEOF
6664 LIBS="-lossaudio $LIBS"
6668 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6669 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6670 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 else
6673 ac_check_lib_save_LIBS=$LIBS
6674 LIBS="-lpthread $LIBS"
6675 cat >conftest.$ac_ext <<_ACEOF
6676 /* confdefs.h. */
6677 _ACEOF
6678 cat confdefs.h >>conftest.$ac_ext
6679 cat >>conftest.$ac_ext <<_ACEOF
6680 /* end confdefs.h. */
6682 /* Override any GCC internal prototype to avoid an error.
6683 Use char because int might match the return type of a GCC
6684 builtin and then its argument prototype would still apply. */
6685 #ifdef __cplusplus
6686 extern "C"
6687 #endif
6688 char pthread_create ();
6690 main ()
6692 return pthread_create ();
6694 return 0;
6696 _ACEOF
6697 rm -f conftest.$ac_objext conftest$ac_exeext
6698 if { (ac_try="$ac_link"
6699 case "(($ac_try" in
6700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6701 *) ac_try_echo=$ac_try;;
6702 esac
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704 (eval "$ac_link") 2>conftest.er1
6705 ac_status=$?
6706 grep -v '^ *+' conftest.er1 >conftest.err
6707 rm -f conftest.er1
6708 cat conftest.err >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } && {
6711 test -z "$ac_c_werror_flag" ||
6712 test ! -s conftest.err
6713 } && test -s conftest$ac_exeext &&
6714 $as_test_x conftest$ac_exeext; then
6715 ac_cv_lib_pthread_pthread_create=yes
6716 else
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.$ac_ext >&5
6720 ac_cv_lib_pthread_pthread_create=no
6723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6724 conftest$ac_exeext conftest.$ac_ext
6725 LIBS=$ac_check_lib_save_LIBS
6727 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6728 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6729 if test $ac_cv_lib_pthread_pthread_create = yes; then
6730 LIBPTHREAD="-lpthread"
6735 XLIB=""
6737 XFILES=""
6739 OPENGLFILES=""
6741 GLU32FILES=""
6743 OPENGL_LIBS=""
6745 QUARTZFILES=""
6749 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6750 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6751 if test "${ac_cv_header_stdc+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 else
6754 cat >conftest.$ac_ext <<_ACEOF
6755 /* confdefs.h. */
6756 _ACEOF
6757 cat confdefs.h >>conftest.$ac_ext
6758 cat >>conftest.$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6760 #include <stdlib.h>
6761 #include <stdarg.h>
6762 #include <string.h>
6763 #include <float.h>
6766 main ()
6770 return 0;
6772 _ACEOF
6773 rm -f conftest.$ac_objext
6774 if { (ac_try="$ac_compile"
6775 case "(($ac_try" in
6776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6777 *) ac_try_echo=$ac_try;;
6778 esac
6779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6780 (eval "$ac_compile") 2>conftest.er1
6781 ac_status=$?
6782 grep -v '^ *+' conftest.er1 >conftest.err
6783 rm -f conftest.er1
6784 cat conftest.err >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } && {
6787 test -z "$ac_c_werror_flag" ||
6788 test ! -s conftest.err
6789 } && test -s conftest.$ac_objext; then
6790 ac_cv_header_stdc=yes
6791 else
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6795 ac_cv_header_stdc=no
6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6800 if test $ac_cv_header_stdc = yes; then
6801 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6802 cat >conftest.$ac_ext <<_ACEOF
6803 /* confdefs.h. */
6804 _ACEOF
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6808 #include <string.h>
6810 _ACEOF
6811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6812 $EGREP "memchr" >/dev/null 2>&1; then
6814 else
6815 ac_cv_header_stdc=no
6817 rm -f conftest*
6821 if test $ac_cv_header_stdc = yes; then
6822 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6823 cat >conftest.$ac_ext <<_ACEOF
6824 /* confdefs.h. */
6825 _ACEOF
6826 cat confdefs.h >>conftest.$ac_ext
6827 cat >>conftest.$ac_ext <<_ACEOF
6828 /* end confdefs.h. */
6829 #include <stdlib.h>
6831 _ACEOF
6832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6833 $EGREP "free" >/dev/null 2>&1; then
6835 else
6836 ac_cv_header_stdc=no
6838 rm -f conftest*
6842 if test $ac_cv_header_stdc = yes; then
6843 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6844 if test "$cross_compiling" = yes; then
6846 else
6847 cat >conftest.$ac_ext <<_ACEOF
6848 /* confdefs.h. */
6849 _ACEOF
6850 cat confdefs.h >>conftest.$ac_ext
6851 cat >>conftest.$ac_ext <<_ACEOF
6852 /* end confdefs.h. */
6853 #include <ctype.h>
6854 #include <stdlib.h>
6855 #if ((' ' & 0x0FF) == 0x020)
6856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6858 #else
6859 # define ISLOWER(c) \
6860 (('a' <= (c) && (c) <= 'i') \
6861 || ('j' <= (c) && (c) <= 'r') \
6862 || ('s' <= (c) && (c) <= 'z'))
6863 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6864 #endif
6866 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6868 main ()
6870 int i;
6871 for (i = 0; i < 256; i++)
6872 if (XOR (islower (i), ISLOWER (i))
6873 || toupper (i) != TOUPPER (i))
6874 return 2;
6875 return 0;
6877 _ACEOF
6878 rm -f conftest$ac_exeext
6879 if { (ac_try="$ac_link"
6880 case "(($ac_try" in
6881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6882 *) ac_try_echo=$ac_try;;
6883 esac
6884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6885 (eval "$ac_link") 2>&5
6886 ac_status=$?
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6889 { (case "(($ac_try" in
6890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6891 *) ac_try_echo=$ac_try;;
6892 esac
6893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6894 (eval "$ac_try") 2>&5
6895 ac_status=$?
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); }; }; then
6899 else
6900 echo "$as_me: program exited with status $ac_status" >&5
6901 echo "$as_me: failed program was:" >&5
6902 sed 's/^/| /' conftest.$ac_ext >&5
6904 ( exit $ac_status )
6905 ac_cv_header_stdc=no
6907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6913 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6914 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6915 if test $ac_cv_header_stdc = yes; then
6917 cat >>confdefs.h <<\_ACEOF
6918 #define STDC_HEADERS 1
6919 _ACEOF
6923 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6933 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6934 inttypes.h stdint.h unistd.h
6936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942 cat >conftest.$ac_ext <<_ACEOF
6943 /* confdefs.h. */
6944 _ACEOF
6945 cat confdefs.h >>conftest.$ac_ext
6946 cat >>conftest.$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6948 $ac_includes_default
6950 #include <$ac_header>
6951 _ACEOF
6952 rm -f conftest.$ac_objext
6953 if { (ac_try="$ac_compile"
6954 case "(($ac_try" in
6955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6956 *) ac_try_echo=$ac_try;;
6957 esac
6958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6959 (eval "$ac_compile") 2>conftest.er1
6960 ac_status=$?
6961 grep -v '^ *+' conftest.er1 >conftest.err
6962 rm -f conftest.er1
6963 cat conftest.err >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } && {
6966 test -z "$ac_c_werror_flag" ||
6967 test ! -s conftest.err
6968 } && test -s conftest.$ac_objext; then
6969 eval "$as_ac_Header=yes"
6970 else
6971 echo "$as_me: failed program was:" >&5
6972 sed 's/^/| /' conftest.$ac_ext >&5
6974 eval "$as_ac_Header=no"
6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6979 ac_res=`eval echo '${'$as_ac_Header'}'`
6980 { echo "$as_me:$LINENO: result: $ac_res" >&5
6981 echo "${ECHO_T}$ac_res" >&6; }
6982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6983 cat >>confdefs.h <<_ACEOF
6984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6985 _ACEOF
6989 done
7102 for ac_header in \
7103 AudioUnit/AudioUnit.h \
7104 Carbon/Carbon.h \
7105 CoreAudio/CoreAudio.h \
7106 DiskArbitration/DiskArbitration.h \
7107 IOKit/IOKitLib.h \
7108 alsa/asoundlib.h \
7109 arpa/inet.h \
7110 arpa/nameser.h \
7111 asm/types.h \
7112 capi20.h \
7113 cups/cups.h \
7114 curses.h \
7115 direct.h \
7116 dlfcn.h \
7117 elf.h \
7118 float.h \
7119 fontconfig/fontconfig.h \
7120 getopt.h \
7121 ieeefp.h \
7122 io.h \
7123 jack/jack.h \
7124 jpeglib.h \
7125 lber.h \
7126 lcms.h \
7127 lcms/lcms.h \
7128 ldap.h \
7129 libaudioio.h \
7130 link.h \
7131 linux/cdrom.h \
7132 linux/compiler.h \
7133 linux/hdreg.h \
7134 linux/input.h \
7135 linux/ioctl.h \
7136 linux/joystick.h \
7137 linux/major.h \
7138 linux/param.h \
7139 linux/serial.h \
7140 linux/ucdrom.h \
7141 mach/mach.h \
7142 mach/machine.h \
7143 machine/cpu.h \
7144 machine/limits.h \
7145 machine/soundcard.h \
7146 mntent.h \
7147 ncurses.h \
7148 netdb.h \
7149 netinet/in.h \
7150 netinet/in_systm.h \
7151 netinet/tcp.h \
7152 netinet/tcp_fsm.h \
7153 openssl/err.h \
7154 openssl/ssl.h \
7155 png.h \
7156 poll.h \
7157 process.h \
7158 pthread.h \
7159 pwd.h \
7160 regex.h \
7161 sched.h \
7162 scsi/scsi.h \
7163 scsi/scsi_ioctl.h \
7164 scsi/sg.h \
7165 soundcard.h \
7166 stdint.h \
7167 strings.h \
7168 sys/asoundlib.h \
7169 sys/cdio.h \
7170 sys/elf32.h \
7171 sys/epoll.h \
7172 sys/errno.h \
7173 sys/event.h \
7174 sys/exec_elf.h \
7175 sys/filio.h \
7176 sys/ioctl.h \
7177 sys/ipc.h \
7178 sys/limits.h \
7179 sys/link.h \
7180 sys/lwp.h \
7181 sys/mman.h \
7182 sys/modem.h \
7183 sys/msg.h \
7184 sys/mtio.h \
7185 sys/param.h \
7186 sys/poll.h \
7187 sys/prctl.h \
7188 sys/ptrace.h \
7189 sys/reg.h \
7190 sys/resource.h \
7191 sys/scsiio.h \
7192 sys/shm.h \
7193 sys/signal.h \
7194 sys/socket.h \
7195 sys/socketvar.h \
7196 sys/sockio.h \
7197 sys/soundcard.h \
7198 sys/statvfs.h \
7199 sys/strtio.h \
7200 sys/syscall.h \
7201 sys/sysctl.h \
7202 sys/time.h \
7203 sys/times.h \
7204 sys/uio.h \
7205 sys/un.h \
7206 sys/vm86.h \
7207 sys/wait.h \
7208 syscall.h \
7209 termios.h \
7210 unistd.h \
7211 utime.h \
7212 valgrind/memcheck.h
7215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7217 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7220 echo $ECHO_N "(cached) $ECHO_C" >&6
7222 ac_res=`eval echo '${'$as_ac_Header'}'`
7223 { echo "$as_me:$LINENO: result: $ac_res" >&5
7224 echo "${ECHO_T}$ac_res" >&6; }
7225 else
7226 # Is the header compilable?
7227 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7229 cat >conftest.$ac_ext <<_ACEOF
7230 /* confdefs.h. */
7231 _ACEOF
7232 cat confdefs.h >>conftest.$ac_ext
7233 cat >>conftest.$ac_ext <<_ACEOF
7234 /* end confdefs.h. */
7235 $ac_includes_default
7236 #include <$ac_header>
7237 _ACEOF
7238 rm -f conftest.$ac_objext
7239 if { (ac_try="$ac_compile"
7240 case "(($ac_try" in
7241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7243 esac
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_compile") 2>conftest.er1
7246 ac_status=$?
7247 grep -v '^ *+' conftest.er1 >conftest.err
7248 rm -f conftest.er1
7249 cat conftest.err >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } && {
7252 test -z "$ac_c_werror_flag" ||
7253 test ! -s conftest.err
7254 } && test -s conftest.$ac_objext; then
7255 ac_header_compiler=yes
7256 else
7257 echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7260 ac_header_compiler=no
7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7264 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7265 echo "${ECHO_T}$ac_header_compiler" >&6; }
7267 # Is the header present?
7268 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7270 cat >conftest.$ac_ext <<_ACEOF
7271 /* confdefs.h. */
7272 _ACEOF
7273 cat confdefs.h >>conftest.$ac_ext
7274 cat >>conftest.$ac_ext <<_ACEOF
7275 /* end confdefs.h. */
7276 #include <$ac_header>
7277 _ACEOF
7278 if { (ac_try="$ac_cpp conftest.$ac_ext"
7279 case "(($ac_try" in
7280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7281 *) ac_try_echo=$ac_try;;
7282 esac
7283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7285 ac_status=$?
7286 grep -v '^ *+' conftest.er1 >conftest.err
7287 rm -f conftest.er1
7288 cat conftest.err >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } >/dev/null && {
7291 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7292 test ! -s conftest.err
7293 }; then
7294 ac_header_preproc=yes
7295 else
7296 echo "$as_me: failed program was:" >&5
7297 sed 's/^/| /' conftest.$ac_ext >&5
7299 ac_header_preproc=no
7302 rm -f conftest.err conftest.$ac_ext
7303 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7304 echo "${ECHO_T}$ac_header_preproc" >&6; }
7306 # So? What about this header?
7307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7308 yes:no: )
7309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7313 ac_header_preproc=yes
7315 no:yes:* )
7316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7328 ( cat <<\_ASBOX
7329 ## ------------------------------------ ##
7330 ## Report this to wine-devel@winehq.org ##
7331 ## ------------------------------------ ##
7332 _ASBOX
7333 ) | sed "s/^/$as_me: WARNING: /" >&2
7335 esac
7336 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 else
7341 eval "$as_ac_Header=\$ac_header_preproc"
7343 ac_res=`eval echo '${'$as_ac_Header'}'`
7344 { echo "$as_me:$LINENO: result: $ac_res" >&5
7345 echo "${ECHO_T}$ac_res" >&6; }
7348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7349 cat >>confdefs.h <<_ACEOF
7350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7351 _ACEOF
7355 done
7357 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7358 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7359 if test "${ac_cv_header_stat_broken+set}" = set; then
7360 echo $ECHO_N "(cached) $ECHO_C" >&6
7361 else
7362 cat >conftest.$ac_ext <<_ACEOF
7363 /* confdefs.h. */
7364 _ACEOF
7365 cat confdefs.h >>conftest.$ac_ext
7366 cat >>conftest.$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7368 #include <sys/types.h>
7369 #include <sys/stat.h>
7371 #if defined S_ISBLK && defined S_IFDIR
7372 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7373 #endif
7375 #if defined S_ISBLK && defined S_IFCHR
7376 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7377 #endif
7379 #if defined S_ISLNK && defined S_IFREG
7380 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7381 #endif
7383 #if defined S_ISSOCK && defined S_IFREG
7384 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7385 #endif
7387 _ACEOF
7388 rm -f conftest.$ac_objext
7389 if { (ac_try="$ac_compile"
7390 case "(($ac_try" in
7391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7392 *) ac_try_echo=$ac_try;;
7393 esac
7394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7395 (eval "$ac_compile") 2>conftest.er1
7396 ac_status=$?
7397 grep -v '^ *+' conftest.er1 >conftest.err
7398 rm -f conftest.er1
7399 cat conftest.err >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } && {
7402 test -z "$ac_c_werror_flag" ||
7403 test ! -s conftest.err
7404 } && test -s conftest.$ac_objext; then
7405 ac_cv_header_stat_broken=no
7406 else
7407 echo "$as_me: failed program was:" >&5
7408 sed 's/^/| /' conftest.$ac_ext >&5
7410 ac_cv_header_stat_broken=yes
7413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7415 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7416 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7417 if test $ac_cv_header_stat_broken = yes; then
7419 cat >>confdefs.h <<\_ACEOF
7420 #define STAT_MACROS_BROKEN 1
7421 _ACEOF
7431 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7434 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7436 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7437 echo $ECHO_N "(cached) $ECHO_C" >&6
7438 else
7439 cat >conftest.$ac_ext <<_ACEOF
7440 /* confdefs.h. */
7441 _ACEOF
7442 cat confdefs.h >>conftest.$ac_ext
7443 cat >>conftest.$ac_ext <<_ACEOF
7444 /* end confdefs.h. */
7445 #include <sys/types.h>
7446 #ifdef HAVE_SYS_PARAM_H
7447 # include <sys/param.h>
7448 #endif
7450 #include <$ac_header>
7451 _ACEOF
7452 rm -f conftest.$ac_objext
7453 if { (ac_try="$ac_compile"
7454 case "(($ac_try" in
7455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7457 esac
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_compile") 2>conftest.er1
7460 ac_status=$?
7461 grep -v '^ *+' conftest.er1 >conftest.err
7462 rm -f conftest.er1
7463 cat conftest.err >&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } && {
7466 test -z "$ac_c_werror_flag" ||
7467 test ! -s conftest.err
7468 } && test -s conftest.$ac_objext; then
7469 eval "$as_ac_Header=yes"
7470 else
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.$ac_ext >&5
7474 eval "$as_ac_Header=no"
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7479 ac_res=`eval echo '${'$as_ac_Header'}'`
7480 { echo "$as_me:$LINENO: result: $ac_res" >&5
7481 echo "${ECHO_T}$ac_res" >&6; }
7482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7483 cat >>confdefs.h <<_ACEOF
7484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7485 _ACEOF
7489 done
7500 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
7502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7506 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 else
7508 cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h. */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <sys/types.h>
7515 #ifdef HAVE_SYS_SOCKET_H
7516 # include <sys/socket.h>
7517 #endif
7518 #ifdef HAVE_SYS_SOCKETVAR_H
7519 # include <sys/socketvar.h>
7520 #endif
7521 #ifdef HAVE_NETINET_IN_H
7522 # include <netinet/in.h>
7523 #endif
7525 #include <$ac_header>
7526 _ACEOF
7527 rm -f conftest.$ac_objext
7528 if { (ac_try="$ac_compile"
7529 case "(($ac_try" in
7530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7531 *) ac_try_echo=$ac_try;;
7532 esac
7533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7534 (eval "$ac_compile") 2>conftest.er1
7535 ac_status=$?
7536 grep -v '^ *+' conftest.er1 >conftest.err
7537 rm -f conftest.er1
7538 cat conftest.err >&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); } && {
7541 test -z "$ac_c_werror_flag" ||
7542 test ! -s conftest.err
7543 } && test -s conftest.$ac_objext; then
7544 eval "$as_ac_Header=yes"
7545 else
7546 echo "$as_me: failed program was:" >&5
7547 sed 's/^/| /' conftest.$ac_ext >&5
7549 eval "$as_ac_Header=no"
7552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7554 ac_res=`eval echo '${'$as_ac_Header'}'`
7555 { echo "$as_me:$LINENO: result: $ac_res" >&5
7556 echo "${ECHO_T}$ac_res" >&6; }
7557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7558 cat >>confdefs.h <<_ACEOF
7559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 _ACEOF
7564 done
7568 for ac_header in netinet/tcp_var.h
7570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7574 echo $ECHO_N "(cached) $ECHO_C" >&6
7575 else
7576 cat >conftest.$ac_ext <<_ACEOF
7577 /* confdefs.h. */
7578 _ACEOF
7579 cat confdefs.h >>conftest.$ac_ext
7580 cat >>conftest.$ac_ext <<_ACEOF
7581 /* end confdefs.h. */
7582 #include <sys/types.h>
7583 #ifdef HAVE_SYS_SOCKET_H
7584 # include <sys/socket.h>
7585 #endif
7586 #ifdef HAVE_SYS_SOCKETVAR_H
7587 # include <sys/socketvar.h>
7588 #endif
7589 #ifdef HAVE_NETINET_IN_H
7590 # include <netinet/in.h>
7591 #endif
7592 #ifdef HAVE_NETINET_TCP_H
7593 # include <netinet/tcp.h>
7594 #endif
7596 #include <$ac_header>
7597 _ACEOF
7598 rm -f conftest.$ac_objext
7599 if { (ac_try="$ac_compile"
7600 case "(($ac_try" in
7601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7602 *) ac_try_echo=$ac_try;;
7603 esac
7604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7605 (eval "$ac_compile") 2>conftest.er1
7606 ac_status=$?
7607 grep -v '^ *+' conftest.er1 >conftest.err
7608 rm -f conftest.er1
7609 cat conftest.err >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } && {
7612 test -z "$ac_c_werror_flag" ||
7613 test ! -s conftest.err
7614 } && test -s conftest.$ac_objext; then
7615 eval "$as_ac_Header=yes"
7616 else
7617 echo "$as_me: failed program was:" >&5
7618 sed 's/^/| /' conftest.$ac_ext >&5
7620 eval "$as_ac_Header=no"
7623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7625 ac_res=`eval echo '${'$as_ac_Header'}'`
7626 { echo "$as_me:$LINENO: result: $ac_res" >&5
7627 echo "${ECHO_T}$ac_res" >&6; }
7628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7629 cat >>confdefs.h <<_ACEOF
7630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7631 _ACEOF
7635 done
7639 for ac_header in linux/ipx.h
7641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7642 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7645 echo $ECHO_N "(cached) $ECHO_C" >&6
7646 else
7647 cat >conftest.$ac_ext <<_ACEOF
7648 /* confdefs.h. */
7649 _ACEOF
7650 cat confdefs.h >>conftest.$ac_ext
7651 cat >>conftest.$ac_ext <<_ACEOF
7652 /* end confdefs.h. */
7653 #include <sys/types.h>
7654 #ifdef HAVE_ASM_TYPES_H
7655 # include <asm/types.h>
7656 #endif
7657 #ifdef HAVE_SYS_SOCKET_H
7658 # include <sys/socket.h>
7659 #endif
7661 #include <$ac_header>
7662 _ACEOF
7663 rm -f conftest.$ac_objext
7664 if { (ac_try="$ac_compile"
7665 case "(($ac_try" in
7666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7667 *) ac_try_echo=$ac_try;;
7668 esac
7669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7670 (eval "$ac_compile") 2>conftest.er1
7671 ac_status=$?
7672 grep -v '^ *+' conftest.er1 >conftest.err
7673 rm -f conftest.er1
7674 cat conftest.err >&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); } && {
7677 test -z "$ac_c_werror_flag" ||
7678 test ! -s conftest.err
7679 } && test -s conftest.$ac_objext; then
7680 eval "$as_ac_Header=yes"
7681 else
7682 echo "$as_me: failed program was:" >&5
7683 sed 's/^/| /' conftest.$ac_ext >&5
7685 eval "$as_ac_Header=no"
7688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7690 ac_res=`eval echo '${'$as_ac_Header'}'`
7691 { echo "$as_me:$LINENO: result: $ac_res" >&5
7692 echo "${ECHO_T}$ac_res" >&6; }
7693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7694 cat >>confdefs.h <<_ACEOF
7695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696 _ACEOF
7700 done
7704 for ac_header in resolv.h
7706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7711 else
7712 cat >conftest.$ac_ext <<_ACEOF
7713 /* confdefs.h. */
7714 _ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7718 #include <sys/types.h>
7719 #ifdef HAVE_SYS_SOCKET_H
7720 # include <sys/socket.h>
7721 #endif
7722 #ifdef HAVE_NETINET_IN_H
7723 # include <netinet/in.h>
7724 #endif
7725 #ifdef HAVE_ARPA_NAMESER_H
7726 # include <arpa/nameser.h>
7727 #endif
7729 #include <$ac_header>
7730 _ACEOF
7731 rm -f conftest.$ac_objext
7732 if { (ac_try="$ac_compile"
7733 case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7736 esac
7737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_compile") 2>conftest.er1
7739 ac_status=$?
7740 grep -v '^ *+' conftest.er1 >conftest.err
7741 rm -f conftest.er1
7742 cat conftest.err >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } && {
7745 test -z "$ac_c_werror_flag" ||
7746 test ! -s conftest.err
7747 } && test -s conftest.$ac_objext; then
7748 eval "$as_ac_Header=yes"
7749 else
7750 echo "$as_me: failed program was:" >&5
7751 sed 's/^/| /' conftest.$ac_ext >&5
7753 eval "$as_ac_Header=no"
7756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7758 ac_res=`eval echo '${'$as_ac_Header'}'`
7759 { echo "$as_me:$LINENO: result: $ac_res" >&5
7760 echo "${ECHO_T}$ac_res" >&6; }
7761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7762 cat >>confdefs.h <<_ACEOF
7763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7764 _ACEOF
7768 done
7772 for ac_header in ucontext.h
7774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 else
7780 cat >conftest.$ac_ext <<_ACEOF
7781 /* confdefs.h. */
7782 _ACEOF
7783 cat confdefs.h >>conftest.$ac_ext
7784 cat >>conftest.$ac_ext <<_ACEOF
7785 /* end confdefs.h. */
7786 #include <signal.h>
7788 #include <$ac_header>
7789 _ACEOF
7790 rm -f conftest.$ac_objext
7791 if { (ac_try="$ac_compile"
7792 case "(($ac_try" in
7793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7794 *) ac_try_echo=$ac_try;;
7795 esac
7796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7797 (eval "$ac_compile") 2>conftest.er1
7798 ac_status=$?
7799 grep -v '^ *+' conftest.er1 >conftest.err
7800 rm -f conftest.er1
7801 cat conftest.err >&5
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); } && {
7804 test -z "$ac_c_werror_flag" ||
7805 test ! -s conftest.err
7806 } && test -s conftest.$ac_objext; then
7807 eval "$as_ac_Header=yes"
7808 else
7809 echo "$as_me: failed program was:" >&5
7810 sed 's/^/| /' conftest.$ac_ext >&5
7812 eval "$as_ac_Header=no"
7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7817 ac_res=`eval echo '${'$as_ac_Header'}'`
7818 { echo "$as_me:$LINENO: result: $ac_res" >&5
7819 echo "${ECHO_T}$ac_res" >&6; }
7820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7821 cat >>confdefs.h <<_ACEOF
7822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7823 _ACEOF
7827 done
7831 for ac_header in sys/thr.h
7833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 else
7839 cat >conftest.$ac_ext <<_ACEOF
7840 /* confdefs.h. */
7841 _ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7845 #include <sys/types.h>
7846 #ifdef HAVE_UCONTEXT_H
7847 #include <ucontext.h>
7848 #endif
7850 #include <$ac_header>
7851 _ACEOF
7852 rm -f conftest.$ac_objext
7853 if { (ac_try="$ac_compile"
7854 case "(($ac_try" in
7855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7856 *) ac_try_echo=$ac_try;;
7857 esac
7858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7859 (eval "$ac_compile") 2>conftest.er1
7860 ac_status=$?
7861 grep -v '^ *+' conftest.er1 >conftest.err
7862 rm -f conftest.er1
7863 cat conftest.err >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); } && {
7866 test -z "$ac_c_werror_flag" ||
7867 test ! -s conftest.err
7868 } && test -s conftest.$ac_objext; then
7869 eval "$as_ac_Header=yes"
7870 else
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7874 eval "$as_ac_Header=no"
7877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7879 ac_res=`eval echo '${'$as_ac_Header'}'`
7880 { echo "$as_me:$LINENO: result: $ac_res" >&5
7881 echo "${ECHO_T}$ac_res" >&6; }
7882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7883 cat >>confdefs.h <<_ACEOF
7884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7885 _ACEOF
7889 done
7893 for ac_header in pthread_np.h
7895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7896 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 else
7901 cat >conftest.$ac_ext <<_ACEOF
7902 /* confdefs.h. */
7903 _ACEOF
7904 cat confdefs.h >>conftest.$ac_ext
7905 cat >>conftest.$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7907 #ifdef HAVE_PTHREAD_H
7908 #include <pthread.h>
7909 #endif
7911 #include <$ac_header>
7912 _ACEOF
7913 rm -f conftest.$ac_objext
7914 if { (ac_try="$ac_compile"
7915 case "(($ac_try" in
7916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7917 *) ac_try_echo=$ac_try;;
7918 esac
7919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7920 (eval "$ac_compile") 2>conftest.er1
7921 ac_status=$?
7922 grep -v '^ *+' conftest.er1 >conftest.err
7923 rm -f conftest.er1
7924 cat conftest.err >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); } && {
7927 test -z "$ac_c_werror_flag" ||
7928 test ! -s conftest.err
7929 } && test -s conftest.$ac_objext; then
7930 eval "$as_ac_Header=yes"
7931 else
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.$ac_ext >&5
7935 eval "$as_ac_Header=no"
7938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7940 ac_res=`eval echo '${'$as_ac_Header'}'`
7941 { echo "$as_me:$LINENO: result: $ac_res" >&5
7942 echo "${ECHO_T}$ac_res" >&6; }
7943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7944 cat >>confdefs.h <<_ACEOF
7945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7946 _ACEOF
7950 done
7954 for ac_header in linux/videodev.h
7956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7961 else
7962 cat >conftest.$ac_ext <<_ACEOF
7963 /* confdefs.h. */
7964 _ACEOF
7965 cat confdefs.h >>conftest.$ac_ext
7966 cat >>conftest.$ac_ext <<_ACEOF
7967 /* end confdefs.h. */
7968 #ifdef HAVE_SYS_TIME_H
7969 #include <sys/time.h>
7970 #endif
7971 #include <sys/types.h>
7972 #ifdef HAVE_ASM_TYPES_H
7973 #include <asm/types.h>
7974 #endif
7976 #include <$ac_header>
7977 _ACEOF
7978 rm -f conftest.$ac_objext
7979 if { (ac_try="$ac_compile"
7980 case "(($ac_try" in
7981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7982 *) ac_try_echo=$ac_try;;
7983 esac
7984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985 (eval "$ac_compile") 2>conftest.er1
7986 ac_status=$?
7987 grep -v '^ *+' conftest.er1 >conftest.err
7988 rm -f conftest.er1
7989 cat conftest.err >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } && {
7992 test -z "$ac_c_werror_flag" ||
7993 test ! -s conftest.err
7994 } && test -s conftest.$ac_objext; then
7995 eval "$as_ac_Header=yes"
7996 else
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.$ac_ext >&5
8000 eval "$as_ac_Header=no"
8003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8005 ac_res=`eval echo '${'$as_ac_Header'}'`
8006 { echo "$as_me:$LINENO: result: $ac_res" >&5
8007 echo "${ECHO_T}$ac_res" >&6; }
8008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8009 cat >>confdefs.h <<_ACEOF
8010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8011 _ACEOF
8015 done
8019 for ac_header in linux/capi.h
8021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8025 echo $ECHO_N "(cached) $ECHO_C" >&6
8026 else
8027 cat >conftest.$ac_ext <<_ACEOF
8028 /* confdefs.h. */
8029 _ACEOF
8030 cat confdefs.h >>conftest.$ac_ext
8031 cat >>conftest.$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8033 #define __user
8035 #include <$ac_header>
8036 _ACEOF
8037 rm -f conftest.$ac_objext
8038 if { (ac_try="$ac_compile"
8039 case "(($ac_try" in
8040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8041 *) ac_try_echo=$ac_try;;
8042 esac
8043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8044 (eval "$ac_compile") 2>conftest.er1
8045 ac_status=$?
8046 grep -v '^ *+' conftest.er1 >conftest.err
8047 rm -f conftest.er1
8048 cat conftest.err >&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); } && {
8051 test -z "$ac_c_werror_flag" ||
8052 test ! -s conftest.err
8053 } && test -s conftest.$ac_objext; then
8054 eval "$as_ac_Header=yes"
8055 else
8056 echo "$as_me: failed program was:" >&5
8057 sed 's/^/| /' conftest.$ac_ext >&5
8059 eval "$as_ac_Header=no"
8062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8064 ac_res=`eval echo '${'$as_ac_Header'}'`
8065 { echo "$as_me:$LINENO: result: $ac_res" >&5
8066 echo "${ECHO_T}$ac_res" >&6; }
8067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8068 cat >>confdefs.h <<_ACEOF
8069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8070 _ACEOF
8074 done
8078 DLLEXT=""
8080 DLLFLAGS="-D_REENTRANT"
8082 LDSHARED=""
8084 LDDLLFLAGS=""
8086 LIBEXT="so"
8088 IMPLIBEXT="def"
8090 LDRPATH_INSTALL=""
8092 LDRPATH_LOCAL=""
8094 # Extract the first word of "ldd", so it can be a program name with args.
8095 set dummy ldd; ac_word=$2
8096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8098 if test "${ac_cv_path_LDD+set}" = set; then
8099 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 else
8101 case $LDD in
8102 [\\/]* | ?:[\\/]*)
8103 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 as_dummy="/sbin:/usr/sbin:$PATH"
8108 for as_dir in $as_dummy
8110 IFS=$as_save_IFS
8111 test -z "$as_dir" && as_dir=.
8112 for ac_exec_ext in '' $ac_executable_extensions; do
8113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8114 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8116 break 2
8118 done
8119 done
8120 IFS=$as_save_IFS
8122 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8124 esac
8126 LDD=$ac_cv_path_LDD
8127 if test -n "$LDD"; then
8128 { echo "$as_me:$LINENO: result: $LDD" >&5
8129 echo "${ECHO_T}$LDD" >&6; }
8130 else
8131 { echo "$as_me:$LINENO: result: no" >&5
8132 echo "${ECHO_T}no" >&6; }
8137 case $host_os in
8138 cygwin*|mingw32*)
8139 if test -n "$ac_tool_prefix"; then
8140 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8141 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8144 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8145 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 else
8147 if test -n "$DLLTOOL"; then
8148 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8149 else
8150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8151 for as_dir in $PATH
8153 IFS=$as_save_IFS
8154 test -z "$as_dir" && as_dir=.
8155 for ac_exec_ext in '' $ac_executable_extensions; do
8156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8157 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8159 break 2
8161 done
8162 done
8163 IFS=$as_save_IFS
8167 DLLTOOL=$ac_cv_prog_DLLTOOL
8168 if test -n "$DLLTOOL"; then
8169 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8170 echo "${ECHO_T}$DLLTOOL" >&6; }
8171 else
8172 { echo "$as_me:$LINENO: result: no" >&5
8173 echo "${ECHO_T}no" >&6; }
8178 if test -z "$ac_cv_prog_DLLTOOL"; then
8179 ac_ct_DLLTOOL=$DLLTOOL
8180 # Extract the first word of "dlltool", so it can be a program name with args.
8181 set dummy dlltool; ac_word=$2
8182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8184 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8185 echo $ECHO_N "(cached) $ECHO_C" >&6
8186 else
8187 if test -n "$ac_ct_DLLTOOL"; then
8188 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8189 else
8190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8191 for as_dir in $PATH
8193 IFS=$as_save_IFS
8194 test -z "$as_dir" && as_dir=.
8195 for ac_exec_ext in '' $ac_executable_extensions; do
8196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8197 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8199 break 2
8201 done
8202 done
8203 IFS=$as_save_IFS
8207 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8208 if test -n "$ac_ct_DLLTOOL"; then
8209 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8210 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8211 else
8212 { echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6; }
8216 if test "x$ac_ct_DLLTOOL" = x; then
8217 DLLTOOL="false"
8218 else
8219 case $cross_compiling:$ac_tool_warned in
8220 yes:)
8221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8222 whose name does not start with the host triplet. If you think this
8223 configuration is useful to you, please write to autoconf@gnu.org." >&5
8224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8225 whose name does not start with the host triplet. If you think this
8226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8227 ac_tool_warned=yes ;;
8228 esac
8229 DLLTOOL=$ac_ct_DLLTOOL
8231 else
8232 DLLTOOL="$ac_cv_prog_DLLTOOL"
8235 if test -n "$ac_tool_prefix"; then
8236 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8237 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8240 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8242 else
8243 if test -n "$DLLWRAP"; then
8244 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8245 else
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 for as_dir in $PATH
8249 IFS=$as_save_IFS
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8253 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 break 2
8257 done
8258 done
8259 IFS=$as_save_IFS
8263 DLLWRAP=$ac_cv_prog_DLLWRAP
8264 if test -n "$DLLWRAP"; then
8265 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8266 echo "${ECHO_T}$DLLWRAP" >&6; }
8267 else
8268 { echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6; }
8274 if test -z "$ac_cv_prog_DLLWRAP"; then
8275 ac_ct_DLLWRAP=$DLLWRAP
8276 # Extract the first word of "dllwrap", so it can be a program name with args.
8277 set dummy dllwrap; ac_word=$2
8278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8280 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 else
8283 if test -n "$ac_ct_DLLWRAP"; then
8284 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8285 else
8286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 for as_dir in $PATH
8289 IFS=$as_save_IFS
8290 test -z "$as_dir" && as_dir=.
8291 for ac_exec_ext in '' $ac_executable_extensions; do
8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 break 2
8297 done
8298 done
8299 IFS=$as_save_IFS
8303 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8304 if test -n "$ac_ct_DLLWRAP"; then
8305 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8306 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8307 else
8308 { echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6; }
8312 if test "x$ac_ct_DLLWRAP" = x; then
8313 DLLWRAP="false"
8314 else
8315 case $cross_compiling:$ac_tool_warned in
8316 yes:)
8317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8318 whose name does not start with the host triplet. If you think this
8319 configuration is useful to you, please write to autoconf@gnu.org." >&5
8320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8321 whose name does not start with the host triplet. If you think this
8322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8323 ac_tool_warned=yes ;;
8324 esac
8325 DLLWRAP=$ac_ct_DLLWRAP
8327 else
8328 DLLWRAP="$ac_cv_prog_DLLWRAP"
8331 if test -n "$ac_tool_prefix"; then
8332 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8333 set dummy ${ac_tool_prefix}ar; ac_word=$2
8334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8336 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8338 else
8339 if test -n "$MINGWAR"; then
8340 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8341 else
8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8343 for as_dir in $PATH
8345 IFS=$as_save_IFS
8346 test -z "$as_dir" && as_dir=.
8347 for ac_exec_ext in '' $ac_executable_extensions; do
8348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8349 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8351 break 2
8353 done
8354 done
8355 IFS=$as_save_IFS
8359 MINGWAR=$ac_cv_prog_MINGWAR
8360 if test -n "$MINGWAR"; then
8361 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8362 echo "${ECHO_T}$MINGWAR" >&6; }
8363 else
8364 { echo "$as_me:$LINENO: result: no" >&5
8365 echo "${ECHO_T}no" >&6; }
8370 if test -z "$ac_cv_prog_MINGWAR"; then
8371 ac_ct_MINGWAR=$MINGWAR
8372 # Extract the first word of "ar", so it can be a program name with args.
8373 set dummy ar; ac_word=$2
8374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8376 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8377 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 else
8379 if test -n "$ac_ct_MINGWAR"; then
8380 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8381 else
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in $PATH
8385 IFS=$as_save_IFS
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389 ac_cv_prog_ac_ct_MINGWAR="ar"
8390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8391 break 2
8393 done
8394 done
8395 IFS=$as_save_IFS
8399 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8400 if test -n "$ac_ct_MINGWAR"; then
8401 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8402 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8403 else
8404 { echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6; }
8408 if test "x$ac_ct_MINGWAR" = x; then
8409 MINGWAR="false"
8410 else
8411 case $cross_compiling:$ac_tool_warned in
8412 yes:)
8413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8414 whose name does not start with the host triplet. If you think this
8415 configuration is useful to you, please write to autoconf@gnu.org." >&5
8416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8417 whose name does not start with the host triplet. If you think this
8418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8419 ac_tool_warned=yes ;;
8420 esac
8421 MINGWAR=$ac_ct_MINGWAR
8423 else
8424 MINGWAR="$ac_cv_prog_MINGWAR"
8427 if test "$DLLWRAP" = "false"; then
8428 LIBEXT="a"
8429 else
8430 LIBEXT="dll"
8432 IMPLIBEXT="a"
8433 WIN16_FILES=""
8434 WIN16_INSTALL=""
8436 darwin*|macosx*)
8437 DLLEXT=".so"
8438 LIBEXT="dylib"
8439 DLLFLAGS="$DLLFLAGS -fPIC"
8440 LDDLLFLAGS="-bundle -multiply_defined suppress"
8441 LIBWINE_LDFLAGS="-multiply_defined suppress"
8442 LDSHARED="\$(CC) -dynamiclib"
8443 STRIP="$STRIP -x"
8444 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8445 SECURITYLIB="-framework Security -framework CoreFoundation"
8447 COREFOUNDATIONLIB="-framework CoreFoundation"
8449 IOKITLIB="-framework IOKit -framework CoreFoundation"
8451 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8453 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8454 then
8455 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8458 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8459 then
8460 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8463 case $host_cpu in
8464 *powerpc*)
8465 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8466 esac
8467 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8468 then
8469 CARBONLIB="-framework Carbon"
8471 QUARTZFILES='$(QUARTZFILES)'
8475 DLLFLAGS="$DLLFLAGS -fPIC"
8476 DLLEXT=".so"
8477 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8478 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8479 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 else
8482 ac_wine_try_cflags_saved=$CFLAGS
8483 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8484 cat >conftest.$ac_ext <<_ACEOF
8485 void myfunc() {}
8486 _ACEOF
8487 rm -f conftest.$ac_objext conftest$ac_exeext
8488 if { (ac_try="$ac_link"
8489 case "(($ac_try" in
8490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8491 *) ac_try_echo=$ac_try;;
8492 esac
8493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8494 (eval "$ac_link") 2>conftest.er1
8495 ac_status=$?
8496 grep -v '^ *+' conftest.er1 >conftest.err
8497 rm -f conftest.er1
8498 cat conftest.err >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); } && {
8501 test -z "$ac_c_werror_flag" ||
8502 test ! -s conftest.err
8503 } && test -s conftest$ac_exeext &&
8504 $as_test_x conftest$ac_exeext; then
8505 ac_cv_c_dll_gnuelf="yes"
8506 else
8507 echo "$as_me: failed program was:" >&5
8508 sed 's/^/| /' conftest.$ac_ext >&5
8510 ac_cv_c_dll_gnuelf="no"
8513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8514 conftest$ac_exeext conftest.$ac_ext
8515 CFLAGS=$ac_wine_try_cflags_saved
8517 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8518 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8519 if test "$ac_cv_c_dll_gnuelf" = "yes"
8520 then
8521 LDSHARED="\$(CC) -shared"
8522 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8523 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8524 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8525 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
8535 /* end confdefs.h. */
8538 main ()
8542 return 0;
8544 _ACEOF
8545 rm -f conftest.$ac_objext conftest$ac_exeext
8546 if { (ac_try="$ac_link"
8547 case "(($ac_try" in
8548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8549 *) ac_try_echo=$ac_try;;
8550 esac
8551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8552 (eval "$ac_link") 2>conftest.er1
8553 ac_status=$?
8554 grep -v '^ *+' conftest.er1 >conftest.err
8555 rm -f conftest.er1
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } && {
8559 test -z "$ac_c_werror_flag" ||
8560 test ! -s conftest.err
8561 } && test -s conftest$ac_exeext &&
8562 $as_test_x conftest$ac_exeext; then
8563 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8564 else
8565 echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.$ac_ext >&5
8568 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8576 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8577 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8578 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8579 else
8580 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8581 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8582 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8583 echo $ECHO_N "(cached) $ECHO_C" >&6
8584 else
8585 ac_wine_try_cflags_saved=$CFLAGS
8586 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8587 cat >conftest.$ac_ext <<_ACEOF
8588 /* confdefs.h. */
8589 _ACEOF
8590 cat confdefs.h >>conftest.$ac_ext
8591 cat >>conftest.$ac_ext <<_ACEOF
8592 /* end confdefs.h. */
8595 main ()
8599 return 0;
8601 _ACEOF
8602 rm -f conftest.$ac_objext conftest$ac_exeext
8603 if { (ac_try="$ac_link"
8604 case "(($ac_try" in
8605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8606 *) ac_try_echo=$ac_try;;
8607 esac
8608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 (eval "$ac_link") 2>conftest.er1
8610 ac_status=$?
8611 grep -v '^ *+' conftest.er1 >conftest.err
8612 rm -f conftest.er1
8613 cat conftest.err >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } && {
8616 test -z "$ac_c_werror_flag" ||
8617 test ! -s conftest.err
8618 } && test -s conftest$ac_exeext &&
8619 $as_test_x conftest$ac_exeext; then
8620 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8621 else
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8625 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8629 conftest$ac_exeext conftest.$ac_ext
8630 CFLAGS=$ac_wine_try_cflags_saved
8632 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8633 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8634 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8635 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8641 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8642 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8643 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8645 else
8646 ac_wine_try_cflags_saved=$CFLAGS
8647 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8648 cat >conftest.$ac_ext <<_ACEOF
8649 /* confdefs.h. */
8650 _ACEOF
8651 cat confdefs.h >>conftest.$ac_ext
8652 cat >>conftest.$ac_ext <<_ACEOF
8653 /* end confdefs.h. */
8656 main ()
8660 return 0;
8662 _ACEOF
8663 rm -f conftest.$ac_objext conftest$ac_exeext
8664 if { (ac_try="$ac_link"
8665 case "(($ac_try" in
8666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8667 *) ac_try_echo=$ac_try;;
8668 esac
8669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8670 (eval "$ac_link") 2>conftest.er1
8671 ac_status=$?
8672 grep -v '^ *+' conftest.er1 >conftest.err
8673 rm -f conftest.er1
8674 cat conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } && {
8677 test -z "$ac_c_werror_flag" ||
8678 test ! -s conftest.err
8679 } && test -s conftest$ac_exeext &&
8680 $as_test_x conftest$ac_exeext; then
8681 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8682 else
8683 echo "$as_me: failed program was:" >&5
8684 sed 's/^/| /' conftest.$ac_ext >&5
8686 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8690 conftest$ac_exeext conftest.$ac_ext
8691 CFLAGS=$ac_wine_try_cflags_saved
8693 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8694 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8695 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8696 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8700 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8701 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8702 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8703 echo $ECHO_N "(cached) $ECHO_C" >&6
8704 else
8705 ac_wine_try_cflags_saved=$CFLAGS
8706 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8707 cat >conftest.$ac_ext <<_ACEOF
8708 /* confdefs.h. */
8709 _ACEOF
8710 cat confdefs.h >>conftest.$ac_ext
8711 cat >>conftest.$ac_ext <<_ACEOF
8712 /* end confdefs.h. */
8715 main ()
8719 return 0;
8721 _ACEOF
8722 rm -f conftest.$ac_objext conftest$ac_exeext
8723 if { (ac_try="$ac_link"
8724 case "(($ac_try" in
8725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8726 *) ac_try_echo=$ac_try;;
8727 esac
8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8729 (eval "$ac_link") 2>conftest.er1
8730 ac_status=$?
8731 grep -v '^ *+' conftest.er1 >conftest.err
8732 rm -f conftest.er1
8733 cat conftest.err >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } && {
8736 test -z "$ac_c_werror_flag" ||
8737 test ! -s conftest.err
8738 } && test -s conftest$ac_exeext &&
8739 $as_test_x conftest$ac_exeext; then
8740 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8741 else
8742 echo "$as_me: failed program was:" >&5
8743 sed 's/^/| /' conftest.$ac_ext >&5
8745 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8749 conftest$ac_exeext conftest.$ac_ext
8750 CFLAGS=$ac_wine_try_cflags_saved
8752 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8753 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8754 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8755 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8759 echo '{ global: *; };' >conftest.map
8760 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8761 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8762 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8763 echo $ECHO_N "(cached) $ECHO_C" >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8767 cat >conftest.$ac_ext <<_ACEOF
8768 /* confdefs.h. */
8769 _ACEOF
8770 cat confdefs.h >>conftest.$ac_ext
8771 cat >>conftest.$ac_ext <<_ACEOF
8772 /* end confdefs.h. */
8775 main ()
8779 return 0;
8781 _ACEOF
8782 rm -f conftest.$ac_objext conftest$ac_exeext
8783 if { (ac_try="$ac_link"
8784 case "(($ac_try" in
8785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8786 *) ac_try_echo=$ac_try;;
8787 esac
8788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8789 (eval "$ac_link") 2>conftest.er1
8790 ac_status=$?
8791 grep -v '^ *+' conftest.er1 >conftest.err
8792 rm -f conftest.er1
8793 cat conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } && {
8796 test -z "$ac_c_werror_flag" ||
8797 test ! -s conftest.err
8798 } && test -s conftest$ac_exeext &&
8799 $as_test_x conftest$ac_exeext; then
8800 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8801 else
8802 echo "$as_me: failed program was:" >&5
8803 sed 's/^/| /' conftest.$ac_ext >&5
8805 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8813 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8814 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8815 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8818 rm -f conftest.map
8820 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8821 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8822 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8823 echo $ECHO_N "(cached) $ECHO_C" >&6
8824 else
8825 ac_wine_try_cflags_saved=$CFLAGS
8826 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8827 cat >conftest.$ac_ext <<_ACEOF
8828 /* confdefs.h. */
8829 _ACEOF
8830 cat confdefs.h >>conftest.$ac_ext
8831 cat >>conftest.$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8835 main ()
8839 return 0;
8841 _ACEOF
8842 rm -f conftest.$ac_objext conftest$ac_exeext
8843 if { (ac_try="$ac_link"
8844 case "(($ac_try" in
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8847 esac
8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_link") 2>conftest.er1
8850 ac_status=$?
8851 grep -v '^ *+' conftest.er1 >conftest.err
8852 rm -f conftest.er1
8853 cat conftest.err >&5
8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 (exit $ac_status); } && {
8856 test -z "$ac_c_werror_flag" ||
8857 test ! -s conftest.err
8858 } && test -s conftest$ac_exeext &&
8859 $as_test_x conftest$ac_exeext; then
8860 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8861 else
8862 echo "$as_me: failed program was:" >&5
8863 sed 's/^/| /' conftest.$ac_ext >&5
8865 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8869 conftest$ac_exeext conftest.$ac_ext
8870 CFLAGS=$ac_wine_try_cflags_saved
8872 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8873 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8874 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8875 LDEXECFLAGS="-Wl,--export-dynamic"
8880 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8881 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8882 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8885 else
8886 ac_wine_try_cflags_saved=$CFLAGS
8887 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8888 cat >conftest.$ac_ext <<_ACEOF
8889 /* confdefs.h. */
8890 _ACEOF
8891 cat confdefs.h >>conftest.$ac_ext
8892 cat >>conftest.$ac_ext <<_ACEOF
8893 /* end confdefs.h. */
8896 main ()
8900 return 0;
8902 _ACEOF
8903 rm -f conftest.$ac_objext conftest$ac_exeext
8904 if { (ac_try="$ac_link"
8905 case "(($ac_try" in
8906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8907 *) ac_try_echo=$ac_try;;
8908 esac
8909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8910 (eval "$ac_link") 2>conftest.er1
8911 ac_status=$?
8912 grep -v '^ *+' conftest.er1 >conftest.err
8913 rm -f conftest.er1
8914 cat conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } && {
8917 test -z "$ac_c_werror_flag" ||
8918 test ! -s conftest.err
8919 } && test -s conftest$ac_exeext &&
8920 $as_test_x conftest$ac_exeext; then
8921 eval "$as_ac_var=yes"
8922 else
8923 echo "$as_me: failed program was:" >&5
8924 sed 's/^/| /' conftest.$ac_ext >&5
8926 eval "$as_ac_var=no"
8929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8930 conftest$ac_exeext conftest.$ac_ext
8931 CFLAGS=$ac_wine_try_cflags_saved
8933 ac_res=`eval echo '${'$as_ac_var'}'`
8934 { echo "$as_me:$LINENO: result: $ac_res" >&5
8935 echo "${ECHO_T}$ac_res" >&6; }
8936 if test `eval echo '${'$as_ac_var'}'` = yes; then
8937 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8938 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8939 else
8940 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8941 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8942 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 else
8946 ac_wine_try_cflags_saved=$CFLAGS
8947 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8948 cat >conftest.$ac_ext <<_ACEOF
8949 /* confdefs.h. */
8950 _ACEOF
8951 cat confdefs.h >>conftest.$ac_ext
8952 cat >>conftest.$ac_ext <<_ACEOF
8953 /* end confdefs.h. */
8956 main ()
8960 return 0;
8962 _ACEOF
8963 rm -f conftest.$ac_objext conftest$ac_exeext
8964 if { (ac_try="$ac_link"
8965 case "(($ac_try" in
8966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8967 *) ac_try_echo=$ac_try;;
8968 esac
8969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8970 (eval "$ac_link") 2>conftest.er1
8971 ac_status=$?
8972 grep -v '^ *+' conftest.er1 >conftest.err
8973 rm -f conftest.er1
8974 cat conftest.err >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } && {
8977 test -z "$ac_c_werror_flag" ||
8978 test ! -s conftest.err
8979 } && test -s conftest$ac_exeext &&
8980 $as_test_x conftest$ac_exeext; then
8981 eval "$as_ac_var=yes"
8982 else
8983 echo "$as_me: failed program was:" >&5
8984 sed 's/^/| /' conftest.$ac_ext >&5
8986 eval "$as_ac_var=no"
8989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8990 conftest$ac_exeext conftest.$ac_ext
8991 CFLAGS=$ac_wine_try_cflags_saved
8993 ac_res=`eval echo '${'$as_ac_var'}'`
8994 { echo "$as_me:$LINENO: result: $ac_res" >&5
8995 echo "${ECHO_T}$ac_res" >&6; }
8996 if test `eval echo '${'$as_ac_var'}'` = yes; then
8997 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8998 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9004 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9005 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9006 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9007 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 else
9009 ac_wine_try_cflags_saved=$CFLAGS
9010 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9011 cat >conftest.$ac_ext <<_ACEOF
9012 /* confdefs.h. */
9013 _ACEOF
9014 cat confdefs.h >>conftest.$ac_ext
9015 cat >>conftest.$ac_ext <<_ACEOF
9016 /* end confdefs.h. */
9019 main ()
9023 return 0;
9025 _ACEOF
9026 rm -f conftest.$ac_objext conftest$ac_exeext
9027 if { (ac_try="$ac_link"
9028 case "(($ac_try" in
9029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9030 *) ac_try_echo=$ac_try;;
9031 esac
9032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9033 (eval "$ac_link") 2>conftest.er1
9034 ac_status=$?
9035 grep -v '^ *+' conftest.er1 >conftest.err
9036 rm -f conftest.er1
9037 cat conftest.err >&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); } && {
9040 test -z "$ac_c_werror_flag" ||
9041 test ! -s conftest.err
9042 } && test -s conftest$ac_exeext &&
9043 $as_test_x conftest$ac_exeext; then
9044 ac_cv_cflags__Wl___enable_new_dtags=yes
9045 else
9046 echo "$as_me: failed program was:" >&5
9047 sed 's/^/| /' conftest.$ac_ext >&5
9049 ac_cv_cflags__Wl___enable_new_dtags=no
9052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9053 conftest$ac_exeext conftest.$ac_ext
9054 CFLAGS=$ac_wine_try_cflags_saved
9056 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9057 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9058 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9059 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9063 case $host_cpu in
9064 *i[3456789]86* | x86_64)
9065 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9066 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9067 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9068 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 else
9070 ac_wine_try_cflags_saved=$CFLAGS
9071 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9072 cat >conftest.$ac_ext <<_ACEOF
9073 /* confdefs.h. */
9074 _ACEOF
9075 cat confdefs.h >>conftest.$ac_ext
9076 cat >>conftest.$ac_ext <<_ACEOF
9077 /* end confdefs.h. */
9080 main ()
9084 return 0;
9086 _ACEOF
9087 rm -f conftest.$ac_objext conftest$ac_exeext
9088 if { (ac_try="$ac_link"
9089 case "(($ac_try" in
9090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9091 *) ac_try_echo=$ac_try;;
9092 esac
9093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9094 (eval "$ac_link") 2>conftest.er1
9095 ac_status=$?
9096 grep -v '^ *+' conftest.er1 >conftest.err
9097 rm -f conftest.er1
9098 cat conftest.err >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); } && {
9101 test -z "$ac_c_werror_flag" ||
9102 test ! -s conftest.err
9103 } && test -s conftest$ac_exeext &&
9104 $as_test_x conftest$ac_exeext; then
9105 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9106 else
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.$ac_ext >&5
9110 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9114 conftest$ac_exeext conftest.$ac_ext
9115 CFLAGS=$ac_wine_try_cflags_saved
9117 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9118 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9119 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9120 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9124 esac
9126 else
9127 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9128 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9129 if test "${ac_cv_c_dll_unixware+set}" = set; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9131 else
9132 ac_wine_try_cflags_saved=$CFLAGS
9133 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9134 cat >conftest.$ac_ext <<_ACEOF
9135 void myfunc() {}
9136 _ACEOF
9137 rm -f conftest.$ac_objext conftest$ac_exeext
9138 if { (ac_try="$ac_link"
9139 case "(($ac_try" in
9140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9141 *) ac_try_echo=$ac_try;;
9142 esac
9143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9144 (eval "$ac_link") 2>conftest.er1
9145 ac_status=$?
9146 grep -v '^ *+' conftest.er1 >conftest.err
9147 rm -f conftest.er1
9148 cat conftest.err >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); } && {
9151 test -z "$ac_c_werror_flag" ||
9152 test ! -s conftest.err
9153 } && test -s conftest$ac_exeext &&
9154 $as_test_x conftest$ac_exeext; then
9155 ac_cv_c_dll_unixware="yes"
9156 else
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.$ac_ext >&5
9160 ac_cv_c_dll_unixware="no"
9163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9164 conftest$ac_exeext conftest.$ac_ext
9165 CFLAGS=$ac_wine_try_cflags_saved
9167 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9168 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9169 if test "$ac_cv_c_dll_unixware" = "yes"
9170 then
9171 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9172 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9174 else
9175 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9176 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9177 if test "${ac_cv_c_dll_hpux+set}" = set; then
9178 echo $ECHO_N "(cached) $ECHO_C" >&6
9179 else
9180 ac_wine_try_cflags_saved=$CFLAGS
9181 CFLAGS="$CFLAGS -shared"
9182 cat >conftest.$ac_ext <<_ACEOF
9183 void myfunc() {}
9184 _ACEOF
9185 rm -f conftest.$ac_objext conftest$ac_exeext
9186 if { (ac_try="$ac_link"
9187 case "(($ac_try" in
9188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9189 *) ac_try_echo=$ac_try;;
9190 esac
9191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9192 (eval "$ac_link") 2>conftest.er1
9193 ac_status=$?
9194 grep -v '^ *+' conftest.er1 >conftest.err
9195 rm -f conftest.er1
9196 cat conftest.err >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); } && {
9199 test -z "$ac_c_werror_flag" ||
9200 test ! -s conftest.err
9201 } && test -s conftest$ac_exeext &&
9202 $as_test_x conftest$ac_exeext; then
9203 ac_cv_c_dll_hpux="yes"
9204 else
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.$ac_ext >&5
9208 ac_cv_c_dll_hpux="no"
9211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9212 conftest$ac_exeext conftest.$ac_ext
9213 CFLAGS=$ac_wine_try_cflags_saved
9215 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9216 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9217 if test "$ac_cv_c_dll_hpux" = "yes"
9218 then
9219 LIBEXT="sl"
9220 DLLEXT=".sl"
9221 LDDLLFLAGS="-shared -fPIC"
9222 LDSHARED="\$(CC) -shared"
9227 CROSSTEST=""
9229 if test "$cross_compiling" = "no"
9230 then
9231 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9233 # Extract the first word of "$ac_prog", so it can be a program name with args.
9234 set dummy $ac_prog; ac_word=$2
9235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9237 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9238 echo $ECHO_N "(cached) $ECHO_C" >&6
9239 else
9240 if test -n "$CROSSCC"; then
9241 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9242 else
9243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9244 for as_dir in $PATH
9246 IFS=$as_save_IFS
9247 test -z "$as_dir" && as_dir=.
9248 for ac_exec_ext in '' $ac_executable_extensions; do
9249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9250 ac_cv_prog_CROSSCC="$ac_prog"
9251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 break 2
9254 done
9255 done
9256 IFS=$as_save_IFS
9260 CROSSCC=$ac_cv_prog_CROSSCC
9261 if test -n "$CROSSCC"; then
9262 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9263 echo "${ECHO_T}$CROSSCC" >&6; }
9264 else
9265 { echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6; }
9270 test -n "$CROSSCC" && break
9271 done
9272 test -n "$CROSSCC" || CROSSCC="false"
9274 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9276 # Extract the first word of "$ac_prog", so it can be a program name with args.
9277 set dummy $ac_prog; ac_word=$2
9278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9280 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 else
9283 if test -n "$DLLTOOL"; then
9284 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9285 else
9286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9287 for as_dir in $PATH
9289 IFS=$as_save_IFS
9290 test -z "$as_dir" && as_dir=.
9291 for ac_exec_ext in '' $ac_executable_extensions; do
9292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9293 ac_cv_prog_DLLTOOL="$ac_prog"
9294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9295 break 2
9297 done
9298 done
9299 IFS=$as_save_IFS
9303 DLLTOOL=$ac_cv_prog_DLLTOOL
9304 if test -n "$DLLTOOL"; then
9305 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9306 echo "${ECHO_T}$DLLTOOL" >&6; }
9307 else
9308 { echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6; }
9313 test -n "$DLLTOOL" && break
9314 done
9315 test -n "$DLLTOOL" || DLLTOOL="false"
9317 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9319 # Extract the first word of "$ac_prog", so it can be a program name with args.
9320 set dummy $ac_prog; ac_word=$2
9321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9323 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 else
9326 if test -n "$CROSSWINDRES"; then
9327 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9328 else
9329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330 for as_dir in $PATH
9332 IFS=$as_save_IFS
9333 test -z "$as_dir" && as_dir=.
9334 for ac_exec_ext in '' $ac_executable_extensions; do
9335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9336 ac_cv_prog_CROSSWINDRES="$ac_prog"
9337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9338 break 2
9340 done
9341 done
9342 IFS=$as_save_IFS
9346 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9347 if test -n "$CROSSWINDRES"; then
9348 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9349 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9350 else
9351 { echo "$as_me:$LINENO: result: no" >&5
9352 echo "${ECHO_T}no" >&6; }
9356 test -n "$CROSSWINDRES" && break
9357 done
9358 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9360 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9362 # Extract the first word of "$ac_prog", so it can be a program name with args.
9363 set dummy $ac_prog; ac_word=$2
9364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9366 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9367 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 else
9369 if test -n "$MINGWAR"; then
9370 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9371 else
9372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9373 for as_dir in $PATH
9375 IFS=$as_save_IFS
9376 test -z "$as_dir" && as_dir=.
9377 for ac_exec_ext in '' $ac_executable_extensions; do
9378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9379 ac_cv_prog_MINGWAR="$ac_prog"
9380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9381 break 2
9383 done
9384 done
9385 IFS=$as_save_IFS
9389 MINGWAR=$ac_cv_prog_MINGWAR
9390 if test -n "$MINGWAR"; then
9391 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9392 echo "${ECHO_T}$MINGWAR" >&6; }
9393 else
9394 { echo "$as_me:$LINENO: result: no" >&5
9395 echo "${ECHO_T}no" >&6; }
9399 test -n "$MINGWAR" && break
9400 done
9401 test -n "$MINGWAR" || MINGWAR="false"
9403 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9406 esac
9408 if test "$LIBEXT" = "a"; then
9409 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9410 It is currently not possible to build Wine without shared library
9411 (.so) support to allow transparent switch between .so and .dll files.
9412 If you are using Linux, you will need a newer binutils.
9413 " >&5
9414 echo "$as_me: error: could not find a way to build shared libraries.
9415 It is currently not possible to build Wine without shared library
9416 (.so) support to allow transparent switch between .so and .dll files.
9417 If you are using Linux, you will need a newer binutils.
9418 " >&2;}
9419 { (exit 1); exit 1; }; }
9423 if test "$have_x" = "yes"
9424 then
9425 XLIB="-lXext -lX11"
9426 ac_save_CPPFLAGS="$CPPFLAGS"
9427 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9429 { echo "$as_me:$LINENO: checking for -lX11" >&5
9430 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9431 if test "${ac_cv_lib_soname_X11+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 else
9434 ac_check_soname_save_LIBS=$LIBS
9435 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9436 cat >conftest.$ac_ext <<_ACEOF
9437 /* confdefs.h. */
9438 _ACEOF
9439 cat confdefs.h >>conftest.$ac_ext
9440 cat >>conftest.$ac_ext <<_ACEOF
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 #ifdef __cplusplus
9447 extern "C"
9448 #endif
9449 char XCreateWindow ();
9451 main ()
9453 return XCreateWindow ();
9455 return 0;
9457 _ACEOF
9458 rm -f conftest.$ac_objext conftest$ac_exeext
9459 if { (ac_try="$ac_link"
9460 case "(($ac_try" in
9461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9462 *) ac_try_echo=$ac_try;;
9463 esac
9464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9465 (eval "$ac_link") 2>conftest.er1
9466 ac_status=$?
9467 grep -v '^ *+' conftest.er1 >conftest.err
9468 rm -f conftest.er1
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } && {
9472 test -z "$ac_c_werror_flag" ||
9473 test ! -s conftest.err
9474 } && test -s conftest$ac_exeext &&
9475 $as_test_x conftest$ac_exeext; then
9476 case "$LIBEXT" in
9477 dll) ;;
9478 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'` ;;
9479 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9480 esac
9481 else
9482 echo "$as_me: failed program was:" >&5
9483 sed 's/^/| /' conftest.$ac_ext >&5
9488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LIBS=$ac_check_soname_save_LIBS
9492 if test "x$ac_cv_lib_soname_X11" = "x"; then
9493 { echo "$as_me:$LINENO: result: not found" >&5
9494 echo "${ECHO_T}not found" >&6; }
9496 else
9497 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9498 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9500 cat >>confdefs.h <<_ACEOF
9501 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9502 _ACEOF
9507 { echo "$as_me:$LINENO: checking for -lXext" >&5
9508 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9509 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9510 echo $ECHO_N "(cached) $ECHO_C" >&6
9511 else
9512 ac_check_soname_save_LIBS=$LIBS
9513 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9514 cat >conftest.$ac_ext <<_ACEOF
9515 /* confdefs.h. */
9516 _ACEOF
9517 cat confdefs.h >>conftest.$ac_ext
9518 cat >>conftest.$ac_ext <<_ACEOF
9519 /* end confdefs.h. */
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9524 #ifdef __cplusplus
9525 extern "C"
9526 #endif
9527 char XextCreateExtension ();
9529 main ()
9531 return XextCreateExtension ();
9533 return 0;
9535 _ACEOF
9536 rm -f conftest.$ac_objext conftest$ac_exeext
9537 if { (ac_try="$ac_link"
9538 case "(($ac_try" in
9539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9540 *) ac_try_echo=$ac_try;;
9541 esac
9542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9543 (eval "$ac_link") 2>conftest.er1
9544 ac_status=$?
9545 grep -v '^ *+' conftest.er1 >conftest.err
9546 rm -f conftest.er1
9547 cat conftest.err >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); } && {
9550 test -z "$ac_c_werror_flag" ||
9551 test ! -s conftest.err
9552 } && test -s conftest$ac_exeext &&
9553 $as_test_x conftest$ac_exeext; then
9554 case "$LIBEXT" in
9555 dll) ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9558 esac
9559 else
9560 echo "$as_me: failed program was:" >&5
9561 sed 's/^/| /' conftest.$ac_ext >&5
9566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9567 conftest$ac_exeext conftest.$ac_ext
9568 LIBS=$ac_check_soname_save_LIBS
9570 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9571 { echo "$as_me:$LINENO: result: not found" >&5
9572 echo "${ECHO_T}not found" >&6; }
9574 else
9575 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9576 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9578 cat >>confdefs.h <<_ACEOF
9579 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9580 _ACEOF
9598 for ac_header in X11/Xlib.h \
9599 X11/XKBlib.h \
9600 X11/Xutil.h \
9601 X11/Xcursor/Xcursor.h \
9602 X11/extensions/shape.h \
9603 X11/extensions/XInput.h \
9604 X11/extensions/XShm.h \
9605 X11/extensions/Xcomposite.h \
9606 X11/extensions/Xinerama.h \
9607 X11/extensions/Xrandr.h \
9608 X11/extensions/Xrender.h \
9609 X11/extensions/xf86vmode.h
9611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9612 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 else
9617 cat >conftest.$ac_ext <<_ACEOF
9618 /* confdefs.h. */
9619 _ACEOF
9620 cat confdefs.h >>conftest.$ac_ext
9621 cat >>conftest.$ac_ext <<_ACEOF
9622 /* end confdefs.h. */
9623 #ifdef HAVE_X11_XLIB_H
9624 # include <X11/Xlib.h>
9625 #endif
9626 #ifdef HAVE_X11_XUTIL_H
9627 # include <X11/Xutil.h>
9628 #endif
9630 #include <$ac_header>
9631 _ACEOF
9632 rm -f conftest.$ac_objext
9633 if { (ac_try="$ac_compile"
9634 case "(($ac_try" in
9635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9636 *) ac_try_echo=$ac_try;;
9637 esac
9638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9639 (eval "$ac_compile") 2>conftest.er1
9640 ac_status=$?
9641 grep -v '^ *+' conftest.er1 >conftest.err
9642 rm -f conftest.er1
9643 cat conftest.err >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); } && {
9646 test -z "$ac_c_werror_flag" ||
9647 test ! -s conftest.err
9648 } && test -s conftest.$ac_objext; then
9649 eval "$as_ac_Header=yes"
9650 else
9651 echo "$as_me: failed program was:" >&5
9652 sed 's/^/| /' conftest.$ac_ext >&5
9654 eval "$as_ac_Header=no"
9657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9659 ac_res=`eval echo '${'$as_ac_Header'}'`
9660 { echo "$as_me:$LINENO: result: $ac_res" >&5
9661 echo "${ECHO_T}$ac_res" >&6; }
9662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9663 cat >>confdefs.h <<_ACEOF
9664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9665 _ACEOF
9669 done
9672 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9673 then
9674 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9675 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9676 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9677 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 else
9679 ac_check_lib_save_LIBS=$LIBS
9680 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9681 cat >conftest.$ac_ext <<_ACEOF
9682 /* confdefs.h. */
9683 _ACEOF
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9691 #ifdef __cplusplus
9692 extern "C"
9693 #endif
9694 char XkbQueryExtension ();
9696 main ()
9698 return XkbQueryExtension ();
9700 return 0;
9702 _ACEOF
9703 rm -f conftest.$ac_objext conftest$ac_exeext
9704 if { (ac_try="$ac_link"
9705 case "(($ac_try" in
9706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9707 *) ac_try_echo=$ac_try;;
9708 esac
9709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9710 (eval "$ac_link") 2>conftest.er1
9711 ac_status=$?
9712 grep -v '^ *+' conftest.er1 >conftest.err
9713 rm -f conftest.er1
9714 cat conftest.err >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); } && {
9717 test -z "$ac_c_werror_flag" ||
9718 test ! -s conftest.err
9719 } && test -s conftest$ac_exeext &&
9720 $as_test_x conftest$ac_exeext; then
9721 ac_cv_lib_X11_XkbQueryExtension=yes
9722 else
9723 echo "$as_me: failed program was:" >&5
9724 sed 's/^/| /' conftest.$ac_ext >&5
9726 ac_cv_lib_X11_XkbQueryExtension=no
9729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9730 conftest$ac_exeext conftest.$ac_ext
9731 LIBS=$ac_check_lib_save_LIBS
9733 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9734 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9735 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9737 cat >>confdefs.h <<\_ACEOF
9738 #define HAVE_XKB 1
9739 _ACEOF
9745 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9746 then
9747 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9748 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9749 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9751 else
9752 ac_check_soname_save_LIBS=$LIBS
9753 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9754 cat >conftest.$ac_ext <<_ACEOF
9755 /* confdefs.h. */
9756 _ACEOF
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9761 /* Override any GCC internal prototype to avoid an error.
9762 Use char because int might match the return type of a GCC
9763 builtin and then its argument prototype would still apply. */
9764 #ifdef __cplusplus
9765 extern "C"
9766 #endif
9767 char XcursorImageLoadCursor ();
9769 main ()
9771 return XcursorImageLoadCursor ();
9773 return 0;
9775 _ACEOF
9776 rm -f conftest.$ac_objext conftest$ac_exeext
9777 if { (ac_try="$ac_link"
9778 case "(($ac_try" in
9779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9780 *) ac_try_echo=$ac_try;;
9781 esac
9782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9783 (eval "$ac_link") 2>conftest.er1
9784 ac_status=$?
9785 grep -v '^ *+' conftest.er1 >conftest.err
9786 rm -f conftest.er1
9787 cat conftest.err >&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); } && {
9790 test -z "$ac_c_werror_flag" ||
9791 test ! -s conftest.err
9792 } && test -s conftest$ac_exeext &&
9793 $as_test_x conftest$ac_exeext; then
9794 case "$LIBEXT" in
9795 dll) ;;
9796 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'` ;;
9797 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9798 esac
9799 else
9800 echo "$as_me: failed program was:" >&5
9801 sed 's/^/| /' conftest.$ac_ext >&5
9806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9807 conftest$ac_exeext conftest.$ac_ext
9808 LIBS=$ac_check_soname_save_LIBS
9810 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9811 { echo "$as_me:$LINENO: result: not found" >&5
9812 echo "${ECHO_T}not found" >&6; }
9814 else
9815 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9816 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9818 cat >>confdefs.h <<_ACEOF
9819 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9820 _ACEOF
9826 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9827 case "x$with_xcursor" in
9828 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9829 xno) ;;
9830 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9831 This is an error since --with-xcursor was requested." >&5
9832 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9833 This is an error since --with-xcursor was requested." >&2;}
9834 { (exit 1); exit 1; }; } ;;
9835 esac
9839 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9840 then
9841 { echo "$as_me:$LINENO: checking for -lXi" >&5
9842 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9843 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9844 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 else
9846 ac_check_soname_save_LIBS=$LIBS
9847 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9848 cat >conftest.$ac_ext <<_ACEOF
9849 /* confdefs.h. */
9850 _ACEOF
9851 cat confdefs.h >>conftest.$ac_ext
9852 cat >>conftest.$ac_ext <<_ACEOF
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9858 #ifdef __cplusplus
9859 extern "C"
9860 #endif
9861 char XOpenDevice ();
9863 main ()
9865 return XOpenDevice ();
9867 return 0;
9869 _ACEOF
9870 rm -f conftest.$ac_objext conftest$ac_exeext
9871 if { (ac_try="$ac_link"
9872 case "(($ac_try" in
9873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9874 *) ac_try_echo=$ac_try;;
9875 esac
9876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9877 (eval "$ac_link") 2>conftest.er1
9878 ac_status=$?
9879 grep -v '^ *+' conftest.er1 >conftest.err
9880 rm -f conftest.er1
9881 cat conftest.err >&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); } && {
9884 test -z "$ac_c_werror_flag" ||
9885 test ! -s conftest.err
9886 } && test -s conftest$ac_exeext &&
9887 $as_test_x conftest$ac_exeext; then
9888 case "$LIBEXT" in
9889 dll) ;;
9890 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'` ;;
9891 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9892 esac
9893 else
9894 echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_soname_save_LIBS
9904 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9905 { echo "$as_me:$LINENO: result: not found" >&5
9906 echo "${ECHO_T}not found" >&6; }
9908 else
9909 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9910 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9912 cat >>confdefs.h <<_ACEOF
9913 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9914 _ACEOF
9920 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9921 case "x$with_xinput" in
9922 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9923 xno) ;;
9924 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9925 This is an error since --with-xinput was requested." >&5
9926 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9927 This is an error since --with-xinput was requested." >&2;}
9928 { (exit 1); exit 1; }; } ;;
9929 esac
9933 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9934 then
9935 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9936 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9937 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 else
9940 ac_check_lib_save_LIBS=$LIBS
9941 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9942 cat >conftest.$ac_ext <<_ACEOF
9943 /* confdefs.h. */
9944 _ACEOF
9945 cat confdefs.h >>conftest.$ac_ext
9946 cat >>conftest.$ac_ext <<_ACEOF
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 #ifdef __cplusplus
9953 extern "C"
9954 #endif
9955 char XShmQueryExtension ();
9957 main ()
9959 return XShmQueryExtension ();
9961 return 0;
9963 _ACEOF
9964 rm -f conftest.$ac_objext conftest$ac_exeext
9965 if { (ac_try="$ac_link"
9966 case "(($ac_try" in
9967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9968 *) ac_try_echo=$ac_try;;
9969 esac
9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9971 (eval "$ac_link") 2>conftest.er1
9972 ac_status=$?
9973 grep -v '^ *+' conftest.er1 >conftest.err
9974 rm -f conftest.er1
9975 cat conftest.err >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); } && {
9978 test -z "$ac_c_werror_flag" ||
9979 test ! -s conftest.err
9980 } && test -s conftest$ac_exeext &&
9981 $as_test_x conftest$ac_exeext; then
9982 ac_cv_lib_Xext_XShmQueryExtension=yes
9983 else
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9987 ac_cv_lib_Xext_XShmQueryExtension=no
9990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_lib_save_LIBS
9994 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9995 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9996 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9998 cat >>confdefs.h <<\_ACEOF
9999 #define HAVE_LIBXXSHM 1
10000 _ACEOF
10005 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10006 case "x$with_xshm" in
10007 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10008 xno) ;;
10009 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10010 This is an error since --with-xshm was requested." >&5
10011 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10012 This is an error since --with-xshm was requested." >&2;}
10013 { (exit 1); exit 1; }; } ;;
10014 esac
10018 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10019 then
10020 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10021 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10022 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10023 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10027 cat >conftest.$ac_ext <<_ACEOF
10028 /* confdefs.h. */
10029 _ACEOF
10030 cat confdefs.h >>conftest.$ac_ext
10031 cat >>conftest.$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char XShapeQueryExtension ();
10042 main ()
10044 return XShapeQueryExtension ();
10046 return 0;
10048 _ACEOF
10049 rm -f conftest.$ac_objext conftest$ac_exeext
10050 if { (ac_try="$ac_link"
10051 case "(($ac_try" in
10052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10053 *) ac_try_echo=$ac_try;;
10054 esac
10055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10056 (eval "$ac_link") 2>conftest.er1
10057 ac_status=$?
10058 grep -v '^ *+' conftest.er1 >conftest.err
10059 rm -f conftest.er1
10060 cat conftest.err >&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); } && {
10063 test -z "$ac_c_werror_flag" ||
10064 test ! -s conftest.err
10065 } && test -s conftest$ac_exeext &&
10066 $as_test_x conftest$ac_exeext; then
10067 ac_cv_lib_Xext_XShapeQueryExtension=yes
10068 else
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.$ac_ext >&5
10072 ac_cv_lib_Xext_XShapeQueryExtension=no
10075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10076 conftest$ac_exeext conftest.$ac_ext
10077 LIBS=$ac_check_lib_save_LIBS
10079 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10080 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10081 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10083 cat >>confdefs.h <<\_ACEOF
10084 #define HAVE_LIBXSHAPE 1
10085 _ACEOF
10090 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10091 case "x$with_xshape" in
10092 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10093 xno) ;;
10094 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10095 This is an error since --with-xshape was requested." >&5
10096 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10097 This is an error since --with-xshape was requested." >&2;}
10098 { (exit 1); exit 1; }; } ;;
10099 esac
10103 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10104 then
10105 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10106 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10107 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 else
10110 ac_check_lib_save_LIBS=$LIBS
10111 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10112 cat >conftest.$ac_ext <<_ACEOF
10113 /* confdefs.h. */
10114 _ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XF86VidModeQueryExtension ();
10127 main ()
10129 return XF86VidModeQueryExtension ();
10131 return 0;
10133 _ACEOF
10134 rm -f conftest.$ac_objext conftest$ac_exeext
10135 if { (ac_try="$ac_link"
10136 case "(($ac_try" in
10137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10138 *) ac_try_echo=$ac_try;;
10139 esac
10140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10141 (eval "$ac_link") 2>conftest.er1
10142 ac_status=$?
10143 grep -v '^ *+' conftest.er1 >conftest.err
10144 rm -f conftest.er1
10145 cat conftest.err >&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); } && {
10148 test -z "$ac_c_werror_flag" ||
10149 test ! -s conftest.err
10150 } && test -s conftest$ac_exeext &&
10151 $as_test_x conftest$ac_exeext; then
10152 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10153 else
10154 echo "$as_me: failed program was:" >&5
10155 sed 's/^/| /' conftest.$ac_ext >&5
10157 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_lib_save_LIBS
10164 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10165 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10166 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10168 cat >>confdefs.h <<\_ACEOF
10169 #define HAVE_LIBXXF86VM 1
10170 _ACEOF
10172 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10177 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10178 case "x$with_xvidmode" in
10179 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10180 xno) ;;
10181 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10182 This is an error since --with-xvidmode was requested." >&5
10183 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10184 This is an error since --with-xvidmode was requested." >&2;}
10185 { (exit 1); exit 1; }; } ;;
10186 esac
10190 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"
10191 then
10192 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10193 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10194 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 else
10197 ac_check_soname_save_LIBS=$LIBS
10198 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10199 cat >conftest.$ac_ext <<_ACEOF
10200 /* confdefs.h. */
10201 _ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10209 #ifdef __cplusplus
10210 extern "C"
10211 #endif
10212 char XRenderQueryExtension ();
10214 main ()
10216 return XRenderQueryExtension ();
10218 return 0;
10220 _ACEOF
10221 rm -f conftest.$ac_objext conftest$ac_exeext
10222 if { (ac_try="$ac_link"
10223 case "(($ac_try" in
10224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10225 *) ac_try_echo=$ac_try;;
10226 esac
10227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10228 (eval "$ac_link") 2>conftest.er1
10229 ac_status=$?
10230 grep -v '^ *+' conftest.er1 >conftest.err
10231 rm -f conftest.er1
10232 cat conftest.err >&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } && {
10235 test -z "$ac_c_werror_flag" ||
10236 test ! -s conftest.err
10237 } && test -s conftest$ac_exeext &&
10238 $as_test_x conftest$ac_exeext; then
10239 case "$LIBEXT" in
10240 dll) ;;
10241 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'` ;;
10242 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10243 esac
10244 else
10245 echo "$as_me: failed program was:" >&5
10246 sed 's/^/| /' conftest.$ac_ext >&5
10251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10252 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_soname_save_LIBS
10255 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10256 { echo "$as_me:$LINENO: result: not found" >&5
10257 echo "${ECHO_T}not found" >&6; }
10259 else
10260 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10261 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10263 cat >>confdefs.h <<_ACEOF
10264 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10265 _ACEOF
10267 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10268 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10269 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10270 echo $ECHO_N "(cached) $ECHO_C" >&6
10271 else
10272 ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10274 cat >conftest.$ac_ext <<_ACEOF
10275 /* confdefs.h. */
10276 _ACEOF
10277 cat confdefs.h >>conftest.$ac_ext
10278 cat >>conftest.$ac_ext <<_ACEOF
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10284 #ifdef __cplusplus
10285 extern "C"
10286 #endif
10287 char XRenderSetPictureTransform ();
10289 main ()
10291 return XRenderSetPictureTransform ();
10293 return 0;
10295 _ACEOF
10296 rm -f conftest.$ac_objext conftest$ac_exeext
10297 if { (ac_try="$ac_link"
10298 case "(($ac_try" in
10299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10300 *) ac_try_echo=$ac_try;;
10301 esac
10302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10303 (eval "$ac_link") 2>conftest.er1
10304 ac_status=$?
10305 grep -v '^ *+' conftest.er1 >conftest.err
10306 rm -f conftest.er1
10307 cat conftest.err >&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } && {
10310 test -z "$ac_c_werror_flag" ||
10311 test ! -s conftest.err
10312 } && test -s conftest$ac_exeext &&
10313 $as_test_x conftest$ac_exeext; then
10314 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10315 else
10316 echo "$as_me: failed program was:" >&5
10317 sed 's/^/| /' conftest.$ac_ext >&5
10319 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10323 conftest$ac_exeext conftest.$ac_ext
10324 LIBS=$ac_check_lib_save_LIBS
10326 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10327 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10328 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10330 cat >>confdefs.h <<\_ACEOF
10331 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10332 _ACEOF
10340 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10341 case "x$with_xrender" in
10342 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10343 xno) ;;
10344 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10345 This is an error since --with-xrender was requested." >&5
10346 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10347 This is an error since --with-xrender was requested." >&2;}
10348 { (exit 1); exit 1; }; } ;;
10349 esac
10353 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10354 then
10355 cat >conftest.$ac_ext <<_ACEOF
10356 /* confdefs.h. */
10357 _ACEOF
10358 cat confdefs.h >>conftest.$ac_ext
10359 cat >>conftest.$ac_ext <<_ACEOF
10360 /* end confdefs.h. */
10361 #include <X11/Xlib.h>
10362 #include <X11/extensions/Xrandr.h>
10364 main ()
10366 static typeof(XRRSetScreenConfigAndRate) * func;
10368 return 0;
10370 _ACEOF
10371 rm -f conftest.$ac_objext
10372 if { (ac_try="$ac_compile"
10373 case "(($ac_try" in
10374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10375 *) ac_try_echo=$ac_try;;
10376 esac
10377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10378 (eval "$ac_compile") 2>conftest.er1
10379 ac_status=$?
10380 grep -v '^ *+' conftest.er1 >conftest.err
10381 rm -f conftest.er1
10382 cat conftest.err >&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); } && {
10385 test -z "$ac_c_werror_flag" ||
10386 test ! -s conftest.err
10387 } && test -s conftest.$ac_objext; then
10388 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10389 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10390 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10391 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 else
10393 ac_check_soname_save_LIBS=$LIBS
10394 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10395 cat >conftest.$ac_ext <<_ACEOF
10396 /* confdefs.h. */
10397 _ACEOF
10398 cat confdefs.h >>conftest.$ac_ext
10399 cat >>conftest.$ac_ext <<_ACEOF
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10405 #ifdef __cplusplus
10406 extern "C"
10407 #endif
10408 char XRRQueryExtension ();
10410 main ()
10412 return XRRQueryExtension ();
10414 return 0;
10416 _ACEOF
10417 rm -f conftest.$ac_objext conftest$ac_exeext
10418 if { (ac_try="$ac_link"
10419 case "(($ac_try" in
10420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10421 *) ac_try_echo=$ac_try;;
10422 esac
10423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10424 (eval "$ac_link") 2>conftest.er1
10425 ac_status=$?
10426 grep -v '^ *+' conftest.er1 >conftest.err
10427 rm -f conftest.er1
10428 cat conftest.err >&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); } && {
10431 test -z "$ac_c_werror_flag" ||
10432 test ! -s conftest.err
10433 } && test -s conftest$ac_exeext &&
10434 $as_test_x conftest$ac_exeext; then
10435 case "$LIBEXT" in
10436 dll) ;;
10437 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'` ;;
10438 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10439 esac
10440 else
10441 echo "$as_me: failed program was:" >&5
10442 sed 's/^/| /' conftest.$ac_ext >&5
10447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10448 conftest$ac_exeext conftest.$ac_ext
10449 LIBS=$ac_check_soname_save_LIBS
10451 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10452 { echo "$as_me:$LINENO: result: not found" >&5
10453 echo "${ECHO_T}not found" >&6; }
10455 else
10456 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10457 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10459 cat >>confdefs.h <<_ACEOF
10460 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10461 _ACEOF
10466 else
10467 echo "$as_me: failed program was:" >&5
10468 sed 's/^/| /' conftest.$ac_ext >&5
10473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10475 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10476 case "x$with_xrandr" in
10477 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10478 xno) ;;
10479 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10480 This is an error since --with-xrandr was requested." >&5
10481 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10482 This is an error since --with-xrandr was requested." >&2;}
10483 { (exit 1); exit 1; }; } ;;
10484 esac
10488 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10489 then
10490 cat >conftest.$ac_ext <<_ACEOF
10491 /* confdefs.h. */
10492 _ACEOF
10493 cat confdefs.h >>conftest.$ac_ext
10494 cat >>conftest.$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10496 #include <X11/Xlib.h>
10497 #include <X11/extensions/Xinerama.h>
10499 main ()
10501 static typeof(XineramaQueryScreens) * func;
10503 return 0;
10505 _ACEOF
10506 rm -f conftest.$ac_objext
10507 if { (ac_try="$ac_compile"
10508 case "(($ac_try" in
10509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10510 *) ac_try_echo=$ac_try;;
10511 esac
10512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10513 (eval "$ac_compile") 2>conftest.er1
10514 ac_status=$?
10515 grep -v '^ *+' conftest.er1 >conftest.err
10516 rm -f conftest.er1
10517 cat conftest.err >&5
10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 (exit $ac_status); } && {
10520 test -z "$ac_c_werror_flag" ||
10521 test ! -s conftest.err
10522 } && test -s conftest.$ac_objext; then
10523 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10524 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10525 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 else
10528 ac_check_soname_save_LIBS=$LIBS
10529 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10530 cat >conftest.$ac_ext <<_ACEOF
10531 /* confdefs.h. */
10532 _ACEOF
10533 cat confdefs.h >>conftest.$ac_ext
10534 cat >>conftest.$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10540 #ifdef __cplusplus
10541 extern "C"
10542 #endif
10543 char XineramaQueryScreens ();
10545 main ()
10547 return XineramaQueryScreens ();
10549 return 0;
10551 _ACEOF
10552 rm -f conftest.$ac_objext conftest$ac_exeext
10553 if { (ac_try="$ac_link"
10554 case "(($ac_try" in
10555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10556 *) ac_try_echo=$ac_try;;
10557 esac
10558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10559 (eval "$ac_link") 2>conftest.er1
10560 ac_status=$?
10561 grep -v '^ *+' conftest.er1 >conftest.err
10562 rm -f conftest.er1
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } && {
10566 test -z "$ac_c_werror_flag" ||
10567 test ! -s conftest.err
10568 } && test -s conftest$ac_exeext &&
10569 $as_test_x conftest$ac_exeext; then
10570 case "$LIBEXT" in
10571 dll) ;;
10572 dylib) ac_cv_lib_soname_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'` ;;
10573 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10574 esac
10575 else
10576 echo "$as_me: failed program was:" >&5
10577 sed 's/^/| /' conftest.$ac_ext >&5
10582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_soname_save_LIBS
10586 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10587 { echo "$as_me:$LINENO: result: not found" >&5
10588 echo "${ECHO_T}not found" >&6; }
10590 else
10591 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10592 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10594 cat >>confdefs.h <<_ACEOF
10595 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10596 _ACEOF
10601 else
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10610 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10611 case "x$with_xinerama" in
10612 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10613 xno) ;;
10614 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10615 This is an error since --with-xinerama was requested." >&5
10616 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10617 This is an error since --with-xinerama was requested." >&2;}
10618 { (exit 1); exit 1; }; } ;;
10619 esac
10623 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10624 then
10625 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10626 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10627 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 else
10630 ac_check_soname_save_LIBS=$LIBS
10631 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10632 cat >conftest.$ac_ext <<_ACEOF
10633 /* confdefs.h. */
10634 _ACEOF
10635 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10642 #ifdef __cplusplus
10643 extern "C"
10644 #endif
10645 char XCompositeRedirectWindow ();
10647 main ()
10649 return XCompositeRedirectWindow ();
10651 return 0;
10653 _ACEOF
10654 rm -f conftest.$ac_objext conftest$ac_exeext
10655 if { (ac_try="$ac_link"
10656 case "(($ac_try" in
10657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10658 *) ac_try_echo=$ac_try;;
10659 esac
10660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10661 (eval "$ac_link") 2>conftest.er1
10662 ac_status=$?
10663 grep -v '^ *+' conftest.er1 >conftest.err
10664 rm -f conftest.er1
10665 cat conftest.err >&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } && {
10668 test -z "$ac_c_werror_flag" ||
10669 test ! -s conftest.err
10670 } && test -s conftest$ac_exeext &&
10671 $as_test_x conftest$ac_exeext; then
10672 case "$LIBEXT" in
10673 dll) ;;
10674 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'` ;;
10675 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10676 esac
10677 else
10678 echo "$as_me: failed program was:" >&5
10679 sed 's/^/| /' conftest.$ac_ext >&5
10684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10685 conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_soname_save_LIBS
10688 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10689 { echo "$as_me:$LINENO: result: not found" >&5
10690 echo "${ECHO_T}not found" >&6; }
10692 else
10693 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10694 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10696 cat >>confdefs.h <<_ACEOF
10697 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10698 _ACEOF
10704 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10705 case "x$with_xcomposite" in
10706 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10707 xno) ;;
10708 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10709 This is an error since --with-xcomposite was requested." >&5
10710 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10711 This is an error since --with-xcomposite was requested." >&2;}
10712 { (exit 1); exit 1; }; } ;;
10713 esac
10717 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10718 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10719 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10720 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 else
10722 cat >conftest.$ac_ext <<_ACEOF
10723 /* confdefs.h. */
10724 _ACEOF
10725 cat confdefs.h >>conftest.$ac_ext
10726 cat >>conftest.$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10728 #ifdef HAVE_X11_XLIB_H
10729 #include <X11/Xlib.h>
10730 #endif
10733 main ()
10735 static XICCallback ac_aggr;
10736 if (ac_aggr.callback)
10737 return 0;
10739 return 0;
10741 _ACEOF
10742 rm -f conftest.$ac_objext
10743 if { (ac_try="$ac_compile"
10744 case "(($ac_try" in
10745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10746 *) ac_try_echo=$ac_try;;
10747 esac
10748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10749 (eval "$ac_compile") 2>conftest.er1
10750 ac_status=$?
10751 grep -v '^ *+' conftest.er1 >conftest.err
10752 rm -f conftest.er1
10753 cat conftest.err >&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } && {
10756 test -z "$ac_c_werror_flag" ||
10757 test ! -s conftest.err
10758 } && test -s conftest.$ac_objext; then
10759 ac_cv_member_XICCallback_callback=yes
10760 else
10761 echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.$ac_ext >&5
10764 cat >conftest.$ac_ext <<_ACEOF
10765 /* confdefs.h. */
10766 _ACEOF
10767 cat confdefs.h >>conftest.$ac_ext
10768 cat >>conftest.$ac_ext <<_ACEOF
10769 /* end confdefs.h. */
10770 #ifdef HAVE_X11_XLIB_H
10771 #include <X11/Xlib.h>
10772 #endif
10775 main ()
10777 static XICCallback ac_aggr;
10778 if (sizeof ac_aggr.callback)
10779 return 0;
10781 return 0;
10783 _ACEOF
10784 rm -f conftest.$ac_objext
10785 if { (ac_try="$ac_compile"
10786 case "(($ac_try" in
10787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10788 *) ac_try_echo=$ac_try;;
10789 esac
10790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10791 (eval "$ac_compile") 2>conftest.er1
10792 ac_status=$?
10793 grep -v '^ *+' conftest.er1 >conftest.err
10794 rm -f conftest.er1
10795 cat conftest.err >&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } && {
10798 test -z "$ac_c_werror_flag" ||
10799 test ! -s conftest.err
10800 } && test -s conftest.$ac_objext; then
10801 ac_cv_member_XICCallback_callback=yes
10802 else
10803 echo "$as_me: failed program was:" >&5
10804 sed 's/^/| /' conftest.$ac_ext >&5
10806 ac_cv_member_XICCallback_callback=no
10809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10814 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10815 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10816 if test $ac_cv_member_XICCallback_callback = yes; then
10818 cat >>confdefs.h <<_ACEOF
10819 #define HAVE_XICCALLBACK_CALLBACK 1
10820 _ACEOF
10827 opengl_msg=""
10828 if test "x$with_opengl" != "xno"
10829 then
10834 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10840 echo $ECHO_N "(cached) $ECHO_C" >&6
10841 else
10842 cat >conftest.$ac_ext <<_ACEOF
10843 /* confdefs.h. */
10844 _ACEOF
10845 cat confdefs.h >>conftest.$ac_ext
10846 cat >>conftest.$ac_ext <<_ACEOF
10847 /* end confdefs.h. */
10848 #ifdef HAVE_GL_GLX_H
10849 # include <GL/glx.h>
10850 #endif
10852 #include <$ac_header>
10853 _ACEOF
10854 rm -f conftest.$ac_objext
10855 if { (ac_try="$ac_compile"
10856 case "(($ac_try" in
10857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10858 *) ac_try_echo=$ac_try;;
10859 esac
10860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10861 (eval "$ac_compile") 2>conftest.er1
10862 ac_status=$?
10863 grep -v '^ *+' conftest.er1 >conftest.err
10864 rm -f conftest.er1
10865 cat conftest.err >&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); } && {
10868 test -z "$ac_c_werror_flag" ||
10869 test ! -s conftest.err
10870 } && test -s conftest.$ac_objext; then
10871 eval "$as_ac_Header=yes"
10872 else
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.$ac_ext >&5
10876 eval "$as_ac_Header=no"
10879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10881 ac_res=`eval echo '${'$as_ac_Header'}'`
10882 { echo "$as_me:$LINENO: result: $ac_res" >&5
10883 echo "${ECHO_T}$ac_res" >&6; }
10884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10885 cat >>confdefs.h <<_ACEOF
10886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10887 _ACEOF
10891 done
10893 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10894 then
10895 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10896 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10897 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 else
10900 cat >conftest.$ac_ext <<_ACEOF
10901 /* confdefs.h. */
10902 _ACEOF
10903 cat confdefs.h >>conftest.$ac_ext
10904 cat >>conftest.$ac_ext <<_ACEOF
10905 /* end confdefs.h. */
10906 #include <GL/gl.h>
10908 main ()
10910 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10912 return 0;
10914 _ACEOF
10915 rm -f conftest.$ac_objext
10916 if { (ac_try="$ac_compile"
10917 case "(($ac_try" in
10918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10919 *) ac_try_echo=$ac_try;;
10920 esac
10921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10922 (eval "$ac_compile") 2>conftest.er1
10923 ac_status=$?
10924 grep -v '^ *+' conftest.er1 >conftest.err
10925 rm -f conftest.er1
10926 cat conftest.err >&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); } && {
10929 test -z "$ac_c_werror_flag" ||
10930 test ! -s conftest.err
10931 } && test -s conftest.$ac_objext; then
10932 wine_cv_opengl_header_version_OK="yes"
10933 else
10934 echo "$as_me: failed program was:" >&5
10935 sed 's/^/| /' conftest.$ac_ext >&5
10937 wine_cv_opengl_header_version_OK="no"
10940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10942 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10943 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10945 if test "$wine_cv_opengl_header_version_OK" = "yes"
10946 then
10947 { echo "$as_me:$LINENO: checking for -lGL" >&5
10948 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10949 if test "${ac_cv_lib_soname_GL+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 else
10952 ac_check_soname_save_LIBS=$LIBS
10953 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10954 cat >conftest.$ac_ext <<_ACEOF
10955 /* confdefs.h. */
10956 _ACEOF
10957 cat confdefs.h >>conftest.$ac_ext
10958 cat >>conftest.$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10961 /* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10964 #ifdef __cplusplus
10965 extern "C"
10966 #endif
10967 char glXCreateContext ();
10969 main ()
10971 return glXCreateContext ();
10973 return 0;
10975 _ACEOF
10976 rm -f conftest.$ac_objext conftest$ac_exeext
10977 if { (ac_try="$ac_link"
10978 case "(($ac_try" in
10979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10980 *) ac_try_echo=$ac_try;;
10981 esac
10982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10983 (eval "$ac_link") 2>conftest.er1
10984 ac_status=$?
10985 grep -v '^ *+' conftest.er1 >conftest.err
10986 rm -f conftest.er1
10987 cat conftest.err >&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); } && {
10990 test -z "$ac_c_werror_flag" ||
10991 test ! -s conftest.err
10992 } && test -s conftest$ac_exeext &&
10993 $as_test_x conftest$ac_exeext; then
10994 case "$LIBEXT" in
10995 dll) ;;
10996 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'` ;;
10997 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10998 esac
10999 else
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_soname_save_LIBS
11010 if test "x$ac_cv_lib_soname_GL" = "x"; then
11011 { echo "$as_me:$LINENO: result: not found" >&5
11012 echo "${ECHO_T}not found" >&6; }
11013 { echo "$as_me:$LINENO: checking for -lGL" >&5
11014 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11015 if test "${ac_cv_lib_soname_GL+set}" = set; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11017 else
11018 ac_check_soname_save_LIBS=$LIBS
11019 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"
11020 cat >conftest.$ac_ext <<_ACEOF
11021 /* confdefs.h. */
11022 _ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char glXCreateContext ();
11035 main ()
11037 return glXCreateContext ();
11039 return 0;
11041 _ACEOF
11042 rm -f conftest.$ac_objext conftest$ac_exeext
11043 if { (ac_try="$ac_link"
11044 case "(($ac_try" in
11045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11046 *) ac_try_echo=$ac_try;;
11047 esac
11048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11049 (eval "$ac_link") 2>conftest.er1
11050 ac_status=$?
11051 grep -v '^ *+' conftest.er1 >conftest.err
11052 rm -f conftest.er1
11053 cat conftest.err >&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } && {
11056 test -z "$ac_c_werror_flag" ||
11057 test ! -s conftest.err
11058 } && test -s conftest$ac_exeext &&
11059 $as_test_x conftest$ac_exeext; then
11060 case "$LIBEXT" in
11061 dll) ;;
11062 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'` ;;
11063 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11064 esac
11065 else
11066 echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.$ac_ext >&5
11072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11073 conftest$ac_exeext conftest.$ac_ext
11074 LIBS=$ac_check_soname_save_LIBS
11076 if test "x$ac_cv_lib_soname_GL" = "x"; then
11077 { echo "$as_me:$LINENO: result: not found" >&5
11078 echo "${ECHO_T}not found" >&6; }
11079 if test -f /usr/X11R6/lib/libGL.a
11080 then
11081 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11082 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11083 else
11084 opengl_msg="No OpenGL library found on this system."
11086 else
11087 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11088 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11090 cat >>confdefs.h <<_ACEOF
11091 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11092 _ACEOF
11094 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"
11095 OPENGLFILES='$(OPENGLFILES)'
11097 cat >>confdefs.h <<\_ACEOF
11098 #define HAVE_OPENGL 1
11099 _ACEOF
11103 else
11104 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11105 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11107 cat >>confdefs.h <<_ACEOF
11108 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11109 _ACEOF
11111 OPENGL_LIBS="-lGL"
11112 OPENGLFILES='$(OPENGLFILES)'
11114 cat >>confdefs.h <<\_ACEOF
11115 #define HAVE_OPENGL 1
11116 _ACEOF
11120 if test "$ac_cv_header_GL_glu_h" = "yes"
11121 then
11122 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11123 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11124 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 else
11127 ac_check_soname_save_LIBS=$LIBS
11128 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11129 cat >conftest.$ac_ext <<_ACEOF
11130 /* confdefs.h. */
11131 _ACEOF
11132 cat confdefs.h >>conftest.$ac_ext
11133 cat >>conftest.$ac_ext <<_ACEOF
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11139 #ifdef __cplusplus
11140 extern "C"
11141 #endif
11142 char gluLookAt ();
11144 main ()
11146 return gluLookAt ();
11148 return 0;
11150 _ACEOF
11151 rm -f conftest.$ac_objext conftest$ac_exeext
11152 if { (ac_try="$ac_link"
11153 case "(($ac_try" in
11154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11155 *) ac_try_echo=$ac_try;;
11156 esac
11157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11158 (eval "$ac_link") 2>conftest.er1
11159 ac_status=$?
11160 grep -v '^ *+' conftest.er1 >conftest.err
11161 rm -f conftest.er1
11162 cat conftest.err >&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } && {
11165 test -z "$ac_c_werror_flag" ||
11166 test ! -s conftest.err
11167 } && test -s conftest$ac_exeext &&
11168 $as_test_x conftest$ac_exeext; then
11169 case "$LIBEXT" in
11170 dll) ;;
11171 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'` ;;
11172 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11173 esac
11174 else
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.$ac_ext >&5
11181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_soname_save_LIBS
11185 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11186 { echo "$as_me:$LINENO: result: not found" >&5
11187 echo "${ECHO_T}not found" >&6; }
11189 else
11190 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11191 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11193 cat >>confdefs.h <<_ACEOF
11194 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11195 _ACEOF
11197 GLU32FILES='$(GLU32FILES)'
11201 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11202 case "x$with_glu" in
11203 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11204 xno) ;;
11205 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11206 This is an error since --with-glu was requested." >&5
11207 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11208 This is an error since --with-glu was requested." >&2;}
11209 { (exit 1); exit 1; }; } ;;
11210 esac
11213 else
11214 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11216 else
11217 opengl_msg="OpenGL development headers not found."
11220 if test -n "$opengl_msg"; then
11221 case "x$with_opengl" in
11222 x) wine_warnings="$wine_warnings|$opengl_msg
11223 OpenGL and Direct3D won't be supported." ;;
11224 xno) ;;
11225 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11226 OpenGL and Direct3D won't be supported.
11227 This is an error since --with-opengl was requested." >&5
11228 echo "$as_me: error: $opengl_msg
11229 OpenGL and Direct3D won't be supported.
11230 This is an error since --with-opengl was requested." >&2;}
11231 { (exit 1); exit 1; }; } ;;
11232 esac
11236 NASLIBS=""
11239 for ac_header in audio/audiolib.h
11241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11246 echo $ECHO_N "(cached) $ECHO_C" >&6
11248 ac_res=`eval echo '${'$as_ac_Header'}'`
11249 { echo "$as_me:$LINENO: result: $ac_res" >&5
11250 echo "${ECHO_T}$ac_res" >&6; }
11251 else
11252 # Is the header compilable?
11253 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11255 cat >conftest.$ac_ext <<_ACEOF
11256 /* confdefs.h. */
11257 _ACEOF
11258 cat confdefs.h >>conftest.$ac_ext
11259 cat >>conftest.$ac_ext <<_ACEOF
11260 /* end confdefs.h. */
11261 $ac_includes_default
11262 #include <$ac_header>
11263 _ACEOF
11264 rm -f conftest.$ac_objext
11265 if { (ac_try="$ac_compile"
11266 case "(($ac_try" in
11267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11268 *) ac_try_echo=$ac_try;;
11269 esac
11270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11271 (eval "$ac_compile") 2>conftest.er1
11272 ac_status=$?
11273 grep -v '^ *+' conftest.er1 >conftest.err
11274 rm -f conftest.er1
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } && {
11278 test -z "$ac_c_werror_flag" ||
11279 test ! -s conftest.err
11280 } && test -s conftest.$ac_objext; then
11281 ac_header_compiler=yes
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11286 ac_header_compiler=no
11289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11290 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11291 echo "${ECHO_T}$ac_header_compiler" >&6; }
11293 # Is the header present?
11294 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11296 cat >conftest.$ac_ext <<_ACEOF
11297 /* confdefs.h. */
11298 _ACEOF
11299 cat confdefs.h >>conftest.$ac_ext
11300 cat >>conftest.$ac_ext <<_ACEOF
11301 /* end confdefs.h. */
11302 #include <$ac_header>
11303 _ACEOF
11304 if { (ac_try="$ac_cpp conftest.$ac_ext"
11305 case "(($ac_try" in
11306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11307 *) ac_try_echo=$ac_try;;
11308 esac
11309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11310 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11311 ac_status=$?
11312 grep -v '^ *+' conftest.er1 >conftest.err
11313 rm -f conftest.er1
11314 cat conftest.err >&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); } >/dev/null && {
11317 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11318 test ! -s conftest.err
11319 }; then
11320 ac_header_preproc=yes
11321 else
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ac_header_preproc=no
11328 rm -f conftest.err conftest.$ac_ext
11329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11330 echo "${ECHO_T}$ac_header_preproc" >&6; }
11332 # So? What about this header?
11333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11334 yes:no: )
11335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11339 ac_header_preproc=yes
11341 no:yes:* )
11342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11354 ( cat <<\_ASBOX
11355 ## ------------------------------------ ##
11356 ## Report this to wine-devel@winehq.org ##
11357 ## ------------------------------------ ##
11358 _ASBOX
11359 ) | sed "s/^/$as_me: WARNING: /" >&2
11361 esac
11362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11367 eval "$as_ac_Header=\$ac_header_preproc"
11369 ac_res=`eval echo '${'$as_ac_Header'}'`
11370 { echo "$as_me:$LINENO: result: $ac_res" >&5
11371 echo "${ECHO_T}$ac_res" >&6; }
11374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11375 cat >>confdefs.h <<_ACEOF
11376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11377 _ACEOF
11379 for ac_header in audio/soundlib.h
11381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11382 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11385 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 else
11387 cat >conftest.$ac_ext <<_ACEOF
11388 /* confdefs.h. */
11389 _ACEOF
11390 cat confdefs.h >>conftest.$ac_ext
11391 cat >>conftest.$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11393 #include <audio/audiolib.h>
11395 #include <$ac_header>
11396 _ACEOF
11397 rm -f conftest.$ac_objext
11398 if { (ac_try="$ac_compile"
11399 case "(($ac_try" in
11400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11401 *) ac_try_echo=$ac_try;;
11402 esac
11403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11404 (eval "$ac_compile") 2>conftest.er1
11405 ac_status=$?
11406 grep -v '^ *+' conftest.er1 >conftest.err
11407 rm -f conftest.er1
11408 cat conftest.err >&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); } && {
11411 test -z "$ac_c_werror_flag" ||
11412 test ! -s conftest.err
11413 } && test -s conftest.$ac_objext; then
11414 eval "$as_ac_Header=yes"
11415 else
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11419 eval "$as_ac_Header=no"
11422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11424 ac_res=`eval echo '${'$as_ac_Header'}'`
11425 { echo "$as_me:$LINENO: result: $ac_res" >&5
11426 echo "${ECHO_T}$ac_res" >&6; }
11427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11428 cat >>confdefs.h <<_ACEOF
11429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11430 _ACEOF
11434 done
11436 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11437 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11438 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 else
11441 ac_check_lib_save_LIBS=$LIBS
11442 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11443 cat >conftest.$ac_ext <<_ACEOF
11444 /* confdefs.h. */
11445 _ACEOF
11446 cat confdefs.h >>conftest.$ac_ext
11447 cat >>conftest.$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char AuCreateFlow ();
11458 main ()
11460 return AuCreateFlow ();
11462 return 0;
11464 _ACEOF
11465 rm -f conftest.$ac_objext conftest$ac_exeext
11466 if { (ac_try="$ac_link"
11467 case "(($ac_try" in
11468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11469 *) ac_try_echo=$ac_try;;
11470 esac
11471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11472 (eval "$ac_link") 2>conftest.er1
11473 ac_status=$?
11474 grep -v '^ *+' conftest.er1 >conftest.err
11475 rm -f conftest.er1
11476 cat conftest.err >&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } && {
11479 test -z "$ac_c_werror_flag" ||
11480 test ! -s conftest.err
11481 } && test -s conftest$ac_exeext &&
11482 $as_test_x conftest$ac_exeext; then
11483 ac_cv_lib_audio_AuCreateFlow=yes
11484 else
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.$ac_ext >&5
11488 ac_cv_lib_audio_AuCreateFlow=no
11491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_lib_save_LIBS
11495 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11496 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11497 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11499 cat >>confdefs.h <<\_ACEOF
11500 #define HAVE_NAS 1
11501 _ACEOF
11503 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11504 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11505 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 else
11508 ac_check_lib_save_LIBS=$LIBS
11509 LIBS="-lXau $X_LIBS $LIBS"
11510 cat >conftest.$ac_ext <<_ACEOF
11511 /* confdefs.h. */
11512 _ACEOF
11513 cat confdefs.h >>conftest.$ac_ext
11514 cat >>conftest.$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11520 #ifdef __cplusplus
11521 extern "C"
11522 #endif
11523 char XauGetBestAuthByAddr ();
11525 main ()
11527 return XauGetBestAuthByAddr ();
11529 return 0;
11531 _ACEOF
11532 rm -f conftest.$ac_objext conftest$ac_exeext
11533 if { (ac_try="$ac_link"
11534 case "(($ac_try" in
11535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11536 *) ac_try_echo=$ac_try;;
11537 esac
11538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11539 (eval "$ac_link") 2>conftest.er1
11540 ac_status=$?
11541 grep -v '^ *+' conftest.er1 >conftest.err
11542 rm -f conftest.er1
11543 cat conftest.err >&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } && {
11546 test -z "$ac_c_werror_flag" ||
11547 test ! -s conftest.err
11548 } && test -s conftest$ac_exeext &&
11549 $as_test_x conftest$ac_exeext; then
11550 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11551 else
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.$ac_ext >&5
11555 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11559 conftest$ac_exeext conftest.$ac_ext
11560 LIBS=$ac_check_lib_save_LIBS
11562 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11563 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11564 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11565 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11566 else
11567 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11575 done
11578 CPPFLAGS="$ac_save_CPPFLAGS"
11579 XFILES='$(XFILES)'
11580 else
11581 XLIB=""
11582 X_CFLAGS=""
11583 X_LIBS=""
11585 if test "x$XLIB" = "x"; then
11586 case "x$with_x" in
11587 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11588 without X support, which probably isn't what you want. You will need to install
11589 development packages of Xlib/Xfree86 at the very least." ;;
11590 xno) ;;
11591 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11592 without X support, which probably isn't what you want. You will need to install
11593 development packages of Xlib/Xfree86 at the very least.
11594 This is an error since --with-x was requested." >&5
11595 echo "$as_me: 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 This is an error since --with-x was requested." >&2;}
11599 { (exit 1); exit 1; }; } ;;
11600 esac
11605 XML2LIBS=""
11607 XML2INCL=""
11609 XSLTLIBS=""
11611 XSLTINCL=""
11613 if test "x$with_xml" != "xno"
11614 then
11615 ac_save_CPPFLAGS="$CPPFLAGS"
11616 if test "$PKG_CONFIG" != "false"
11617 then
11618 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11619 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11620 else
11621 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11622 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11624 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11626 for ac_header in libxml/parser.h
11628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 ac_res=`eval echo '${'$as_ac_Header'}'`
11636 { echo "$as_me:$LINENO: result: $ac_res" >&5
11637 echo "${ECHO_T}$ac_res" >&6; }
11638 else
11639 # Is the header compilable?
11640 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11642 cat >conftest.$ac_ext <<_ACEOF
11643 /* confdefs.h. */
11644 _ACEOF
11645 cat confdefs.h >>conftest.$ac_ext
11646 cat >>conftest.$ac_ext <<_ACEOF
11647 /* end confdefs.h. */
11648 $ac_includes_default
11649 #include <$ac_header>
11650 _ACEOF
11651 rm -f conftest.$ac_objext
11652 if { (ac_try="$ac_compile"
11653 case "(($ac_try" in
11654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11655 *) ac_try_echo=$ac_try;;
11656 esac
11657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11658 (eval "$ac_compile") 2>conftest.er1
11659 ac_status=$?
11660 grep -v '^ *+' conftest.er1 >conftest.err
11661 rm -f conftest.er1
11662 cat conftest.err >&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } && {
11665 test -z "$ac_c_werror_flag" ||
11666 test ! -s conftest.err
11667 } && test -s conftest.$ac_objext; then
11668 ac_header_compiler=yes
11669 else
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11673 ac_header_compiler=no
11676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11677 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11678 echo "${ECHO_T}$ac_header_compiler" >&6; }
11680 # Is the header present?
11681 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11683 cat >conftest.$ac_ext <<_ACEOF
11684 /* confdefs.h. */
11685 _ACEOF
11686 cat confdefs.h >>conftest.$ac_ext
11687 cat >>conftest.$ac_ext <<_ACEOF
11688 /* end confdefs.h. */
11689 #include <$ac_header>
11690 _ACEOF
11691 if { (ac_try="$ac_cpp conftest.$ac_ext"
11692 case "(($ac_try" in
11693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11695 esac
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11698 ac_status=$?
11699 grep -v '^ *+' conftest.er1 >conftest.err
11700 rm -f conftest.er1
11701 cat conftest.err >&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } >/dev/null && {
11704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11705 test ! -s conftest.err
11706 }; then
11707 ac_header_preproc=yes
11708 else
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.$ac_ext >&5
11712 ac_header_preproc=no
11715 rm -f conftest.err conftest.$ac_ext
11716 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11717 echo "${ECHO_T}$ac_header_preproc" >&6; }
11719 # So? What about this header?
11720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11721 yes:no: )
11722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11726 ac_header_preproc=yes
11728 no:yes:* )
11729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11741 ( cat <<\_ASBOX
11742 ## ------------------------------------ ##
11743 ## Report this to wine-devel@winehq.org ##
11744 ## ------------------------------------ ##
11745 _ASBOX
11746 ) | sed "s/^/$as_me: WARNING: /" >&2
11748 esac
11749 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 else
11754 eval "$as_ac_Header=\$ac_header_preproc"
11756 ac_res=`eval echo '${'$as_ac_Header'}'`
11757 { echo "$as_me:$LINENO: result: $ac_res" >&5
11758 echo "${ECHO_T}$ac_res" >&6; }
11761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11762 cat >>confdefs.h <<_ACEOF
11763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11764 _ACEOF
11765 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11766 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11767 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11768 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 else
11770 ac_check_lib_save_LIBS=$LIBS
11771 LIBS="-lxml2 $ac_xml_libs $LIBS"
11772 cat >conftest.$ac_ext <<_ACEOF
11773 /* confdefs.h. */
11774 _ACEOF
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11782 #ifdef __cplusplus
11783 extern "C"
11784 #endif
11785 char xmlParseMemory ();
11787 main ()
11789 return xmlParseMemory ();
11791 return 0;
11793 _ACEOF
11794 rm -f conftest.$ac_objext conftest$ac_exeext
11795 if { (ac_try="$ac_link"
11796 case "(($ac_try" in
11797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11798 *) ac_try_echo=$ac_try;;
11799 esac
11800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11801 (eval "$ac_link") 2>conftest.er1
11802 ac_status=$?
11803 grep -v '^ *+' conftest.er1 >conftest.err
11804 rm -f conftest.er1
11805 cat conftest.err >&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); } && {
11808 test -z "$ac_c_werror_flag" ||
11809 test ! -s conftest.err
11810 } && test -s conftest$ac_exeext &&
11811 $as_test_x conftest$ac_exeext; then
11812 ac_cv_lib_xml2_xmlParseMemory=yes
11813 else
11814 echo "$as_me: failed program was:" >&5
11815 sed 's/^/| /' conftest.$ac_ext >&5
11817 ac_cv_lib_xml2_xmlParseMemory=no
11820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11825 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11826 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11828 cat >>confdefs.h <<\_ACEOF
11829 #define HAVE_LIBXML2 1
11830 _ACEOF
11832 XML2LIBS="$ac_xml_libs"
11833 XML2INCL="$ac_xml_cflags"
11836 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11837 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11838 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11839 echo $ECHO_N "(cached) $ECHO_C" >&6
11840 else
11841 ac_check_lib_save_LIBS=$LIBS
11842 LIBS="-lxml2 $ac_xml_libs $LIBS"
11843 cat >conftest.$ac_ext <<_ACEOF
11844 /* confdefs.h. */
11845 _ACEOF
11846 cat confdefs.h >>conftest.$ac_ext
11847 cat >>conftest.$ac_ext <<_ACEOF
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11853 #ifdef __cplusplus
11854 extern "C"
11855 #endif
11856 char xmlReadMemory ();
11858 main ()
11860 return xmlReadMemory ();
11862 return 0;
11864 _ACEOF
11865 rm -f conftest.$ac_objext conftest$ac_exeext
11866 if { (ac_try="$ac_link"
11867 case "(($ac_try" in
11868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11869 *) ac_try_echo=$ac_try;;
11870 esac
11871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11872 (eval "$ac_link") 2>conftest.er1
11873 ac_status=$?
11874 grep -v '^ *+' conftest.er1 >conftest.err
11875 rm -f conftest.er1
11876 cat conftest.err >&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } && {
11879 test -z "$ac_c_werror_flag" ||
11880 test ! -s conftest.err
11881 } && test -s conftest$ac_exeext &&
11882 $as_test_x conftest$ac_exeext; then
11883 ac_cv_lib_xml2_xmlReadMemory=yes
11884 else
11885 echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.$ac_ext >&5
11888 ac_cv_lib_xml2_xmlReadMemory=no
11891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11892 conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11895 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11896 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11897 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11899 cat >>confdefs.h <<\_ACEOF
11900 #define HAVE_XMLREADMEMORY 1
11901 _ACEOF
11905 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11906 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11907 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 else
11910 ac_check_lib_save_LIBS=$LIBS
11911 LIBS="-lxml2 $ac_xml_libs $LIBS"
11912 cat >conftest.$ac_ext <<_ACEOF
11913 /* confdefs.h. */
11914 _ACEOF
11915 cat confdefs.h >>conftest.$ac_ext
11916 cat >>conftest.$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11919 /* Override any GCC internal prototype to avoid an error.
11920 Use char because int might match the return type of a GCC
11921 builtin and then its argument prototype would still apply. */
11922 #ifdef __cplusplus
11923 extern "C"
11924 #endif
11925 char xmlNewDocPI ();
11927 main ()
11929 return xmlNewDocPI ();
11931 return 0;
11933 _ACEOF
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (ac_try="$ac_link"
11936 case "(($ac_try" in
11937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11938 *) ac_try_echo=$ac_try;;
11939 esac
11940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11941 (eval "$ac_link") 2>conftest.er1
11942 ac_status=$?
11943 grep -v '^ *+' conftest.er1 >conftest.err
11944 rm -f conftest.er1
11945 cat conftest.err >&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } && {
11948 test -z "$ac_c_werror_flag" ||
11949 test ! -s conftest.err
11950 } && test -s conftest$ac_exeext &&
11951 $as_test_x conftest$ac_exeext; then
11952 ac_cv_lib_xml2_xmlNewDocPI=yes
11953 else
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.$ac_ext >&5
11957 ac_cv_lib_xml2_xmlNewDocPI=no
11960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11961 conftest$ac_exeext conftest.$ac_ext
11962 LIBS=$ac_check_lib_save_LIBS
11964 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11965 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11966 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11968 cat >>confdefs.h <<\_ACEOF
11969 #define HAVE_XMLNEWDOCPI 1
11970 _ACEOF
11977 done
11979 CPPFLAGS="$ac_save_CPPFLAGS"
11981 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11982 case "x$with_xml" in
11983 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11984 xno) ;;
11985 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11986 This is an error since --with-xml was requested." >&5
11987 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11988 This is an error since --with-xml was requested." >&2;}
11989 { (exit 1); exit 1; }; } ;;
11990 esac
11994 if test "x$with_xslt" != "xno"
11995 then
11996 if test "$PKG_CONFIG" != "false"
11997 then
11998 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11999 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12000 else
12001 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12002 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12004 ac_save_CPPFLAGS="$CPPFLAGS"
12005 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12008 for ac_header in libxslt/pattern.h libxslt/transform.h
12010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 else
12016 cat >conftest.$ac_ext <<_ACEOF
12017 /* confdefs.h. */
12018 _ACEOF
12019 cat confdefs.h >>conftest.$ac_ext
12020 cat >>conftest.$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12022 #ifdef HAVE_LIBXSLT_PATTERN_H
12023 # include <libxslt/pattern.h>
12024 #endif
12026 #include <$ac_header>
12027 _ACEOF
12028 rm -f conftest.$ac_objext
12029 if { (ac_try="$ac_compile"
12030 case "(($ac_try" in
12031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12032 *) ac_try_echo=$ac_try;;
12033 esac
12034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12035 (eval "$ac_compile") 2>conftest.er1
12036 ac_status=$?
12037 grep -v '^ *+' conftest.er1 >conftest.err
12038 rm -f conftest.er1
12039 cat conftest.err >&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); } && {
12042 test -z "$ac_c_werror_flag" ||
12043 test ! -s conftest.err
12044 } && test -s conftest.$ac_objext; then
12045 eval "$as_ac_Header=yes"
12046 else
12047 echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12050 eval "$as_ac_Header=no"
12053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12055 ac_res=`eval echo '${'$as_ac_Header'}'`
12056 { echo "$as_me:$LINENO: result: $ac_res" >&5
12057 echo "${ECHO_T}$ac_res" >&6; }
12058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12059 cat >>confdefs.h <<_ACEOF
12060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12061 _ACEOF
12065 done
12067 CPPFLAGS="$ac_save_CPPFLAGS"
12068 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12069 then
12070 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12071 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12072 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 else
12075 ac_check_lib_save_LIBS=$LIBS
12076 LIBS="-lxslt $ac_xslt_libs $LIBS"
12077 cat >conftest.$ac_ext <<_ACEOF
12078 /* confdefs.h. */
12079 _ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 #ifdef __cplusplus
12088 extern "C"
12089 #endif
12090 char xsltCompilePattern ();
12092 main ()
12094 return xsltCompilePattern ();
12096 return 0;
12098 _ACEOF
12099 rm -f conftest.$ac_objext conftest$ac_exeext
12100 if { (ac_try="$ac_link"
12101 case "(($ac_try" in
12102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12103 *) ac_try_echo=$ac_try;;
12104 esac
12105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12106 (eval "$ac_link") 2>conftest.er1
12107 ac_status=$?
12108 grep -v '^ *+' conftest.er1 >conftest.err
12109 rm -f conftest.er1
12110 cat conftest.err >&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } && {
12113 test -z "$ac_c_werror_flag" ||
12114 test ! -s conftest.err
12115 } && test -s conftest$ac_exeext &&
12116 $as_test_x conftest$ac_exeext; then
12117 ac_cv_lib_xslt_xsltCompilePattern=yes
12118 else
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.$ac_ext >&5
12122 ac_cv_lib_xslt_xsltCompilePattern=no
12125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12126 conftest$ac_exeext conftest.$ac_ext
12127 LIBS=$ac_check_lib_save_LIBS
12129 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12130 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12131 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12133 cat >>confdefs.h <<\_ACEOF
12134 #define HAVE_LIBXSLT 1
12135 _ACEOF
12137 XSLTLIBS="$ac_xslt_libs"
12138 XSLTINCL="$ac_xslt_cflags"
12139 ac_save_LIBS="$LIBS"
12140 LIBS="$LIBS $ac_xslt_libs"
12142 for ac_func in xsltInit
12144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12145 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12147 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 else
12150 cat >conftest.$ac_ext <<_ACEOF
12151 /* confdefs.h. */
12152 _ACEOF
12153 cat confdefs.h >>conftest.$ac_ext
12154 cat >>conftest.$ac_ext <<_ACEOF
12155 /* end confdefs.h. */
12156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12158 #define $ac_func innocuous_$ac_func
12160 /* System header to define __stub macros and hopefully few prototypes,
12161 which can conflict with char $ac_func (); below.
12162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12163 <limits.h> exists even on freestanding compilers. */
12165 #ifdef __STDC__
12166 # include <limits.h>
12167 #else
12168 # include <assert.h>
12169 #endif
12171 #undef $ac_func
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char $ac_func ();
12180 /* The GNU C library defines this for functions which it implements
12181 to always fail with ENOSYS. Some functions are actually named
12182 something starting with __ and the normal name is an alias. */
12183 #if defined __stub_$ac_func || defined __stub___$ac_func
12184 choke me
12185 #endif
12188 main ()
12190 return $ac_func ();
12192 return 0;
12194 _ACEOF
12195 rm -f conftest.$ac_objext conftest$ac_exeext
12196 if { (ac_try="$ac_link"
12197 case "(($ac_try" in
12198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12199 *) ac_try_echo=$ac_try;;
12200 esac
12201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12202 (eval "$ac_link") 2>conftest.er1
12203 ac_status=$?
12204 grep -v '^ *+' conftest.er1 >conftest.err
12205 rm -f conftest.er1
12206 cat conftest.err >&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); } && {
12209 test -z "$ac_c_werror_flag" ||
12210 test ! -s conftest.err
12211 } && test -s conftest$ac_exeext &&
12212 $as_test_x conftest$ac_exeext; then
12213 eval "$as_ac_var=yes"
12214 else
12215 echo "$as_me: failed program was:" >&5
12216 sed 's/^/| /' conftest.$ac_ext >&5
12218 eval "$as_ac_var=no"
12221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12222 conftest$ac_exeext conftest.$ac_ext
12224 ac_res=`eval echo '${'$as_ac_var'}'`
12225 { echo "$as_me:$LINENO: result: $ac_res" >&5
12226 echo "${ECHO_T}$ac_res" >&6; }
12227 if test `eval echo '${'$as_ac_var'}'` = yes; then
12228 cat >>confdefs.h <<_ACEOF
12229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12230 _ACEOF
12233 done
12235 LIBS="$ac_save_LIBS"
12240 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12241 case "x$with_xslt" in
12242 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12243 xno) ;;
12244 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12245 This is an error since --with-xslt was requested." >&5
12246 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12247 This is an error since --with-xslt was requested." >&2;}
12248 { (exit 1); exit 1; }; } ;;
12249 esac
12253 HALINCL=""
12255 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12256 then
12257 ac_save_CPPFLAGS="$CPPFLAGS"
12258 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12259 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12260 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12263 for ac_header in dbus/dbus.h hal/libhal.h
12265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12267 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 ac_res=`eval echo '${'$as_ac_Header'}'`
12273 { echo "$as_me:$LINENO: result: $ac_res" >&5
12274 echo "${ECHO_T}$ac_res" >&6; }
12275 else
12276 # Is the header compilable?
12277 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12278 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12279 cat >conftest.$ac_ext <<_ACEOF
12280 /* confdefs.h. */
12281 _ACEOF
12282 cat confdefs.h >>conftest.$ac_ext
12283 cat >>conftest.$ac_ext <<_ACEOF
12284 /* end confdefs.h. */
12285 $ac_includes_default
12286 #include <$ac_header>
12287 _ACEOF
12288 rm -f conftest.$ac_objext
12289 if { (ac_try="$ac_compile"
12290 case "(($ac_try" in
12291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12292 *) ac_try_echo=$ac_try;;
12293 esac
12294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12295 (eval "$ac_compile") 2>conftest.er1
12296 ac_status=$?
12297 grep -v '^ *+' conftest.er1 >conftest.err
12298 rm -f conftest.er1
12299 cat conftest.err >&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); } && {
12302 test -z "$ac_c_werror_flag" ||
12303 test ! -s conftest.err
12304 } && test -s conftest.$ac_objext; then
12305 ac_header_compiler=yes
12306 else
12307 echo "$as_me: failed program was:" >&5
12308 sed 's/^/| /' conftest.$ac_ext >&5
12310 ac_header_compiler=no
12313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12314 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12315 echo "${ECHO_T}$ac_header_compiler" >&6; }
12317 # Is the header present?
12318 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12320 cat >conftest.$ac_ext <<_ACEOF
12321 /* confdefs.h. */
12322 _ACEOF
12323 cat confdefs.h >>conftest.$ac_ext
12324 cat >>conftest.$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12326 #include <$ac_header>
12327 _ACEOF
12328 if { (ac_try="$ac_cpp conftest.$ac_ext"
12329 case "(($ac_try" in
12330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12331 *) ac_try_echo=$ac_try;;
12332 esac
12333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12335 ac_status=$?
12336 grep -v '^ *+' conftest.er1 >conftest.err
12337 rm -f conftest.er1
12338 cat conftest.err >&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } >/dev/null && {
12341 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12342 test ! -s conftest.err
12343 }; then
12344 ac_header_preproc=yes
12345 else
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12349 ac_header_preproc=no
12352 rm -f conftest.err conftest.$ac_ext
12353 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12354 echo "${ECHO_T}$ac_header_preproc" >&6; }
12356 # So? What about this header?
12357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12358 yes:no: )
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12360 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12362 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12363 ac_header_preproc=yes
12365 no:yes:* )
12366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12370 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12371 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12372 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12373 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12376 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12377 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12378 ( cat <<\_ASBOX
12379 ## ------------------------------------ ##
12380 ## Report this to wine-devel@winehq.org ##
12381 ## ------------------------------------ ##
12382 _ASBOX
12383 ) | sed "s/^/$as_me: WARNING: /" >&2
12385 esac
12386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12390 else
12391 eval "$as_ac_Header=\$ac_header_preproc"
12393 ac_res=`eval echo '${'$as_ac_Header'}'`
12394 { echo "$as_me:$LINENO: result: $ac_res" >&5
12395 echo "${ECHO_T}$ac_res" >&6; }
12398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12399 cat >>confdefs.h <<_ACEOF
12400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12401 _ACEOF
12405 done
12407 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12408 then
12409 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12410 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12411 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12412 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 else
12414 ac_check_lib_save_LIBS=$LIBS
12415 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12416 cat >conftest.$ac_ext <<_ACEOF
12417 /* confdefs.h. */
12418 _ACEOF
12419 cat confdefs.h >>conftest.$ac_ext
12420 cat >>conftest.$ac_ext <<_ACEOF
12421 /* end confdefs.h. */
12423 /* Override any GCC internal prototype to avoid an error.
12424 Use char because int might match the return type of a GCC
12425 builtin and then its argument prototype would still apply. */
12426 #ifdef __cplusplus
12427 extern "C"
12428 #endif
12429 char dbus_connection_close ();
12431 main ()
12433 return dbus_connection_close ();
12435 return 0;
12437 _ACEOF
12438 rm -f conftest.$ac_objext conftest$ac_exeext
12439 if { (ac_try="$ac_link"
12440 case "(($ac_try" in
12441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12442 *) ac_try_echo=$ac_try;;
12443 esac
12444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12445 (eval "$ac_link") 2>conftest.er1
12446 ac_status=$?
12447 grep -v '^ *+' conftest.er1 >conftest.err
12448 rm -f conftest.er1
12449 cat conftest.err >&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } && {
12452 test -z "$ac_c_werror_flag" ||
12453 test ! -s conftest.err
12454 } && test -s conftest$ac_exeext &&
12455 $as_test_x conftest$ac_exeext; then
12456 ac_cv_lib_dbus_1_dbus_connection_close=yes
12457 else
12458 echo "$as_me: failed program was:" >&5
12459 sed 's/^/| /' conftest.$ac_ext >&5
12461 ac_cv_lib_dbus_1_dbus_connection_close=no
12464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12465 conftest$ac_exeext conftest.$ac_ext
12466 LIBS=$ac_check_lib_save_LIBS
12468 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12469 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12470 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12471 { echo "$as_me:$LINENO: checking for -lhal" >&5
12472 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12473 if test "${ac_cv_lib_soname_hal+set}" = set; then
12474 echo $ECHO_N "(cached) $ECHO_C" >&6
12475 else
12476 ac_check_soname_save_LIBS=$LIBS
12477 LIBS="-lhal $ac_hal_libs $LIBS"
12478 cat >conftest.$ac_ext <<_ACEOF
12479 /* confdefs.h. */
12480 _ACEOF
12481 cat confdefs.h >>conftest.$ac_ext
12482 cat >>conftest.$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12488 #ifdef __cplusplus
12489 extern "C"
12490 #endif
12491 char libhal_ctx_new ();
12493 main ()
12495 return libhal_ctx_new ();
12497 return 0;
12499 _ACEOF
12500 rm -f conftest.$ac_objext conftest$ac_exeext
12501 if { (ac_try="$ac_link"
12502 case "(($ac_try" in
12503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12504 *) ac_try_echo=$ac_try;;
12505 esac
12506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12507 (eval "$ac_link") 2>conftest.er1
12508 ac_status=$?
12509 grep -v '^ *+' conftest.er1 >conftest.err
12510 rm -f conftest.er1
12511 cat conftest.err >&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } && {
12514 test -z "$ac_c_werror_flag" ||
12515 test ! -s conftest.err
12516 } && test -s conftest$ac_exeext &&
12517 $as_test_x conftest$ac_exeext; then
12518 case "$LIBEXT" in
12519 dll) ;;
12520 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'` ;;
12521 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12522 esac
12523 else
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.$ac_ext >&5
12530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12531 conftest$ac_exeext conftest.$ac_ext
12532 LIBS=$ac_check_soname_save_LIBS
12534 if test "x$ac_cv_lib_soname_hal" = "x"; then
12535 { echo "$as_me:$LINENO: result: not found" >&5
12536 echo "${ECHO_T}not found" >&6; }
12538 else
12539 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12540 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12542 cat >>confdefs.h <<_ACEOF
12543 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12544 _ACEOF
12546 HALINCL="$ac_hal_cflags"
12552 CPPFLAGS="$ac_save_CPPFLAGS"
12554 if test "x$ac_cv_lib_soname_hal" = "x"; then
12555 case "x$with_hal" in
12556 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12557 xno) ;;
12558 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12559 This is an error since --with-hal was requested." >&5
12560 echo "$as_me: error: libhal development files not found, no dynamic device support.
12561 This is an error since --with-hal was requested." >&2;}
12562 { (exit 1); exit 1; }; } ;;
12563 esac
12567 CURSESLIBS=""
12568 if test "$ac_cv_header_ncurses_h" = "yes"
12569 then
12570 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12571 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12572 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 else
12575 ac_check_soname_save_LIBS=$LIBS
12576 LIBS="-lncurses $LIBS"
12577 cat >conftest.$ac_ext <<_ACEOF
12578 /* confdefs.h. */
12579 _ACEOF
12580 cat confdefs.h >>conftest.$ac_ext
12581 cat >>conftest.$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12584 /* Override any GCC internal prototype to avoid an error.
12585 Use char because int might match the return type of a GCC
12586 builtin and then its argument prototype would still apply. */
12587 #ifdef __cplusplus
12588 extern "C"
12589 #endif
12590 char waddch ();
12592 main ()
12594 return waddch ();
12596 return 0;
12598 _ACEOF
12599 rm -f conftest.$ac_objext conftest$ac_exeext
12600 if { (ac_try="$ac_link"
12601 case "(($ac_try" in
12602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12603 *) ac_try_echo=$ac_try;;
12604 esac
12605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12606 (eval "$ac_link") 2>conftest.er1
12607 ac_status=$?
12608 grep -v '^ *+' conftest.er1 >conftest.err
12609 rm -f conftest.er1
12610 cat conftest.err >&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } && {
12613 test -z "$ac_c_werror_flag" ||
12614 test ! -s conftest.err
12615 } && test -s conftest$ac_exeext &&
12616 $as_test_x conftest$ac_exeext; then
12617 case "$LIBEXT" in
12618 dll) ;;
12619 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'` ;;
12620 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12621 esac
12622 else
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.$ac_ext >&5
12629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12630 conftest$ac_exeext conftest.$ac_ext
12631 LIBS=$ac_check_soname_save_LIBS
12633 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12634 { echo "$as_me:$LINENO: result: not found" >&5
12635 echo "${ECHO_T}not found" >&6; }
12637 else
12638 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12639 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12641 cat >>confdefs.h <<_ACEOF
12642 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12643 _ACEOF
12645 CURSESLIBS="-lncurses"
12648 elif test "$ac_cv_header_curses_h" = "yes"
12649 then
12650 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12651 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12652 if test "${ac_cv_lib_soname_curses+set}" = set; then
12653 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 else
12655 ac_check_soname_save_LIBS=$LIBS
12656 LIBS="-lcurses $LIBS"
12657 cat >conftest.$ac_ext <<_ACEOF
12658 /* confdefs.h. */
12659 _ACEOF
12660 cat confdefs.h >>conftest.$ac_ext
12661 cat >>conftest.$ac_ext <<_ACEOF
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12667 #ifdef __cplusplus
12668 extern "C"
12669 #endif
12670 char waddch ();
12672 main ()
12674 return waddch ();
12676 return 0;
12678 _ACEOF
12679 rm -f conftest.$ac_objext conftest$ac_exeext
12680 if { (ac_try="$ac_link"
12681 case "(($ac_try" in
12682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 *) ac_try_echo=$ac_try;;
12684 esac
12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12686 (eval "$ac_link") 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } && {
12693 test -z "$ac_c_werror_flag" ||
12694 test ! -s conftest.err
12695 } && test -s conftest$ac_exeext &&
12696 $as_test_x conftest$ac_exeext; then
12697 case "$LIBEXT" in
12698 dll) ;;
12699 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'` ;;
12700 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12701 esac
12702 else
12703 echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.$ac_ext >&5
12709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12710 conftest$ac_exeext conftest.$ac_ext
12711 LIBS=$ac_check_soname_save_LIBS
12713 if test "x$ac_cv_lib_soname_curses" = "x"; then
12714 { echo "$as_me:$LINENO: result: not found" >&5
12715 echo "${ECHO_T}not found" >&6; }
12717 else
12718 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12719 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12721 cat >>confdefs.h <<_ACEOF
12722 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12723 _ACEOF
12725 CURSESLIBS="-lcurses"
12729 ac_save_LIBS="$LIBS"
12730 LIBS="$LIBS $CURSESLIBS"
12732 for ac_func in mousemask
12734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12738 echo $ECHO_N "(cached) $ECHO_C" >&6
12739 else
12740 cat >conftest.$ac_ext <<_ACEOF
12741 /* confdefs.h. */
12742 _ACEOF
12743 cat confdefs.h >>conftest.$ac_ext
12744 cat >>conftest.$ac_ext <<_ACEOF
12745 /* end confdefs.h. */
12746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12748 #define $ac_func innocuous_$ac_func
12750 /* System header to define __stub macros and hopefully few prototypes,
12751 which can conflict with char $ac_func (); below.
12752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12753 <limits.h> exists even on freestanding compilers. */
12755 #ifdef __STDC__
12756 # include <limits.h>
12757 #else
12758 # include <assert.h>
12759 #endif
12761 #undef $ac_func
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12766 #ifdef __cplusplus
12767 extern "C"
12768 #endif
12769 char $ac_func ();
12770 /* The GNU C library defines this for functions which it implements
12771 to always fail with ENOSYS. Some functions are actually named
12772 something starting with __ and the normal name is an alias. */
12773 #if defined __stub_$ac_func || defined __stub___$ac_func
12774 choke me
12775 #endif
12778 main ()
12780 return $ac_func ();
12782 return 0;
12784 _ACEOF
12785 rm -f conftest.$ac_objext conftest$ac_exeext
12786 if { (ac_try="$ac_link"
12787 case "(($ac_try" in
12788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12789 *) ac_try_echo=$ac_try;;
12790 esac
12791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12792 (eval "$ac_link") 2>conftest.er1
12793 ac_status=$?
12794 grep -v '^ *+' conftest.er1 >conftest.err
12795 rm -f conftest.er1
12796 cat conftest.err >&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } && {
12799 test -z "$ac_c_werror_flag" ||
12800 test ! -s conftest.err
12801 } && test -s conftest$ac_exeext &&
12802 $as_test_x conftest$ac_exeext; then
12803 eval "$as_ac_var=yes"
12804 else
12805 echo "$as_me: failed program was:" >&5
12806 sed 's/^/| /' conftest.$ac_ext >&5
12808 eval "$as_ac_var=no"
12811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12812 conftest$ac_exeext conftest.$ac_ext
12814 ac_res=`eval echo '${'$as_ac_var'}'`
12815 { echo "$as_me:$LINENO: result: $ac_res" >&5
12816 echo "${ECHO_T}$ac_res" >&6; }
12817 if test `eval echo '${'$as_ac_var'}'` = yes; then
12818 cat >>confdefs.h <<_ACEOF
12819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12820 _ACEOF
12823 done
12825 LIBS="$ac_save_LIBS"
12826 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12827 case "x$with_curses" in
12828 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12829 xno) ;;
12830 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12831 This is an error since --with-curses was requested." >&5
12832 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12833 This is an error since --with-curses was requested." >&2;}
12834 { (exit 1); exit 1; }; } ;;
12835 esac
12839 # Extract the first word of "sane-config", so it can be a program name with args.
12840 set dummy sane-config; ac_word=$2
12841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12843 if test "${ac_cv_prog_sane_devel+set}" = set; then
12844 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 else
12846 if test -n "$sane_devel"; then
12847 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12848 else
12849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12850 for as_dir in $PATH
12852 IFS=$as_save_IFS
12853 test -z "$as_dir" && as_dir=.
12854 for ac_exec_ext in '' $ac_executable_extensions; do
12855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12856 ac_cv_prog_sane_devel="sane-config"
12857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12858 break 2
12860 done
12861 done
12862 IFS=$as_save_IFS
12864 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12867 sane_devel=$ac_cv_prog_sane_devel
12868 if test -n "$sane_devel"; then
12869 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12870 echo "${ECHO_T}$sane_devel" >&6; }
12871 else
12872 { echo "$as_me:$LINENO: result: no" >&5
12873 echo "${ECHO_T}no" >&6; }
12877 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12878 then
12879 ac_sane_incl="`$sane_devel --cflags`"
12880 ac_save_CPPFLAGS="$CPPFLAGS"
12881 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12882 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12883 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12884 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12885 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12889 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12890 else
12891 # Is the header compilable?
12892 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12893 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12894 cat >conftest.$ac_ext <<_ACEOF
12895 /* confdefs.h. */
12896 _ACEOF
12897 cat confdefs.h >>conftest.$ac_ext
12898 cat >>conftest.$ac_ext <<_ACEOF
12899 /* end confdefs.h. */
12900 $ac_includes_default
12901 #include <sane/sane.h>
12902 _ACEOF
12903 rm -f conftest.$ac_objext
12904 if { (ac_try="$ac_compile"
12905 case "(($ac_try" in
12906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12907 *) ac_try_echo=$ac_try;;
12908 esac
12909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12910 (eval "$ac_compile") 2>conftest.er1
12911 ac_status=$?
12912 grep -v '^ *+' conftest.er1 >conftest.err
12913 rm -f conftest.er1
12914 cat conftest.err >&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); } && {
12917 test -z "$ac_c_werror_flag" ||
12918 test ! -s conftest.err
12919 } && test -s conftest.$ac_objext; then
12920 ac_header_compiler=yes
12921 else
12922 echo "$as_me: failed program was:" >&5
12923 sed 's/^/| /' conftest.$ac_ext >&5
12925 ac_header_compiler=no
12928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12929 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12930 echo "${ECHO_T}$ac_header_compiler" >&6; }
12932 # Is the header present?
12933 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12934 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12935 cat >conftest.$ac_ext <<_ACEOF
12936 /* confdefs.h. */
12937 _ACEOF
12938 cat confdefs.h >>conftest.$ac_ext
12939 cat >>conftest.$ac_ext <<_ACEOF
12940 /* end confdefs.h. */
12941 #include <sane/sane.h>
12942 _ACEOF
12943 if { (ac_try="$ac_cpp conftest.$ac_ext"
12944 case "(($ac_try" in
12945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12946 *) ac_try_echo=$ac_try;;
12947 esac
12948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12950 ac_status=$?
12951 grep -v '^ *+' conftest.er1 >conftest.err
12952 rm -f conftest.er1
12953 cat conftest.err >&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } >/dev/null && {
12956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12957 test ! -s conftest.err
12958 }; then
12959 ac_header_preproc=yes
12960 else
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.$ac_ext >&5
12964 ac_header_preproc=no
12967 rm -f conftest.err conftest.$ac_ext
12968 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12969 echo "${ECHO_T}$ac_header_preproc" >&6; }
12971 # So? What about this header?
12972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12973 yes:no: )
12974 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12975 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12976 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12977 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12978 ac_header_preproc=yes
12980 no:yes:* )
12981 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12982 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12984 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12985 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12986 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12987 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12988 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12989 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12990 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12991 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12992 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12993 ( cat <<\_ASBOX
12994 ## ------------------------------------ ##
12995 ## Report this to wine-devel@winehq.org ##
12996 ## ------------------------------------ ##
12997 _ASBOX
12998 ) | sed "s/^/$as_me: WARNING: /" >&2
13000 esac
13001 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13002 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13003 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13004 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 else
13006 ac_cv_header_sane_sane_h=$ac_header_preproc
13008 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13009 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13012 if test $ac_cv_header_sane_sane_h = yes; then
13013 { echo "$as_me:$LINENO: checking for -lsane" >&5
13014 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13015 if test "${ac_cv_lib_soname_sane+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 else
13018 ac_check_soname_save_LIBS=$LIBS
13019 LIBS="-lsane $LIBS"
13020 cat >conftest.$ac_ext <<_ACEOF
13021 /* confdefs.h. */
13022 _ACEOF
13023 cat confdefs.h >>conftest.$ac_ext
13024 cat >>conftest.$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13027 /* Override any GCC internal prototype to avoid an error.
13028 Use char because int might match the return type of a GCC
13029 builtin and then its argument prototype would still apply. */
13030 #ifdef __cplusplus
13031 extern "C"
13032 #endif
13033 char sane_init ();
13035 main ()
13037 return sane_init ();
13039 return 0;
13041 _ACEOF
13042 rm -f conftest.$ac_objext conftest$ac_exeext
13043 if { (ac_try="$ac_link"
13044 case "(($ac_try" in
13045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13046 *) ac_try_echo=$ac_try;;
13047 esac
13048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13049 (eval "$ac_link") 2>conftest.er1
13050 ac_status=$?
13051 grep -v '^ *+' conftest.er1 >conftest.err
13052 rm -f conftest.er1
13053 cat conftest.err >&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } && {
13056 test -z "$ac_c_werror_flag" ||
13057 test ! -s conftest.err
13058 } && test -s conftest$ac_exeext &&
13059 $as_test_x conftest$ac_exeext; then
13060 case "$LIBEXT" in
13061 dll) ;;
13062 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'` ;;
13063 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13064 esac
13065 else
13066 echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.$ac_ext >&5
13072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13073 conftest$ac_exeext conftest.$ac_ext
13074 LIBS=$ac_check_soname_save_LIBS
13076 if test "x$ac_cv_lib_soname_sane" = "x"; then
13077 { echo "$as_me:$LINENO: result: not found" >&5
13078 echo "${ECHO_T}not found" >&6; }
13080 else
13081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13082 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13084 cat >>confdefs.h <<_ACEOF
13085 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13086 _ACEOF
13088 SANEINCL="$ac_sane_incl"
13095 CPPFLAGS="$ac_save_CPPFLAGS"
13097 if test "x$ac_cv_lib_soname_sane" = "x"; then
13098 case "x$with_sane" in
13099 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13100 xno) ;;
13101 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13102 This is an error since --with-sane was requested." >&5
13103 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13104 This is an error since --with-sane was requested." >&2;}
13105 { (exit 1); exit 1; }; } ;;
13106 esac
13110 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13111 set dummy gphoto2-config; ac_word=$2
13112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13114 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 else
13117 if test -n "$gphoto2_devel"; then
13118 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13119 else
13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $PATH
13123 IFS=$as_save_IFS
13124 test -z "$as_dir" && as_dir=.
13125 for ac_exec_ext in '' $ac_executable_extensions; do
13126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13127 ac_cv_prog_gphoto2_devel="gphoto2-config"
13128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13129 break 2
13131 done
13132 done
13133 IFS=$as_save_IFS
13135 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13138 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13139 if test -n "$gphoto2_devel"; then
13140 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13141 echo "${ECHO_T}$gphoto2_devel" >&6; }
13142 else
13143 { echo "$as_me:$LINENO: result: no" >&5
13144 echo "${ECHO_T}no" >&6; }
13148 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13149 set dummy gphoto2-port-config; ac_word=$2
13150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13152 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13153 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 else
13155 if test -n "$gphoto2port_devel"; then
13156 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13157 else
13158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13159 for as_dir in $PATH
13161 IFS=$as_save_IFS
13162 test -z "$as_dir" && as_dir=.
13163 for ac_exec_ext in '' $ac_executable_extensions; do
13164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13165 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13167 break 2
13169 done
13170 done
13171 IFS=$as_save_IFS
13173 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13176 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13177 if test -n "$gphoto2port_devel"; then
13178 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13179 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13180 else
13181 { echo "$as_me:$LINENO: result: no" >&5
13182 echo "${ECHO_T}no" >&6; }
13186 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13187 then
13188 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13189 ac_gphoto2_libs=""
13190 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13192 case "$i" in
13193 -L/usr/lib|-L/usr/lib64) ;;
13194 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13195 esac
13196 done
13197 ac_save_CPPFLAGS="$CPPFLAGS"
13198 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13199 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13200 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13201 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13202 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13203 echo $ECHO_N "(cached) $ECHO_C" >&6
13205 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13206 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13207 else
13208 # Is the header compilable?
13209 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13210 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13211 cat >conftest.$ac_ext <<_ACEOF
13212 /* confdefs.h. */
13213 _ACEOF
13214 cat confdefs.h >>conftest.$ac_ext
13215 cat >>conftest.$ac_ext <<_ACEOF
13216 /* end confdefs.h. */
13217 $ac_includes_default
13218 #include <gphoto2-camera.h>
13219 _ACEOF
13220 rm -f conftest.$ac_objext
13221 if { (ac_try="$ac_compile"
13222 case "(($ac_try" in
13223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13224 *) ac_try_echo=$ac_try;;
13225 esac
13226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13227 (eval "$ac_compile") 2>conftest.er1
13228 ac_status=$?
13229 grep -v '^ *+' conftest.er1 >conftest.err
13230 rm -f conftest.er1
13231 cat conftest.err >&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); } && {
13234 test -z "$ac_c_werror_flag" ||
13235 test ! -s conftest.err
13236 } && test -s conftest.$ac_objext; then
13237 ac_header_compiler=yes
13238 else
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.$ac_ext >&5
13242 ac_header_compiler=no
13245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13246 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13247 echo "${ECHO_T}$ac_header_compiler" >&6; }
13249 # Is the header present?
13250 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13251 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13252 cat >conftest.$ac_ext <<_ACEOF
13253 /* confdefs.h. */
13254 _ACEOF
13255 cat confdefs.h >>conftest.$ac_ext
13256 cat >>conftest.$ac_ext <<_ACEOF
13257 /* end confdefs.h. */
13258 #include <gphoto2-camera.h>
13259 _ACEOF
13260 if { (ac_try="$ac_cpp conftest.$ac_ext"
13261 case "(($ac_try" in
13262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13263 *) ac_try_echo=$ac_try;;
13264 esac
13265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13266 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13267 ac_status=$?
13268 grep -v '^ *+' conftest.er1 >conftest.err
13269 rm -f conftest.er1
13270 cat conftest.err >&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } >/dev/null && {
13273 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13274 test ! -s conftest.err
13275 }; then
13276 ac_header_preproc=yes
13277 else
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.$ac_ext >&5
13281 ac_header_preproc=no
13284 rm -f conftest.err conftest.$ac_ext
13285 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13286 echo "${ECHO_T}$ac_header_preproc" >&6; }
13288 # So? What about this header?
13289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13290 yes:no: )
13291 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13292 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13293 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13294 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13295 ac_header_preproc=yes
13297 no:yes:* )
13298 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13299 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13300 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13301 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13302 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13303 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13304 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13305 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13307 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13309 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13310 ( cat <<\_ASBOX
13311 ## ------------------------------------ ##
13312 ## Report this to wine-devel@winehq.org ##
13313 ## ------------------------------------ ##
13314 _ASBOX
13315 ) | sed "s/^/$as_me: WARNING: /" >&2
13317 esac
13318 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13319 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13320 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13321 echo $ECHO_N "(cached) $ECHO_C" >&6
13322 else
13323 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13325 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13326 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13329 if test $ac_cv_header_gphoto2_camera_h = yes; then
13330 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13331 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13332 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13334 else
13335 ac_check_lib_save_LIBS=$LIBS
13336 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13337 cat >conftest.$ac_ext <<_ACEOF
13338 /* confdefs.h. */
13339 _ACEOF
13340 cat confdefs.h >>conftest.$ac_ext
13341 cat >>conftest.$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13344 /* Override any GCC internal prototype to avoid an error.
13345 Use char because int might match the return type of a GCC
13346 builtin and then its argument prototype would still apply. */
13347 #ifdef __cplusplus
13348 extern "C"
13349 #endif
13350 char gp_camera_new ();
13352 main ()
13354 return gp_camera_new ();
13356 return 0;
13358 _ACEOF
13359 rm -f conftest.$ac_objext conftest$ac_exeext
13360 if { (ac_try="$ac_link"
13361 case "(($ac_try" in
13362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13363 *) ac_try_echo=$ac_try;;
13364 esac
13365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13366 (eval "$ac_link") 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } && {
13373 test -z "$ac_c_werror_flag" ||
13374 test ! -s conftest.err
13375 } && test -s conftest$ac_exeext &&
13376 $as_test_x conftest$ac_exeext; then
13377 ac_cv_lib_gphoto2_gp_camera_new=yes
13378 else
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.$ac_ext >&5
13382 ac_cv_lib_gphoto2_gp_camera_new=no
13385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13386 conftest$ac_exeext conftest.$ac_ext
13387 LIBS=$ac_check_lib_save_LIBS
13389 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13390 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13391 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13393 cat >>confdefs.h <<\_ACEOF
13394 #define HAVE_GPHOTO2 1
13395 _ACEOF
13397 GPHOTO2LIBS="$ac_gphoto2_libs"
13399 GPHOTO2INCL="$ac_gphoto2_incl"
13406 CPPFLAGS="$ac_save_CPPFLAGS"
13408 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13409 case "x$with_gphoto" in
13410 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13411 xno) ;;
13412 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13413 This is an error since --with-gphoto was requested." >&5
13414 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13415 This is an error since --with-gphoto was requested." >&2;}
13416 { (exit 1); exit 1; }; } ;;
13417 esac
13422 RESOLVLIBS=""
13424 if test "$ac_cv_header_resolv_h" = "yes"
13425 then
13426 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13427 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13428 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 else
13431 ac_check_lib_save_LIBS=$LIBS
13432 LIBS="-lresolv $LIBS"
13433 cat >conftest.$ac_ext <<_ACEOF
13434 /* confdefs.h. */
13435 _ACEOF
13436 cat confdefs.h >>conftest.$ac_ext
13437 cat >>conftest.$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13443 #ifdef __cplusplus
13444 extern "C"
13445 #endif
13446 char res_query ();
13448 main ()
13450 return res_query ();
13452 return 0;
13454 _ACEOF
13455 rm -f conftest.$ac_objext conftest$ac_exeext
13456 if { (ac_try="$ac_link"
13457 case "(($ac_try" in
13458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13459 *) ac_try_echo=$ac_try;;
13460 esac
13461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13462 (eval "$ac_link") 2>conftest.er1
13463 ac_status=$?
13464 grep -v '^ *+' conftest.er1 >conftest.err
13465 rm -f conftest.er1
13466 cat conftest.err >&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } && {
13469 test -z "$ac_c_werror_flag" ||
13470 test ! -s conftest.err
13471 } && test -s conftest$ac_exeext &&
13472 $as_test_x conftest$ac_exeext; then
13473 ac_cv_lib_resolv_res_query=yes
13474 else
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13478 ac_cv_lib_resolv_res_query=no
13481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13482 conftest$ac_exeext conftest.$ac_ext
13483 LIBS=$ac_check_lib_save_LIBS
13485 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13486 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13487 if test $ac_cv_lib_resolv_res_query = yes; then
13489 cat >>confdefs.h <<\_ACEOF
13490 #define HAVE_RESOLV 1
13491 _ACEOF
13493 RESOLVLIBS="-lresolv"
13498 LCMSLIBS=""
13500 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13501 then
13502 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13503 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13504 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 else
13507 ac_check_lib_save_LIBS=$LIBS
13508 LIBS="-llcms $LIBS"
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char cmsOpenProfileFromFile ();
13524 main ()
13526 return cmsOpenProfileFromFile ();
13528 return 0;
13530 _ACEOF
13531 rm -f conftest.$ac_objext conftest$ac_exeext
13532 if { (ac_try="$ac_link"
13533 case "(($ac_try" in
13534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13535 *) ac_try_echo=$ac_try;;
13536 esac
13537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13538 (eval "$ac_link") 2>conftest.er1
13539 ac_status=$?
13540 grep -v '^ *+' conftest.er1 >conftest.err
13541 rm -f conftest.er1
13542 cat conftest.err >&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } && {
13545 test -z "$ac_c_werror_flag" ||
13546 test ! -s conftest.err
13547 } && test -s conftest$ac_exeext &&
13548 $as_test_x conftest$ac_exeext; then
13549 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13554 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_lib_save_LIBS
13561 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13562 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13563 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13565 cat >>confdefs.h <<\_ACEOF
13566 #define HAVE_LCMS 1
13567 _ACEOF
13569 LCMSLIBS="-llcms"
13573 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13574 case "x$with_cms" in
13575 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13576 xno) ;;
13577 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13578 This is an error since --with-cms was requested." >&5
13579 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13580 This is an error since --with-cms was requested." >&2;}
13581 { (exit 1); exit 1; }; } ;;
13582 esac
13586 LDAPLIBS=""
13588 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13589 then
13590 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13591 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13592 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13594 else
13595 ac_check_lib_save_LIBS=$LIBS
13596 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13597 cat >conftest.$ac_ext <<_ACEOF
13598 /* confdefs.h. */
13599 _ACEOF
13600 cat confdefs.h >>conftest.$ac_ext
13601 cat >>conftest.$ac_ext <<_ACEOF
13602 /* end confdefs.h. */
13604 /* Override any GCC internal prototype to avoid an error.
13605 Use char because int might match the return type of a GCC
13606 builtin and then its argument prototype would still apply. */
13607 #ifdef __cplusplus
13608 extern "C"
13609 #endif
13610 char ldap_initialize ();
13612 main ()
13614 return ldap_initialize ();
13616 return 0;
13618 _ACEOF
13619 rm -f conftest.$ac_objext conftest$ac_exeext
13620 if { (ac_try="$ac_link"
13621 case "(($ac_try" in
13622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13623 *) ac_try_echo=$ac_try;;
13624 esac
13625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13626 (eval "$ac_link") 2>conftest.er1
13627 ac_status=$?
13628 grep -v '^ *+' conftest.er1 >conftest.err
13629 rm -f conftest.er1
13630 cat conftest.err >&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } && {
13633 test -z "$ac_c_werror_flag" ||
13634 test ! -s conftest.err
13635 } && test -s conftest$ac_exeext &&
13636 $as_test_x conftest$ac_exeext; then
13637 ac_cv_lib_ldap_r_ldap_initialize=yes
13638 else
13639 echo "$as_me: failed program was:" >&5
13640 sed 's/^/| /' conftest.$ac_ext >&5
13642 ac_cv_lib_ldap_r_ldap_initialize=no
13645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13646 conftest$ac_exeext conftest.$ac_ext
13647 LIBS=$ac_check_lib_save_LIBS
13649 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13650 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13651 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13652 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13653 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13654 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13655 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 else
13657 ac_check_lib_save_LIBS=$LIBS
13658 LIBS="-llber $LIBPTHREAD $LIBS"
13659 cat >conftest.$ac_ext <<_ACEOF
13660 /* confdefs.h. */
13661 _ACEOF
13662 cat confdefs.h >>conftest.$ac_ext
13663 cat >>conftest.$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13666 /* Override any GCC internal prototype to avoid an error.
13667 Use char because int might match the return type of a GCC
13668 builtin and then its argument prototype would still apply. */
13669 #ifdef __cplusplus
13670 extern "C"
13671 #endif
13672 char ber_init ();
13674 main ()
13676 return ber_init ();
13678 return 0;
13680 _ACEOF
13681 rm -f conftest.$ac_objext conftest$ac_exeext
13682 if { (ac_try="$ac_link"
13683 case "(($ac_try" in
13684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13685 *) ac_try_echo=$ac_try;;
13686 esac
13687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13688 (eval "$ac_link") 2>conftest.er1
13689 ac_status=$?
13690 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && {
13695 test -z "$ac_c_werror_flag" ||
13696 test ! -s conftest.err
13697 } && test -s conftest$ac_exeext &&
13698 $as_test_x conftest$ac_exeext; then
13699 ac_cv_lib_lber_ber_init=yes
13700 else
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.$ac_ext >&5
13704 ac_cv_lib_lber_ber_init=no
13707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13708 conftest$ac_exeext conftest.$ac_ext
13709 LIBS=$ac_check_lib_save_LIBS
13711 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13712 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13713 if test $ac_cv_lib_lber_ber_init = yes; then
13715 cat >>confdefs.h <<\_ACEOF
13716 #define HAVE_LDAP 1
13717 _ACEOF
13719 LDAPLIBS="-lldap_r -llber"
13724 ac_wine_check_funcs_save_LIBS="$LIBS"
13725 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13734 for ac_func in \
13735 ldap_count_references \
13736 ldap_first_reference \
13737 ldap_next_reference \
13738 ldap_parse_reference \
13739 ldap_parse_sort_control \
13740 ldap_parse_sortresponse_control \
13741 ldap_parse_vlv_control \
13742 ldap_parse_vlvresponse_control
13744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13745 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13747 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h. */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13758 #define $ac_func innocuous_$ac_func
13760 /* System header to define __stub macros and hopefully few prototypes,
13761 which can conflict with char $ac_func (); below.
13762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13763 <limits.h> exists even on freestanding compilers. */
13765 #ifdef __STDC__
13766 # include <limits.h>
13767 #else
13768 # include <assert.h>
13769 #endif
13771 #undef $ac_func
13773 /* Override any GCC internal prototype to avoid an error.
13774 Use char because int might match the return type of a GCC
13775 builtin and then its argument prototype would still apply. */
13776 #ifdef __cplusplus
13777 extern "C"
13778 #endif
13779 char $ac_func ();
13780 /* The GNU C library defines this for functions which it implements
13781 to always fail with ENOSYS. Some functions are actually named
13782 something starting with __ and the normal name is an alias. */
13783 #if defined __stub_$ac_func || defined __stub___$ac_func
13784 choke me
13785 #endif
13788 main ()
13790 return $ac_func ();
13792 return 0;
13794 _ACEOF
13795 rm -f conftest.$ac_objext conftest$ac_exeext
13796 if { (ac_try="$ac_link"
13797 case "(($ac_try" in
13798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13799 *) ac_try_echo=$ac_try;;
13800 esac
13801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13802 (eval "$ac_link") 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } && {
13809 test -z "$ac_c_werror_flag" ||
13810 test ! -s conftest.err
13811 } && test -s conftest$ac_exeext &&
13812 $as_test_x conftest$ac_exeext; then
13813 eval "$as_ac_var=yes"
13814 else
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13818 eval "$as_ac_var=no"
13821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13822 conftest$ac_exeext conftest.$ac_ext
13824 ac_res=`eval echo '${'$as_ac_var'}'`
13825 { echo "$as_me:$LINENO: result: $ac_res" >&5
13826 echo "${ECHO_T}$ac_res" >&6; }
13827 if test `eval echo '${'$as_ac_var'}'` = yes; then
13828 cat >>confdefs.h <<_ACEOF
13829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13830 _ACEOF
13833 done
13835 LIBS="$ac_wine_check_funcs_save_LIBS"
13837 if test "x$LDAPLIBS" = "x"; then
13838 case "x$with_ldap" in
13839 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13840 xno) ;;
13841 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13842 This is an error since --with-ldap was requested." >&5
13843 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13844 This is an error since --with-ldap was requested." >&2;}
13845 { (exit 1); exit 1; }; } ;;
13846 esac
13850 for ac_prog in freetype-config freetype2-config
13852 # Extract the first word of "$ac_prog", so it can be a program name with args.
13853 set dummy $ac_prog; ac_word=$2
13854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13856 if test "${ac_cv_prog_ft_devel+set}" = set; then
13857 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 else
13859 if test -n "$ft_devel"; then
13860 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13861 else
13862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13863 for as_dir in $PATH
13865 IFS=$as_save_IFS
13866 test -z "$as_dir" && as_dir=.
13867 for ac_exec_ext in '' $ac_executable_extensions; do
13868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13869 ac_cv_prog_ft_devel="$ac_prog"
13870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13871 break 2
13873 done
13874 done
13875 IFS=$as_save_IFS
13879 ft_devel=$ac_cv_prog_ft_devel
13880 if test -n "$ft_devel"; then
13881 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13882 echo "${ECHO_T}$ft_devel" >&6; }
13883 else
13884 { echo "$as_me:$LINENO: result: no" >&5
13885 echo "${ECHO_T}no" >&6; }
13889 test -n "$ft_devel" && break
13890 done
13891 test -n "$ft_devel" || ft_devel="false"
13893 if test "$ft_devel" != "false"
13894 then
13895 ac_freetype_libs=`$ft_devel --libs`
13896 ac_freetype_incl=`$ft_devel --cflags`
13897 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13898 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13899 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13901 else
13902 ac_check_soname_save_LIBS=$LIBS
13903 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13904 cat >conftest.$ac_ext <<_ACEOF
13905 /* confdefs.h. */
13906 _ACEOF
13907 cat confdefs.h >>conftest.$ac_ext
13908 cat >>conftest.$ac_ext <<_ACEOF
13909 /* end confdefs.h. */
13911 /* Override any GCC internal prototype to avoid an error.
13912 Use char because int might match the return type of a GCC
13913 builtin and then its argument prototype would still apply. */
13914 #ifdef __cplusplus
13915 extern "C"
13916 #endif
13917 char FT_Init_FreeType ();
13919 main ()
13921 return FT_Init_FreeType ();
13923 return 0;
13925 _ACEOF
13926 rm -f conftest.$ac_objext conftest$ac_exeext
13927 if { (ac_try="$ac_link"
13928 case "(($ac_try" in
13929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13930 *) ac_try_echo=$ac_try;;
13931 esac
13932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13933 (eval "$ac_link") 2>conftest.er1
13934 ac_status=$?
13935 grep -v '^ *+' conftest.er1 >conftest.err
13936 rm -f conftest.er1
13937 cat conftest.err >&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } && {
13940 test -z "$ac_c_werror_flag" ||
13941 test ! -s conftest.err
13942 } && test -s conftest$ac_exeext &&
13943 $as_test_x conftest$ac_exeext; then
13944 case "$LIBEXT" in
13945 dll) ;;
13946 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'` ;;
13947 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13948 esac
13949 else
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.$ac_ext >&5
13956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13957 conftest$ac_exeext conftest.$ac_ext
13958 LIBS=$ac_check_soname_save_LIBS
13960 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13961 { echo "$as_me:$LINENO: result: not found" >&5
13962 echo "${ECHO_T}not found" >&6; }
13963 ft_lib=no
13964 else
13965 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13966 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13968 cat >>confdefs.h <<_ACEOF
13969 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13970 _ACEOF
13972 ft_lib=yes
13975 if test "$ft_lib" = "yes"
13976 then
13977 ac_save_CPPFLAGS="$CPPFLAGS"
13978 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13991 for ac_header in ft2build.h \
13992 freetype/freetype.h \
13993 freetype/ftglyph.h \
13994 freetype/fttypes.h \
13995 freetype/tttables.h \
13996 freetype/ftnames.h \
13997 freetype/ftsnames.h \
13998 freetype/ttnameid.h \
13999 freetype/ftoutln.h \
14000 freetype/ftwinfnt.h \
14001 freetype/ftmodapi.h \
14002 freetype/internal/sfnt.h
14004 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 else
14010 cat >conftest.$ac_ext <<_ACEOF
14011 /* confdefs.h. */
14012 _ACEOF
14013 cat confdefs.h >>conftest.$ac_ext
14014 cat >>conftest.$ac_ext <<_ACEOF
14015 /* end confdefs.h. */
14016 #ifdef HAVE_FT2BUILD_H
14017 # include <ft2build.h>
14018 #endif
14020 #include <$ac_header>
14021 _ACEOF
14022 rm -f conftest.$ac_objext
14023 if { (ac_try="$ac_compile"
14024 case "(($ac_try" in
14025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14026 *) ac_try_echo=$ac_try;;
14027 esac
14028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14029 (eval "$ac_compile") 2>conftest.er1
14030 ac_status=$?
14031 grep -v '^ *+' conftest.er1 >conftest.err
14032 rm -f conftest.er1
14033 cat conftest.err >&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); } && {
14036 test -z "$ac_c_werror_flag" ||
14037 test ! -s conftest.err
14038 } && test -s conftest.$ac_objext; then
14039 eval "$as_ac_Header=yes"
14040 else
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.$ac_ext >&5
14044 eval "$as_ac_Header=no"
14047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14049 ac_res=`eval echo '${'$as_ac_Header'}'`
14050 { echo "$as_me:$LINENO: result: $ac_res" >&5
14051 echo "${ECHO_T}$ac_res" >&6; }
14052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14053 cat >>confdefs.h <<_ACEOF
14054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14055 _ACEOF
14059 done
14061 cat >conftest.$ac_ext <<_ACEOF
14062 /* confdefs.h. */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 #include <ft2build.h>
14068 #include <freetype/fttrigon.h>
14069 _ACEOF
14070 if { (ac_try="$ac_cpp conftest.$ac_ext"
14071 case "(($ac_try" in
14072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14073 *) ac_try_echo=$ac_try;;
14074 esac
14075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14077 ac_status=$?
14078 grep -v '^ *+' conftest.er1 >conftest.err
14079 rm -f conftest.er1
14080 cat conftest.err >&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } >/dev/null && {
14083 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14084 test ! -s conftest.err
14085 }; then
14087 cat >>confdefs.h <<\_ACEOF
14088 #define HAVE_FREETYPE_FTTRIGON_H 1
14089 _ACEOF
14091 wine_cv_fttrigon=yes
14092 else
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.$ac_ext >&5
14096 wine_cv_fttrigon=no
14099 rm -f conftest.err conftest.$ac_ext
14100 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14101 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14102 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 else
14105 cat >conftest.$ac_ext <<_ACEOF
14106 /* confdefs.h. */
14107 _ACEOF
14108 cat confdefs.h >>conftest.$ac_ext
14109 cat >>conftest.$ac_ext <<_ACEOF
14110 /* end confdefs.h. */
14111 #include <freetype/ftmodapi.h>
14113 typedef FT_TrueTypeEngineType ac__type_new_;
14115 main ()
14117 if ((ac__type_new_ *) 0)
14118 return 0;
14119 if (sizeof (ac__type_new_))
14120 return 0;
14122 return 0;
14124 _ACEOF
14125 rm -f conftest.$ac_objext
14126 if { (ac_try="$ac_compile"
14127 case "(($ac_try" in
14128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14129 *) ac_try_echo=$ac_try;;
14130 esac
14131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14132 (eval "$ac_compile") 2>conftest.er1
14133 ac_status=$?
14134 grep -v '^ *+' conftest.er1 >conftest.err
14135 rm -f conftest.er1
14136 cat conftest.err >&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); } && {
14139 test -z "$ac_c_werror_flag" ||
14140 test ! -s conftest.err
14141 } && test -s conftest.$ac_objext; then
14142 ac_cv_type_FT_TrueTypeEngineType=yes
14143 else
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.$ac_ext >&5
14147 ac_cv_type_FT_TrueTypeEngineType=no
14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14152 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14153 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14154 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_FT_TRUETYPEENGINETYPE 1
14158 _ACEOF
14163 ac_save_CFLAGS="$CFLAGS"
14164 CFLAGS="$CFLAGS $ac_freetype_libs"
14166 for ac_func in FT_Load_Sfnt_Table
14168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14169 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14171 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 else
14174 cat >conftest.$ac_ext <<_ACEOF
14175 /* confdefs.h. */
14176 _ACEOF
14177 cat confdefs.h >>conftest.$ac_ext
14178 cat >>conftest.$ac_ext <<_ACEOF
14179 /* end confdefs.h. */
14180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14182 #define $ac_func innocuous_$ac_func
14184 /* System header to define __stub macros and hopefully few prototypes,
14185 which can conflict with char $ac_func (); below.
14186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14187 <limits.h> exists even on freestanding compilers. */
14189 #ifdef __STDC__
14190 # include <limits.h>
14191 #else
14192 # include <assert.h>
14193 #endif
14195 #undef $ac_func
14197 /* Override any GCC internal prototype to avoid an error.
14198 Use char because int might match the return type of a GCC
14199 builtin and then its argument prototype would still apply. */
14200 #ifdef __cplusplus
14201 extern "C"
14202 #endif
14203 char $ac_func ();
14204 /* The GNU C library defines this for functions which it implements
14205 to always fail with ENOSYS. Some functions are actually named
14206 something starting with __ and the normal name is an alias. */
14207 #if defined __stub_$ac_func || defined __stub___$ac_func
14208 choke me
14209 #endif
14212 main ()
14214 return $ac_func ();
14216 return 0;
14218 _ACEOF
14219 rm -f conftest.$ac_objext conftest$ac_exeext
14220 if { (ac_try="$ac_link"
14221 case "(($ac_try" in
14222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14223 *) ac_try_echo=$ac_try;;
14224 esac
14225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14226 (eval "$ac_link") 2>conftest.er1
14227 ac_status=$?
14228 grep -v '^ *+' conftest.er1 >conftest.err
14229 rm -f conftest.er1
14230 cat conftest.err >&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } && {
14233 test -z "$ac_c_werror_flag" ||
14234 test ! -s conftest.err
14235 } && test -s conftest$ac_exeext &&
14236 $as_test_x conftest$ac_exeext; then
14237 eval "$as_ac_var=yes"
14238 else
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.$ac_ext >&5
14242 eval "$as_ac_var=no"
14245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14246 conftest$ac_exeext conftest.$ac_ext
14248 ac_res=`eval echo '${'$as_ac_var'}'`
14249 { echo "$as_me:$LINENO: result: $ac_res" >&5
14250 echo "${ECHO_T}$ac_res" >&6; }
14251 if test `eval echo '${'$as_ac_var'}'` = yes; then
14252 cat >>confdefs.h <<_ACEOF
14253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14254 _ACEOF
14257 done
14259 CFLAGS="$ac_save_CFLAGS"
14260 CPPFLAGS="$ac_save_CPPFLAGS"
14261 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14262 then
14264 cat >>confdefs.h <<\_ACEOF
14265 #define HAVE_FREETYPE 1
14266 _ACEOF
14268 FREETYPELIBS="$ac_freetype_libs"
14270 FREETYPEINCL="$ac_freetype_incl"
14276 if test "x$FREETYPELIBS" = "x"
14277 then
14278 wine_warnings="$wine_warnings|FreeType development files not found.
14279 Fonts will not be built. Dialog text may be invisible or unaligned."
14280 else
14281 FONTSSUBDIRS="fonts"
14285 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14286 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14287 if test "${ac_cv_c_ppdev+set}" = set; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 else
14290 cat >conftest.$ac_ext <<_ACEOF
14291 /* confdefs.h. */
14292 _ACEOF
14293 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14296 #include <linux/ppdev.h>
14298 main ()
14300 ioctl (1,PPCLAIM,0)
14302 return 0;
14304 _ACEOF
14305 rm -f conftest.$ac_objext
14306 if { (ac_try="$ac_compile"
14307 case "(($ac_try" in
14308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14309 *) ac_try_echo=$ac_try;;
14310 esac
14311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14312 (eval "$ac_compile") 2>conftest.er1
14313 ac_status=$?
14314 grep -v '^ *+' conftest.er1 >conftest.err
14315 rm -f conftest.er1
14316 cat conftest.err >&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } && {
14319 test -z "$ac_c_werror_flag" ||
14320 test ! -s conftest.err
14321 } && test -s conftest.$ac_objext; then
14322 ac_cv_c_ppdev="yes"
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_cv_c_ppdev="no"
14330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14332 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14333 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14334 if test "$ac_cv_c_ppdev" = "yes"
14335 then
14337 cat >>confdefs.h <<\_ACEOF
14338 #define HAVE_PPDEV 1
14339 _ACEOF
14343 { echo "$as_me:$LINENO: checking for va_copy" >&5
14344 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14345 if test "${ac_cv_c_va_copy+set}" = set; then
14346 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 else
14348 cat >conftest.$ac_ext <<_ACEOF
14349 /* confdefs.h. */
14350 _ACEOF
14351 cat confdefs.h >>conftest.$ac_ext
14352 cat >>conftest.$ac_ext <<_ACEOF
14353 /* end confdefs.h. */
14354 #include <stdarg.h>
14356 main ()
14358 va_list ap1, ap2; va_copy(ap1,ap2);
14360 return 0;
14362 _ACEOF
14363 rm -f conftest.$ac_objext conftest$ac_exeext
14364 if { (ac_try="$ac_link"
14365 case "(($ac_try" in
14366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14367 *) ac_try_echo=$ac_try;;
14368 esac
14369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14370 (eval "$ac_link") 2>conftest.er1
14371 ac_status=$?
14372 grep -v '^ *+' conftest.er1 >conftest.err
14373 rm -f conftest.er1
14374 cat conftest.err >&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } && {
14377 test -z "$ac_c_werror_flag" ||
14378 test ! -s conftest.err
14379 } && test -s conftest$ac_exeext &&
14380 $as_test_x conftest$ac_exeext; then
14381 ac_cv_c_va_copy="yes"
14382 else
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14386 ac_cv_c_va_copy="no"
14389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14390 conftest$ac_exeext conftest.$ac_ext
14393 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14394 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14395 if test "$ac_cv_c_va_copy" = "yes"
14396 then
14398 cat >>confdefs.h <<\_ACEOF
14399 #define HAVE_VA_COPY 1
14400 _ACEOF
14403 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14404 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14405 if test "${ac_cv_c___va_copy+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 else
14408 cat >conftest.$ac_ext <<_ACEOF
14409 /* confdefs.h. */
14410 _ACEOF
14411 cat confdefs.h >>conftest.$ac_ext
14412 cat >>conftest.$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414 #include <stdarg.h>
14416 main ()
14418 va_list ap1, ap2; __va_copy(ap1,ap2);
14420 return 0;
14422 _ACEOF
14423 rm -f conftest.$ac_objext conftest$ac_exeext
14424 if { (ac_try="$ac_link"
14425 case "(($ac_try" in
14426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14427 *) ac_try_echo=$ac_try;;
14428 esac
14429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14430 (eval "$ac_link") 2>conftest.er1
14431 ac_status=$?
14432 grep -v '^ *+' conftest.er1 >conftest.err
14433 rm -f conftest.er1
14434 cat conftest.err >&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } && {
14437 test -z "$ac_c_werror_flag" ||
14438 test ! -s conftest.err
14439 } && test -s conftest$ac_exeext &&
14440 $as_test_x conftest$ac_exeext; then
14441 ac_cv_c___va_copy="yes"
14442 else
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.$ac_ext >&5
14446 ac_cv_c___va_copy="no"
14449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14450 conftest$ac_exeext conftest.$ac_ext
14453 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14454 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14455 if test "$ac_cv_c___va_copy" = "yes"
14456 then
14458 cat >>confdefs.h <<\_ACEOF
14459 #define HAVE___VA_COPY 1
14460 _ACEOF
14464 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14465 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14466 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 else
14469 cat >conftest.$ac_ext <<_ACEOF
14470 /* confdefs.h. */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14475 #include <setjmp.h>
14477 main ()
14479 sigjmp_buf buf;
14480 sigsetjmp( buf, 1 );
14481 siglongjmp( buf, 1 );
14483 return 0;
14485 _ACEOF
14486 rm -f conftest.$ac_objext conftest$ac_exeext
14487 if { (ac_try="$ac_link"
14488 case "(($ac_try" in
14489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14490 *) ac_try_echo=$ac_try;;
14491 esac
14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14493 (eval "$ac_link") 2>conftest.er1
14494 ac_status=$?
14495 grep -v '^ *+' conftest.er1 >conftest.err
14496 rm -f conftest.er1
14497 cat conftest.err >&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } && {
14500 test -z "$ac_c_werror_flag" ||
14501 test ! -s conftest.err
14502 } && test -s conftest$ac_exeext &&
14503 $as_test_x conftest$ac_exeext; then
14504 ac_cv_c_sigsetjmp="yes"
14505 else
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.$ac_ext >&5
14509 ac_cv_c_sigsetjmp="no"
14512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14513 conftest$ac_exeext conftest.$ac_ext
14516 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14517 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14518 if test "$ac_cv_c_sigsetjmp" = "yes"
14519 then
14521 cat >>confdefs.h <<\_ACEOF
14522 #define HAVE_SIGSETJMP 1
14523 _ACEOF
14527 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14528 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14529 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14530 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 else
14532 cat >conftest.$ac_ext <<_ACEOF
14533 /* confdefs.h. */
14534 _ACEOF
14535 cat confdefs.h >>conftest.$ac_ext
14536 cat >>conftest.$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14538 #define _GNU_SOURCE
14539 #include <pthread.h>
14541 typedef pthread_rwlock_t ac__type_new_;
14543 main ()
14545 if ((ac__type_new_ *) 0)
14546 return 0;
14547 if (sizeof (ac__type_new_))
14548 return 0;
14550 return 0;
14552 _ACEOF
14553 rm -f conftest.$ac_objext
14554 if { (ac_try="$ac_compile"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14558 esac
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_compile") 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest.$ac_objext; then
14570 ac_cv_type_pthread_rwlock_t=yes
14571 else
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14575 ac_cv_type_pthread_rwlock_t=no
14578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14580 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14581 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14582 if test $ac_cv_type_pthread_rwlock_t = yes; then
14584 cat >>confdefs.h <<_ACEOF
14585 #define HAVE_PTHREAD_RWLOCK_T 1
14586 _ACEOF
14590 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14591 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14592 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 else
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601 #define _GNU_SOURCE
14602 #include <pthread.h>
14604 typedef pthread_rwlockattr_t ac__type_new_;
14606 main ()
14608 if ((ac__type_new_ *) 0)
14609 return 0;
14610 if (sizeof (ac__type_new_))
14611 return 0;
14613 return 0;
14615 _ACEOF
14616 rm -f conftest.$ac_objext
14617 if { (ac_try="$ac_compile"
14618 case "(($ac_try" in
14619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14620 *) ac_try_echo=$ac_try;;
14621 esac
14622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14623 (eval "$ac_compile") 2>conftest.er1
14624 ac_status=$?
14625 grep -v '^ *+' conftest.er1 >conftest.err
14626 rm -f conftest.er1
14627 cat conftest.err >&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } && {
14630 test -z "$ac_c_werror_flag" ||
14631 test ! -s conftest.err
14632 } && test -s conftest.$ac_objext; then
14633 ac_cv_type_pthread_rwlockattr_t=yes
14634 else
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.$ac_ext >&5
14638 ac_cv_type_pthread_rwlockattr_t=no
14641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14643 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14644 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14645 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14647 cat >>confdefs.h <<_ACEOF
14648 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14649 _ACEOF
14655 ac_wine_check_funcs_save_LIBS="$LIBS"
14656 LIBS="$LIBS $LIBPTHREAD"
14661 for ac_func in \
14662 pthread_attr_get_np \
14663 pthread_getattr_np \
14664 pthread_get_stackaddr_np \
14665 pthread_get_stacksize_np
14667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14668 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14670 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673 cat >conftest.$ac_ext <<_ACEOF
14674 /* confdefs.h. */
14675 _ACEOF
14676 cat confdefs.h >>conftest.$ac_ext
14677 cat >>conftest.$ac_ext <<_ACEOF
14678 /* end confdefs.h. */
14679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14681 #define $ac_func innocuous_$ac_func
14683 /* System header to define __stub macros and hopefully few prototypes,
14684 which can conflict with char $ac_func (); below.
14685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14686 <limits.h> exists even on freestanding compilers. */
14688 #ifdef __STDC__
14689 # include <limits.h>
14690 #else
14691 # include <assert.h>
14692 #endif
14694 #undef $ac_func
14696 /* Override any GCC internal prototype to avoid an error.
14697 Use char because int might match the return type of a GCC
14698 builtin and then its argument prototype would still apply. */
14699 #ifdef __cplusplus
14700 extern "C"
14701 #endif
14702 char $ac_func ();
14703 /* The GNU C library defines this for functions which it implements
14704 to always fail with ENOSYS. Some functions are actually named
14705 something starting with __ and the normal name is an alias. */
14706 #if defined __stub_$ac_func || defined __stub___$ac_func
14707 choke me
14708 #endif
14711 main ()
14713 return $ac_func ();
14715 return 0;
14717 _ACEOF
14718 rm -f conftest.$ac_objext conftest$ac_exeext
14719 if { (ac_try="$ac_link"
14720 case "(($ac_try" in
14721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14722 *) ac_try_echo=$ac_try;;
14723 esac
14724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14725 (eval "$ac_link") 2>conftest.er1
14726 ac_status=$?
14727 grep -v '^ *+' conftest.er1 >conftest.err
14728 rm -f conftest.er1
14729 cat conftest.err >&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } && {
14732 test -z "$ac_c_werror_flag" ||
14733 test ! -s conftest.err
14734 } && test -s conftest$ac_exeext &&
14735 $as_test_x conftest$ac_exeext; then
14736 eval "$as_ac_var=yes"
14737 else
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14741 eval "$as_ac_var=no"
14744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14745 conftest$ac_exeext conftest.$ac_ext
14747 ac_res=`eval echo '${'$as_ac_var'}'`
14748 { echo "$as_me:$LINENO: result: $ac_res" >&5
14749 echo "${ECHO_T}$ac_res" >&6; }
14750 if test `eval echo '${'$as_ac_var'}'` = yes; then
14751 cat >>confdefs.h <<_ACEOF
14752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14753 _ACEOF
14756 done
14758 LIBS="$ac_wine_check_funcs_save_LIBS"
14760 # Extract the first word of "esd-config", so it can be a program name with args.
14761 set dummy esd-config; ac_word=$2
14762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14764 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 else
14767 case $ESDCONFIG in
14768 [\\/]* | ?:[\\/]*)
14769 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14773 for as_dir in $PATH
14775 IFS=$as_save_IFS
14776 test -z "$as_dir" && as_dir=.
14777 for ac_exec_ext in '' $ac_executable_extensions; do
14778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14779 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14781 break 2
14783 done
14784 done
14785 IFS=$as_save_IFS
14788 esac
14790 ESDCONFIG=$ac_cv_path_ESDCONFIG
14791 if test -n "$ESDCONFIG"; then
14792 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14793 echo "${ECHO_T}$ESDCONFIG" >&6; }
14794 else
14795 { echo "$as_me:$LINENO: result: no" >&5
14796 echo "${ECHO_T}no" >&6; }
14800 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14801 then
14802 ESD_CFLAGS=""
14803 for i in `$ESDCONFIG --cflags`
14805 case "$i" in
14806 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14807 esac
14808 done
14809 ESD_LIBS=`$ESDCONFIG --libs`
14810 save_CFLAGS="$CFLAGS"
14811 CFLAGS="$CFLAGS $ESD_CFLAGS"
14812 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14813 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14814 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14817 ac_check_lib_save_LIBS=$LIBS
14818 LIBS="-lesd $LIBS"
14819 cat >conftest.$ac_ext <<_ACEOF
14820 /* confdefs.h. */
14821 _ACEOF
14822 cat confdefs.h >>conftest.$ac_ext
14823 cat >>conftest.$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14829 #ifdef __cplusplus
14830 extern "C"
14831 #endif
14832 char esd_open_sound ();
14834 main ()
14836 return esd_open_sound ();
14838 return 0;
14840 _ACEOF
14841 rm -f conftest.$ac_objext conftest$ac_exeext
14842 if { (ac_try="$ac_link"
14843 case "(($ac_try" in
14844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14845 *) ac_try_echo=$ac_try;;
14846 esac
14847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14848 (eval "$ac_link") 2>conftest.er1
14849 ac_status=$?
14850 grep -v '^ *+' conftest.er1 >conftest.err
14851 rm -f conftest.er1
14852 cat conftest.err >&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } && {
14855 test -z "$ac_c_werror_flag" ||
14856 test ! -s conftest.err
14857 } && test -s conftest$ac_exeext &&
14858 $as_test_x conftest$ac_exeext; then
14859 ac_cv_lib_esd_esd_open_sound=yes
14860 else
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.$ac_ext >&5
14864 ac_cv_lib_esd_esd_open_sound=no
14867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14868 conftest$ac_exeext conftest.$ac_ext
14869 LIBS=$ac_check_lib_save_LIBS
14871 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14872 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14873 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14874 ESDLIBS=$ESD_LIBS
14876 ESDINCL=$ESD_CFLAGS
14879 cat >>confdefs.h <<\_ACEOF
14880 #define HAVE_ESD 1
14881 _ACEOF
14885 CFLAGS="$save_CFLAGS"
14888 ALSALIBS=""
14890 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14891 then
14892 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14893 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14894 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14896 else
14897 ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-lasound $LIBS"
14899 cat >conftest.$ac_ext <<_ACEOF
14900 /* confdefs.h. */
14901 _ACEOF
14902 cat confdefs.h >>conftest.$ac_ext
14903 cat >>conftest.$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14906 /* Override any GCC internal prototype to avoid an error.
14907 Use char because int might match the return type of a GCC
14908 builtin and then its argument prototype would still apply. */
14909 #ifdef __cplusplus
14910 extern "C"
14911 #endif
14912 char snd_pcm_hw_params_get_access ();
14914 main ()
14916 return snd_pcm_hw_params_get_access ();
14918 return 0;
14920 _ACEOF
14921 rm -f conftest.$ac_objext conftest$ac_exeext
14922 if { (ac_try="$ac_link"
14923 case "(($ac_try" in
14924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14925 *) ac_try_echo=$ac_try;;
14926 esac
14927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14928 (eval "$ac_link") 2>conftest.er1
14929 ac_status=$?
14930 grep -v '^ *+' conftest.er1 >conftest.err
14931 rm -f conftest.er1
14932 cat conftest.err >&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } && {
14935 test -z "$ac_c_werror_flag" ||
14936 test ! -s conftest.err
14937 } && test -s conftest$ac_exeext &&
14938 $as_test_x conftest$ac_exeext; then
14939 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14940 else
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.$ac_ext >&5
14944 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14948 conftest$ac_exeext conftest.$ac_ext
14949 LIBS=$ac_check_lib_save_LIBS
14951 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14952 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14953 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14954 cat >conftest.$ac_ext <<_ACEOF
14955 /* confdefs.h. */
14956 _ACEOF
14957 cat confdefs.h >>conftest.$ac_ext
14958 cat >>conftest.$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960 #ifdef HAVE_ALSA_ASOUNDLIB_H
14961 #include <alsa/asoundlib.h>
14962 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14963 #include <sys/asoundlib.h>
14964 #endif
14966 main ()
14968 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14970 return 0;
14972 _ACEOF
14973 rm -f conftest.$ac_objext
14974 if { (ac_try="$ac_compile"
14975 case "(($ac_try" in
14976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14977 *) ac_try_echo=$ac_try;;
14978 esac
14979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14980 (eval "$ac_compile") 2>conftest.er1
14981 ac_status=$?
14982 grep -v '^ *+' conftest.er1 >conftest.err
14983 rm -f conftest.er1
14984 cat conftest.err >&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); } && {
14987 test -z "$ac_c_werror_flag" ||
14988 test ! -s conftest.err
14989 } && test -s conftest.$ac_objext; then
14991 cat >>confdefs.h <<\_ACEOF
14992 #define HAVE_ALSA 1
14993 _ACEOF
14995 ALSALIBS="-lasound"
14996 else
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.$ac_ext >&5
15003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15008 AUDIOIOLIBS=""
15010 if test "$ac_cv_header_libaudioio_h" = "yes"
15011 then
15012 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15013 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15014 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 else
15017 ac_check_lib_save_LIBS=$LIBS
15018 LIBS="-laudioio $LIBS"
15019 cat >conftest.$ac_ext <<_ACEOF
15020 /* confdefs.h. */
15021 _ACEOF
15022 cat confdefs.h >>conftest.$ac_ext
15023 cat >>conftest.$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15026 /* Override any GCC internal prototype to avoid an error.
15027 Use char because int might match the return type of a GCC
15028 builtin and then its argument prototype would still apply. */
15029 #ifdef __cplusplus
15030 extern "C"
15031 #endif
15032 char AudioIOGetVersion ();
15034 main ()
15036 return AudioIOGetVersion ();
15038 return 0;
15040 _ACEOF
15041 rm -f conftest.$ac_objext conftest$ac_exeext
15042 if { (ac_try="$ac_link"
15043 case "(($ac_try" in
15044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15045 *) ac_try_echo=$ac_try;;
15046 esac
15047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15048 (eval "$ac_link") 2>conftest.er1
15049 ac_status=$?
15050 grep -v '^ *+' conftest.er1 >conftest.err
15051 rm -f conftest.er1
15052 cat conftest.err >&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } && {
15055 test -z "$ac_c_werror_flag" ||
15056 test ! -s conftest.err
15057 } && test -s conftest$ac_exeext &&
15058 $as_test_x conftest$ac_exeext; then
15059 ac_cv_lib_audioio_AudioIOGetVersion=yes
15060 else
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.$ac_ext >&5
15064 ac_cv_lib_audioio_AudioIOGetVersion=no
15067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15068 conftest$ac_exeext conftest.$ac_ext
15069 LIBS=$ac_check_lib_save_LIBS
15071 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15072 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15073 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15074 AUDIOIOLIBS="-laudioio"
15076 cat >>confdefs.h <<\_ACEOF
15077 #define HAVE_LIBAUDIOIO 1
15078 _ACEOF
15085 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15086 then
15087 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15088 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15089 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15091 else
15092 ac_check_soname_save_LIBS=$LIBS
15093 LIBS="-lcapi20 $LIBS"
15094 cat >conftest.$ac_ext <<_ACEOF
15095 /* confdefs.h. */
15096 _ACEOF
15097 cat confdefs.h >>conftest.$ac_ext
15098 cat >>conftest.$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15101 /* Override any GCC internal prototype to avoid an error.
15102 Use char because int might match the return type of a GCC
15103 builtin and then its argument prototype would still apply. */
15104 #ifdef __cplusplus
15105 extern "C"
15106 #endif
15107 char capi20_register ();
15109 main ()
15111 return capi20_register ();
15113 return 0;
15115 _ACEOF
15116 rm -f conftest.$ac_objext conftest$ac_exeext
15117 if { (ac_try="$ac_link"
15118 case "(($ac_try" in
15119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15120 *) ac_try_echo=$ac_try;;
15121 esac
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_link") 2>conftest.er1
15124 ac_status=$?
15125 grep -v '^ *+' conftest.er1 >conftest.err
15126 rm -f conftest.er1
15127 cat conftest.err >&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } && {
15130 test -z "$ac_c_werror_flag" ||
15131 test ! -s conftest.err
15132 } && test -s conftest$ac_exeext &&
15133 $as_test_x conftest$ac_exeext; then
15134 case "$LIBEXT" in
15135 dll) ;;
15136 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'` ;;
15137 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15138 esac
15139 else
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15147 conftest$ac_exeext conftest.$ac_ext
15148 LIBS=$ac_check_soname_save_LIBS
15150 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15151 { echo "$as_me:$LINENO: result: not found" >&5
15152 echo "${ECHO_T}not found" >&6; }
15154 else
15155 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15156 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15158 cat >>confdefs.h <<_ACEOF
15159 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15160 _ACEOF
15166 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15167 case "x$with_capi" in
15168 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15169 xno) ;;
15170 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15171 This is an error since --with-capi was requested." >&5
15172 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15173 This is an error since --with-capi was requested." >&2;}
15174 { (exit 1); exit 1; }; } ;;
15175 esac
15179 if test "$ac_cv_header_cups_cups_h" = "yes"
15180 then
15181 { echo "$as_me:$LINENO: checking for -lcups" >&5
15182 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15183 if test "${ac_cv_lib_soname_cups+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 ac_check_soname_save_LIBS=$LIBS
15187 LIBS="-lcups $LIBS"
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15195 /* Override any GCC internal prototype to avoid an error.
15196 Use char because int might match the return type of a GCC
15197 builtin and then its argument prototype would still apply. */
15198 #ifdef __cplusplus
15199 extern "C"
15200 #endif
15201 char cupsGetDefault ();
15203 main ()
15205 return cupsGetDefault ();
15207 return 0;
15209 _ACEOF
15210 rm -f conftest.$ac_objext conftest$ac_exeext
15211 if { (ac_try="$ac_link"
15212 case "(($ac_try" in
15213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15214 *) ac_try_echo=$ac_try;;
15215 esac
15216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15217 (eval "$ac_link") 2>conftest.er1
15218 ac_status=$?
15219 grep -v '^ *+' conftest.er1 >conftest.err
15220 rm -f conftest.er1
15221 cat conftest.err >&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } && {
15224 test -z "$ac_c_werror_flag" ||
15225 test ! -s conftest.err
15226 } && test -s conftest$ac_exeext &&
15227 $as_test_x conftest$ac_exeext; then
15228 case "$LIBEXT" in
15229 dll) ;;
15230 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'` ;;
15231 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15232 esac
15233 else
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15241 conftest$ac_exeext conftest.$ac_ext
15242 LIBS=$ac_check_soname_save_LIBS
15244 if test "x$ac_cv_lib_soname_cups" = "x"; then
15245 { echo "$as_me:$LINENO: result: not found" >&5
15246 echo "${ECHO_T}not found" >&6; }
15248 else
15249 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15250 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15252 cat >>confdefs.h <<_ACEOF
15253 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15254 _ACEOF
15260 if test "x$ac_cv_lib_soname_cups" = "x"; then
15261 case "x$with_cups" in
15262 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15263 xno) ;;
15264 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15265 This is an error since --with-cups was requested." >&5
15266 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15267 This is an error since --with-cups was requested." >&2;}
15268 { (exit 1); exit 1; }; } ;;
15269 esac
15273 if test "$ac_cv_header_jack_jack_h" = "yes"
15274 then
15275 { echo "$as_me:$LINENO: checking for -ljack" >&5
15276 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15277 if test "${ac_cv_lib_soname_jack+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 else
15280 ac_check_soname_save_LIBS=$LIBS
15281 LIBS="-ljack $LIBS"
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15292 #ifdef __cplusplus
15293 extern "C"
15294 #endif
15295 char jack_client_new ();
15297 main ()
15299 return jack_client_new ();
15301 return 0;
15303 _ACEOF
15304 rm -f conftest.$ac_objext conftest$ac_exeext
15305 if { (ac_try="$ac_link"
15306 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15309 esac
15310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15311 (eval "$ac_link") 2>conftest.er1
15312 ac_status=$?
15313 grep -v '^ *+' conftest.er1 >conftest.err
15314 rm -f conftest.er1
15315 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && {
15318 test -z "$ac_c_werror_flag" ||
15319 test ! -s conftest.err
15320 } && test -s conftest$ac_exeext &&
15321 $as_test_x conftest$ac_exeext; then
15322 case "$LIBEXT" in
15323 dll) ;;
15324 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'` ;;
15325 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15326 esac
15327 else
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.$ac_ext >&5
15334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_check_soname_save_LIBS
15338 if test "x$ac_cv_lib_soname_jack" = "x"; then
15339 { echo "$as_me:$LINENO: result: not found" >&5
15340 echo "${ECHO_T}not found" >&6; }
15342 else
15343 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15344 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15346 cat >>confdefs.h <<_ACEOF
15347 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15348 _ACEOF
15355 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15356 then
15357 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15358 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15359 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 else
15362 ac_check_soname_save_LIBS=$LIBS
15363 LIBS="-lfontconfig $LIBS"
15364 cat >conftest.$ac_ext <<_ACEOF
15365 /* confdefs.h. */
15366 _ACEOF
15367 cat confdefs.h >>conftest.$ac_ext
15368 cat >>conftest.$ac_ext <<_ACEOF
15369 /* end confdefs.h. */
15371 /* Override any GCC internal prototype to avoid an error.
15372 Use char because int might match the return type of a GCC
15373 builtin and then its argument prototype would still apply. */
15374 #ifdef __cplusplus
15375 extern "C"
15376 #endif
15377 char FcInit ();
15379 main ()
15381 return FcInit ();
15383 return 0;
15385 _ACEOF
15386 rm -f conftest.$ac_objext conftest$ac_exeext
15387 if { (ac_try="$ac_link"
15388 case "(($ac_try" in
15389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15390 *) ac_try_echo=$ac_try;;
15391 esac
15392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15393 (eval "$ac_link") 2>conftest.er1
15394 ac_status=$?
15395 grep -v '^ *+' conftest.er1 >conftest.err
15396 rm -f conftest.er1
15397 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } && {
15400 test -z "$ac_c_werror_flag" ||
15401 test ! -s conftest.err
15402 } && test -s conftest$ac_exeext &&
15403 $as_test_x conftest$ac_exeext; then
15404 case "$LIBEXT" in
15405 dll) ;;
15406 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'` ;;
15407 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15408 esac
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15417 conftest$ac_exeext conftest.$ac_ext
15418 LIBS=$ac_check_soname_save_LIBS
15420 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15421 { echo "$as_me:$LINENO: result: not found" >&5
15422 echo "${ECHO_T}not found" >&6; }
15424 else
15425 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15426 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15428 cat >>confdefs.h <<_ACEOF
15429 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15430 _ACEOF
15435 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15436 then
15437 ac_save_CPPFLAGS="$CPPFLAGS"
15438 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15439 $as_unset ac_cv_header_fontconfig_fontconfig_h
15441 for ac_header in fontconfig/fontconfig.h
15443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15448 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 ac_res=`eval echo '${'$as_ac_Header'}'`
15451 { echo "$as_me:$LINENO: result: $ac_res" >&5
15452 echo "${ECHO_T}$ac_res" >&6; }
15453 else
15454 # Is the header compilable?
15455 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h. */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15463 $ac_includes_default
15464 #include <$ac_header>
15465 _ACEOF
15466 rm -f conftest.$ac_objext
15467 if { (ac_try="$ac_compile"
15468 case "(($ac_try" in
15469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15470 *) ac_try_echo=$ac_try;;
15471 esac
15472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15473 (eval "$ac_compile") 2>conftest.er1
15474 ac_status=$?
15475 grep -v '^ *+' conftest.er1 >conftest.err
15476 rm -f conftest.er1
15477 cat conftest.err >&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); } && {
15480 test -z "$ac_c_werror_flag" ||
15481 test ! -s conftest.err
15482 } && test -s conftest.$ac_objext; then
15483 ac_header_compiler=yes
15484 else
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15488 ac_header_compiler=no
15491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15492 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15493 echo "${ECHO_T}$ac_header_compiler" >&6; }
15495 # Is the header present?
15496 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 #include <$ac_header>
15505 _ACEOF
15506 if { (ac_try="$ac_cpp conftest.$ac_ext"
15507 case "(($ac_try" in
15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15509 *) ac_try_echo=$ac_try;;
15510 esac
15511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15513 ac_status=$?
15514 grep -v '^ *+' conftest.er1 >conftest.err
15515 rm -f conftest.er1
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } >/dev/null && {
15519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15520 test ! -s conftest.err
15521 }; then
15522 ac_header_preproc=yes
15523 else
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15527 ac_header_preproc=no
15530 rm -f conftest.err conftest.$ac_ext
15531 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15532 echo "${ECHO_T}$ac_header_preproc" >&6; }
15534 # So? What about this header?
15535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15536 yes:no: )
15537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15541 ac_header_preproc=yes
15543 no:yes:* )
15544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15556 ( cat <<\_ASBOX
15557 ## ------------------------------------ ##
15558 ## Report this to wine-devel@winehq.org ##
15559 ## ------------------------------------ ##
15560 _ASBOX
15561 ) | sed "s/^/$as_me: WARNING: /" >&2
15563 esac
15564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 eval "$as_ac_Header=\$ac_header_preproc"
15571 ac_res=`eval echo '${'$as_ac_Header'}'`
15572 { echo "$as_me:$LINENO: result: $ac_res" >&5
15573 echo "${ECHO_T}$ac_res" >&6; }
15576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15577 cat >>confdefs.h <<_ACEOF
15578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15579 _ACEOF
15583 done
15585 CPPFLAGS="$ac_save_CPPFLAGS"
15586 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15587 then
15588 FONTCONFIGINCL="$X_CFLAGS"
15590 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15591 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15592 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 else
15595 ac_check_soname_save_LIBS=$LIBS
15596 LIBS="-lfontconfig $X_LIBS $LIBS"
15597 cat >conftest.$ac_ext <<_ACEOF
15598 /* confdefs.h. */
15599 _ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15604 /* Override any GCC internal prototype to avoid an error.
15605 Use char because int might match the return type of a GCC
15606 builtin and then its argument prototype would still apply. */
15607 #ifdef __cplusplus
15608 extern "C"
15609 #endif
15610 char FcInit ();
15612 main ()
15614 return FcInit ();
15616 return 0;
15618 _ACEOF
15619 rm -f conftest.$ac_objext conftest$ac_exeext
15620 if { (ac_try="$ac_link"
15621 case "(($ac_try" in
15622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15623 *) ac_try_echo=$ac_try;;
15624 esac
15625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15626 (eval "$ac_link") 2>conftest.er1
15627 ac_status=$?
15628 grep -v '^ *+' conftest.er1 >conftest.err
15629 rm -f conftest.er1
15630 cat conftest.err >&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } && {
15633 test -z "$ac_c_werror_flag" ||
15634 test ! -s conftest.err
15635 } && test -s conftest$ac_exeext &&
15636 $as_test_x conftest$ac_exeext; then
15637 case "$LIBEXT" in
15638 dll) ;;
15639 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'` ;;
15640 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15641 esac
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15650 conftest$ac_exeext conftest.$ac_ext
15651 LIBS=$ac_check_soname_save_LIBS
15653 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15654 { echo "$as_me:$LINENO: result: not found" >&5
15655 echo "${ECHO_T}not found" >&6; }
15657 else
15658 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15659 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15661 cat >>confdefs.h <<_ACEOF
15662 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15663 _ACEOF
15670 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15671 case "x$with_fontconfig" in
15672 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15673 xno) ;;
15674 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15675 This is an error since --with-fontconfig was requested." >&5
15676 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15677 This is an error since --with-fontconfig was requested." >&2;}
15678 { (exit 1); exit 1; }; } ;;
15679 esac
15683 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15684 then
15685 { echo "$as_me:$LINENO: checking for -lssl" >&5
15686 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15687 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15688 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 else
15690 ac_check_soname_save_LIBS=$LIBS
15691 LIBS="-lssl $LIBS"
15692 cat >conftest.$ac_ext <<_ACEOF
15693 /* confdefs.h. */
15694 _ACEOF
15695 cat confdefs.h >>conftest.$ac_ext
15696 cat >>conftest.$ac_ext <<_ACEOF
15697 /* end confdefs.h. */
15699 /* Override any GCC internal prototype to avoid an error.
15700 Use char because int might match the return type of a GCC
15701 builtin and then its argument prototype would still apply. */
15702 #ifdef __cplusplus
15703 extern "C"
15704 #endif
15705 char SSL_library_init ();
15707 main ()
15709 return SSL_library_init ();
15711 return 0;
15713 _ACEOF
15714 rm -f conftest.$ac_objext conftest$ac_exeext
15715 if { (ac_try="$ac_link"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15719 esac
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_link") 2>conftest.er1
15722 ac_status=$?
15723 grep -v '^ *+' conftest.er1 >conftest.err
15724 rm -f conftest.er1
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest$ac_exeext &&
15731 $as_test_x conftest$ac_exeext; then
15732 case "$LIBEXT" in
15733 dll) ;;
15734 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'` ;;
15735 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15736 esac
15737 else
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.$ac_ext >&5
15744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15745 conftest$ac_exeext conftest.$ac_ext
15746 LIBS=$ac_check_soname_save_LIBS
15748 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15749 { echo "$as_me:$LINENO: result: not found" >&5
15750 echo "${ECHO_T}not found" >&6; }
15752 else
15753 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15754 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15756 cat >>confdefs.h <<_ACEOF
15757 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15758 _ACEOF
15763 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15764 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15765 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 else
15768 ac_check_soname_save_LIBS=$LIBS
15769 LIBS="-lcrypto $LIBS"
15770 cat >conftest.$ac_ext <<_ACEOF
15771 /* confdefs.h. */
15772 _ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15777 /* Override any GCC internal prototype to avoid an error.
15778 Use char because int might match the return type of a GCC
15779 builtin and then its argument prototype would still apply. */
15780 #ifdef __cplusplus
15781 extern "C"
15782 #endif
15783 char BIO_new_socket ();
15785 main ()
15787 return BIO_new_socket ();
15789 return 0;
15791 _ACEOF
15792 rm -f conftest.$ac_objext conftest$ac_exeext
15793 if { (ac_try="$ac_link"
15794 case "(($ac_try" in
15795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15796 *) ac_try_echo=$ac_try;;
15797 esac
15798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15799 (eval "$ac_link") 2>conftest.er1
15800 ac_status=$?
15801 grep -v '^ *+' conftest.er1 >conftest.err
15802 rm -f conftest.er1
15803 cat conftest.err >&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); } && {
15806 test -z "$ac_c_werror_flag" ||
15807 test ! -s conftest.err
15808 } && test -s conftest$ac_exeext &&
15809 $as_test_x conftest$ac_exeext; then
15810 case "$LIBEXT" in
15811 dll) ;;
15812 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'` ;;
15813 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15814 esac
15815 else
15816 echo "$as_me: failed program was:" >&5
15817 sed 's/^/| /' conftest.$ac_ext >&5
15822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_check_soname_save_LIBS
15826 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15827 { echo "$as_me:$LINENO: result: not found" >&5
15828 echo "${ECHO_T}not found" >&6; }
15830 else
15831 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15832 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15834 cat >>confdefs.h <<_ACEOF
15835 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15836 _ACEOF
15842 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15843 case "x$with_openssl" in
15844 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15845 xno) ;;
15846 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15847 This is an error since --with-openssl was requested." >&5
15848 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15849 This is an error since --with-openssl was requested." >&2;}
15850 { (exit 1); exit 1; }; } ;;
15851 esac
15855 if test "$ac_cv_header_jpeglib_h" = "yes"
15856 then
15857 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15858 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15859 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 else
15862 ac_check_soname_save_LIBS=$LIBS
15863 LIBS="-ljpeg $LIBS"
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15871 /* Override any GCC internal prototype to avoid an error.
15872 Use char because int might match the return type of a GCC
15873 builtin and then its argument prototype would still apply. */
15874 #ifdef __cplusplus
15875 extern "C"
15876 #endif
15877 char jpeg_start_decompress ();
15879 main ()
15881 return jpeg_start_decompress ();
15883 return 0;
15885 _ACEOF
15886 rm -f conftest.$ac_objext conftest$ac_exeext
15887 if { (ac_try="$ac_link"
15888 case "(($ac_try" in
15889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15890 *) ac_try_echo=$ac_try;;
15891 esac
15892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15893 (eval "$ac_link") 2>conftest.er1
15894 ac_status=$?
15895 grep -v '^ *+' conftest.er1 >conftest.err
15896 rm -f conftest.er1
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } && {
15900 test -z "$ac_c_werror_flag" ||
15901 test ! -s conftest.err
15902 } && test -s conftest$ac_exeext &&
15903 $as_test_x conftest$ac_exeext; then
15904 case "$LIBEXT" in
15905 dll) ;;
15906 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'` ;;
15907 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15908 esac
15909 else
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15917 conftest$ac_exeext conftest.$ac_ext
15918 LIBS=$ac_check_soname_save_LIBS
15920 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15921 { echo "$as_me:$LINENO: result: not found" >&5
15922 echo "${ECHO_T}not found" >&6; }
15924 else
15925 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15926 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15928 cat >>confdefs.h <<_ACEOF
15929 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15930 _ACEOF
15936 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15937 case "x$with_jpeg" in
15938 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15939 xno) ;;
15940 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15941 This is an error since --with-jpeg was requested." >&5
15942 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15943 This is an error since --with-jpeg was requested." >&2;}
15944 { (exit 1); exit 1; }; } ;;
15945 esac
15949 if test "$ac_cv_header_png_h" = "yes"
15950 then
15951 { echo "$as_me:$LINENO: checking for -lpng" >&5
15952 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15953 if test "${ac_cv_lib_soname_png+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 else
15956 ac_check_soname_save_LIBS=$LIBS
15957 LIBS="-lpng $LIBS"
15958 cat >conftest.$ac_ext <<_ACEOF
15959 /* confdefs.h. */
15960 _ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15965 /* Override any GCC internal prototype to avoid an error.
15966 Use char because int might match the return type of a GCC
15967 builtin and then its argument prototype would still apply. */
15968 #ifdef __cplusplus
15969 extern "C"
15970 #endif
15971 char png_create_read_struct ();
15973 main ()
15975 return png_create_read_struct ();
15977 return 0;
15979 _ACEOF
15980 rm -f conftest.$ac_objext conftest$ac_exeext
15981 if { (ac_try="$ac_link"
15982 case "(($ac_try" in
15983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15984 *) ac_try_echo=$ac_try;;
15985 esac
15986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15987 (eval "$ac_link") 2>conftest.er1
15988 ac_status=$?
15989 grep -v '^ *+' conftest.er1 >conftest.err
15990 rm -f conftest.er1
15991 cat conftest.err >&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); } && {
15994 test -z "$ac_c_werror_flag" ||
15995 test ! -s conftest.err
15996 } && test -s conftest$ac_exeext &&
15997 $as_test_x conftest$ac_exeext; then
15998 case "$LIBEXT" in
15999 dll) ;;
16000 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'` ;;
16001 *) 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'` ;;
16002 esac
16003 else
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16011 conftest$ac_exeext conftest.$ac_ext
16012 LIBS=$ac_check_soname_save_LIBS
16014 if test "x$ac_cv_lib_soname_png" = "x"; then
16015 { echo "$as_me:$LINENO: result: not found" >&5
16016 echo "${ECHO_T}not found" >&6; }
16018 else
16019 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16020 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16022 cat >>confdefs.h <<_ACEOF
16023 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16024 _ACEOF
16030 if test "x$ac_cv_lib_soname_png" = "x"; then
16031 case "x$with_png" in
16032 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
16033 xno) ;;
16034 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16035 This is an error since --with-png was requested." >&5
16036 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16037 This is an error since --with-png was requested." >&2;}
16038 { (exit 1); exit 1; }; } ;;
16039 esac
16043 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16044 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16045 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 else
16048 ac_check_soname_save_LIBS=$LIBS
16049 LIBS="-lodbc $LIBS"
16050 cat >conftest.$ac_ext <<_ACEOF
16051 /* confdefs.h. */
16052 _ACEOF
16053 cat confdefs.h >>conftest.$ac_ext
16054 cat >>conftest.$ac_ext <<_ACEOF
16055 /* end confdefs.h. */
16057 /* Override any GCC internal prototype to avoid an error.
16058 Use char because int might match the return type of a GCC
16059 builtin and then its argument prototype would still apply. */
16060 #ifdef __cplusplus
16061 extern "C"
16062 #endif
16063 char SQLConnect ();
16065 main ()
16067 return SQLConnect ();
16069 return 0;
16071 _ACEOF
16072 rm -f conftest.$ac_objext conftest$ac_exeext
16073 if { (ac_try="$ac_link"
16074 case "(($ac_try" in
16075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16076 *) ac_try_echo=$ac_try;;
16077 esac
16078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16079 (eval "$ac_link") 2>conftest.er1
16080 ac_status=$?
16081 grep -v '^ *+' conftest.er1 >conftest.err
16082 rm -f conftest.er1
16083 cat conftest.err >&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } && {
16086 test -z "$ac_c_werror_flag" ||
16087 test ! -s conftest.err
16088 } && test -s conftest$ac_exeext &&
16089 $as_test_x conftest$ac_exeext; then
16090 case "$LIBEXT" in
16091 dll) ;;
16092 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'` ;;
16093 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16094 esac
16095 else
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16103 conftest$ac_exeext conftest.$ac_ext
16104 LIBS=$ac_check_soname_save_LIBS
16106 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16107 { echo "$as_me:$LINENO: result: not found" >&5
16108 echo "${ECHO_T}not found" >&6; }
16109 cat >>confdefs.h <<_ACEOF
16110 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16111 _ACEOF
16113 else
16114 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16115 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16117 cat >>confdefs.h <<_ACEOF
16118 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16119 _ACEOF
16125 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16126 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16127 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16128 "$ac_cv_header_soundcard_h" != "yes" -a \
16129 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16130 then
16131 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16135 EXTRACFLAGS=""
16137 if test "x${GCC}" = "xyes"
16138 then
16139 EXTRACFLAGS="-Wall -pipe"
16141 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16142 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16143 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 else
16146 if test "$cross_compiling" = yes; then
16147 ac_cv_c_gcc_strength_bug="yes"
16148 else
16149 cat >conftest.$ac_ext <<_ACEOF
16150 /* confdefs.h. */
16151 _ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 int L[4] = {0,1,2,3};
16157 main ()
16159 static int Array[3];
16160 unsigned int B = 3;
16161 int i;
16162 for(i=0; i<B; i++) Array[i] = i - 3;
16163 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16164 L[i] = 4;
16165 exit( Array[1] != -2 || L[2] != 3)
16167 return 0;
16169 _ACEOF
16170 rm -f conftest$ac_exeext
16171 if { (ac_try="$ac_link"
16172 case "(($ac_try" in
16173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16174 *) ac_try_echo=$ac_try;;
16175 esac
16176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16177 (eval "$ac_link") 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16181 { (case "(($ac_try" in
16182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16183 *) ac_try_echo=$ac_try;;
16184 esac
16185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16186 (eval "$ac_try") 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_cv_c_gcc_strength_bug="no"
16191 else
16192 echo "$as_me: program exited with status $ac_status" >&5
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.$ac_ext >&5
16196 ( exit $ac_status )
16197 ac_cv_c_gcc_strength_bug="yes"
16199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16204 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16205 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16206 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16207 then
16208 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16212 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16213 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16214 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 else
16217 ac_wine_try_cflags_saved=$CFLAGS
16218 CFLAGS="$CFLAGS -fshort-wchar"
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16227 main ()
16231 return 0;
16233 _ACEOF
16234 rm -f conftest.$ac_objext conftest$ac_exeext
16235 if { (ac_try="$ac_link"
16236 case "(($ac_try" in
16237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16238 *) ac_try_echo=$ac_try;;
16239 esac
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_link") 2>conftest.er1
16242 ac_status=$?
16243 grep -v '^ *+' conftest.er1 >conftest.err
16244 rm -f conftest.er1
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } && {
16248 test -z "$ac_c_werror_flag" ||
16249 test ! -s conftest.err
16250 } && test -s conftest$ac_exeext &&
16251 $as_test_x conftest$ac_exeext; then
16252 ac_cv_cflags__fshort_wchar=yes
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16257 ac_cv_cflags__fshort_wchar=no
16260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16261 conftest$ac_exeext conftest.$ac_ext
16262 CFLAGS=$ac_wine_try_cflags_saved
16264 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16265 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16266 if test $ac_cv_cflags__fshort_wchar = yes; then
16268 cat >>confdefs.h <<\_ACEOF
16269 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16270 _ACEOF
16274 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16275 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16276 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 else
16279 ac_wine_try_cflags_saved=$CFLAGS
16280 CFLAGS="$CFLAGS -fno-strict-aliasing"
16281 cat >conftest.$ac_ext <<_ACEOF
16282 /* confdefs.h. */
16283 _ACEOF
16284 cat confdefs.h >>conftest.$ac_ext
16285 cat >>conftest.$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16289 main ()
16293 return 0;
16295 _ACEOF
16296 rm -f conftest.$ac_objext conftest$ac_exeext
16297 if { (ac_try="$ac_link"
16298 case "(($ac_try" in
16299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16300 *) ac_try_echo=$ac_try;;
16301 esac
16302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16303 (eval "$ac_link") 2>conftest.er1
16304 ac_status=$?
16305 grep -v '^ *+' conftest.er1 >conftest.err
16306 rm -f conftest.er1
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } && {
16310 test -z "$ac_c_werror_flag" ||
16311 test ! -s conftest.err
16312 } && test -s conftest$ac_exeext &&
16313 $as_test_x conftest$ac_exeext; then
16314 ac_cv_cflags__fno_strict_aliasing=yes
16315 else
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16319 ac_cv_cflags__fno_strict_aliasing=no
16322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16323 conftest$ac_exeext conftest.$ac_ext
16324 CFLAGS=$ac_wine_try_cflags_saved
16326 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16327 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16328 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16329 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16332 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16333 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16334 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16336 else
16337 ac_wine_try_cflags_saved=$CFLAGS
16338 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16339 cat >conftest.$ac_ext <<_ACEOF
16340 /* confdefs.h. */
16341 _ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16347 main ()
16351 return 0;
16353 _ACEOF
16354 rm -f conftest.$ac_objext conftest$ac_exeext
16355 if { (ac_try="$ac_link"
16356 case "(($ac_try" in
16357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16358 *) ac_try_echo=$ac_try;;
16359 esac
16360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16361 (eval "$ac_link") 2>conftest.er1
16362 ac_status=$?
16363 grep -v '^ *+' conftest.er1 >conftest.err
16364 rm -f conftest.er1
16365 cat conftest.err >&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); } && {
16368 test -z "$ac_c_werror_flag" ||
16369 test ! -s conftest.err
16370 } && test -s conftest$ac_exeext &&
16371 $as_test_x conftest$ac_exeext; then
16372 ac_cv_cflags__Wdeclaration_after_statement=yes
16373 else
16374 echo "$as_me: failed program was:" >&5
16375 sed 's/^/| /' conftest.$ac_ext >&5
16377 ac_cv_cflags__Wdeclaration_after_statement=no
16380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16381 conftest$ac_exeext conftest.$ac_ext
16382 CFLAGS=$ac_wine_try_cflags_saved
16384 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16385 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16386 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16387 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16390 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16391 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16392 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16393 echo $ECHO_N "(cached) $ECHO_C" >&6
16394 else
16395 ac_wine_try_cflags_saved=$CFLAGS
16396 CFLAGS="$CFLAGS -Wwrite-strings"
16397 cat >conftest.$ac_ext <<_ACEOF
16398 /* confdefs.h. */
16399 _ACEOF
16400 cat confdefs.h >>conftest.$ac_ext
16401 cat >>conftest.$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16405 main ()
16409 return 0;
16411 _ACEOF
16412 rm -f conftest.$ac_objext conftest$ac_exeext
16413 if { (ac_try="$ac_link"
16414 case "(($ac_try" in
16415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16417 esac
16418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16419 (eval "$ac_link") 2>conftest.er1
16420 ac_status=$?
16421 grep -v '^ *+' conftest.er1 >conftest.err
16422 rm -f conftest.er1
16423 cat conftest.err >&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } && {
16426 test -z "$ac_c_werror_flag" ||
16427 test ! -s conftest.err
16428 } && test -s conftest$ac_exeext &&
16429 $as_test_x conftest$ac_exeext; then
16430 ac_cv_cflags__Wwrite_strings=yes
16431 else
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16435 ac_cv_cflags__Wwrite_strings=no
16438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16439 conftest$ac_exeext conftest.$ac_ext
16440 CFLAGS=$ac_wine_try_cflags_saved
16442 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16443 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16444 if test $ac_cv_cflags__Wwrite_strings = yes; then
16445 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16448 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16449 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16450 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16451 echo $ECHO_N "(cached) $ECHO_C" >&6
16452 else
16453 ac_wine_try_cflags_saved=$CFLAGS
16454 CFLAGS="$CFLAGS -Wtype-limits"
16455 cat >conftest.$ac_ext <<_ACEOF
16456 /* confdefs.h. */
16457 _ACEOF
16458 cat confdefs.h >>conftest.$ac_ext
16459 cat >>conftest.$ac_ext <<_ACEOF
16460 /* end confdefs.h. */
16463 main ()
16467 return 0;
16469 _ACEOF
16470 rm -f conftest.$ac_objext conftest$ac_exeext
16471 if { (ac_try="$ac_link"
16472 case "(($ac_try" in
16473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16474 *) ac_try_echo=$ac_try;;
16475 esac
16476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16477 (eval "$ac_link") 2>conftest.er1
16478 ac_status=$?
16479 grep -v '^ *+' conftest.er1 >conftest.err
16480 rm -f conftest.er1
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } && {
16484 test -z "$ac_c_werror_flag" ||
16485 test ! -s conftest.err
16486 } && test -s conftest$ac_exeext &&
16487 $as_test_x conftest$ac_exeext; then
16488 ac_cv_cflags__Wtype_limits=yes
16489 else
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16493 ac_cv_cflags__Wtype_limits=no
16496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16497 conftest$ac_exeext conftest.$ac_ext
16498 CFLAGS=$ac_wine_try_cflags_saved
16500 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16501 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16502 if test $ac_cv_cflags__Wtype_limits = yes; then
16503 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16507 saved_CFLAGS="$CFLAGS"
16508 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16509 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16510 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16511 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16512 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 else
16514 cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h. */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 #include <string.h>
16522 main ()
16526 return 0;
16528 _ACEOF
16529 rm -f conftest.$ac_objext
16530 if { (ac_try="$ac_compile"
16531 case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;;
16534 esac
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_compile") 2>conftest.er1
16537 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } && {
16543 test -z "$ac_c_werror_flag" ||
16544 test ! -s conftest.err
16545 } && test -s conftest.$ac_objext; then
16546 ac_cv_c_string_h_warnings=no
16547 else
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5
16551 ac_cv_c_string_h_warnings=yes
16554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16557 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16558 CFLAGS="$saved_CFLAGS"
16559 if test "$ac_cv_c_string_h_warnings" = "no"
16560 then
16561 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16564 BUILTINFLAG=""
16566 saved_CFLAGS="$CFLAGS"
16567 CFLAGS="$CFLAGS -Werror"
16568 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16569 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16570 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 else
16573 cat >conftest.$ac_ext <<_ACEOF
16574 /* confdefs.h. */
16575 _ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16581 main ()
16583 int iswlower(unsigned short);
16585 return 0;
16587 _ACEOF
16588 rm -f conftest.$ac_objext
16589 if { (ac_try="$ac_compile"
16590 case "(($ac_try" in
16591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16592 *) ac_try_echo=$ac_try;;
16593 esac
16594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16595 (eval "$ac_compile") 2>conftest.er1
16596 ac_status=$?
16597 grep -v '^ *+' conftest.er1 >conftest.err
16598 rm -f conftest.er1
16599 cat conftest.err >&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); } && {
16602 test -z "$ac_c_werror_flag" ||
16603 test ! -s conftest.err
16604 } && test -s conftest.$ac_objext; then
16605 ac_cv_c_builtin_wchar_ctype=no
16606 else
16607 echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.$ac_ext >&5
16610 ac_cv_c_builtin_wchar_ctype=yes
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16615 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16616 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16617 CFLAGS="$saved_CFLAGS"
16618 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16619 then
16620 BUILTINFLAG="-fno-builtin"
16625 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16626 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16627 if test "${ac_cv_asm_func_def+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 else
16630 cat >conftest.$ac_ext <<_ACEOF
16631 /* confdefs.h. */
16632 _ACEOF
16633 cat confdefs.h >>conftest.$ac_ext
16634 cat >>conftest.$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16638 main ()
16640 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16642 return 0;
16644 _ACEOF
16645 rm -f conftest.$ac_objext conftest$ac_exeext
16646 if { (ac_try="$ac_link"
16647 case "(($ac_try" in
16648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16649 *) ac_try_echo=$ac_try;;
16650 esac
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_link") 2>conftest.er1
16653 ac_status=$?
16654 grep -v '^ *+' conftest.er1 >conftest.err
16655 rm -f conftest.er1
16656 cat conftest.err >&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest$ac_exeext &&
16662 $as_test_x conftest$ac_exeext; then
16663 ac_cv_asm_func_def=".def"
16664 else
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16668 cat >conftest.$ac_ext <<_ACEOF
16669 /* confdefs.h. */
16670 _ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16676 main ()
16678 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16680 return 0;
16682 _ACEOF
16683 rm -f conftest.$ac_objext conftest$ac_exeext
16684 if { (ac_try="$ac_link"
16685 case "(($ac_try" in
16686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16687 *) ac_try_echo=$ac_try;;
16688 esac
16689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16690 (eval "$ac_link") 2>conftest.er1
16691 ac_status=$?
16692 grep -v '^ *+' conftest.er1 >conftest.err
16693 rm -f conftest.er1
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && {
16697 test -z "$ac_c_werror_flag" ||
16698 test ! -s conftest.err
16699 } && test -s conftest$ac_exeext &&
16700 $as_test_x conftest$ac_exeext; then
16701 ac_cv_asm_func_def=".type @function"
16702 else
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16714 main ()
16716 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16718 return 0;
16720 _ACEOF
16721 rm -f conftest.$ac_objext conftest$ac_exeext
16722 if { (ac_try="$ac_link"
16723 case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16726 esac
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_link") 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest$ac_exeext &&
16738 $as_test_x conftest$ac_exeext; then
16739 ac_cv_asm_func_def=".type 2"
16740 else
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16744 ac_cv_asm_func_def="unknown"
16747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16748 conftest$ac_exeext conftest.$ac_ext
16751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16752 conftest$ac_exeext conftest.$ac_ext
16755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16756 conftest$ac_exeext conftest.$ac_ext
16758 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16759 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16763 case "$ac_cv_asm_func_def" in
16764 ".def")
16765 cat >>confdefs.h <<\_ACEOF
16766 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16767 _ACEOF
16769 ".type @function")
16770 cat >>confdefs.h <<\_ACEOF
16771 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16772 _ACEOF
16774 ".type 2")
16775 cat >>confdefs.h <<\_ACEOF
16776 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16777 _ACEOF
16780 cat >>confdefs.h <<\_ACEOF
16781 #define __ASM_FUNC(name) ""
16782 _ACEOF
16784 esac
16787 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16788 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16789 if test "${ac_cv_c_extern_prefix+set}" = set; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 else
16792 cat >conftest.$ac_ext <<_ACEOF
16793 /* confdefs.h. */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 extern int ac_test;
16800 main ()
16802 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16804 return 0;
16806 _ACEOF
16807 rm -f conftest.$ac_objext conftest$ac_exeext
16808 if { (ac_try="$ac_link"
16809 case "(($ac_try" in
16810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16811 *) ac_try_echo=$ac_try;;
16812 esac
16813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814 (eval "$ac_link") 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } && {
16821 test -z "$ac_c_werror_flag" ||
16822 test ! -s conftest.err
16823 } && test -s conftest$ac_exeext &&
16824 $as_test_x conftest$ac_exeext; then
16825 ac_cv_c_extern_prefix="yes"
16826 else
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16830 ac_cv_c_extern_prefix="no"
16833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16834 conftest$ac_exeext conftest.$ac_ext
16836 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16837 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16841 if test "$ac_cv_c_extern_prefix" = "yes"
16842 then
16843 cat >>confdefs.h <<\_ACEOF
16844 #define __ASM_NAME(name) "_" name
16845 _ACEOF
16847 else
16848 cat >>confdefs.h <<\_ACEOF
16849 #define __ASM_NAME(name) name
16850 _ACEOF
16855 LDPATH=""
16857 case $build_os in
16858 cygwin*|mingw32*)
16859 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16861 darwin*|macosx*)
16863 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16864 then
16865 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16869 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16871 esac
16873 case $host_os in
16874 mingw32*)
16875 CRTLIBS="-lmsvcrt"
16877 SOCKETLIBS="-lws2_32"
16880 esac
16882 MAIN_BINARY="wine-pthread"
16883 case $host_cpu in
16884 *i[3456789]86*)
16885 case $host_os in
16886 linux* | k*bsd*-gnu)
16887 MAIN_BINARY="wine-glibc"
16889 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16891 freebsd*)
16892 MAIN_BINARY="wine-freebsd"
16894 EXTRA_BINARIES="wine-pthread"
16896 esac
16898 esac
16970 for ac_func in \
16971 _pclose \
16972 _popen \
16973 _snprintf \
16974 _spawnvp \
16975 _strdup \
16976 _stricmp \
16977 _strnicmp \
16978 _strtoi64 \
16979 _strtoui64 \
16980 _vsnprintf \
16981 asctime_r \
16982 chsize \
16983 clone \
16984 dlopen \
16985 epoll_create \
16986 ffs \
16987 finite \
16988 fork \
16989 fpclass \
16990 fstatfs \
16991 fstatvfs \
16992 ftruncate \
16993 futimes \
16994 futimesat \
16995 getdirentries \
16996 getopt_long \
16997 getpagesize \
16998 getpwuid \
16999 gettid \
17000 gettimeofday \
17001 getuid \
17002 inet_pton \
17003 kqueue \
17004 lstat \
17005 memmove \
17006 mmap \
17007 pclose \
17008 poll \
17009 popen \
17010 prctl \
17011 pread \
17012 pwrite \
17013 readlink \
17014 rfork \
17015 sched_yield \
17016 select \
17017 setproctitle \
17018 setrlimit \
17019 settimeofday \
17020 sigaltstack \
17021 sigprocmask \
17022 snprintf \
17023 spawnvp \
17024 statfs \
17025 statvfs \
17026 strcasecmp \
17027 strdup \
17028 strerror \
17029 strncasecmp \
17030 strtold \
17031 strtoll \
17032 strtoull \
17033 tcgetattr \
17034 thr_kill2 \
17035 timegm \
17036 usleep \
17037 vsnprintf \
17038 wait4 \
17039 waitpid \
17042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 else
17048 cat >conftest.$ac_ext <<_ACEOF
17049 /* confdefs.h. */
17050 _ACEOF
17051 cat confdefs.h >>conftest.$ac_ext
17052 cat >>conftest.$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17056 #define $ac_func innocuous_$ac_func
17058 /* System header to define __stub macros and hopefully few prototypes,
17059 which can conflict with char $ac_func (); below.
17060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17061 <limits.h> exists even on freestanding compilers. */
17063 #ifdef __STDC__
17064 # include <limits.h>
17065 #else
17066 # include <assert.h>
17067 #endif
17069 #undef $ac_func
17071 /* Override any GCC internal prototype to avoid an error.
17072 Use char because int might match the return type of a GCC
17073 builtin and then its argument prototype would still apply. */
17074 #ifdef __cplusplus
17075 extern "C"
17076 #endif
17077 char $ac_func ();
17078 /* The GNU C library defines this for functions which it implements
17079 to always fail with ENOSYS. Some functions are actually named
17080 something starting with __ and the normal name is an alias. */
17081 #if defined __stub_$ac_func || defined __stub___$ac_func
17082 choke me
17083 #endif
17086 main ()
17088 return $ac_func ();
17090 return 0;
17092 _ACEOF
17093 rm -f conftest.$ac_objext conftest$ac_exeext
17094 if { (ac_try="$ac_link"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17098 esac
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_link") 2>conftest.er1
17101 ac_status=$?
17102 grep -v '^ *+' conftest.er1 >conftest.err
17103 rm -f conftest.er1
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } && {
17107 test -z "$ac_c_werror_flag" ||
17108 test ! -s conftest.err
17109 } && test -s conftest$ac_exeext &&
17110 $as_test_x conftest$ac_exeext; then
17111 eval "$as_ac_var=yes"
17112 else
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17116 eval "$as_ac_var=no"
17119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17120 conftest$ac_exeext conftest.$ac_ext
17122 ac_res=`eval echo '${'$as_ac_var'}'`
17123 { echo "$as_me:$LINENO: result: $ac_res" >&5
17124 echo "${ECHO_T}$ac_res" >&6; }
17125 if test `eval echo '${'$as_ac_var'}'` = yes; then
17126 cat >>confdefs.h <<_ACEOF
17127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17128 _ACEOF
17131 done
17134 if test "$ac_cv_func_dlopen" = no
17135 then
17136 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17137 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17139 echo $ECHO_N "(cached) $ECHO_C" >&6
17140 else
17141 ac_check_lib_save_LIBS=$LIBS
17142 LIBS="-ldl $LIBS"
17143 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */
17145 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17150 /* Override any GCC internal prototype to avoid an error.
17151 Use char because int might match the return type of a GCC
17152 builtin and then its argument prototype would still apply. */
17153 #ifdef __cplusplus
17154 extern "C"
17155 #endif
17156 char dlopen ();
17158 main ()
17160 return dlopen ();
17162 return 0;
17164 _ACEOF
17165 rm -f conftest.$ac_objext conftest$ac_exeext
17166 if { (ac_try="$ac_link"
17167 case "(($ac_try" in
17168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17169 *) ac_try_echo=$ac_try;;
17170 esac
17171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17172 (eval "$ac_link") 2>conftest.er1
17173 ac_status=$?
17174 grep -v '^ *+' conftest.er1 >conftest.err
17175 rm -f conftest.er1
17176 cat conftest.err >&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } && {
17179 test -z "$ac_c_werror_flag" ||
17180 test ! -s conftest.err
17181 } && test -s conftest$ac_exeext &&
17182 $as_test_x conftest$ac_exeext; then
17183 ac_cv_lib_dl_dlopen=yes
17184 else
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.$ac_ext >&5
17188 ac_cv_lib_dl_dlopen=no
17191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17192 conftest$ac_exeext conftest.$ac_ext
17193 LIBS=$ac_check_lib_save_LIBS
17195 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17196 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17197 if test $ac_cv_lib_dl_dlopen = yes; then
17198 cat >>confdefs.h <<\_ACEOF
17199 #define HAVE_DLOPEN 1
17200 _ACEOF
17201 LIBDL="-ldl"
17206 ac_wine_check_funcs_save_LIBS="$LIBS"
17207 LIBS="$LIBS $LIBDL"
17209 for ac_func in dladdr
17211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17216 else
17217 cat >conftest.$ac_ext <<_ACEOF
17218 /* confdefs.h. */
17219 _ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17225 #define $ac_func innocuous_$ac_func
17227 /* System header to define __stub macros and hopefully few prototypes,
17228 which can conflict with char $ac_func (); below.
17229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17230 <limits.h> exists even on freestanding compilers. */
17232 #ifdef __STDC__
17233 # include <limits.h>
17234 #else
17235 # include <assert.h>
17236 #endif
17238 #undef $ac_func
17240 /* Override any GCC internal prototype to avoid an error.
17241 Use char because int might match the return type of a GCC
17242 builtin and then its argument prototype would still apply. */
17243 #ifdef __cplusplus
17244 extern "C"
17245 #endif
17246 char $ac_func ();
17247 /* The GNU C library defines this for functions which it implements
17248 to always fail with ENOSYS. Some functions are actually named
17249 something starting with __ and the normal name is an alias. */
17250 #if defined __stub_$ac_func || defined __stub___$ac_func
17251 choke me
17252 #endif
17255 main ()
17257 return $ac_func ();
17259 return 0;
17261 _ACEOF
17262 rm -f conftest.$ac_objext conftest$ac_exeext
17263 if { (ac_try="$ac_link"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17266 *) ac_try_echo=$ac_try;;
17267 esac
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_link") 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } && {
17276 test -z "$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17278 } && test -s conftest$ac_exeext &&
17279 $as_test_x conftest$ac_exeext; then
17280 eval "$as_ac_var=yes"
17281 else
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.$ac_ext >&5
17285 eval "$as_ac_var=no"
17288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17289 conftest$ac_exeext conftest.$ac_ext
17291 ac_res=`eval echo '${'$as_ac_var'}'`
17292 { echo "$as_me:$LINENO: result: $ac_res" >&5
17293 echo "${ECHO_T}$ac_res" >&6; }
17294 if test `eval echo '${'$as_ac_var'}'` = yes; then
17295 cat >>confdefs.h <<_ACEOF
17296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17297 _ACEOF
17300 done
17302 LIBS="$ac_wine_check_funcs_save_LIBS"
17304 if test "$ac_cv_func_poll" = no
17305 then
17306 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17307 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17308 if test "${ac_cv_lib_poll_poll+set}" = set; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 else
17311 ac_check_lib_save_LIBS=$LIBS
17312 LIBS="-lpoll $LIBS"
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17320 /* Override any GCC internal prototype to avoid an error.
17321 Use char because int might match the return type of a GCC
17322 builtin and then its argument prototype would still apply. */
17323 #ifdef __cplusplus
17324 extern "C"
17325 #endif
17326 char poll ();
17328 main ()
17330 return poll ();
17332 return 0;
17334 _ACEOF
17335 rm -f conftest.$ac_objext conftest$ac_exeext
17336 if { (ac_try="$ac_link"
17337 case "(($ac_try" in
17338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17340 esac
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_link") 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && {
17349 test -z "$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 } && test -s conftest$ac_exeext &&
17352 $as_test_x conftest$ac_exeext; then
17353 ac_cv_lib_poll_poll=yes
17354 else
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17358 ac_cv_lib_poll_poll=no
17361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17362 conftest$ac_exeext conftest.$ac_ext
17363 LIBS=$ac_check_lib_save_LIBS
17365 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17366 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17367 if test $ac_cv_lib_poll_poll = yes; then
17368 cat >>confdefs.h <<\_ACEOF
17369 #define HAVE_POLL 1
17370 _ACEOF
17371 LIBPOLL="-lpoll"
17377 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17378 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17379 if test "${ac_cv_search_gethostbyname+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17381 else
17382 ac_func_search_save_LIBS=$LIBS
17383 cat >conftest.$ac_ext <<_ACEOF
17384 /* confdefs.h. */
17385 _ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17390 /* Override any GCC internal prototype to avoid an error.
17391 Use char because int might match the return type of a GCC
17392 builtin and then its argument prototype would still apply. */
17393 #ifdef __cplusplus
17394 extern "C"
17395 #endif
17396 char gethostbyname ();
17398 main ()
17400 return gethostbyname ();
17402 return 0;
17404 _ACEOF
17405 for ac_lib in '' nsl; do
17406 if test -z "$ac_lib"; then
17407 ac_res="none required"
17408 else
17409 ac_res=-l$ac_lib
17410 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17412 rm -f conftest.$ac_objext conftest$ac_exeext
17413 if { (ac_try="$ac_link"
17414 case "(($ac_try" in
17415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17416 *) ac_try_echo=$ac_try;;
17417 esac
17418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17419 (eval "$ac_link") 2>conftest.er1
17420 ac_status=$?
17421 grep -v '^ *+' conftest.er1 >conftest.err
17422 rm -f conftest.er1
17423 cat conftest.err >&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } && {
17426 test -z "$ac_c_werror_flag" ||
17427 test ! -s conftest.err
17428 } && test -s conftest$ac_exeext &&
17429 $as_test_x conftest$ac_exeext; then
17430 ac_cv_search_gethostbyname=$ac_res
17431 else
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.$ac_ext >&5
17438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17439 conftest$ac_exeext
17440 if test "${ac_cv_search_gethostbyname+set}" = set; then
17441 break
17443 done
17444 if test "${ac_cv_search_gethostbyname+set}" = set; then
17446 else
17447 ac_cv_search_gethostbyname=no
17449 rm conftest.$ac_ext
17450 LIBS=$ac_func_search_save_LIBS
17452 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17453 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17454 ac_res=$ac_cv_search_gethostbyname
17455 if test "$ac_res" != no; then
17456 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17461 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17462 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17463 if test "${ac_cv_search_connect+set}" = set; then
17464 echo $ECHO_N "(cached) $ECHO_C" >&6
17465 else
17466 ac_func_search_save_LIBS=$LIBS
17467 cat >conftest.$ac_ext <<_ACEOF
17468 /* confdefs.h. */
17469 _ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17474 /* Override any GCC internal prototype to avoid an error.
17475 Use char because int might match the return type of a GCC
17476 builtin and then its argument prototype would still apply. */
17477 #ifdef __cplusplus
17478 extern "C"
17479 #endif
17480 char connect ();
17482 main ()
17484 return connect ();
17486 return 0;
17488 _ACEOF
17489 for ac_lib in '' socket; do
17490 if test -z "$ac_lib"; then
17491 ac_res="none required"
17492 else
17493 ac_res=-l$ac_lib
17494 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17496 rm -f conftest.$ac_objext conftest$ac_exeext
17497 if { (ac_try="$ac_link"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17501 esac
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_link") 2>conftest.er1
17504 ac_status=$?
17505 grep -v '^ *+' conftest.er1 >conftest.err
17506 rm -f conftest.er1
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest$ac_exeext &&
17513 $as_test_x conftest$ac_exeext; then
17514 ac_cv_search_connect=$ac_res
17515 else
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17523 conftest$ac_exeext
17524 if test "${ac_cv_search_connect+set}" = set; then
17525 break
17527 done
17528 if test "${ac_cv_search_connect+set}" = set; then
17530 else
17531 ac_cv_search_connect=no
17533 rm conftest.$ac_ext
17534 LIBS=$ac_func_search_save_LIBS
17536 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17537 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17538 ac_res=$ac_cv_search_connect
17539 if test "$ac_res" != no; then
17540 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17545 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17546 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17547 if test "${ac_cv_search_inet_aton+set}" = set; then
17548 echo $ECHO_N "(cached) $ECHO_C" >&6
17549 else
17550 ac_func_search_save_LIBS=$LIBS
17551 cat >conftest.$ac_ext <<_ACEOF
17552 /* confdefs.h. */
17553 _ACEOF
17554 cat confdefs.h >>conftest.$ac_ext
17555 cat >>conftest.$ac_ext <<_ACEOF
17556 /* end confdefs.h. */
17558 /* Override any GCC internal prototype to avoid an error.
17559 Use char because int might match the return type of a GCC
17560 builtin and then its argument prototype would still apply. */
17561 #ifdef __cplusplus
17562 extern "C"
17563 #endif
17564 char inet_aton ();
17566 main ()
17568 return inet_aton ();
17570 return 0;
17572 _ACEOF
17573 for ac_lib in '' resolv; do
17574 if test -z "$ac_lib"; then
17575 ac_res="none required"
17576 else
17577 ac_res=-l$ac_lib
17578 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17580 rm -f conftest.$ac_objext conftest$ac_exeext
17581 if { (ac_try="$ac_link"
17582 case "(($ac_try" in
17583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17584 *) ac_try_echo=$ac_try;;
17585 esac
17586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17587 (eval "$ac_link") 2>conftest.er1
17588 ac_status=$?
17589 grep -v '^ *+' conftest.er1 >conftest.err
17590 rm -f conftest.er1
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } && {
17594 test -z "$ac_c_werror_flag" ||
17595 test ! -s conftest.err
17596 } && test -s conftest$ac_exeext &&
17597 $as_test_x conftest$ac_exeext; then
17598 ac_cv_search_inet_aton=$ac_res
17599 else
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17607 conftest$ac_exeext
17608 if test "${ac_cv_search_inet_aton+set}" = set; then
17609 break
17611 done
17612 if test "${ac_cv_search_inet_aton+set}" = set; then
17614 else
17615 ac_cv_search_inet_aton=no
17617 rm conftest.$ac_ext
17618 LIBS=$ac_func_search_save_LIBS
17620 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17621 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17622 ac_res=$ac_cv_search_inet_aton
17623 if test "$ac_res" != no; then
17624 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17637 for ac_func in \
17638 getaddrinfo \
17639 getnameinfo \
17640 getnetbyname \
17641 getprotobyname \
17642 getprotobynumber \
17643 getservbyport \
17644 inet_network \
17645 sendmsg \
17648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17653 else
17654 cat >conftest.$ac_ext <<_ACEOF
17655 /* confdefs.h. */
17656 _ACEOF
17657 cat confdefs.h >>conftest.$ac_ext
17658 cat >>conftest.$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17662 #define $ac_func innocuous_$ac_func
17664 /* System header to define __stub macros and hopefully few prototypes,
17665 which can conflict with char $ac_func (); below.
17666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17667 <limits.h> exists even on freestanding compilers. */
17669 #ifdef __STDC__
17670 # include <limits.h>
17671 #else
17672 # include <assert.h>
17673 #endif
17675 #undef $ac_func
17677 /* Override any GCC internal prototype to avoid an error.
17678 Use char because int might match the return type of a GCC
17679 builtin and then its argument prototype would still apply. */
17680 #ifdef __cplusplus
17681 extern "C"
17682 #endif
17683 char $ac_func ();
17684 /* The GNU C library defines this for functions which it implements
17685 to always fail with ENOSYS. Some functions are actually named
17686 something starting with __ and the normal name is an alias. */
17687 #if defined __stub_$ac_func || defined __stub___$ac_func
17688 choke me
17689 #endif
17692 main ()
17694 return $ac_func ();
17696 return 0;
17698 _ACEOF
17699 rm -f conftest.$ac_objext conftest$ac_exeext
17700 if { (ac_try="$ac_link"
17701 case "(($ac_try" in
17702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17703 *) ac_try_echo=$ac_try;;
17704 esac
17705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17706 (eval "$ac_link") 2>conftest.er1
17707 ac_status=$?
17708 grep -v '^ *+' conftest.er1 >conftest.err
17709 rm -f conftest.er1
17710 cat conftest.err >&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } && {
17713 test -z "$ac_c_werror_flag" ||
17714 test ! -s conftest.err
17715 } && test -s conftest$ac_exeext &&
17716 $as_test_x conftest$ac_exeext; then
17717 eval "$as_ac_var=yes"
17718 else
17719 echo "$as_me: failed program was:" >&5
17720 sed 's/^/| /' conftest.$ac_ext >&5
17722 eval "$as_ac_var=no"
17725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17726 conftest$ac_exeext conftest.$ac_ext
17728 ac_res=`eval echo '${'$as_ac_var'}'`
17729 { echo "$as_me:$LINENO: result: $ac_res" >&5
17730 echo "${ECHO_T}$ac_res" >&6; }
17731 if test `eval echo '${'$as_ac_var'}'` = yes; then
17732 cat >>confdefs.h <<_ACEOF
17733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17734 _ACEOF
17737 done
17741 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17742 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17743 if test "${ac_cv_c_const+set}" = set; then
17744 echo $ECHO_N "(cached) $ECHO_C" >&6
17745 else
17746 cat >conftest.$ac_ext <<_ACEOF
17747 /* confdefs.h. */
17748 _ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17754 main ()
17756 /* FIXME: Include the comments suggested by Paul. */
17757 #ifndef __cplusplus
17758 /* Ultrix mips cc rejects this. */
17759 typedef int charset[2];
17760 const charset cs;
17761 /* SunOS 4.1.1 cc rejects this. */
17762 char const *const *pcpcc;
17763 char **ppc;
17764 /* NEC SVR4.0.2 mips cc rejects this. */
17765 struct point {int x, y;};
17766 static struct point const zero = {0,0};
17767 /* AIX XL C 1.02.0.0 rejects this.
17768 It does not let you subtract one const X* pointer from another in
17769 an arm of an if-expression whose if-part is not a constant
17770 expression */
17771 const char *g = "string";
17772 pcpcc = &g + (g ? g-g : 0);
17773 /* HPUX 7.0 cc rejects these. */
17774 ++pcpcc;
17775 ppc = (char**) pcpcc;
17776 pcpcc = (char const *const *) ppc;
17777 { /* SCO 3.2v4 cc rejects this. */
17778 char *t;
17779 char const *s = 0 ? (char *) 0 : (char const *) 0;
17781 *t++ = 0;
17782 if (s) return 0;
17784 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17785 int x[] = {25, 17};
17786 const int *foo = &x[0];
17787 ++foo;
17789 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17790 typedef const int *iptr;
17791 iptr p = 0;
17792 ++p;
17794 { /* AIX XL C 1.02.0.0 rejects this saying
17795 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17796 struct s { int j; const int *ap[3]; };
17797 struct s *b; b->j = 5;
17799 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17800 const int foo = 10;
17801 if (!foo) return 0;
17803 return !cs[0] && !zero.x;
17804 #endif
17807 return 0;
17809 _ACEOF
17810 rm -f conftest.$ac_objext
17811 if { (ac_try="$ac_compile"
17812 case "(($ac_try" in
17813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17815 esac
17816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17817 (eval "$ac_compile") 2>conftest.er1
17818 ac_status=$?
17819 grep -v '^ *+' conftest.er1 >conftest.err
17820 rm -f conftest.er1
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } && {
17824 test -z "$ac_c_werror_flag" ||
17825 test ! -s conftest.err
17826 } && test -s conftest.$ac_objext; then
17827 ac_cv_c_const=yes
17828 else
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17832 ac_cv_c_const=no
17835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17838 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17839 if test $ac_cv_c_const = no; then
17841 cat >>confdefs.h <<\_ACEOF
17842 #define const
17843 _ACEOF
17847 { echo "$as_me:$LINENO: checking for inline" >&5
17848 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17849 if test "${ac_cv_c_inline+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 else
17852 ac_cv_c_inline=no
17853 for ac_kw in inline __inline__ __inline; do
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 #ifndef __cplusplus
17861 typedef int foo_t;
17862 static $ac_kw foo_t static_foo () {return 0; }
17863 $ac_kw foo_t foo () {return 0; }
17864 #endif
17866 _ACEOF
17867 rm -f conftest.$ac_objext
17868 if { (ac_try="$ac_compile"
17869 case "(($ac_try" in
17870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17871 *) ac_try_echo=$ac_try;;
17872 esac
17873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17874 (eval "$ac_compile") 2>conftest.er1
17875 ac_status=$?
17876 grep -v '^ *+' conftest.er1 >conftest.err
17877 rm -f conftest.er1
17878 cat conftest.err >&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); } && {
17881 test -z "$ac_c_werror_flag" ||
17882 test ! -s conftest.err
17883 } && test -s conftest.$ac_objext; then
17884 ac_cv_c_inline=$ac_kw
17885 else
17886 echo "$as_me: failed program was:" >&5
17887 sed 's/^/| /' conftest.$ac_ext >&5
17892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893 test "$ac_cv_c_inline" != no && break
17894 done
17897 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17898 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17901 case $ac_cv_c_inline in
17902 inline | yes) ;;
17904 case $ac_cv_c_inline in
17905 no) ac_val=;;
17906 *) ac_val=$ac_cv_c_inline;;
17907 esac
17908 cat >>confdefs.h <<_ACEOF
17909 #ifndef __cplusplus
17910 #define inline $ac_val
17911 #endif
17912 _ACEOF
17914 esac
17916 { echo "$as_me:$LINENO: checking for mode_t" >&5
17917 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17918 if test "${ac_cv_type_mode_t+set}" = set; then
17919 echo $ECHO_N "(cached) $ECHO_C" >&6
17920 else
17921 cat >conftest.$ac_ext <<_ACEOF
17922 /* confdefs.h. */
17923 _ACEOF
17924 cat confdefs.h >>conftest.$ac_ext
17925 cat >>conftest.$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927 $ac_includes_default
17928 typedef mode_t ac__type_new_;
17930 main ()
17932 if ((ac__type_new_ *) 0)
17933 return 0;
17934 if (sizeof (ac__type_new_))
17935 return 0;
17937 return 0;
17939 _ACEOF
17940 rm -f conftest.$ac_objext
17941 if { (ac_try="$ac_compile"
17942 case "(($ac_try" in
17943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17944 *) ac_try_echo=$ac_try;;
17945 esac
17946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17947 (eval "$ac_compile") 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } && {
17954 test -z "$ac_c_werror_flag" ||
17955 test ! -s conftest.err
17956 } && test -s conftest.$ac_objext; then
17957 ac_cv_type_mode_t=yes
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17962 ac_cv_type_mode_t=no
17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17968 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17969 if test $ac_cv_type_mode_t = yes; then
17971 cat >>confdefs.h <<_ACEOF
17972 #define HAVE_MODE_T 1
17973 _ACEOF
17977 { echo "$as_me:$LINENO: checking for off_t" >&5
17978 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17979 if test "${ac_cv_type_off_t+set}" = set; then
17980 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 else
17982 cat >conftest.$ac_ext <<_ACEOF
17983 /* confdefs.h. */
17984 _ACEOF
17985 cat confdefs.h >>conftest.$ac_ext
17986 cat >>conftest.$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17988 $ac_includes_default
17989 typedef off_t ac__type_new_;
17991 main ()
17993 if ((ac__type_new_ *) 0)
17994 return 0;
17995 if (sizeof (ac__type_new_))
17996 return 0;
17998 return 0;
18000 _ACEOF
18001 rm -f conftest.$ac_objext
18002 if { (ac_try="$ac_compile"
18003 case "(($ac_try" in
18004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18005 *) ac_try_echo=$ac_try;;
18006 esac
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_compile") 2>conftest.er1
18009 ac_status=$?
18010 grep -v '^ *+' conftest.er1 >conftest.err
18011 rm -f conftest.er1
18012 cat conftest.err >&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } && {
18015 test -z "$ac_c_werror_flag" ||
18016 test ! -s conftest.err
18017 } && test -s conftest.$ac_objext; then
18018 ac_cv_type_off_t=yes
18019 else
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18023 ac_cv_type_off_t=no
18026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18029 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18030 if test $ac_cv_type_off_t = yes; then
18032 cat >>confdefs.h <<_ACEOF
18033 #define HAVE_OFF_T 1
18034 _ACEOF
18038 { echo "$as_me:$LINENO: checking for pid_t" >&5
18039 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18040 if test "${ac_cv_type_pid_t+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 else
18043 cat >conftest.$ac_ext <<_ACEOF
18044 /* confdefs.h. */
18045 _ACEOF
18046 cat confdefs.h >>conftest.$ac_ext
18047 cat >>conftest.$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18049 $ac_includes_default
18050 typedef pid_t ac__type_new_;
18052 main ()
18054 if ((ac__type_new_ *) 0)
18055 return 0;
18056 if (sizeof (ac__type_new_))
18057 return 0;
18059 return 0;
18061 _ACEOF
18062 rm -f conftest.$ac_objext
18063 if { (ac_try="$ac_compile"
18064 case "(($ac_try" in
18065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18066 *) ac_try_echo=$ac_try;;
18067 esac
18068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18069 (eval "$ac_compile") 2>conftest.er1
18070 ac_status=$?
18071 grep -v '^ *+' conftest.er1 >conftest.err
18072 rm -f conftest.er1
18073 cat conftest.err >&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } && {
18076 test -z "$ac_c_werror_flag" ||
18077 test ! -s conftest.err
18078 } && test -s conftest.$ac_objext; then
18079 ac_cv_type_pid_t=yes
18080 else
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ac_cv_type_pid_t=no
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18089 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18090 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18091 if test $ac_cv_type_pid_t = yes; then
18093 cat >>confdefs.h <<_ACEOF
18094 #define HAVE_PID_T 1
18095 _ACEOF
18099 { echo "$as_me:$LINENO: checking for size_t" >&5
18100 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18101 if test "${ac_cv_type_size_t+set}" = set; then
18102 echo $ECHO_N "(cached) $ECHO_C" >&6
18103 else
18104 cat >conftest.$ac_ext <<_ACEOF
18105 /* confdefs.h. */
18106 _ACEOF
18107 cat confdefs.h >>conftest.$ac_ext
18108 cat >>conftest.$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18110 $ac_includes_default
18111 typedef size_t ac__type_new_;
18113 main ()
18115 if ((ac__type_new_ *) 0)
18116 return 0;
18117 if (sizeof (ac__type_new_))
18118 return 0;
18120 return 0;
18122 _ACEOF
18123 rm -f conftest.$ac_objext
18124 if { (ac_try="$ac_compile"
18125 case "(($ac_try" in
18126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18127 *) ac_try_echo=$ac_try;;
18128 esac
18129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18130 (eval "$ac_compile") 2>conftest.er1
18131 ac_status=$?
18132 grep -v '^ *+' conftest.er1 >conftest.err
18133 rm -f conftest.er1
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } && {
18137 test -z "$ac_c_werror_flag" ||
18138 test ! -s conftest.err
18139 } && test -s conftest.$ac_objext; then
18140 ac_cv_type_size_t=yes
18141 else
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18145 ac_cv_type_size_t=no
18148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18151 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18152 if test $ac_cv_type_size_t = yes; then
18154 cat >>confdefs.h <<_ACEOF
18155 #define HAVE_SIZE_T 1
18156 _ACEOF
18160 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18161 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18162 if test "${ac_cv_type_ssize_t+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18165 cat >conftest.$ac_ext <<_ACEOF
18166 /* confdefs.h. */
18167 _ACEOF
18168 cat confdefs.h >>conftest.$ac_ext
18169 cat >>conftest.$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171 $ac_includes_default
18172 typedef ssize_t ac__type_new_;
18174 main ()
18176 if ((ac__type_new_ *) 0)
18177 return 0;
18178 if (sizeof (ac__type_new_))
18179 return 0;
18181 return 0;
18183 _ACEOF
18184 rm -f conftest.$ac_objext
18185 if { (ac_try="$ac_compile"
18186 case "(($ac_try" in
18187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18188 *) ac_try_echo=$ac_try;;
18189 esac
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_compile") 2>conftest.er1
18192 ac_status=$?
18193 grep -v '^ *+' conftest.er1 >conftest.err
18194 rm -f conftest.er1
18195 cat conftest.err >&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } && {
18198 test -z "$ac_c_werror_flag" ||
18199 test ! -s conftest.err
18200 } && test -s conftest.$ac_objext; then
18201 ac_cv_type_ssize_t=yes
18202 else
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18206 ac_cv_type_ssize_t=no
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18212 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18213 if test $ac_cv_type_ssize_t = yes; then
18215 cat >>confdefs.h <<_ACEOF
18216 #define HAVE_SSIZE_T 1
18217 _ACEOF
18221 { echo "$as_me:$LINENO: checking for long long" >&5
18222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18223 if test "${ac_cv_type_long_long+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 else
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18233 typedef long long ac__type_new_;
18235 main ()
18237 if ((ac__type_new_ *) 0)
18238 return 0;
18239 if (sizeof (ac__type_new_))
18240 return 0;
18242 return 0;
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18250 esac
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18253 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18262 ac_cv_type_long_long=yes
18263 else
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.$ac_ext >&5
18267 ac_cv_type_long_long=no
18270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18274 if test $ac_cv_type_long_long = yes; then
18276 cat >>confdefs.h <<_ACEOF
18277 #define HAVE_LONG_LONG 1
18278 _ACEOF
18282 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18283 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18284 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 else
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 typedef fsblkcnt_t ac__type_new_;
18296 main ()
18298 if ((ac__type_new_ *) 0)
18299 return 0;
18300 if (sizeof (ac__type_new_))
18301 return 0;
18303 return 0;
18305 _ACEOF
18306 rm -f conftest.$ac_objext
18307 if { (ac_try="$ac_compile"
18308 case "(($ac_try" in
18309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18310 *) ac_try_echo=$ac_try;;
18311 esac
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_compile") 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_c_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest.$ac_objext; then
18323 ac_cv_type_fsblkcnt_t=yes
18324 else
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18328 ac_cv_type_fsblkcnt_t=no
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18334 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18335 if test $ac_cv_type_fsblkcnt_t = yes; then
18337 cat >>confdefs.h <<_ACEOF
18338 #define HAVE_FSBLKCNT_T 1
18339 _ACEOF
18343 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18344 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18345 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 else
18348 cat >conftest.$ac_ext <<_ACEOF
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 $ac_includes_default
18355 typedef fsfilcnt_t ac__type_new_;
18357 main ()
18359 if ((ac__type_new_ *) 0)
18360 return 0;
18361 if (sizeof (ac__type_new_))
18362 return 0;
18364 return 0;
18366 _ACEOF
18367 rm -f conftest.$ac_objext
18368 if { (ac_try="$ac_compile"
18369 case "(($ac_try" in
18370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18371 *) ac_try_echo=$ac_try;;
18372 esac
18373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18374 (eval "$ac_compile") 2>conftest.er1
18375 ac_status=$?
18376 grep -v '^ *+' conftest.er1 >conftest.err
18377 rm -f conftest.er1
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } && {
18381 test -z "$ac_c_werror_flag" ||
18382 test ! -s conftest.err
18383 } && test -s conftest.$ac_objext; then
18384 ac_cv_type_fsfilcnt_t=yes
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18389 ac_cv_type_fsfilcnt_t=no
18392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18395 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18396 if test $ac_cv_type_fsfilcnt_t = yes; then
18398 cat >>confdefs.h <<_ACEOF
18399 #define HAVE_FSFILCNT_T 1
18400 _ACEOF
18405 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18406 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18407 if test "${ac_cv_type_sigset_t+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410 cat >conftest.$ac_ext <<_ACEOF
18411 /* confdefs.h. */
18412 _ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 #include <signal.h>
18418 typedef sigset_t ac__type_new_;
18420 main ()
18422 if ((ac__type_new_ *) 0)
18423 return 0;
18424 if (sizeof (ac__type_new_))
18425 return 0;
18427 return 0;
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18435 esac
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18438 ac_status=$?
18439 grep -v '^ *+' conftest.er1 >conftest.err
18440 rm -f conftest.er1
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 ac_cv_type_sigset_t=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 ac_cv_type_sigset_t=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18458 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18459 if test $ac_cv_type_sigset_t = yes; then
18461 cat >>confdefs.h <<_ACEOF
18462 #define HAVE_SIGSET_T 1
18463 _ACEOF
18468 { echo "$as_me:$LINENO: checking for request_sense" >&5
18469 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18470 if test "${ac_cv_type_request_sense+set}" = set; then
18471 echo $ECHO_N "(cached) $ECHO_C" >&6
18472 else
18473 cat >conftest.$ac_ext <<_ACEOF
18474 /* confdefs.h. */
18475 _ACEOF
18476 cat confdefs.h >>conftest.$ac_ext
18477 cat >>conftest.$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18479 #include <linux/cdrom.h>
18481 typedef request_sense ac__type_new_;
18483 main ()
18485 if ((ac__type_new_ *) 0)
18486 return 0;
18487 if (sizeof (ac__type_new_))
18488 return 0;
18490 return 0;
18492 _ACEOF
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18498 esac
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18501 ac_status=$?
18502 grep -v '^ *+' conftest.er1 >conftest.err
18503 rm -f conftest.er1
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_c_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 ac_cv_type_request_sense=yes
18511 else
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18515 ac_cv_type_request_sense=no
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18521 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18522 if test $ac_cv_type_request_sense = yes; then
18524 cat >>confdefs.h <<_ACEOF
18525 #define HAVE_REQUEST_SENSE 1
18526 _ACEOF
18532 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18533 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18534 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 else
18537 cat >conftest.$ac_ext <<_ACEOF
18538 /* confdefs.h. */
18539 _ACEOF
18540 cat confdefs.h >>conftest.$ac_ext
18541 cat >>conftest.$ac_ext <<_ACEOF
18542 /* end confdefs.h. */
18543 #ifdef HAVE_LINUX_INPUT_H
18544 #include <linux/input.h>
18545 #endif
18548 main ()
18550 static struct ff_effect ac_aggr;
18551 if (ac_aggr.direction)
18552 return 0;
18554 return 0;
18556 _ACEOF
18557 rm -f conftest.$ac_objext
18558 if { (ac_try="$ac_compile"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18562 esac
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_compile") 2>conftest.er1
18565 ac_status=$?
18566 grep -v '^ *+' conftest.er1 >conftest.err
18567 rm -f conftest.er1
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } && {
18571 test -z "$ac_c_werror_flag" ||
18572 test ! -s conftest.err
18573 } && test -s conftest.$ac_objext; then
18574 ac_cv_member_struct_ff_effect_direction=yes
18575 else
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18579 cat >conftest.$ac_ext <<_ACEOF
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 #ifdef HAVE_LINUX_INPUT_H
18586 #include <linux/input.h>
18587 #endif
18590 main ()
18592 static struct ff_effect ac_aggr;
18593 if (sizeof ac_aggr.direction)
18594 return 0;
18596 return 0;
18598 _ACEOF
18599 rm -f conftest.$ac_objext
18600 if { (ac_try="$ac_compile"
18601 case "(($ac_try" in
18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18603 *) ac_try_echo=$ac_try;;
18604 esac
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18606 (eval "$ac_compile") 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } && {
18613 test -z "$ac_c_werror_flag" ||
18614 test ! -s conftest.err
18615 } && test -s conftest.$ac_objext; then
18616 ac_cv_member_struct_ff_effect_direction=yes
18617 else
18618 echo "$as_me: failed program was:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18621 ac_cv_member_struct_ff_effect_direction=no
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18630 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18631 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18633 cat >>confdefs.h <<_ACEOF
18634 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18635 _ACEOF
18641 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18642 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18643 if test "${wine_cv_have_sigaddset+set}" = set; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 else
18646 cat >conftest.$ac_ext <<_ACEOF
18647 /* confdefs.h. */
18648 _ACEOF
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 #include <signal.h>
18654 main ()
18656 sigset_t set; sigaddset(&set,SIGTERM);
18658 return 0;
18660 _ACEOF
18661 rm -f conftest.$ac_objext conftest$ac_exeext
18662 if { (ac_try="$ac_link"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18666 esac
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_link") 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest$ac_exeext &&
18678 $as_test_x conftest$ac_exeext; then
18679 wine_cv_have_sigaddset=yes
18680 else
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18684 wine_cv_have_sigaddset=no
18687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18688 conftest$ac_exeext conftest.$ac_ext
18690 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18691 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18692 if test "$wine_cv_have_sigaddset" = "yes"
18693 then
18695 cat >>confdefs.h <<\_ACEOF
18696 #define HAVE_SIGADDSET 1
18697 _ACEOF
18702 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18703 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18704 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 else
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 #include <netdb.h>
18715 main ()
18718 char *name=0;
18719 struct hostent he;
18720 struct hostent *result;
18721 char *buf=0;
18722 int bufsize=0;
18723 int res,errnr;
18724 char *addr=0;
18725 int addrlen=0;
18726 int addrtype=0;
18727 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18728 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18731 return 0;
18733 _ACEOF
18734 rm -f conftest.$ac_objext conftest$ac_exeext
18735 if { (ac_try="$ac_link"
18736 case "(($ac_try" in
18737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18738 *) ac_try_echo=$ac_try;;
18739 esac
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_link") 2>conftest.er1
18742 ac_status=$?
18743 grep -v '^ *+' conftest.er1 >conftest.err
18744 rm -f conftest.er1
18745 cat conftest.err >&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_c_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest$ac_exeext &&
18751 $as_test_x conftest$ac_exeext; then
18752 wine_cv_linux_gethostbyname_r_6=yes
18753 else
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18757 wine_cv_linux_gethostbyname_r_6=no
18761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18762 conftest$ac_exeext conftest.$ac_ext
18765 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18766 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18767 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18768 then
18770 cat >>confdefs.h <<\_ACEOF
18771 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18772 _ACEOF
18776 if test "$ac_cv_header_linux_joystick_h" = "yes"
18777 then
18778 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18779 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18780 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18781 echo $ECHO_N "(cached) $ECHO_C" >&6
18782 else
18783 cat >conftest.$ac_ext <<_ACEOF
18784 /* confdefs.h. */
18785 _ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18790 #include <sys/ioctl.h>
18791 #include <sys/types.h>
18792 #include <linux/joystick.h>
18794 struct js_event blub;
18795 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18796 #error "no 2.2 header"
18797 #endif
18800 main ()
18802 /*empty*/
18804 return 0;
18806 _ACEOF
18807 rm -f conftest.$ac_objext
18808 if { (ac_try="$ac_compile"
18809 case "(($ac_try" in
18810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18811 *) ac_try_echo=$ac_try;;
18812 esac
18813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18814 (eval "$ac_compile") 2>conftest.er1
18815 ac_status=$?
18816 grep -v '^ *+' conftest.er1 >conftest.err
18817 rm -f conftest.er1
18818 cat conftest.err >&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } && {
18821 test -z "$ac_c_werror_flag" ||
18822 test ! -s conftest.err
18823 } && test -s conftest.$ac_objext; then
18824 wine_cv_linux_joystick_22_api=yes
18825 else
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18829 wine_cv_linux_joystick_22_api=no
18832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18836 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18837 if test "$wine_cv_linux_joystick_22_api" = "yes"
18838 then
18840 cat >>confdefs.h <<\_ACEOF
18841 #define HAVE_LINUX_22_JOYSTICK_API 1
18842 _ACEOF
18848 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18849 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18850 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18851 echo $ECHO_N "(cached) $ECHO_C" >&6
18852 else
18853 cat >conftest.$ac_ext <<_ACEOF
18854 /* confdefs.h. */
18855 _ACEOF
18856 cat confdefs.h >>conftest.$ac_ext
18857 cat >>conftest.$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18859 #include <sys/types.h>
18860 #ifdef HAVE_SYS_PARAM_H
18861 # include <sys/param.h>
18862 #endif
18863 #ifdef HAVE_SYS_MOUNT_H
18864 # include <sys/mount.h>
18865 #endif
18866 #ifdef HAVE_SYS_VFS_H
18867 # include <sys/vfs.h>
18868 #endif
18869 #ifdef HAVE_SYS_STATFS_H
18870 # include <sys/statfs.h>
18871 #endif
18874 main ()
18876 static struct statfs ac_aggr;
18877 if (ac_aggr.f_bfree)
18878 return 0;
18880 return 0;
18882 _ACEOF
18883 rm -f conftest.$ac_objext
18884 if { (ac_try="$ac_compile"
18885 case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18888 esac
18889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18890 (eval "$ac_compile") 2>conftest.er1
18891 ac_status=$?
18892 grep -v '^ *+' conftest.er1 >conftest.err
18893 rm -f conftest.er1
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } && {
18897 test -z "$ac_c_werror_flag" ||
18898 test ! -s conftest.err
18899 } && test -s conftest.$ac_objext; then
18900 ac_cv_member_struct_statfs_f_bfree=yes
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #include <sys/types.h>
18912 #ifdef HAVE_SYS_PARAM_H
18913 # include <sys/param.h>
18914 #endif
18915 #ifdef HAVE_SYS_MOUNT_H
18916 # include <sys/mount.h>
18917 #endif
18918 #ifdef HAVE_SYS_VFS_H
18919 # include <sys/vfs.h>
18920 #endif
18921 #ifdef HAVE_SYS_STATFS_H
18922 # include <sys/statfs.h>
18923 #endif
18926 main ()
18928 static struct statfs ac_aggr;
18929 if (sizeof ac_aggr.f_bfree)
18930 return 0;
18932 return 0;
18934 _ACEOF
18935 rm -f conftest.$ac_objext
18936 if { (ac_try="$ac_compile"
18937 case "(($ac_try" in
18938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18939 *) ac_try_echo=$ac_try;;
18940 esac
18941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18942 (eval "$ac_compile") 2>conftest.er1
18943 ac_status=$?
18944 grep -v '^ *+' conftest.er1 >conftest.err
18945 rm -f conftest.er1
18946 cat conftest.err >&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } && {
18949 test -z "$ac_c_werror_flag" ||
18950 test ! -s conftest.err
18951 } && test -s conftest.$ac_objext; then
18952 ac_cv_member_struct_statfs_f_bfree=yes
18953 else
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18957 ac_cv_member_struct_statfs_f_bfree=no
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18965 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18966 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18967 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18969 cat >>confdefs.h <<_ACEOF
18970 #define HAVE_STRUCT_STATFS_F_BFREE 1
18971 _ACEOF
18975 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18976 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18977 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 else
18980 cat >conftest.$ac_ext <<_ACEOF
18981 /* confdefs.h. */
18982 _ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <sys/types.h>
18987 #ifdef HAVE_SYS_PARAM_H
18988 # include <sys/param.h>
18989 #endif
18990 #ifdef HAVE_SYS_MOUNT_H
18991 # include <sys/mount.h>
18992 #endif
18993 #ifdef HAVE_SYS_VFS_H
18994 # include <sys/vfs.h>
18995 #endif
18996 #ifdef HAVE_SYS_STATFS_H
18997 # include <sys/statfs.h>
18998 #endif
19001 main ()
19003 static struct statfs ac_aggr;
19004 if (ac_aggr.f_bavail)
19005 return 0;
19007 return 0;
19009 _ACEOF
19010 rm -f conftest.$ac_objext
19011 if { (ac_try="$ac_compile"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19015 esac
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compile") 2>conftest.er1
19018 ac_status=$?
19019 grep -v '^ *+' conftest.er1 >conftest.err
19020 rm -f conftest.er1
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } && {
19024 test -z "$ac_c_werror_flag" ||
19025 test ! -s conftest.err
19026 } && test -s conftest.$ac_objext; then
19027 ac_cv_member_struct_statfs_f_bavail=yes
19028 else
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 cat >conftest.$ac_ext <<_ACEOF
19033 /* confdefs.h. */
19034 _ACEOF
19035 cat confdefs.h >>conftest.$ac_ext
19036 cat >>conftest.$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19038 #include <sys/types.h>
19039 #ifdef HAVE_SYS_PARAM_H
19040 # include <sys/param.h>
19041 #endif
19042 #ifdef HAVE_SYS_MOUNT_H
19043 # include <sys/mount.h>
19044 #endif
19045 #ifdef HAVE_SYS_VFS_H
19046 # include <sys/vfs.h>
19047 #endif
19048 #ifdef HAVE_SYS_STATFS_H
19049 # include <sys/statfs.h>
19050 #endif
19053 main ()
19055 static struct statfs ac_aggr;
19056 if (sizeof ac_aggr.f_bavail)
19057 return 0;
19059 return 0;
19061 _ACEOF
19062 rm -f conftest.$ac_objext
19063 if { (ac_try="$ac_compile"
19064 case "(($ac_try" in
19065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19067 esac
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_compile") 2>conftest.er1
19070 ac_status=$?
19071 grep -v '^ *+' conftest.er1 >conftest.err
19072 rm -f conftest.er1
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } && {
19076 test -z "$ac_c_werror_flag" ||
19077 test ! -s conftest.err
19078 } && test -s conftest.$ac_objext; then
19079 ac_cv_member_struct_statfs_f_bavail=yes
19080 else
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.$ac_ext >&5
19084 ac_cv_member_struct_statfs_f_bavail=no
19087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19093 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19094 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19098 _ACEOF
19102 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19103 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19104 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19105 echo $ECHO_N "(cached) $ECHO_C" >&6
19106 else
19107 cat >conftest.$ac_ext <<_ACEOF
19108 /* confdefs.h. */
19109 _ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 #include <sys/types.h>
19114 #ifdef HAVE_SYS_PARAM_H
19115 # include <sys/param.h>
19116 #endif
19117 #ifdef HAVE_SYS_MOUNT_H
19118 # include <sys/mount.h>
19119 #endif
19120 #ifdef HAVE_SYS_VFS_H
19121 # include <sys/vfs.h>
19122 #endif
19123 #ifdef HAVE_SYS_STATFS_H
19124 # include <sys/statfs.h>
19125 #endif
19128 main ()
19130 static struct statfs ac_aggr;
19131 if (ac_aggr.f_frsize)
19132 return 0;
19134 return 0;
19136 _ACEOF
19137 rm -f conftest.$ac_objext
19138 if { (ac_try="$ac_compile"
19139 case "(($ac_try" in
19140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19141 *) ac_try_echo=$ac_try;;
19142 esac
19143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19144 (eval "$ac_compile") 2>conftest.er1
19145 ac_status=$?
19146 grep -v '^ *+' conftest.er1 >conftest.err
19147 rm -f conftest.er1
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } && {
19151 test -z "$ac_c_werror_flag" ||
19152 test ! -s conftest.err
19153 } && test -s conftest.$ac_objext; then
19154 ac_cv_member_struct_statfs_f_frsize=yes
19155 else
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <sys/types.h>
19166 #ifdef HAVE_SYS_PARAM_H
19167 # include <sys/param.h>
19168 #endif
19169 #ifdef HAVE_SYS_MOUNT_H
19170 # include <sys/mount.h>
19171 #endif
19172 #ifdef HAVE_SYS_VFS_H
19173 # include <sys/vfs.h>
19174 #endif
19175 #ifdef HAVE_SYS_STATFS_H
19176 # include <sys/statfs.h>
19177 #endif
19180 main ()
19182 static struct statfs ac_aggr;
19183 if (sizeof ac_aggr.f_frsize)
19184 return 0;
19186 return 0;
19188 _ACEOF
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19194 esac
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_c_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 ac_cv_member_struct_statfs_f_frsize=yes
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19211 ac_cv_member_struct_statfs_f_frsize=no
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19219 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19220 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19221 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19225 _ACEOF
19229 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19230 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19231 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 else
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 #include <sys/types.h>
19241 #ifdef HAVE_SYS_PARAM_H
19242 # include <sys/param.h>
19243 #endif
19244 #ifdef HAVE_SYS_MOUNT_H
19245 # include <sys/mount.h>
19246 #endif
19247 #ifdef HAVE_SYS_VFS_H
19248 # include <sys/vfs.h>
19249 #endif
19250 #ifdef HAVE_SYS_STATFS_H
19251 # include <sys/statfs.h>
19252 #endif
19255 main ()
19257 static struct statfs ac_aggr;
19258 if (ac_aggr.f_ffree)
19259 return 0;
19261 return 0;
19263 _ACEOF
19264 rm -f conftest.$ac_objext
19265 if { (ac_try="$ac_compile"
19266 case "(($ac_try" in
19267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19269 esac
19270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_compile") 2>conftest.er1
19272 ac_status=$?
19273 grep -v '^ *+' conftest.er1 >conftest.err
19274 rm -f conftest.er1
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } && {
19278 test -z "$ac_c_werror_flag" ||
19279 test ! -s conftest.err
19280 } && test -s conftest.$ac_objext; then
19281 ac_cv_member_struct_statfs_f_ffree=yes
19282 else
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19286 cat >conftest.$ac_ext <<_ACEOF
19287 /* confdefs.h. */
19288 _ACEOF
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 #include <sys/types.h>
19293 #ifdef HAVE_SYS_PARAM_H
19294 # include <sys/param.h>
19295 #endif
19296 #ifdef HAVE_SYS_MOUNT_H
19297 # include <sys/mount.h>
19298 #endif
19299 #ifdef HAVE_SYS_VFS_H
19300 # include <sys/vfs.h>
19301 #endif
19302 #ifdef HAVE_SYS_STATFS_H
19303 # include <sys/statfs.h>
19304 #endif
19307 main ()
19309 static struct statfs ac_aggr;
19310 if (sizeof ac_aggr.f_ffree)
19311 return 0;
19313 return 0;
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (ac_try="$ac_compile"
19318 case "(($ac_try" in
19319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19320 *) ac_try_echo=$ac_try;;
19321 esac
19322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19323 (eval "$ac_compile") 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } && {
19330 test -z "$ac_c_werror_flag" ||
19331 test ! -s conftest.err
19332 } && test -s conftest.$ac_objext; then
19333 ac_cv_member_struct_statfs_f_ffree=yes
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19338 ac_cv_member_struct_statfs_f_ffree=no
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19346 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19347 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19348 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_STATFS_F_FFREE 1
19352 _ACEOF
19356 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19357 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19358 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 else
19361 cat >conftest.$ac_ext <<_ACEOF
19362 /* confdefs.h. */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367 #include <sys/types.h>
19368 #ifdef HAVE_SYS_PARAM_H
19369 # include <sys/param.h>
19370 #endif
19371 #ifdef HAVE_SYS_MOUNT_H
19372 # include <sys/mount.h>
19373 #endif
19374 #ifdef HAVE_SYS_VFS_H
19375 # include <sys/vfs.h>
19376 #endif
19377 #ifdef HAVE_SYS_STATFS_H
19378 # include <sys/statfs.h>
19379 #endif
19382 main ()
19384 static struct statfs ac_aggr;
19385 if (ac_aggr.f_favail)
19386 return 0;
19388 return 0;
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (ac_try="$ac_compile"
19393 case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19396 esac
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_compile") 2>conftest.er1
19399 ac_status=$?
19400 grep -v '^ *+' conftest.er1 >conftest.err
19401 rm -f conftest.er1
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } && {
19405 test -z "$ac_c_werror_flag" ||
19406 test ! -s conftest.err
19407 } && test -s conftest.$ac_objext; then
19408 ac_cv_member_struct_statfs_f_favail=yes
19409 else
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 cat >conftest.$ac_ext <<_ACEOF
19414 /* confdefs.h. */
19415 _ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 #include <sys/types.h>
19420 #ifdef HAVE_SYS_PARAM_H
19421 # include <sys/param.h>
19422 #endif
19423 #ifdef HAVE_SYS_MOUNT_H
19424 # include <sys/mount.h>
19425 #endif
19426 #ifdef HAVE_SYS_VFS_H
19427 # include <sys/vfs.h>
19428 #endif
19429 #ifdef HAVE_SYS_STATFS_H
19430 # include <sys/statfs.h>
19431 #endif
19434 main ()
19436 static struct statfs ac_aggr;
19437 if (sizeof ac_aggr.f_favail)
19438 return 0;
19440 return 0;
19442 _ACEOF
19443 rm -f conftest.$ac_objext
19444 if { (ac_try="$ac_compile"
19445 case "(($ac_try" in
19446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19447 *) ac_try_echo=$ac_try;;
19448 esac
19449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19450 (eval "$ac_compile") 2>conftest.er1
19451 ac_status=$?
19452 grep -v '^ *+' conftest.er1 >conftest.err
19453 rm -f conftest.er1
19454 cat conftest.err >&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } && {
19457 test -z "$ac_c_werror_flag" ||
19458 test ! -s conftest.err
19459 } && test -s conftest.$ac_objext; then
19460 ac_cv_member_struct_statfs_f_favail=yes
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19465 ac_cv_member_struct_statfs_f_favail=no
19468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19473 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19474 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19475 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19477 cat >>confdefs.h <<_ACEOF
19478 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19479 _ACEOF
19483 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19484 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19485 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19486 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 else
19488 cat >conftest.$ac_ext <<_ACEOF
19489 /* confdefs.h. */
19490 _ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19494 #include <sys/types.h>
19495 #ifdef HAVE_SYS_PARAM_H
19496 # include <sys/param.h>
19497 #endif
19498 #ifdef HAVE_SYS_MOUNT_H
19499 # include <sys/mount.h>
19500 #endif
19501 #ifdef HAVE_SYS_VFS_H
19502 # include <sys/vfs.h>
19503 #endif
19504 #ifdef HAVE_SYS_STATFS_H
19505 # include <sys/statfs.h>
19506 #endif
19509 main ()
19511 static struct statfs ac_aggr;
19512 if (ac_aggr.f_namelen)
19513 return 0;
19515 return 0;
19517 _ACEOF
19518 rm -f conftest.$ac_objext
19519 if { (ac_try="$ac_compile"
19520 case "(($ac_try" in
19521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19523 esac
19524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_compile") 2>conftest.er1
19526 ac_status=$?
19527 grep -v '^ *+' conftest.er1 >conftest.err
19528 rm -f conftest.er1
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } && {
19532 test -z "$ac_c_werror_flag" ||
19533 test ! -s conftest.err
19534 } && test -s conftest.$ac_objext; then
19535 ac_cv_member_struct_statfs_f_namelen=yes
19536 else
19537 echo "$as_me: failed program was:" >&5
19538 sed 's/^/| /' conftest.$ac_ext >&5
19540 cat >conftest.$ac_ext <<_ACEOF
19541 /* confdefs.h. */
19542 _ACEOF
19543 cat confdefs.h >>conftest.$ac_ext
19544 cat >>conftest.$ac_ext <<_ACEOF
19545 /* end confdefs.h. */
19546 #include <sys/types.h>
19547 #ifdef HAVE_SYS_PARAM_H
19548 # include <sys/param.h>
19549 #endif
19550 #ifdef HAVE_SYS_MOUNT_H
19551 # include <sys/mount.h>
19552 #endif
19553 #ifdef HAVE_SYS_VFS_H
19554 # include <sys/vfs.h>
19555 #endif
19556 #ifdef HAVE_SYS_STATFS_H
19557 # include <sys/statfs.h>
19558 #endif
19561 main ()
19563 static struct statfs ac_aggr;
19564 if (sizeof ac_aggr.f_namelen)
19565 return 0;
19567 return 0;
19569 _ACEOF
19570 rm -f conftest.$ac_objext
19571 if { (ac_try="$ac_compile"
19572 case "(($ac_try" in
19573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19574 *) ac_try_echo=$ac_try;;
19575 esac
19576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19577 (eval "$ac_compile") 2>conftest.er1
19578 ac_status=$?
19579 grep -v '^ *+' conftest.er1 >conftest.err
19580 rm -f conftest.er1
19581 cat conftest.err >&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } && {
19584 test -z "$ac_c_werror_flag" ||
19585 test ! -s conftest.err
19586 } && test -s conftest.$ac_objext; then
19587 ac_cv_member_struct_statfs_f_namelen=yes
19588 else
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19592 ac_cv_member_struct_statfs_f_namelen=no
19595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19601 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19602 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19604 cat >>confdefs.h <<_ACEOF
19605 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19606 _ACEOF
19612 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19613 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19614 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 else
19617 cat >conftest.$ac_ext <<_ACEOF
19618 /* confdefs.h. */
19619 _ACEOF
19620 cat confdefs.h >>conftest.$ac_ext
19621 cat >>conftest.$ac_ext <<_ACEOF
19622 /* end confdefs.h. */
19623 #ifdef HAVE_SYS_STATVFS_H
19624 #include <sys/statvfs.h>
19625 #endif
19628 main ()
19630 static struct statvfs ac_aggr;
19631 if (ac_aggr.f_blocks)
19632 return 0;
19634 return 0;
19636 _ACEOF
19637 rm -f conftest.$ac_objext
19638 if { (ac_try="$ac_compile"
19639 case "(($ac_try" in
19640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19641 *) ac_try_echo=$ac_try;;
19642 esac
19643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19644 (eval "$ac_compile") 2>conftest.er1
19645 ac_status=$?
19646 grep -v '^ *+' conftest.er1 >conftest.err
19647 rm -f conftest.er1
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } && {
19651 test -z "$ac_c_werror_flag" ||
19652 test ! -s conftest.err
19653 } && test -s conftest.$ac_objext; then
19654 ac_cv_member_struct_statvfs_f_blocks=yes
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h. */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #ifdef HAVE_SYS_STATVFS_H
19666 #include <sys/statvfs.h>
19667 #endif
19670 main ()
19672 static struct statvfs ac_aggr;
19673 if (sizeof ac_aggr.f_blocks)
19674 return 0;
19676 return 0;
19678 _ACEOF
19679 rm -f conftest.$ac_objext
19680 if { (ac_try="$ac_compile"
19681 case "(($ac_try" in
19682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19683 *) ac_try_echo=$ac_try;;
19684 esac
19685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19686 (eval "$ac_compile") 2>conftest.er1
19687 ac_status=$?
19688 grep -v '^ *+' conftest.er1 >conftest.err
19689 rm -f conftest.er1
19690 cat conftest.err >&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); } && {
19693 test -z "$ac_c_werror_flag" ||
19694 test ! -s conftest.err
19695 } && test -s conftest.$ac_objext; then
19696 ac_cv_member_struct_statvfs_f_blocks=yes
19697 else
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.$ac_ext >&5
19701 ac_cv_member_struct_statvfs_f_blocks=no
19704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19709 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19710 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19711 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19713 cat >>confdefs.h <<_ACEOF
19714 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19715 _ACEOF
19721 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19722 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19723 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 else
19726 cat >conftest.$ac_ext <<_ACEOF
19727 /* confdefs.h. */
19728 _ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 #include <sys/types.h>
19733 #ifdef HAVE_SYS_SOCKET_H
19734 # include <sys/socket.h>
19735 #endif
19736 #ifdef HAVE_SYS_UN_H
19737 # include <sys/un.h>
19738 #endif
19741 main ()
19743 static struct msghdr ac_aggr;
19744 if (ac_aggr.msg_accrights)
19745 return 0;
19747 return 0;
19749 _ACEOF
19750 rm -f conftest.$ac_objext
19751 if { (ac_try="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19755 esac
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19758 ac_status=$?
19759 grep -v '^ *+' conftest.er1 >conftest.err
19760 rm -f conftest.er1
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19767 ac_cv_member_struct_msghdr_msg_accrights=yes
19768 else
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #include <sys/types.h>
19779 #ifdef HAVE_SYS_SOCKET_H
19780 # include <sys/socket.h>
19781 #endif
19782 #ifdef HAVE_SYS_UN_H
19783 # include <sys/un.h>
19784 #endif
19787 main ()
19789 static struct msghdr ac_aggr;
19790 if (sizeof ac_aggr.msg_accrights)
19791 return 0;
19793 return 0;
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19801 esac
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19804 ac_status=$?
19805 grep -v '^ *+' conftest.er1 >conftest.err
19806 rm -f conftest.er1
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19813 ac_cv_member_struct_msghdr_msg_accrights=yes
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 ac_cv_member_struct_msghdr_msg_accrights=no
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19827 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19828 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19830 cat >>confdefs.h <<_ACEOF
19831 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19832 _ACEOF
19836 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19837 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19838 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19839 echo $ECHO_N "(cached) $ECHO_C" >&6
19840 else
19841 cat >conftest.$ac_ext <<_ACEOF
19842 /* confdefs.h. */
19843 _ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 #include <sys/types.h>
19848 #ifdef HAVE_SYS_SOCKET_H
19849 # include <sys/socket.h>
19850 #endif
19851 #ifdef HAVE_SYS_UN_H
19852 # include <sys/un.h>
19853 #endif
19856 main ()
19858 static struct sockaddr ac_aggr;
19859 if (ac_aggr.sa_len)
19860 return 0;
19862 return 0;
19864 _ACEOF
19865 rm -f conftest.$ac_objext
19866 if { (ac_try="$ac_compile"
19867 case "(($ac_try" in
19868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19870 esac
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_compile") 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_c_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest.$ac_objext; then
19882 ac_cv_member_struct_sockaddr_sa_len=yes
19883 else
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19887 cat >conftest.$ac_ext <<_ACEOF
19888 /* confdefs.h. */
19889 _ACEOF
19890 cat confdefs.h >>conftest.$ac_ext
19891 cat >>conftest.$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19893 #include <sys/types.h>
19894 #ifdef HAVE_SYS_SOCKET_H
19895 # include <sys/socket.h>
19896 #endif
19897 #ifdef HAVE_SYS_UN_H
19898 # include <sys/un.h>
19899 #endif
19902 main ()
19904 static struct sockaddr ac_aggr;
19905 if (sizeof ac_aggr.sa_len)
19906 return 0;
19908 return 0;
19910 _ACEOF
19911 rm -f conftest.$ac_objext
19912 if { (ac_try="$ac_compile"
19913 case "(($ac_try" in
19914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19915 *) ac_try_echo=$ac_try;;
19916 esac
19917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19918 (eval "$ac_compile") 2>conftest.er1
19919 ac_status=$?
19920 grep -v '^ *+' conftest.er1 >conftest.err
19921 rm -f conftest.er1
19922 cat conftest.err >&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } && {
19925 test -z "$ac_c_werror_flag" ||
19926 test ! -s conftest.err
19927 } && test -s conftest.$ac_objext; then
19928 ac_cv_member_struct_sockaddr_sa_len=yes
19929 else
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.$ac_ext >&5
19933 ac_cv_member_struct_sockaddr_sa_len=no
19936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19942 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19943 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19945 cat >>confdefs.h <<_ACEOF
19946 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19947 _ACEOF
19951 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19952 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19953 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 else
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 #include <sys/types.h>
19963 #ifdef HAVE_SYS_SOCKET_H
19964 # include <sys/socket.h>
19965 #endif
19966 #ifdef HAVE_SYS_UN_H
19967 # include <sys/un.h>
19968 #endif
19971 main ()
19973 static struct sockaddr_un ac_aggr;
19974 if (ac_aggr.sun_len)
19975 return 0;
19977 return 0;
19979 _ACEOF
19980 rm -f conftest.$ac_objext
19981 if { (ac_try="$ac_compile"
19982 case "(($ac_try" in
19983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19984 *) ac_try_echo=$ac_try;;
19985 esac
19986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19987 (eval "$ac_compile") 2>conftest.er1
19988 ac_status=$?
19989 grep -v '^ *+' conftest.er1 >conftest.err
19990 rm -f conftest.er1
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } && {
19994 test -z "$ac_c_werror_flag" ||
19995 test ! -s conftest.err
19996 } && test -s conftest.$ac_objext; then
19997 ac_cv_member_struct_sockaddr_un_sun_len=yes
19998 else
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20002 cat >conftest.$ac_ext <<_ACEOF
20003 /* confdefs.h. */
20004 _ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 #include <sys/types.h>
20009 #ifdef HAVE_SYS_SOCKET_H
20010 # include <sys/socket.h>
20011 #endif
20012 #ifdef HAVE_SYS_UN_H
20013 # include <sys/un.h>
20014 #endif
20017 main ()
20019 static struct sockaddr_un ac_aggr;
20020 if (sizeof ac_aggr.sun_len)
20021 return 0;
20023 return 0;
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20031 esac
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 ac_cv_member_struct_sockaddr_un_sun_len=yes
20044 else
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20048 ac_cv_member_struct_sockaddr_un_sun_len=no
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20057 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20058 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20060 cat >>confdefs.h <<_ACEOF
20061 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20062 _ACEOF
20068 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20069 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20070 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20072 else
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h. */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <sys/types.h>
20080 #ifdef HAVE_SCSI_SG_H
20081 #include <scsi/sg.h>
20082 #endif
20085 main ()
20087 static scsireq_t ac_aggr;
20088 if (ac_aggr.cmd)
20089 return 0;
20091 return 0;
20093 _ACEOF
20094 rm -f conftest.$ac_objext
20095 if { (ac_try="$ac_compile"
20096 case "(($ac_try" in
20097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20099 esac
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_compile") 2>conftest.er1
20102 ac_status=$?
20103 grep -v '^ *+' conftest.er1 >conftest.err
20104 rm -f conftest.er1
20105 cat conftest.err >&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } && {
20108 test -z "$ac_c_werror_flag" ||
20109 test ! -s conftest.err
20110 } && test -s conftest.$ac_objext; then
20111 ac_cv_member_scsireq_t_cmd=yes
20112 else
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20116 cat >conftest.$ac_ext <<_ACEOF
20117 /* confdefs.h. */
20118 _ACEOF
20119 cat confdefs.h >>conftest.$ac_ext
20120 cat >>conftest.$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122 #include <sys/types.h>
20123 #ifdef HAVE_SCSI_SG_H
20124 #include <scsi/sg.h>
20125 #endif
20128 main ()
20130 static scsireq_t ac_aggr;
20131 if (sizeof ac_aggr.cmd)
20132 return 0;
20134 return 0;
20136 _ACEOF
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20142 esac
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && {
20151 test -z "$ac_c_werror_flag" ||
20152 test ! -s conftest.err
20153 } && test -s conftest.$ac_objext; then
20154 ac_cv_member_scsireq_t_cmd=yes
20155 else
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20159 ac_cv_member_scsireq_t_cmd=no
20162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20168 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20169 if test $ac_cv_member_scsireq_t_cmd = yes; then
20171 cat >>confdefs.h <<_ACEOF
20172 #define HAVE_SCSIREQ_T_CMD 1
20173 _ACEOF
20177 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20178 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20179 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 else
20182 cat >conftest.$ac_ext <<_ACEOF
20183 /* confdefs.h. */
20184 _ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 #include <sys/types.h>
20189 #ifdef HAVE_SCSI_SG_H
20190 #include <scsi/sg.h>
20191 #endif
20194 main ()
20196 static sg_io_hdr_t ac_aggr;
20197 if (ac_aggr.interface_id)
20198 return 0;
20200 return 0;
20202 _ACEOF
20203 rm -f conftest.$ac_objext
20204 if { (ac_try="$ac_compile"
20205 case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20208 esac
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_compile") 2>conftest.er1
20211 ac_status=$?
20212 grep -v '^ *+' conftest.er1 >conftest.err
20213 rm -f conftest.er1
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } && {
20217 test -z "$ac_c_werror_flag" ||
20218 test ! -s conftest.err
20219 } && test -s conftest.$ac_objext; then
20220 ac_cv_member_sg_io_hdr_t_interface_id=yes
20221 else
20222 echo "$as_me: failed program was:" >&5
20223 sed 's/^/| /' conftest.$ac_ext >&5
20225 cat >conftest.$ac_ext <<_ACEOF
20226 /* confdefs.h. */
20227 _ACEOF
20228 cat confdefs.h >>conftest.$ac_ext
20229 cat >>conftest.$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20231 #include <sys/types.h>
20232 #ifdef HAVE_SCSI_SG_H
20233 #include <scsi/sg.h>
20234 #endif
20237 main ()
20239 static sg_io_hdr_t ac_aggr;
20240 if (sizeof ac_aggr.interface_id)
20241 return 0;
20243 return 0;
20245 _ACEOF
20246 rm -f conftest.$ac_objext
20247 if { (ac_try="$ac_compile"
20248 case "(($ac_try" in
20249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250 *) ac_try_echo=$ac_try;;
20251 esac
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_compile") 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } && {
20260 test -z "$ac_c_werror_flag" ||
20261 test ! -s conftest.err
20262 } && test -s conftest.$ac_objext; then
20263 ac_cv_member_sg_io_hdr_t_interface_id=yes
20264 else
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20268 ac_cv_member_sg_io_hdr_t_interface_id=no
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20276 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20277 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20278 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20280 cat >>confdefs.h <<_ACEOF
20281 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20282 _ACEOF
20288 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20289 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20290 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20291 echo $ECHO_N "(cached) $ECHO_C" >&6
20292 else
20293 cat >conftest.$ac_ext <<_ACEOF
20294 /* confdefs.h. */
20295 _ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 #include <signal.h>
20302 main ()
20304 static siginfo_t ac_aggr;
20305 if (ac_aggr.si_fd)
20306 return 0;
20308 return 0;
20310 _ACEOF
20311 rm -f conftest.$ac_objext
20312 if { (ac_try="$ac_compile"
20313 case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20316 esac
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_compile") 2>conftest.er1
20319 ac_status=$?
20320 grep -v '^ *+' conftest.er1 >conftest.err
20321 rm -f conftest.er1
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && {
20325 test -z "$ac_c_werror_flag" ||
20326 test ! -s conftest.err
20327 } && test -s conftest.$ac_objext; then
20328 ac_cv_member_siginfo_t_si_fd=yes
20329 else
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20333 cat >conftest.$ac_ext <<_ACEOF
20334 /* confdefs.h. */
20335 _ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 #include <signal.h>
20342 main ()
20344 static siginfo_t ac_aggr;
20345 if (sizeof ac_aggr.si_fd)
20346 return 0;
20348 return 0;
20350 _ACEOF
20351 rm -f conftest.$ac_objext
20352 if { (ac_try="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20355 *) ac_try_echo=$ac_try;;
20356 esac
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20359 ac_status=$?
20360 grep -v '^ *+' conftest.er1 >conftest.err
20361 rm -f conftest.er1
20362 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.$ac_objext; then
20368 ac_cv_member_siginfo_t_si_fd=yes
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20373 ac_cv_member_siginfo_t_si_fd=no
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20381 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20382 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20383 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20385 cat >>confdefs.h <<_ACEOF
20386 #define HAVE_SIGINFO_T_SI_FD 1
20387 _ACEOF
20393 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20394 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20395 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20397 else
20398 cat >conftest.$ac_ext <<_ACEOF
20399 /* confdefs.h. */
20400 _ACEOF
20401 cat confdefs.h >>conftest.$ac_ext
20402 cat >>conftest.$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 #include <sys/types.h>
20405 #ifdef HAVE_SYS_MTIO_H
20406 #include <sys/mtio.h>
20407 #endif
20410 main ()
20412 static struct mtget ac_aggr;
20413 if (ac_aggr.mt_blksiz)
20414 return 0;
20416 return 0;
20418 _ACEOF
20419 rm -f conftest.$ac_objext
20420 if { (ac_try="$ac_compile"
20421 case "(($ac_try" in
20422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20423 *) ac_try_echo=$ac_try;;
20424 esac
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20426 (eval "$ac_compile") 2>conftest.er1
20427 ac_status=$?
20428 grep -v '^ *+' conftest.er1 >conftest.err
20429 rm -f conftest.er1
20430 cat conftest.err >&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } && {
20433 test -z "$ac_c_werror_flag" ||
20434 test ! -s conftest.err
20435 } && test -s conftest.$ac_objext; then
20436 ac_cv_member_struct_mtget_mt_blksiz=yes
20437 else
20438 echo "$as_me: failed program was:" >&5
20439 sed 's/^/| /' conftest.$ac_ext >&5
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 #include <sys/types.h>
20448 #ifdef HAVE_SYS_MTIO_H
20449 #include <sys/mtio.h>
20450 #endif
20453 main ()
20455 static struct mtget ac_aggr;
20456 if (sizeof ac_aggr.mt_blksiz)
20457 return 0;
20459 return 0;
20461 _ACEOF
20462 rm -f conftest.$ac_objext
20463 if { (ac_try="$ac_compile"
20464 case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20467 esac
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_compile") 2>conftest.er1
20470 ac_status=$?
20471 grep -v '^ *+' conftest.er1 >conftest.err
20472 rm -f conftest.er1
20473 cat conftest.err >&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } && {
20476 test -z "$ac_c_werror_flag" ||
20477 test ! -s conftest.err
20478 } && test -s conftest.$ac_objext; then
20479 ac_cv_member_struct_mtget_mt_blksiz=yes
20480 else
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.$ac_ext >&5
20484 ac_cv_member_struct_mtget_mt_blksiz=no
20487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20492 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20493 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20494 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20496 cat >>confdefs.h <<_ACEOF
20497 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20498 _ACEOF
20502 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20503 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20504 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 else
20507 cat >conftest.$ac_ext <<_ACEOF
20508 /* confdefs.h. */
20509 _ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 #include <sys/types.h>
20514 #ifdef HAVE_SYS_MTIO_H
20515 #include <sys/mtio.h>
20516 #endif
20519 main ()
20521 static struct mtget ac_aggr;
20522 if (ac_aggr.mt_gstat)
20523 return 0;
20525 return 0;
20527 _ACEOF
20528 rm -f conftest.$ac_objext
20529 if { (ac_try="$ac_compile"
20530 case "(($ac_try" in
20531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20532 *) ac_try_echo=$ac_try;;
20533 esac
20534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20535 (eval "$ac_compile") 2>conftest.er1
20536 ac_status=$?
20537 grep -v '^ *+' conftest.er1 >conftest.err
20538 rm -f conftest.er1
20539 cat conftest.err >&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); } && {
20542 test -z "$ac_c_werror_flag" ||
20543 test ! -s conftest.err
20544 } && test -s conftest.$ac_objext; then
20545 ac_cv_member_struct_mtget_mt_gstat=yes
20546 else
20547 echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.$ac_ext >&5
20550 cat >conftest.$ac_ext <<_ACEOF
20551 /* confdefs.h. */
20552 _ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 #include <sys/types.h>
20557 #ifdef HAVE_SYS_MTIO_H
20558 #include <sys/mtio.h>
20559 #endif
20562 main ()
20564 static struct mtget ac_aggr;
20565 if (sizeof ac_aggr.mt_gstat)
20566 return 0;
20568 return 0;
20570 _ACEOF
20571 rm -f conftest.$ac_objext
20572 if { (ac_try="$ac_compile"
20573 case "(($ac_try" in
20574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20575 *) ac_try_echo=$ac_try;;
20576 esac
20577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20578 (eval "$ac_compile") 2>conftest.er1
20579 ac_status=$?
20580 grep -v '^ *+' conftest.er1 >conftest.err
20581 rm -f conftest.er1
20582 cat conftest.err >&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } && {
20585 test -z "$ac_c_werror_flag" ||
20586 test ! -s conftest.err
20587 } && test -s conftest.$ac_objext; then
20588 ac_cv_member_struct_mtget_mt_gstat=yes
20589 else
20590 echo "$as_me: failed program was:" >&5
20591 sed 's/^/| /' conftest.$ac_ext >&5
20593 ac_cv_member_struct_mtget_mt_gstat=no
20596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20601 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20602 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20603 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20605 cat >>confdefs.h <<_ACEOF
20606 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20607 _ACEOF
20611 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20612 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20613 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20614 echo $ECHO_N "(cached) $ECHO_C" >&6
20615 else
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 #include <sys/types.h>
20623 #ifdef HAVE_SYS_MTIO_H
20624 #include <sys/mtio.h>
20625 #endif
20628 main ()
20630 static struct mtget ac_aggr;
20631 if (ac_aggr.mt_blkno)
20632 return 0;
20634 return 0;
20636 _ACEOF
20637 rm -f conftest.$ac_objext
20638 if { (ac_try="$ac_compile"
20639 case "(($ac_try" in
20640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20641 *) ac_try_echo=$ac_try;;
20642 esac
20643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20644 (eval "$ac_compile") 2>conftest.er1
20645 ac_status=$?
20646 grep -v '^ *+' conftest.er1 >conftest.err
20647 rm -f conftest.er1
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } && {
20651 test -z "$ac_c_werror_flag" ||
20652 test ! -s conftest.err
20653 } && test -s conftest.$ac_objext; then
20654 ac_cv_member_struct_mtget_mt_blkno=yes
20655 else
20656 echo "$as_me: failed program was:" >&5
20657 sed 's/^/| /' conftest.$ac_ext >&5
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 #include <sys/types.h>
20666 #ifdef HAVE_SYS_MTIO_H
20667 #include <sys/mtio.h>
20668 #endif
20671 main ()
20673 static struct mtget ac_aggr;
20674 if (sizeof ac_aggr.mt_blkno)
20675 return 0;
20677 return 0;
20679 _ACEOF
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20685 esac
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.$ac_objext; then
20697 ac_cv_member_struct_mtget_mt_blkno=yes
20698 else
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.$ac_ext >&5
20702 ac_cv_member_struct_mtget_mt_blkno=no
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20711 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20712 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20714 cat >>confdefs.h <<_ACEOF
20715 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20716 _ACEOF
20722 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20723 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20724 if test "${ac_cv_member_struct_option_name+set}" = set; then
20725 echo $ECHO_N "(cached) $ECHO_C" >&6
20726 else
20727 cat >conftest.$ac_ext <<_ACEOF
20728 /* confdefs.h. */
20729 _ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 #ifdef HAVE_GETOPT_H
20734 #include <getopt.h>
20735 #endif
20738 main ()
20740 static struct option ac_aggr;
20741 if (ac_aggr.name)
20742 return 0;
20744 return 0;
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20752 esac
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20755 ac_status=$?
20756 grep -v '^ *+' conftest.er1 >conftest.err
20757 rm -f conftest.er1
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_cv_member_struct_option_name=yes
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 cat >conftest.$ac_ext <<_ACEOF
20770 /* confdefs.h. */
20771 _ACEOF
20772 cat confdefs.h >>conftest.$ac_ext
20773 cat >>conftest.$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #ifdef HAVE_GETOPT_H
20776 #include <getopt.h>
20777 #endif
20780 main ()
20782 static struct option ac_aggr;
20783 if (sizeof ac_aggr.name)
20784 return 0;
20786 return 0;
20788 _ACEOF
20789 rm -f conftest.$ac_objext
20790 if { (ac_try="$ac_compile"
20791 case "(($ac_try" in
20792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20793 *) ac_try_echo=$ac_try;;
20794 esac
20795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20796 (eval "$ac_compile") 2>conftest.er1
20797 ac_status=$?
20798 grep -v '^ *+' conftest.er1 >conftest.err
20799 rm -f conftest.er1
20800 cat conftest.err >&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } && {
20803 test -z "$ac_c_werror_flag" ||
20804 test ! -s conftest.err
20805 } && test -s conftest.$ac_objext; then
20806 ac_cv_member_struct_option_name=yes
20807 else
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20811 ac_cv_member_struct_option_name=no
20814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20819 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20820 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20821 if test $ac_cv_member_struct_option_name = yes; then
20823 cat >>confdefs.h <<_ACEOF
20824 #define HAVE_STRUCT_OPTION_NAME 1
20825 _ACEOF
20831 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20832 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20833 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 else
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20844 main ()
20846 static struct stat ac_aggr;
20847 if (ac_aggr.st_blocks)
20848 return 0;
20850 return 0;
20852 _ACEOF
20853 rm -f conftest.$ac_objext
20854 if { (ac_try="$ac_compile"
20855 case "(($ac_try" in
20856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20857 *) ac_try_echo=$ac_try;;
20858 esac
20859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20860 (eval "$ac_compile") 2>conftest.er1
20861 ac_status=$?
20862 grep -v '^ *+' conftest.er1 >conftest.err
20863 rm -f conftest.er1
20864 cat conftest.err >&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } && {
20867 test -z "$ac_c_werror_flag" ||
20868 test ! -s conftest.err
20869 } && test -s conftest.$ac_objext; then
20870 ac_cv_member_struct_stat_st_blocks=yes
20871 else
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20875 cat >conftest.$ac_ext <<_ACEOF
20876 /* confdefs.h. */
20877 _ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881 $ac_includes_default
20883 main ()
20885 static struct stat ac_aggr;
20886 if (sizeof ac_aggr.st_blocks)
20887 return 0;
20889 return 0;
20891 _ACEOF
20892 rm -f conftest.$ac_objext
20893 if { (ac_try="$ac_compile"
20894 case "(($ac_try" in
20895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20896 *) ac_try_echo=$ac_try;;
20897 esac
20898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20899 (eval "$ac_compile") 2>conftest.er1
20900 ac_status=$?
20901 grep -v '^ *+' conftest.er1 >conftest.err
20902 rm -f conftest.er1
20903 cat conftest.err >&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); } && {
20906 test -z "$ac_c_werror_flag" ||
20907 test ! -s conftest.err
20908 } && test -s conftest.$ac_objext; then
20909 ac_cv_member_struct_stat_st_blocks=yes
20910 else
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20914 ac_cv_member_struct_stat_st_blocks=no
20917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20922 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20923 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20924 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20926 cat >>confdefs.h <<_ACEOF
20927 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20928 _ACEOF
20934 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20935 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20936 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20937 echo $ECHO_N "(cached) $ECHO_C" >&6
20938 else
20939 cat >conftest.$ac_ext <<_ACEOF
20940 /* confdefs.h. */
20941 _ACEOF
20942 cat confdefs.h >>conftest.$ac_ext
20943 cat >>conftest.$ac_ext <<_ACEOF
20944 /* end confdefs.h. */
20945 #ifdef HAVE_SYS_TYPES_H
20946 #include <sys/types.h>
20947 #endif
20948 #ifdef HAVE_NETINET_IN_H
20949 #include <netinet/in.h>
20950 #endif
20953 main ()
20955 static struct sockaddr_in6 ac_aggr;
20956 if (ac_aggr.sin6_scope_id)
20957 return 0;
20959 return 0;
20961 _ACEOF
20962 rm -f conftest.$ac_objext
20963 if { (ac_try="$ac_compile"
20964 case "(($ac_try" in
20965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20966 *) ac_try_echo=$ac_try;;
20967 esac
20968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20969 (eval "$ac_compile") 2>conftest.er1
20970 ac_status=$?
20971 grep -v '^ *+' conftest.er1 >conftest.err
20972 rm -f conftest.er1
20973 cat conftest.err >&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); } && {
20976 test -z "$ac_c_werror_flag" ||
20977 test ! -s conftest.err
20978 } && test -s conftest.$ac_objext; then
20979 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20980 else
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 #ifdef HAVE_SYS_TYPES_H
20991 #include <sys/types.h>
20992 #endif
20993 #ifdef HAVE_NETINET_IN_H
20994 #include <netinet/in.h>
20995 #endif
20998 main ()
21000 static struct sockaddr_in6 ac_aggr;
21001 if (sizeof ac_aggr.sin6_scope_id)
21002 return 0;
21004 return 0;
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest.$ac_objext; then
21024 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21025 else
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.$ac_ext >&5
21029 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21038 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21039 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21041 cat >>confdefs.h <<_ACEOF
21042 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21043 _ACEOF
21049 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21050 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21051 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21053 else
21054 cat >conftest.$ac_ext <<_ACEOF
21055 /* confdefs.h. */
21056 _ACEOF
21057 cat confdefs.h >>conftest.$ac_ext
21058 cat >>conftest.$ac_ext <<_ACEOF
21059 /* end confdefs.h. */
21060 #ifdef HAVE_SYS_TYPES_H
21061 #include <sys/types.h>
21062 #endif
21063 #ifdef HAVE_NETINET_IN_H
21064 # include <netinet/in.h>
21065 #endif
21066 #ifdef HAVE_ARPA_NAMESER_H
21067 # include <arpa/nameser.h>
21068 #endif
21071 main ()
21073 static ns_msg ac_aggr;
21074 if (ac_aggr._msg_ptr)
21075 return 0;
21077 return 0;
21079 _ACEOF
21080 rm -f conftest.$ac_objext
21081 if { (ac_try="$ac_compile"
21082 case "(($ac_try" in
21083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21085 esac
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_compile") 2>conftest.er1
21088 ac_status=$?
21089 grep -v '^ *+' conftest.er1 >conftest.err
21090 rm -f conftest.er1
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest.$ac_objext; then
21097 ac_cv_member_ns_msg__msg_ptr=yes
21098 else
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 #ifdef HAVE_SYS_TYPES_H
21109 #include <sys/types.h>
21110 #endif
21111 #ifdef HAVE_NETINET_IN_H
21112 # include <netinet/in.h>
21113 #endif
21114 #ifdef HAVE_ARPA_NAMESER_H
21115 # include <arpa/nameser.h>
21116 #endif
21119 main ()
21121 static ns_msg ac_aggr;
21122 if (sizeof ac_aggr._msg_ptr)
21123 return 0;
21125 return 0;
21127 _ACEOF
21128 rm -f conftest.$ac_objext
21129 if { (ac_try="$ac_compile"
21130 case "(($ac_try" in
21131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21132 *) ac_try_echo=$ac_try;;
21133 esac
21134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21135 (eval "$ac_compile") 2>conftest.er1
21136 ac_status=$?
21137 grep -v '^ *+' conftest.er1 >conftest.err
21138 rm -f conftest.er1
21139 cat conftest.err >&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); } && {
21142 test -z "$ac_c_werror_flag" ||
21143 test ! -s conftest.err
21144 } && test -s conftest.$ac_objext; then
21145 ac_cv_member_ns_msg__msg_ptr=yes
21146 else
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.$ac_ext >&5
21150 ac_cv_member_ns_msg__msg_ptr=no
21153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21158 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21159 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21160 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21162 cat >>confdefs.h <<_ACEOF
21163 #define HAVE_NS_MSG__MSG_PTR 1
21164 _ACEOF
21170 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21171 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21172 if test "${ac_cv_have_timezone+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 else
21175 cat >conftest.$ac_ext <<_ACEOF
21176 /* confdefs.h. */
21177 _ACEOF
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 #include <time.h>
21183 main ()
21185 timezone = 1
21187 return 0;
21189 _ACEOF
21190 rm -f conftest.$ac_objext conftest$ac_exeext
21191 if { (ac_try="$ac_link"
21192 case "(($ac_try" in
21193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21194 *) ac_try_echo=$ac_try;;
21195 esac
21196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21197 (eval "$ac_link") 2>conftest.er1
21198 ac_status=$?
21199 grep -v '^ *+' conftest.er1 >conftest.err
21200 rm -f conftest.er1
21201 cat conftest.err >&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } && {
21204 test -z "$ac_c_werror_flag" ||
21205 test ! -s conftest.err
21206 } && test -s conftest$ac_exeext &&
21207 $as_test_x conftest$ac_exeext; then
21208 ac_cv_have_timezone="yes"
21209 else
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.$ac_ext >&5
21213 ac_cv_have_timezone="no"
21216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21217 conftest$ac_exeext conftest.$ac_ext
21219 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21220 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21221 if test "$ac_cv_have_timezone" = "yes"
21222 then
21224 cat >>confdefs.h <<\_ACEOF
21225 #define HAVE_TIMEZONE 1
21226 _ACEOF
21229 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21230 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21231 if test "${ac_cv_have_daylight+set}" = set; then
21232 echo $ECHO_N "(cached) $ECHO_C" >&6
21233 else
21234 cat >conftest.$ac_ext <<_ACEOF
21235 /* confdefs.h. */
21236 _ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 #include <time.h>
21242 main ()
21244 daylight = 1
21246 return 0;
21248 _ACEOF
21249 rm -f conftest.$ac_objext conftest$ac_exeext
21250 if { (ac_try="$ac_link"
21251 case "(($ac_try" in
21252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21253 *) ac_try_echo=$ac_try;;
21254 esac
21255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21256 (eval "$ac_link") 2>conftest.er1
21257 ac_status=$?
21258 grep -v '^ *+' conftest.er1 >conftest.err
21259 rm -f conftest.er1
21260 cat conftest.err >&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); } && {
21263 test -z "$ac_c_werror_flag" ||
21264 test ! -s conftest.err
21265 } && test -s conftest$ac_exeext &&
21266 $as_test_x conftest$ac_exeext; then
21267 ac_cv_have_daylight="yes"
21268 else
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21272 ac_cv_have_daylight="no"
21275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21276 conftest$ac_exeext conftest.$ac_ext
21278 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21279 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21280 if test "$ac_cv_have_daylight" = "yes"
21281 then
21283 cat >>confdefs.h <<\_ACEOF
21284 #define HAVE_DAYLIGHT 1
21285 _ACEOF
21289 { echo "$as_me:$LINENO: checking for isinf" >&5
21290 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21291 if test "${ac_cv_have_isinf+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 else
21294 cat >conftest.$ac_ext <<_ACEOF
21295 /* confdefs.h. */
21296 _ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 #include <math.h>
21302 main ()
21304 float f = 0.0; isinf(f)
21306 return 0;
21308 _ACEOF
21309 rm -f conftest.$ac_objext conftest$ac_exeext
21310 if { (ac_try="$ac_link"
21311 case "(($ac_try" in
21312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21313 *) ac_try_echo=$ac_try;;
21314 esac
21315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21316 (eval "$ac_link") 2>conftest.er1
21317 ac_status=$?
21318 grep -v '^ *+' conftest.er1 >conftest.err
21319 rm -f conftest.er1
21320 cat conftest.err >&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } && {
21323 test -z "$ac_c_werror_flag" ||
21324 test ! -s conftest.err
21325 } && test -s conftest$ac_exeext &&
21326 $as_test_x conftest$ac_exeext; then
21327 ac_cv_have_isinf="yes"
21328 else
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21332 ac_cv_have_isinf="no"
21335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21336 conftest$ac_exeext conftest.$ac_ext
21338 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21339 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21340 if test "$ac_cv_have_isinf" = "yes"
21341 then
21343 cat >>confdefs.h <<\_ACEOF
21344 #define HAVE_ISINF 1
21345 _ACEOF
21350 case $host_cpu in
21351 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21352 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21353 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21354 echo $ECHO_N "(cached) $ECHO_C" >&6
21355 else
21356 cat >conftest.$ac_ext <<_ACEOF
21357 /* confdefs.h. */
21358 _ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 #ifndef __i386__
21364 #endif
21365 _ACEOF
21366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21367 $EGREP "yes" >/dev/null 2>&1; then
21368 ac_cv_cpp_def___i386__=yes
21369 else
21370 ac_cv_cpp_def___i386__=no
21372 rm -f conftest*
21375 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21376 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21377 if test $ac_cv_cpp_def___i386__ = yes; then
21378 CFLAGS="$CFLAGS -D__i386__"
21379 LINTFLAGS="$LINTFLAGS -D__i386__"
21382 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21383 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21384 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 else
21387 cat >conftest.$ac_ext <<_ACEOF
21388 /* confdefs.h. */
21389 _ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 #ifndef __x86_64__
21395 #endif
21396 _ACEOF
21397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21398 $EGREP "yes" >/dev/null 2>&1; then
21399 ac_cv_cpp_def___x86_64__=yes
21400 else
21401 ac_cv_cpp_def___x86_64__=no
21403 rm -f conftest*
21406 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21407 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21408 if test $ac_cv_cpp_def___x86_64__ = yes; then
21409 CFLAGS="$CFLAGS -D__x86_64__"
21410 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21413 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21414 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21415 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21416 echo $ECHO_N "(cached) $ECHO_C" >&6
21417 else
21418 cat >conftest.$ac_ext <<_ACEOF
21419 /* confdefs.h. */
21420 _ACEOF
21421 cat confdefs.h >>conftest.$ac_ext
21422 cat >>conftest.$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 #ifndef __ALPHA__
21426 #endif
21427 _ACEOF
21428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21429 $EGREP "yes" >/dev/null 2>&1; then
21430 ac_cv_cpp_def___ALPHA__=yes
21431 else
21432 ac_cv_cpp_def___ALPHA__=no
21434 rm -f conftest*
21437 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21438 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21439 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21440 CFLAGS="$CFLAGS -D__ALPHA__"
21441 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21444 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21445 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21446 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21447 echo $ECHO_N "(cached) $ECHO_C" >&6
21448 else
21449 cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h. */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 #ifndef __sparc__
21457 #endif
21458 _ACEOF
21459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21460 $EGREP "yes" >/dev/null 2>&1; then
21461 ac_cv_cpp_def___sparc__=yes
21462 else
21463 ac_cv_cpp_def___sparc__=no
21465 rm -f conftest*
21468 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21469 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21470 if test $ac_cv_cpp_def___sparc__ = yes; then
21471 CFLAGS="$CFLAGS -D__sparc__"
21472 LINTFLAGS="$LINTFLAGS -D__sparc__"
21475 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21476 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21477 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21478 echo $ECHO_N "(cached) $ECHO_C" >&6
21479 else
21480 cat >conftest.$ac_ext <<_ACEOF
21481 /* confdefs.h. */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 #ifndef __powerpc__
21488 #endif
21489 _ACEOF
21490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21491 $EGREP "yes" >/dev/null 2>&1; then
21492 ac_cv_cpp_def___powerpc__=yes
21493 else
21494 ac_cv_cpp_def___powerpc__=no
21496 rm -f conftest*
21499 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21500 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21501 if test $ac_cv_cpp_def___powerpc__ = yes; then
21502 CFLAGS="$CFLAGS -D__powerpc__"
21503 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21506 esac
21508 case $host_vendor in
21509 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21510 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21511 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 else
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h. */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 #ifndef __sun__
21522 #endif
21523 _ACEOF
21524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21525 $EGREP "yes" >/dev/null 2>&1; then
21526 ac_cv_cpp_def___sun__=yes
21527 else
21528 ac_cv_cpp_def___sun__=no
21530 rm -f conftest*
21533 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21534 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21535 if test $ac_cv_cpp_def___sun__ = yes; then
21536 CFLAGS="$CFLAGS -D__sun__"
21537 LINTFLAGS="$LINTFLAGS -D__sun__"
21540 esac
21543 DEPENDENCIES="### Dependencies:
21545 .INIT: Makefile
21546 .BEGIN: Makefile
21547 Makefile: dummy
21548 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21550 \$(OBJS): \$(IDL_GEN_HEADERS)
21551 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21552 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21553 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21554 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21560 ac_config_commands="$ac_config_commands include/stamp-h"
21563 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21565 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21567 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21569 ac_config_commands="$ac_config_commands dlls/user32/resources"
21571 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21573 ac_config_commands="$ac_config_commands include/wine"
21576 MAKE_RULES=Make.rules
21579 MAKE_DLL_RULES=dlls/Makedll.rules
21582 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21585 MAKE_TEST_RULES=dlls/Maketest.rules
21588 MAKE_PROG_RULES=programs/Makeprog.rules
21591 ac_config_files="$ac_config_files Make.rules"
21593 ac_config_files="$ac_config_files dlls/Makedll.rules"
21595 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21597 ac_config_files="$ac_config_files dlls/Maketest.rules"
21599 ac_config_files="$ac_config_files programs/Makeprog.rules"
21601 ac_config_files="$ac_config_files Makefile"
21603 ac_config_files="$ac_config_files dlls/Makefile"
21605 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21607 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21609 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21611 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21613 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21615 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21617 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21619 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21621 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21623 ac_config_files="$ac_config_files dlls/atl/Makefile"
21625 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21627 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21629 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21631 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21633 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21635 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21637 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21639 ac_config_files="$ac_config_files dlls/cards/Makefile"
21641 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21643 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21645 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21647 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21649 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21651 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21653 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21655 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21657 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21659 ac_config_files="$ac_config_files dlls/credui/Makefile"
21661 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21663 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21665 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21667 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21671 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21673 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21675 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21677 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21679 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21681 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21683 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21685 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21687 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21689 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21691 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21693 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21695 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21697 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21699 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21701 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21703 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21705 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21707 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21709 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21711 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21713 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21715 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21717 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21719 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21721 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21723 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21725 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21727 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21729 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21731 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21733 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21735 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21737 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21739 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21741 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21743 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21745 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21747 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21749 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21751 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21753 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21755 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21757 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21759 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21761 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21763 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21765 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21767 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21769 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21771 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21773 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21775 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21777 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21779 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21781 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21783 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21785 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21787 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21789 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21791 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21793 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21795 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21797 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21799 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21801 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21803 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21805 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21807 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21809 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21811 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21813 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21815 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21817 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21819 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21821 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21823 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21825 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21827 ac_config_files="$ac_config_files dlls/hal/Makefile"
21829 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21831 ac_config_files="$ac_config_files dlls/hid/Makefile"
21833 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21835 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21837 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21839 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21841 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21843 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21845 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21847 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21849 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21851 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21853 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21855 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21857 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21859 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21861 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21863 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21865 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21867 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21869 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21871 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21873 ac_config_files="$ac_config_files dlls/itss/Makefile"
21875 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21877 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21879 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21881 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21883 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21885 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21887 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21889 ac_config_files="$ac_config_files dlls/localui/Makefile"
21891 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21893 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21895 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21897 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21899 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21901 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21903 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21905 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21907 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21909 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21911 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21913 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21915 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21917 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21919 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21921 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21923 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21925 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21927 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21929 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21931 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21933 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21935 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21937 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21939 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21941 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21943 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21945 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21947 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21949 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21951 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21953 ac_config_files="$ac_config_files dlls/msi/Makefile"
21955 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21957 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21959 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21961 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21963 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21965 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21967 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21969 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21971 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21973 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21975 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21977 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21979 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21981 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21983 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21985 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21987 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21989 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21991 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21993 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21995 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21997 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21999 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22001 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22003 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22005 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22007 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22009 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22011 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22013 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22015 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22017 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22019 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22021 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22023 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22025 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22027 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22029 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22031 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22033 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22035 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22037 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22039 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22041 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22043 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22045 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22047 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22049 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22051 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22053 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22055 ac_config_files="$ac_config_files dlls/printui/Makefile"
22057 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22059 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22061 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22063 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22065 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22067 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22069 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22071 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22073 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22075 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22077 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22079 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22081 ac_config_files="$ac_config_files dlls/query/Makefile"
22083 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22085 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22087 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22089 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22091 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22093 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22095 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22097 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22099 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22101 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22103 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22105 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22107 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22109 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22111 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22113 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22115 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22117 ac_config_files="$ac_config_files dlls/security/Makefile"
22119 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22121 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22123 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22125 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22127 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22129 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22131 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22133 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22135 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22137 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22139 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22141 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22143 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22145 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22147 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22149 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22151 ac_config_files="$ac_config_files dlls/slc/Makefile"
22153 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22155 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22157 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22159 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22161 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22163 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22165 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22167 ac_config_files="$ac_config_files dlls/sti/Makefile"
22169 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22171 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22173 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22175 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22177 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22179 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22181 ac_config_files="$ac_config_files dlls/url/Makefile"
22183 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22185 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22187 ac_config_files="$ac_config_files dlls/user32/Makefile"
22189 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22191 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22193 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22195 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22197 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22199 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22201 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22203 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22205 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22207 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22209 ac_config_files="$ac_config_files dlls/version/Makefile"
22211 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22213 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22215 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22217 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22219 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22221 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22223 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22225 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22227 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22229 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22231 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22233 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22235 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22237 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22239 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22241 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22243 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22245 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22247 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22249 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22251 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22253 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22255 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22257 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22259 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22261 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22263 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22265 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22267 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22269 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22271 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22273 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22275 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22277 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22279 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22281 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22283 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22285 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22287 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22289 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22291 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22293 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22295 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22297 ac_config_files="$ac_config_files documentation/Makefile"
22299 ac_config_files="$ac_config_files fonts/Makefile"
22301 ac_config_files="$ac_config_files include/Makefile"
22303 ac_config_files="$ac_config_files libs/Makefile"
22305 ac_config_files="$ac_config_files libs/port/Makefile"
22307 ac_config_files="$ac_config_files libs/wine/Makefile"
22309 ac_config_files="$ac_config_files libs/wpp/Makefile"
22311 ac_config_files="$ac_config_files loader/Makefile"
22313 ac_config_files="$ac_config_files programs/Makefile"
22315 ac_config_files="$ac_config_files programs/clock/Makefile"
22317 ac_config_files="$ac_config_files programs/cmd/Makefile"
22319 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22321 ac_config_files="$ac_config_files programs/control/Makefile"
22323 ac_config_files="$ac_config_files programs/eject/Makefile"
22325 ac_config_files="$ac_config_files programs/expand/Makefile"
22327 ac_config_files="$ac_config_files programs/explorer/Makefile"
22329 ac_config_files="$ac_config_files programs/hh/Makefile"
22331 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22333 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22335 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22337 ac_config_files="$ac_config_files programs/net/Makefile"
22339 ac_config_files="$ac_config_files programs/notepad/Makefile"
22341 ac_config_files="$ac_config_files programs/oleview/Makefile"
22343 ac_config_files="$ac_config_files programs/progman/Makefile"
22345 ac_config_files="$ac_config_files programs/reg/Makefile"
22347 ac_config_files="$ac_config_files programs/regedit/Makefile"
22349 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22351 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22353 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22355 ac_config_files="$ac_config_files programs/secedit/Makefile"
22357 ac_config_files="$ac_config_files programs/services/Makefile"
22359 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22361 ac_config_files="$ac_config_files programs/start/Makefile"
22363 ac_config_files="$ac_config_files programs/svchost/Makefile"
22365 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22367 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22369 ac_config_files="$ac_config_files programs/view/Makefile"
22371 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22373 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22375 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22377 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22379 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22381 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22383 ac_config_files="$ac_config_files programs/winefile/Makefile"
22385 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22387 ac_config_files="$ac_config_files programs/winemine/Makefile"
22389 ac_config_files="$ac_config_files programs/winepath/Makefile"
22391 ac_config_files="$ac_config_files programs/winetest/Makefile"
22393 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22395 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22397 ac_config_files="$ac_config_files programs/winver/Makefile"
22399 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22401 ac_config_files="$ac_config_files programs/write/Makefile"
22403 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22405 ac_config_files="$ac_config_files server/Makefile"
22407 ac_config_files="$ac_config_files tools/Makefile"
22409 ac_config_files="$ac_config_files tools/widl/Makefile"
22411 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22413 ac_config_files="$ac_config_files tools/winedump/Makefile"
22415 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22417 ac_config_files="$ac_config_files tools/wmc/Makefile"
22419 ac_config_files="$ac_config_files tools/wrc/Makefile"
22422 cat >confcache <<\_ACEOF
22423 # This file is a shell script that caches the results of configure
22424 # tests run on this system so they can be shared between configure
22425 # scripts and configure runs, see configure's option --config-cache.
22426 # It is not useful on other systems. If it contains results you don't
22427 # want to keep, you may remove or edit it.
22429 # config.status only pays attention to the cache file if you give it
22430 # the --recheck option to rerun configure.
22432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22434 # following values.
22436 _ACEOF
22438 # The following way of writing the cache mishandles newlines in values,
22439 # but we know of no workaround that is simple, portable, and efficient.
22440 # So, we kill variables containing newlines.
22441 # Ultrix sh set writes to stderr and can't be redirected directly,
22442 # and sets the high bit in the cache file unless we assign to the vars.
22444 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22445 eval ac_val=\$$ac_var
22446 case $ac_val in #(
22447 *${as_nl}*)
22448 case $ac_var in #(
22449 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22450 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22451 esac
22452 case $ac_var in #(
22453 _ | IFS | as_nl) ;; #(
22454 *) $as_unset $ac_var ;;
22455 esac ;;
22456 esac
22457 done
22459 (set) 2>&1 |
22460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22461 *${as_nl}ac_space=\ *)
22462 # `set' does not quote correctly, so add quotes (double-quote
22463 # substitution turns \\\\ into \\, and sed turns \\ into \).
22464 sed -n \
22465 "s/'/'\\\\''/g;
22466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22467 ;; #(
22469 # `set' quotes correctly as required by POSIX, so do not add quotes.
22470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22472 esac |
22473 sort
22475 sed '
22476 /^ac_cv_env_/b end
22477 t clear
22478 :clear
22479 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22480 t end
22481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22482 :end' >>confcache
22483 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22484 if test -w "$cache_file"; then
22485 test "x$cache_file" != "x/dev/null" &&
22486 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22487 echo "$as_me: updating cache $cache_file" >&6;}
22488 cat confcache >$cache_file
22489 else
22490 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22491 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22494 rm -f confcache
22496 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22497 # Let make expand exec_prefix.
22498 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22500 DEFS=-DHAVE_CONFIG_H
22502 ac_libobjs=
22503 ac_ltlibobjs=
22504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22505 # 1. Remove the extension, and $U if already installed.
22506 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22507 ac_i=`echo "$ac_i" | sed "$ac_script"`
22508 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22509 # will be set to the directory where LIBOBJS objects are built.
22510 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22511 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22512 done
22513 LIBOBJS=$ac_libobjs
22515 LTLIBOBJS=$ac_ltlibobjs
22519 : ${CONFIG_STATUS=./config.status}
22520 ac_clean_files_save=$ac_clean_files
22521 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22522 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22523 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22524 cat >$CONFIG_STATUS <<_ACEOF
22525 #! $SHELL
22526 # Generated by $as_me.
22527 # Run this file to recreate the current configuration.
22528 # Compiler output produced by configure, useful for debugging
22529 # configure, is in config.log if it exists.
22531 debug=false
22532 ac_cs_recheck=false
22533 ac_cs_silent=false
22534 SHELL=\${CONFIG_SHELL-$SHELL}
22535 _ACEOF
22537 cat >>$CONFIG_STATUS <<\_ACEOF
22538 ## --------------------- ##
22539 ## M4sh Initialization. ##
22540 ## --------------------- ##
22542 # Be more Bourne compatible
22543 DUALCASE=1; export DUALCASE # for MKS sh
22544 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22545 emulate sh
22546 NULLCMD=:
22547 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22548 # is contrary to our usage. Disable this feature.
22549 alias -g '${1+"$@"}'='"$@"'
22550 setopt NO_GLOB_SUBST
22551 else
22552 case `(set -o) 2>/dev/null` in
22553 *posix*) set -o posix ;;
22554 esac
22561 # PATH needs CR
22562 # Avoid depending upon Character Ranges.
22563 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22564 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22565 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22566 as_cr_digits='0123456789'
22567 as_cr_alnum=$as_cr_Letters$as_cr_digits
22569 # The user is always right.
22570 if test "${PATH_SEPARATOR+set}" != set; then
22571 echo "#! /bin/sh" >conf$$.sh
22572 echo "exit 0" >>conf$$.sh
22573 chmod +x conf$$.sh
22574 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22575 PATH_SEPARATOR=';'
22576 else
22577 PATH_SEPARATOR=:
22579 rm -f conf$$.sh
22582 # Support unset when possible.
22583 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22584 as_unset=unset
22585 else
22586 as_unset=false
22590 # IFS
22591 # We need space, tab and new line, in precisely that order. Quoting is
22592 # there to prevent editors from complaining about space-tab.
22593 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22594 # splitting by setting IFS to empty value.)
22595 as_nl='
22597 IFS=" "" $as_nl"
22599 # Find who we are. Look in the path if we contain no directory separator.
22600 case $0 in
22601 *[\\/]* ) as_myself=$0 ;;
22602 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22603 for as_dir in $PATH
22605 IFS=$as_save_IFS
22606 test -z "$as_dir" && as_dir=.
22607 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22608 done
22609 IFS=$as_save_IFS
22612 esac
22613 # We did not find ourselves, most probably we were run as `sh COMMAND'
22614 # in which case we are not to be found in the path.
22615 if test "x$as_myself" = x; then
22616 as_myself=$0
22618 if test ! -f "$as_myself"; then
22619 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22620 { (exit 1); exit 1; }
22623 # Work around bugs in pre-3.0 UWIN ksh.
22624 for as_var in ENV MAIL MAILPATH
22625 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22626 done
22627 PS1='$ '
22628 PS2='> '
22629 PS4='+ '
22631 # NLS nuisances.
22632 for as_var in \
22633 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22634 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22635 LC_TELEPHONE LC_TIME
22637 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22638 eval $as_var=C; export $as_var
22639 else
22640 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22642 done
22644 # Required to use basename.
22645 if expr a : '\(a\)' >/dev/null 2>&1 &&
22646 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22647 as_expr=expr
22648 else
22649 as_expr=false
22652 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22653 as_basename=basename
22654 else
22655 as_basename=false
22659 # Name of the executable.
22660 as_me=`$as_basename -- "$0" ||
22661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22662 X"$0" : 'X\(//\)$' \| \
22663 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22664 echo X/"$0" |
22665 sed '/^.*\/\([^/][^/]*\)\/*$/{
22666 s//\1/
22669 /^X\/\(\/\/\)$/{
22670 s//\1/
22673 /^X\/\(\/\).*/{
22674 s//\1/
22677 s/.*/./; q'`
22679 # CDPATH.
22680 $as_unset CDPATH
22684 as_lineno_1=$LINENO
22685 as_lineno_2=$LINENO
22686 test "x$as_lineno_1" != "x$as_lineno_2" &&
22687 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22689 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22690 # uniformly replaced by the line number. The first 'sed' inserts a
22691 # line-number line after each line using $LINENO; the second 'sed'
22692 # does the real work. The second script uses 'N' to pair each
22693 # line-number line with the line containing $LINENO, and appends
22694 # trailing '-' during substitution so that $LINENO is not a special
22695 # case at line end.
22696 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22697 # scripts with optimization help from Paolo Bonzini. Blame Lee
22698 # E. McMahon (1931-1989) for sed's syntax. :-)
22699 sed -n '
22701 /[$]LINENO/=
22702 ' <$as_myself |
22703 sed '
22704 s/[$]LINENO.*/&-/
22705 t lineno
22707 :lineno
22709 :loop
22710 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22711 t loop
22712 s/-\n.*//
22713 ' >$as_me.lineno &&
22714 chmod +x "$as_me.lineno" ||
22715 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22716 { (exit 1); exit 1; }; }
22718 # Don't try to exec as it changes $[0], causing all sort of problems
22719 # (the dirname of $[0] is not the place where we might find the
22720 # original and so on. Autoconf is especially sensitive to this).
22721 . "./$as_me.lineno"
22722 # Exit status is that of the last command.
22723 exit
22727 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22728 as_dirname=dirname
22729 else
22730 as_dirname=false
22733 ECHO_C= ECHO_N= ECHO_T=
22734 case `echo -n x` in
22735 -n*)
22736 case `echo 'x\c'` in
22737 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22738 *) ECHO_C='\c';;
22739 esac;;
22741 ECHO_N='-n';;
22742 esac
22744 if expr a : '\(a\)' >/dev/null 2>&1 &&
22745 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22746 as_expr=expr
22747 else
22748 as_expr=false
22751 rm -f conf$$ conf$$.exe conf$$.file
22752 if test -d conf$$.dir; then
22753 rm -f conf$$.dir/conf$$.file
22754 else
22755 rm -f conf$$.dir
22756 mkdir conf$$.dir
22758 echo >conf$$.file
22759 if ln -s conf$$.file conf$$ 2>/dev/null; then
22760 as_ln_s='ln -s'
22761 # ... but there are two gotchas:
22762 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22763 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22764 # In both cases, we have to default to `cp -p'.
22765 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22766 as_ln_s='cp -p'
22767 elif ln conf$$.file conf$$ 2>/dev/null; then
22768 as_ln_s=ln
22769 else
22770 as_ln_s='cp -p'
22772 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22773 rmdir conf$$.dir 2>/dev/null
22775 if mkdir -p . 2>/dev/null; then
22776 as_mkdir_p=:
22777 else
22778 test -d ./-p && rmdir ./-p
22779 as_mkdir_p=false
22782 if test -x / >/dev/null 2>&1; then
22783 as_test_x='test -x'
22784 else
22785 if ls -dL / >/dev/null 2>&1; then
22786 as_ls_L_option=L
22787 else
22788 as_ls_L_option=
22790 as_test_x='
22791 eval sh -c '\''
22792 if test -d "$1"; then
22793 test -d "$1/.";
22794 else
22795 case $1 in
22796 -*)set "./$1";;
22797 esac;
22798 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22799 ???[sx]*):;;*)false;;esac;fi
22800 '\'' sh
22803 as_executable_p=$as_test_x
22805 # Sed expression to map a string onto a valid CPP name.
22806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22808 # Sed expression to map a string onto a valid variable name.
22809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22812 exec 6>&1
22814 # Save the log message, to keep $[0] and so on meaningful, and to
22815 # report actual input values of CONFIG_FILES etc. instead of their
22816 # values after options handling.
22817 ac_log="
22818 This file was extended by Wine $as_me 1.0-rc1, which was
22819 generated by GNU Autoconf 2.61. Invocation command line was
22821 CONFIG_FILES = $CONFIG_FILES
22822 CONFIG_HEADERS = $CONFIG_HEADERS
22823 CONFIG_LINKS = $CONFIG_LINKS
22824 CONFIG_COMMANDS = $CONFIG_COMMANDS
22825 $ $0 $@
22827 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22830 _ACEOF
22832 cat >>$CONFIG_STATUS <<_ACEOF
22833 # Files that config.status was made for.
22834 config_files="$ac_config_files"
22835 config_headers="$ac_config_headers"
22836 config_commands="$ac_config_commands"
22838 _ACEOF
22840 cat >>$CONFIG_STATUS <<\_ACEOF
22841 ac_cs_usage="\
22842 \`$as_me' instantiates files from templates according to the
22843 current configuration.
22845 Usage: $0 [OPTIONS] [FILE]...
22847 -h, --help print this help, then exit
22848 -V, --version print version number and configuration settings, then exit
22849 -q, --quiet do not print progress messages
22850 -d, --debug don't remove temporary files
22851 --recheck update $as_me by reconfiguring in the same conditions
22852 --file=FILE[:TEMPLATE]
22853 instantiate the configuration file FILE
22854 --header=FILE[:TEMPLATE]
22855 instantiate the configuration header FILE
22857 Configuration files:
22858 $config_files
22860 Configuration headers:
22861 $config_headers
22863 Configuration commands:
22864 $config_commands
22866 Report bugs to <bug-autoconf@gnu.org>."
22868 _ACEOF
22869 cat >>$CONFIG_STATUS <<_ACEOF
22870 ac_cs_version="\\
22871 Wine config.status 1.0-rc1
22872 configured by $0, generated by GNU Autoconf 2.61,
22873 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22875 Copyright (C) 2006 Free Software Foundation, Inc.
22876 This config.status script is free software; the Free Software Foundation
22877 gives unlimited permission to copy, distribute and modify it."
22879 ac_pwd='$ac_pwd'
22880 srcdir='$srcdir'
22881 INSTALL='$INSTALL'
22882 _ACEOF
22884 cat >>$CONFIG_STATUS <<\_ACEOF
22885 # If no file are specified by the user, then we need to provide default
22886 # value. By we need to know if files were specified by the user.
22887 ac_need_defaults=:
22888 while test $# != 0
22890 case $1 in
22891 --*=*)
22892 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22893 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22894 ac_shift=:
22897 ac_option=$1
22898 ac_optarg=$2
22899 ac_shift=shift
22901 esac
22903 case $ac_option in
22904 # Handling of the options.
22905 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22906 ac_cs_recheck=: ;;
22907 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22908 echo "$ac_cs_version"; exit ;;
22909 --debug | --debu | --deb | --de | --d | -d )
22910 debug=: ;;
22911 --file | --fil | --fi | --f )
22912 $ac_shift
22913 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22914 ac_need_defaults=false;;
22915 --header | --heade | --head | --hea )
22916 $ac_shift
22917 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22918 ac_need_defaults=false;;
22919 --he | --h)
22920 # Conflict between --help and --header
22921 { echo "$as_me: error: ambiguous option: $1
22922 Try \`$0 --help' for more information." >&2
22923 { (exit 1); exit 1; }; };;
22924 --help | --hel | -h )
22925 echo "$ac_cs_usage"; exit ;;
22926 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22927 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22928 ac_cs_silent=: ;;
22930 # This is an error.
22931 -*) { echo "$as_me: error: unrecognized option: $1
22932 Try \`$0 --help' for more information." >&2
22933 { (exit 1); exit 1; }; } ;;
22935 *) ac_config_targets="$ac_config_targets $1"
22936 ac_need_defaults=false ;;
22938 esac
22939 shift
22940 done
22942 ac_configure_extra_args=
22944 if $ac_cs_silent; then
22945 exec 6>/dev/null
22946 ac_configure_extra_args="$ac_configure_extra_args --silent"
22949 _ACEOF
22950 cat >>$CONFIG_STATUS <<_ACEOF
22951 if \$ac_cs_recheck; then
22952 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22953 CONFIG_SHELL=$SHELL
22954 export CONFIG_SHELL
22955 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22958 _ACEOF
22959 cat >>$CONFIG_STATUS <<\_ACEOF
22960 exec 5>>config.log
22962 echo
22963 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22964 ## Running $as_me. ##
22965 _ASBOX
22966 echo "$ac_log"
22967 } >&5
22969 _ACEOF
22970 cat >>$CONFIG_STATUS <<_ACEOF
22971 _ACEOF
22973 cat >>$CONFIG_STATUS <<\_ACEOF
22975 # Handling of arguments.
22976 for ac_config_target in $ac_config_targets
22978 case $ac_config_target in
22979 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22980 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22981 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22982 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22983 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22984 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22985 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22986 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22987 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22988 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22989 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22990 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22991 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22992 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22993 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22994 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22995 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22996 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22997 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22998 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22999 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23000 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
23001 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23002 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
23003 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
23004 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23005 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23006 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
23007 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23008 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23009 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23010 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23011 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23012 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23013 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23014 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23015 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23016 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23017 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23018 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23019 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23020 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23021 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23022 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23023 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23024 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23025 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23026 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23027 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23028 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23029 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23030 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23031 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23032 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23033 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23034 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23035 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23036 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23037 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23038 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23039 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23040 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23041 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23042 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23043 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23044 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23045 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23046 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23047 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23048 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23049 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23050 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23051 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23052 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23053 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23054 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23055 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23056 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23057 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23058 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23059 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23060 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23061 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23062 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23063 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23064 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23065 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23066 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23067 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23068 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23069 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23070 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23071 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23072 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23073 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23074 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23075 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23076 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23077 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23078 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23079 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23080 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23081 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23082 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23083 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23084 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23085 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23086 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23087 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23088 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23089 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23090 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23091 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23092 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23093 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23094 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23095 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23096 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23097 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23098 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23099 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23100 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23101 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23102 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23103 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23104 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23105 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23106 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23107 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23108 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23109 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23110 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23111 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23112 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23113 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23114 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23115 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23116 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23117 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23118 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23119 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23120 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23121 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23122 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23123 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23124 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23125 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23126 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23127 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23128 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23129 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23130 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23131 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23132 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23133 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23134 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23135 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23136 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23137 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23138 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23139 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23140 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23141 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23142 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23143 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23144 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23145 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23146 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23147 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23148 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23149 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23150 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23151 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23152 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23153 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23154 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23155 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23156 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23157 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23158 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23159 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23160 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23161 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23162 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23163 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23164 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23165 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23166 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23167 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23168 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23169 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23170 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23171 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23172 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23173 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23174 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23175 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23176 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23177 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23178 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23179 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23180 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23181 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23182 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23183 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23184 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23185 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23186 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23187 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23188 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23189 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23190 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23191 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23192 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23193 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23194 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23195 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23196 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23197 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23198 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23199 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23200 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23201 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23202 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23203 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23204 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23205 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23206 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23207 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23208 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23209 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23210 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23211 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23212 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23213 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23214 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23215 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23216 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23217 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23218 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23219 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23220 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23221 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23222 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23223 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23224 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23225 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23226 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23227 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23228 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23229 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23230 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23231 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23232 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23233 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23234 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23235 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23236 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23237 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23238 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23239 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23240 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23241 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23242 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23243 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23244 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23245 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23246 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23247 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23248 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23249 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23250 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23251 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23252 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23253 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23254 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23255 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23256 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23257 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23258 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23259 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23260 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23261 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23262 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23263 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23264 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23265 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23266 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23267 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23268 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23269 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23270 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23271 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23272 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23273 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23274 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23275 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23276 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23277 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23278 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23279 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23280 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23281 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23282 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23283 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23284 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23285 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23286 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23287 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23288 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23289 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23290 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23291 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23292 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23293 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23294 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23295 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23296 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23297 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23298 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23299 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23300 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23301 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23302 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23303 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23304 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23305 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23306 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23307 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23308 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23309 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23310 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23311 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23312 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23313 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23314 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23315 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23316 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23317 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23318 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23319 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23320 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23321 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23322 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23323 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23324 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23325 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23326 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23327 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23328 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23329 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23330 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23331 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23332 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23333 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23334 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23335 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23336 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23337 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23338 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23339 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23340 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23341 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23342 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23343 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23344 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23345 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23346 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23347 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23348 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23349 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23350 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23351 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23352 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23353 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23354 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23355 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23356 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23357 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23358 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23359 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23360 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23361 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23362 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23363 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23364 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23365 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23366 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23367 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23368 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23369 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23370 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23371 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23372 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23373 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23374 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23375 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23376 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23377 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23378 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23379 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23380 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23381 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23382 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23383 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23384 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23385 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23386 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23387 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23388 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23389 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23390 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23391 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23392 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23393 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23394 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23395 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23396 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23397 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23398 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23399 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23400 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23401 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23403 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23404 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23405 { (exit 1); exit 1; }; };;
23406 esac
23407 done
23410 # If the user did not use the arguments to specify the items to instantiate,
23411 # then the envvar interface is used. Set only those that are not.
23412 # We use the long form for the default assignment because of an extremely
23413 # bizarre bug on SunOS 4.1.3.
23414 if $ac_need_defaults; then
23415 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23416 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23420 # Have a temporary directory for convenience. Make it in the build tree
23421 # simply because there is no reason against having it here, and in addition,
23422 # creating and moving files from /tmp can sometimes cause problems.
23423 # Hook for its removal unless debugging.
23424 # Note that there is a small window in which the directory will not be cleaned:
23425 # after its creation but before its name has been assigned to `$tmp'.
23426 $debug ||
23428 tmp=
23429 trap 'exit_status=$?
23430 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23432 trap '{ (exit 1); exit 1; }' 1 2 13 15
23434 # Create a (secure) tmp directory for tmp files.
23437 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23438 test -n "$tmp" && test -d "$tmp"
23439 } ||
23441 tmp=./conf$$-$RANDOM
23442 (umask 077 && mkdir "$tmp")
23443 } ||
23445 echo "$me: cannot create a temporary directory in ." >&2
23446 { (exit 1); exit 1; }
23450 # Set up the sed scripts for CONFIG_FILES section.
23453 # No need to generate the scripts if there are no CONFIG_FILES.
23454 # This happens for instance when ./config.status config.h
23455 if test -n "$CONFIG_FILES"; then
23457 _ACEOF
23459 # Create sed commands to just substitute file output variables.
23461 # Remaining file output variables are in a fragment that also has non-file
23462 # output varibles.
23466 ac_delim='%!_!# '
23467 for ac_last_try in false false false false false :; do
23468 cat >conf$$subs.sed <<_ACEOF
23469 SHELL!$SHELL$ac_delim
23470 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23471 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23472 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23473 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23474 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23475 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23476 exec_prefix!$exec_prefix$ac_delim
23477 prefix!$prefix$ac_delim
23478 program_transform_name!$program_transform_name$ac_delim
23479 bindir!$bindir$ac_delim
23480 sbindir!$sbindir$ac_delim
23481 libexecdir!$libexecdir$ac_delim
23482 datarootdir!$datarootdir$ac_delim
23483 datadir!$datadir$ac_delim
23484 sysconfdir!$sysconfdir$ac_delim
23485 sharedstatedir!$sharedstatedir$ac_delim
23486 localstatedir!$localstatedir$ac_delim
23487 includedir!$includedir$ac_delim
23488 oldincludedir!$oldincludedir$ac_delim
23489 docdir!$docdir$ac_delim
23490 infodir!$infodir$ac_delim
23491 htmldir!$htmldir$ac_delim
23492 dvidir!$dvidir$ac_delim
23493 pdfdir!$pdfdir$ac_delim
23494 psdir!$psdir$ac_delim
23495 libdir!$libdir$ac_delim
23496 localedir!$localedir$ac_delim
23497 mandir!$mandir$ac_delim
23498 DEFS!$DEFS$ac_delim
23499 ECHO_C!$ECHO_C$ac_delim
23500 ECHO_N!$ECHO_N$ac_delim
23501 ECHO_T!$ECHO_T$ac_delim
23502 LIBS!$LIBS$ac_delim
23503 build_alias!$build_alias$ac_delim
23504 host_alias!$host_alias$ac_delim
23505 target_alias!$target_alias$ac_delim
23506 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23507 build!$build$ac_delim
23508 build_cpu!$build_cpu$ac_delim
23509 build_vendor!$build_vendor$ac_delim
23510 build_os!$build_os$ac_delim
23511 host!$host$ac_delim
23512 host_cpu!$host_cpu$ac_delim
23513 host_vendor!$host_vendor$ac_delim
23514 host_os!$host_os$ac_delim
23515 WIN16_FILES!$WIN16_FILES$ac_delim
23516 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23517 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23518 WINETEST!$WINETEST$ac_delim
23519 SET_MAKE!$SET_MAKE$ac_delim
23520 CC!$CC$ac_delim
23521 CFLAGS!$CFLAGS$ac_delim
23522 LDFLAGS!$LDFLAGS$ac_delim
23523 CPPFLAGS!$CPPFLAGS$ac_delim
23524 ac_ct_CC!$ac_ct_CC$ac_delim
23525 EXEEXT!$EXEEXT$ac_delim
23526 OBJEXT!$OBJEXT$ac_delim
23527 CXX!$CXX$ac_delim
23528 CXXFLAGS!$CXXFLAGS$ac_delim
23529 ac_ct_CXX!$ac_ct_CXX$ac_delim
23530 CPPBIN!$CPPBIN$ac_delim
23531 TOOLSDIR!$TOOLSDIR$ac_delim
23532 XMKMF!$XMKMF$ac_delim
23533 CPP!$CPP$ac_delim
23534 X_CFLAGS!$X_CFLAGS$ac_delim
23535 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23536 X_LIBS!$X_LIBS$ac_delim
23537 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23538 FLEX!$FLEX$ac_delim
23539 BISON!$BISON$ac_delim
23540 AS!$AS$ac_delim
23541 ac_ct_AS!$ac_ct_AS$ac_delim
23542 LD!$LD$ac_delim
23543 AR!$AR$ac_delim
23544 ARFLAGS!$ARFLAGS$ac_delim
23545 RANLIB!$RANLIB$ac_delim
23546 STRIP!$STRIP$ac_delim
23547 WINDRES!$WINDRES$ac_delim
23548 LN_S!$LN_S$ac_delim
23549 LN!$LN$ac_delim
23550 GREP!$GREP$ac_delim
23551 _ACEOF
23553 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23554 break
23555 elif $ac_last_try; then
23556 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23557 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23558 { (exit 1); exit 1; }; }
23559 else
23560 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23562 done
23564 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23565 if test -n "$ac_eof"; then
23566 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23567 ac_eof=`expr $ac_eof + 1`
23570 cat >>$CONFIG_STATUS <<_ACEOF
23571 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23572 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23573 /^[ ]*@MAKE_RULES@[ ]*$/{
23574 r $MAKE_RULES
23577 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23578 r $MAKE_DLL_RULES
23581 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23582 r $MAKE_IMPLIB_RULES
23585 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23586 r $MAKE_TEST_RULES
23589 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23590 r $MAKE_PROG_RULES
23593 _ACEOF
23594 sed '
23595 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23596 s/^/s,@/; s/!/@,|#_!!_#|/
23599 s/'"$ac_delim"'$/,g/; t
23600 s/$/\\/; p
23601 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23602 ' >>$CONFIG_STATUS <conf$$subs.sed
23603 rm -f conf$$subs.sed
23604 cat >>$CONFIG_STATUS <<_ACEOF
23605 CEOF$ac_eof
23606 _ACEOF
23609 ac_delim='%!_!# '
23610 for ac_last_try in false false false false false :; do
23611 cat >conf$$subs.sed <<_ACEOF
23612 EGREP!$EGREP$ac_delim
23613 LDCONFIG!$LDCONFIG$ac_delim
23614 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23615 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23616 INSTALL_DATA!$INSTALL_DATA$ac_delim
23617 LINT!$LINT$ac_delim
23618 LINTFLAGS!$LINTFLAGS$ac_delim
23619 FONTFORGE!$FONTFORGE$ac_delim
23620 PKG_CONFIG!$PKG_CONFIG$ac_delim
23621 RSVG!$RSVG$ac_delim
23622 ICOTOOL!$ICOTOOL$ac_delim
23623 PRELINK!$PRELINK$ac_delim
23624 LIBPTHREAD!$LIBPTHREAD$ac_delim
23625 XLIB!$XLIB$ac_delim
23626 XFILES!$XFILES$ac_delim
23627 OPENGLFILES!$OPENGLFILES$ac_delim
23628 GLU32FILES!$GLU32FILES$ac_delim
23629 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23630 QUARTZFILES!$QUARTZFILES$ac_delim
23631 DLLEXT!$DLLEXT$ac_delim
23632 DLLFLAGS!$DLLFLAGS$ac_delim
23633 LDSHARED!$LDSHARED$ac_delim
23634 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23635 LIBEXT!$LIBEXT$ac_delim
23636 IMPLIBEXT!$IMPLIBEXT$ac_delim
23637 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23638 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23639 LDD!$LDD$ac_delim
23640 DLLTOOL!$DLLTOOL$ac_delim
23641 DLLWRAP!$DLLWRAP$ac_delim
23642 MINGWAR!$MINGWAR$ac_delim
23643 SECURITYLIB!$SECURITYLIB$ac_delim
23644 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23645 IOKITLIB!$IOKITLIB$ac_delim
23646 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23647 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23648 COREAUDIO!$COREAUDIO$ac_delim
23649 CARBONLIB!$CARBONLIB$ac_delim
23650 CROSSTEST!$CROSSTEST$ac_delim
23651 CROSSCC!$CROSSCC$ac_delim
23652 CROSSWINDRES!$CROSSWINDRES$ac_delim
23653 NASLIBS!$NASLIBS$ac_delim
23654 XML2LIBS!$XML2LIBS$ac_delim
23655 XML2INCL!$XML2INCL$ac_delim
23656 XSLTLIBS!$XSLTLIBS$ac_delim
23657 XSLTINCL!$XSLTINCL$ac_delim
23658 HALINCL!$HALINCL$ac_delim
23659 sane_devel!$sane_devel$ac_delim
23660 SANEINCL!$SANEINCL$ac_delim
23661 gphoto2_devel!$gphoto2_devel$ac_delim
23662 gphoto2port_devel!$gphoto2port_devel$ac_delim
23663 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23664 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23665 RESOLVLIBS!$RESOLVLIBS$ac_delim
23666 LCMSLIBS!$LCMSLIBS$ac_delim
23667 LDAPLIBS!$LDAPLIBS$ac_delim
23668 ft_devel!$ft_devel$ac_delim
23669 FREETYPELIBS!$FREETYPELIBS$ac_delim
23670 FREETYPEINCL!$FREETYPEINCL$ac_delim
23671 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23672 ESDCONFIG!$ESDCONFIG$ac_delim
23673 ESDLIBS!$ESDLIBS$ac_delim
23674 ESDINCL!$ESDINCL$ac_delim
23675 ALSALIBS!$ALSALIBS$ac_delim
23676 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23677 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23678 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23679 BUILTINFLAG!$BUILTINFLAG$ac_delim
23680 LDPATH!$LDPATH$ac_delim
23681 CRTLIBS!$CRTLIBS$ac_delim
23682 SOCKETLIBS!$SOCKETLIBS$ac_delim
23683 MAIN_BINARY!$MAIN_BINARY$ac_delim
23684 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23685 LIBDL!$LIBDL$ac_delim
23686 LIBPOLL!$LIBPOLL$ac_delim
23687 DEPENDENCIES!$DEPENDENCIES$ac_delim
23688 LIBOBJS!$LIBOBJS$ac_delim
23689 LTLIBOBJS!$LTLIBOBJS$ac_delim
23690 _ACEOF
23692 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
23693 break
23694 elif $ac_last_try; then
23695 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23696 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23697 { (exit 1); exit 1; }; }
23698 else
23699 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23701 done
23703 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23704 if test -n "$ac_eof"; then
23705 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23706 ac_eof=`expr $ac_eof + 1`
23709 cat >>$CONFIG_STATUS <<_ACEOF
23710 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23711 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23712 _ACEOF
23713 sed '
23714 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23715 s/^/s,@/; s/!/@,|#_!!_#|/
23718 s/'"$ac_delim"'$/,g/; t
23719 s/$/\\/; p
23720 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23721 ' >>$CONFIG_STATUS <conf$$subs.sed
23722 rm -f conf$$subs.sed
23723 cat >>$CONFIG_STATUS <<_ACEOF
23724 :end
23725 s/|#_!!_#|//g
23726 CEOF$ac_eof
23727 _ACEOF
23730 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23731 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23732 # trailing colons and then remove the whole line if VPATH becomes empty
23733 # (actually we leave an empty line to preserve line numbers).
23734 if test "x$srcdir" = x.; then
23735 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23736 s/:*\$(srcdir):*/:/
23737 s/:*\${srcdir}:*/:/
23738 s/:*@srcdir@:*/:/
23739 s/^\([^=]*=[ ]*\):*/\1/
23740 s/:*$//
23741 s/^[^=]*=[ ]*$//
23745 cat >>$CONFIG_STATUS <<\_ACEOF
23746 fi # test -n "$CONFIG_FILES"
23749 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23751 case $ac_tag in
23752 :[FHLC]) ac_mode=$ac_tag; continue;;
23753 esac
23754 case $ac_mode$ac_tag in
23755 :[FHL]*:*);;
23756 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23757 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23758 { (exit 1); exit 1; }; };;
23759 :[FH]-) ac_tag=-:-;;
23760 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23761 esac
23762 ac_save_IFS=$IFS
23763 IFS=:
23764 set x $ac_tag
23765 IFS=$ac_save_IFS
23766 shift
23767 ac_file=$1
23768 shift
23770 case $ac_mode in
23771 :L) ac_source=$1;;
23772 :[FH])
23773 ac_file_inputs=
23774 for ac_f
23776 case $ac_f in
23777 -) ac_f="$tmp/stdin";;
23778 *) # Look for the file first in the build tree, then in the source tree
23779 # (if the path is not absolute). The absolute path cannot be DOS-style,
23780 # because $ac_f cannot contain `:'.
23781 test -f "$ac_f" ||
23782 case $ac_f in
23783 [\\/$]*) false;;
23784 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23785 esac ||
23786 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23787 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23788 { (exit 1); exit 1; }; };;
23789 esac
23790 ac_file_inputs="$ac_file_inputs $ac_f"
23791 done
23793 # Let's still pretend it is `configure' which instantiates (i.e., don't
23794 # use $as_me), people would be surprised to read:
23795 # /* config.h. Generated by config.status. */
23796 configure_input="Generated from "`IFS=:
23797 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23798 if test x"$ac_file" != x-; then
23799 configure_input="$ac_file. $configure_input"
23800 { echo "$as_me:$LINENO: creating $ac_file" >&5
23801 echo "$as_me: creating $ac_file" >&6;}
23804 case $ac_tag in
23805 *:-:* | *:-) cat >"$tmp/stdin";;
23806 esac
23808 esac
23810 ac_dir=`$as_dirname -- "$ac_file" ||
23811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23812 X"$ac_file" : 'X\(//\)[^/]' \| \
23813 X"$ac_file" : 'X\(//\)$' \| \
23814 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23815 echo X"$ac_file" |
23816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23817 s//\1/
23820 /^X\(\/\/\)[^/].*/{
23821 s//\1/
23824 /^X\(\/\/\)$/{
23825 s//\1/
23828 /^X\(\/\).*/{
23829 s//\1/
23832 s/.*/./; q'`
23833 { as_dir="$ac_dir"
23834 case $as_dir in #(
23835 -*) as_dir=./$as_dir;;
23836 esac
23837 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23838 as_dirs=
23839 while :; do
23840 case $as_dir in #(
23841 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23842 *) as_qdir=$as_dir;;
23843 esac
23844 as_dirs="'$as_qdir' $as_dirs"
23845 as_dir=`$as_dirname -- "$as_dir" ||
23846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23847 X"$as_dir" : 'X\(//\)[^/]' \| \
23848 X"$as_dir" : 'X\(//\)$' \| \
23849 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23850 echo X"$as_dir" |
23851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23852 s//\1/
23855 /^X\(\/\/\)[^/].*/{
23856 s//\1/
23859 /^X\(\/\/\)$/{
23860 s//\1/
23863 /^X\(\/\).*/{
23864 s//\1/
23867 s/.*/./; q'`
23868 test -d "$as_dir" && break
23869 done
23870 test -z "$as_dirs" || eval "mkdir $as_dirs"
23871 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23872 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23873 { (exit 1); exit 1; }; }; }
23874 ac_builddir=.
23876 case "$ac_dir" in
23877 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23879 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23880 # A ".." for each directory in $ac_dir_suffix.
23881 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23882 case $ac_top_builddir_sub in
23883 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23884 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23885 esac ;;
23886 esac
23887 ac_abs_top_builddir=$ac_pwd
23888 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23889 # for backward compatibility:
23890 ac_top_builddir=$ac_top_build_prefix
23892 case $srcdir in
23893 .) # We are building in place.
23894 ac_srcdir=.
23895 ac_top_srcdir=$ac_top_builddir_sub
23896 ac_abs_top_srcdir=$ac_pwd ;;
23897 [\\/]* | ?:[\\/]* ) # Absolute name.
23898 ac_srcdir=$srcdir$ac_dir_suffix;
23899 ac_top_srcdir=$srcdir
23900 ac_abs_top_srcdir=$srcdir ;;
23901 *) # Relative name.
23902 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23903 ac_top_srcdir=$ac_top_build_prefix$srcdir
23904 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23905 esac
23906 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23909 case $ac_mode in
23912 # CONFIG_FILE
23915 case $INSTALL in
23916 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23917 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23918 esac
23919 _ACEOF
23921 cat >>$CONFIG_STATUS <<\_ACEOF
23922 # If the template does not know about datarootdir, expand it.
23923 # FIXME: This hack should be removed a few years after 2.60.
23924 ac_datarootdir_hack=; ac_datarootdir_seen=
23926 case `sed -n '/datarootdir/ {
23930 /@datadir@/p
23931 /@docdir@/p
23932 /@infodir@/p
23933 /@localedir@/p
23934 /@mandir@/p
23935 ' $ac_file_inputs` in
23936 *datarootdir*) ac_datarootdir_seen=yes;;
23937 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23938 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23939 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23940 _ACEOF
23941 cat >>$CONFIG_STATUS <<_ACEOF
23942 ac_datarootdir_hack='
23943 s&@datadir@&$datadir&g
23944 s&@docdir@&$docdir&g
23945 s&@infodir@&$infodir&g
23946 s&@localedir@&$localedir&g
23947 s&@mandir@&$mandir&g
23948 s&\\\${datarootdir}&$datarootdir&g' ;;
23949 esac
23950 _ACEOF
23952 # Neutralize VPATH when `$srcdir' = `.'.
23953 # Shell code in configure.ac might set extrasub.
23954 # FIXME: do we really want to maintain this feature?
23955 cat >>$CONFIG_STATUS <<_ACEOF
23956 sed "$ac_vpsub
23957 $extrasub
23958 _ACEOF
23959 cat >>$CONFIG_STATUS <<\_ACEOF
23961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23962 s&@configure_input@&$configure_input&;t t
23963 s&@top_builddir@&$ac_top_builddir_sub&;t t
23964 s&@srcdir@&$ac_srcdir&;t t
23965 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23966 s&@top_srcdir@&$ac_top_srcdir&;t t
23967 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23968 s&@builddir@&$ac_builddir&;t t
23969 s&@abs_builddir@&$ac_abs_builddir&;t t
23970 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23971 s&@INSTALL@&$ac_INSTALL&;t t
23972 $ac_datarootdir_hack
23973 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23975 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23976 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23977 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23978 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23979 which seems to be undefined. Please make sure it is defined." >&5
23980 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23981 which seems to be undefined. Please make sure it is defined." >&2;}
23983 rm -f "$tmp/stdin"
23984 case $ac_file in
23985 -) cat "$tmp/out"; rm -f "$tmp/out";;
23986 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23987 esac
23991 # CONFIG_HEADER
23993 _ACEOF
23995 # Transform confdefs.h into a sed script `conftest.defines', that
23996 # substitutes the proper values into config.h.in to produce config.h.
23997 rm -f conftest.defines conftest.tail
23998 # First, append a space to every undef/define line, to ease matching.
23999 echo 's/$/ /' >conftest.defines
24000 # Then, protect against being on the right side of a sed subst, or in
24001 # an unquoted here document, in config.status. If some macros were
24002 # called several times there might be several #defines for the same
24003 # symbol, which is useless. But do not sort them, since the last
24004 # AC_DEFINE must be honored.
24005 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24006 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24007 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24008 # PARAMS is the parameter list in the macro definition--in most cases, it's
24009 # just an empty string.
24010 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24011 ac_dB='\\)[ (].*,\\1define\\2'
24012 ac_dC=' '
24013 ac_dD=' ,'
24015 uniq confdefs.h |
24016 sed -n '
24017 t rset
24018 :rset
24019 s/^[ ]*#[ ]*define[ ][ ]*//
24020 t ok
24023 s/[\\&,]/\\&/g
24024 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24025 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24026 ' >>conftest.defines
24028 # Remove the space that was appended to ease matching.
24029 # Then replace #undef with comments. This is necessary, for
24030 # example, in the case of _POSIX_SOURCE, which is predefined and required
24031 # on some systems where configure will not decide to define it.
24032 # (The regexp can be short, since the line contains either #define or #undef.)
24033 echo 's/ $//
24034 s,^[ #]*u.*,/* & */,' >>conftest.defines
24036 # Break up conftest.defines:
24037 ac_max_sed_lines=50
24039 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24040 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24041 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24042 # et cetera.
24043 ac_in='$ac_file_inputs'
24044 ac_out='"$tmp/out1"'
24045 ac_nxt='"$tmp/out2"'
24047 while :
24049 # Write a here document:
24050 cat >>$CONFIG_STATUS <<_ACEOF
24051 # First, check the format of the line:
24052 cat >"\$tmp/defines.sed" <<\\CEOF
24053 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24054 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24056 :def
24057 _ACEOF
24058 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24059 echo 'CEOF
24060 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24061 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24062 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24063 grep . conftest.tail >/dev/null || break
24064 rm -f conftest.defines
24065 mv conftest.tail conftest.defines
24066 done
24067 rm -f conftest.defines conftest.tail
24069 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24070 cat >>$CONFIG_STATUS <<\_ACEOF
24071 if test x"$ac_file" != x-; then
24072 echo "/* $configure_input */" >"$tmp/config.h"
24073 cat "$ac_result" >>"$tmp/config.h"
24074 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24075 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24076 echo "$as_me: $ac_file is unchanged" >&6;}
24077 else
24078 rm -f $ac_file
24079 mv "$tmp/config.h" $ac_file
24081 else
24082 echo "/* $configure_input */"
24083 cat "$ac_result"
24085 rm -f "$tmp/out12"
24088 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24089 echo "$as_me: executing $ac_file commands" >&6;}
24091 esac
24094 case $ac_file$ac_mode in
24095 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24096 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24097 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24098 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24099 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24100 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24101 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24102 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24103 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24104 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24105 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24106 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24107 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24109 esac
24110 done # for ac_tag
24113 { (exit 0); exit 0; }
24114 _ACEOF
24115 chmod +x $CONFIG_STATUS
24116 ac_clean_files=$ac_clean_files_save
24119 # configure is writing to config.log, and then calls config.status.
24120 # config.status does its own redirection, appending to config.log.
24121 # Unfortunately, on DOS this fails, as config.log is still kept open
24122 # by configure, so config.status won't be able to write to it; its
24123 # output is simply discarded. So we exec the FD to /dev/null,
24124 # effectively closing config.log, so it can be properly (re)opened and
24125 # appended to by config.status. When coming back to configure, we
24126 # need to make the FD available again.
24127 if test "$no_create" != yes; then
24128 ac_cs_success=:
24129 ac_config_status_args=
24130 test "$silent" = yes &&
24131 ac_config_status_args="$ac_config_status_args --quiet"
24132 exec 5>/dev/null
24133 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24134 exec 5>>config.log
24135 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24136 # would make configure fail if this is the last instruction.
24137 $ac_cs_success || { (exit 1); exit 1; }
24141 if test "$no_create" = "yes"
24142 then
24143 exit 0
24146 ac_save_IFS="$IFS"
24147 IFS="|"
24148 if test "x$wine_notices != "x; then
24149 echo >&6
24150 for msg in $wine_notices; do
24151 if test -n "$msg"; then
24152 { echo "$as_me:$LINENO: $msg" >&5
24153 echo "$as_me: $msg" >&6;}
24155 done
24157 for msg in $wine_warnings; do
24158 if test -n "$msg"; then
24159 echo >&2
24160 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24161 echo "$as_me: WARNING: $msg" >&2;}
24163 done
24164 IFS="$ac_save_IFS"
24166 echo "
24167 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24168 " >&6