mshtml: Better timer handling.
[wine/wine-jacek.git] / configure
bloba8288977040d52cbe8eeb68a5e7626e45686c4d3
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 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 RSVG
708 ICOTOOL
709 PRELINK
710 LIBPTHREAD
711 XLIB
712 XFILES
713 OPENGLFILES
714 GLU32FILES
715 OPENGL_LIBS
716 QUARTZFILES
717 DLLEXT
718 DLLFLAGS
719 LDSHARED
720 LDDLLFLAGS
721 LIBEXT
722 IMPLIBEXT
723 LDRPATH_INSTALL
724 LDRPATH_LOCAL
726 DLLTOOL
727 DLLWRAP
728 MINGWAR
729 SECURITYLIB
730 COREFOUNDATIONLIB
731 IOKITLIB
732 LDEXECFLAGS
733 DISKARBITRATIONLIB
734 COREAUDIO
735 CARBONLIB
736 CROSSTEST
737 CROSSCC
738 CROSSWINDRES
739 NASLIBS
740 XML2LIBS
741 XML2INCL
742 XSLTLIBS
743 XSLTINCL
744 HALINCL
745 sane_devel
746 SANEINCL
747 gphoto2_devel
748 gphoto2port_devel
749 GPHOTO2LIBS
750 GPHOTO2INCL
751 RESOLVLIBS
752 LCMSLIBS
753 LDAPLIBS
754 ft_devel
755 FREETYPELIBS
756 FREETYPEINCL
757 FONTSSUBDIRS
758 ESDCONFIG
759 ESDLIBS
760 ESDINCL
761 ALSALIBS
762 AUDIOIOLIBS
763 FONTCONFIGINCL
764 EXTRACFLAGS
765 BUILTINFLAG
766 LDPATH
767 CRTLIBS
768 SOCKETLIBS
769 MAIN_BINARY
770 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781 ac_precious_vars='build_alias
782 host_alias
783 target_alias
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
790 CXXFLAGS
792 XMKMF
793 CPP'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures Wine 1.0-rc1 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 X features:
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1357 System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 1.0-rc1:";;
1366 esac
1367 cat <<\_ACEOF
1369 Optional Features:
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 binaries)
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-freetype do not use the FreeType library
1391 --without-gphoto do not use gphoto (Digital Camera support)
1392 --without-glu do not use the GLU library
1393 --without-hal do not use HAL (dynamic device support)
1394 --without-jack do not use the Jack sound support
1395 --without-jpeg do not use JPEG
1396 --without-ldap do not use LDAP
1397 --without-nas do not use the NAS sound support
1398 --without-opengl do not use OpenGL
1399 --without-openssl do not use OpenSSL
1400 --without-oss do not use the OSS sound support
1401 --without-png do not use PNG
1402 --without-sane do not use SANE (scanner support)
1403 --without-xcomposite do not use the Xcomposite extension
1404 --without-xcursor do not use the Xcursor extension
1405 --without-xinerama do not use Xinerama (multi-monitor support)
1406 --without-xinput do not use the Xinput extension
1407 --without-xml do not use XML
1408 --without-xrandr do not use Xrandr (resolution changes)
1409 --without-xrender do not use the Xrender extension
1410 --without-xshape do not use the Xshape extension
1411 --without-xshm do not use XShm (shared memory extension)
1412 --without-xslt do not use XSLT
1413 --without-xvidmode do not use XFree video mode extension
1414 --with-wine-tools=DIR use Wine tools from directory DIR
1415 --with-x use the X Window System
1417 Some influential environment variables:
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1425 CXX C++ compiler command
1426 CXXFLAGS C++ compiler flags
1427 XMKMF Path to xmkmf, Makefile generator for X Window System
1428 CPP C preprocessor
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to <wine-devel@winehq.org>.
1434 _ACEOF
1435 ac_status=$?
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" || continue
1442 ac_builddir=.
1444 case "$ac_dir" in
1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 esac ;;
1454 esac
1455 ac_abs_top_builddir=$ac_pwd
1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir=$ac_top_build_prefix
1460 case $srcdir in
1461 .) # We are building in place.
1462 ac_srcdir=.
1463 ac_top_srcdir=$ac_top_builddir_sub
1464 ac_abs_top_srcdir=$ac_pwd ;;
1465 [\\/]* | ?:[\\/]* ) # Absolute name.
1466 ac_srcdir=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir=$srcdir
1468 ac_abs_top_srcdir=$srcdir ;;
1469 *) # Relative name.
1470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 esac
1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" || { ac_status=$?; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1479 echo &&
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1482 echo &&
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1484 else
1485 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486 fi || ac_status=$?
1487 cd "$ac_pwd" || { ac_status=$?; break; }
1488 done
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1493 cat <<\_ACEOF
1494 Wine configure 1.0-rc1
1495 generated by GNU Autoconf 2.61
1497 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1498 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1501 _ACEOF
1502 exit
1504 cat >config.log <<_ACEOF
1505 This file contains any messages produced by compilers while
1506 running configure, to aid debugging if configure makes a mistake.
1508 It was created by Wine $as_me 1.0-rc1, which was
1509 generated by GNU Autoconf 2.61. Invocation command line was
1511 $ $0 $@
1513 _ACEOF
1514 exec 5>>config.log
1516 cat <<_ASUNAME
1517 ## --------- ##
1518 ## Platform. ##
1519 ## --------- ##
1521 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1522 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1523 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1524 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1525 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1527 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1528 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1530 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1531 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1532 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1533 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1534 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1535 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1536 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1538 _ASUNAME
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 for as_dir in $PATH
1543 IFS=$as_save_IFS
1544 test -z "$as_dir" && as_dir=.
1545 echo "PATH: $as_dir"
1546 done
1547 IFS=$as_save_IFS
1549 } >&5
1551 cat >&5 <<_ACEOF
1554 ## ----------- ##
1555 ## Core tests. ##
1556 ## ----------- ##
1558 _ACEOF
1561 # Keep a trace of the command line.
1562 # Strip out --no-create and --no-recursion so they do not pile up.
1563 # Strip out --silent because we don't want to record it for future runs.
1564 # Also quote any args containing shell meta-characters.
1565 # Make two passes to allow for proper duplicate-argument suppression.
1566 ac_configure_args=
1567 ac_configure_args0=
1568 ac_configure_args1=
1569 ac_must_keep_next=false
1570 for ac_pass in 1 2
1572 for ac_arg
1574 case $ac_arg in
1575 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1577 | -silent | --silent | --silen | --sile | --sil)
1578 continue ;;
1579 *\'*)
1580 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1581 esac
1582 case $ac_pass in
1583 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1585 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1586 if test $ac_must_keep_next = true; then
1587 ac_must_keep_next=false # Got value, back to normal.
1588 else
1589 case $ac_arg in
1590 *=* | --config-cache | -C | -disable-* | --disable-* \
1591 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1592 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1593 | -with-* | --with-* | -without-* | --without-* | --x)
1594 case "$ac_configure_args0 " in
1595 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1596 esac
1598 -* ) ac_must_keep_next=true ;;
1599 esac
1601 ac_configure_args="$ac_configure_args '$ac_arg'"
1603 esac
1604 done
1605 done
1606 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1607 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1609 # When interrupted or exit'd, cleanup temporary files, and complete
1610 # config.log. We remove comments because anyway the quotes in there
1611 # would cause problems or look ugly.
1612 # WARNING: Use '\'' to represent an apostrophe within the trap.
1613 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1614 trap 'exit_status=$?
1615 # Save into config.log some information that might help in debugging.
1617 echo
1619 cat <<\_ASBOX
1620 ## ---------------- ##
1621 ## Cache variables. ##
1622 ## ---------------- ##
1623 _ASBOX
1624 echo
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1629 case $ac_val in #(
1630 *${as_nl}*)
1631 case $ac_var in #(
1632 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1633 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1634 esac
1635 case $ac_var in #(
1636 _ | IFS | as_nl) ;; #(
1637 *) $as_unset $ac_var ;;
1638 esac ;;
1639 esac
1640 done
1641 (set) 2>&1 |
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1644 sed -n \
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1647 ;; #(
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1651 esac |
1652 sort
1654 echo
1656 cat <<\_ASBOX
1657 ## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##
1660 _ASBOX
1661 echo
1662 for ac_var in $ac_subst_vars
1664 eval ac_val=\$$ac_var
1665 case $ac_val in
1666 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 esac
1668 echo "$ac_var='\''$ac_val'\''"
1669 done | sort
1670 echo
1672 if test -n "$ac_subst_files"; then
1673 cat <<\_ASBOX
1674 ## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##
1677 _ASBOX
1678 echo
1679 for ac_var in $ac_subst_files
1681 eval ac_val=\$$ac_var
1682 case $ac_val in
1683 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684 esac
1685 echo "$ac_var='\''$ac_val'\''"
1686 done | sort
1687 echo
1690 if test -s confdefs.h; then
1691 cat <<\_ASBOX
1692 ## ----------- ##
1693 ## confdefs.h. ##
1694 ## ----------- ##
1695 _ASBOX
1696 echo
1697 cat confdefs.h
1698 echo
1700 test "$ac_signal" != 0 &&
1701 echo "$as_me: caught signal $ac_signal"
1702 echo "$as_me: exit $exit_status"
1703 } >&5
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1706 exit $exit_status
1708 for ac_signal in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1710 done
1711 ac_signal=0
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest* confdefs.h
1716 # Predefined preprocessor variables.
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_NAME "$PACKAGE_NAME"
1720 _ACEOF
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1725 _ACEOF
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1730 _ACEOF
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 _ACEOF
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 _ACEOF
1743 # Let the site file select an alternate cache file if it wants to.
1744 # Prefer explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746 set x "$CONFIG_SITE"
1747 elif test "x$prefix" != xNONE; then
1748 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1749 else
1750 set x "$ac_default_prefix/share/config.site" \
1751 "$ac_default_prefix/etc/config.site"
1753 shift
1754 for ac_site_file
1756 if test -r "$ac_site_file"; then
1757 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 echo "$as_me: loading site script $ac_site_file" >&6;}
1759 sed 's/^/| /' "$ac_site_file" >&5
1760 . "$ac_site_file"
1762 done
1764 if test -r "$cache_file"; then
1765 # Some versions of bash will fail to source /dev/null (special
1766 # files actually), so we avoid doing that.
1767 if test -f "$cache_file"; then
1768 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 echo "$as_me: loading cache $cache_file" >&6;}
1770 case $cache_file in
1771 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1772 *) . "./$cache_file";;
1773 esac
1775 else
1776 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 echo "$as_me: creating cache $cache_file" >&6;}
1778 >$cache_file
1781 # Check that the precious variables saved in the cache have kept the same
1782 # value.
1783 ac_cache_corrupted=false
1784 for ac_var in $ac_precious_vars; do
1785 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1786 eval ac_new_set=\$ac_env_${ac_var}_set
1787 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1788 eval ac_new_val=\$ac_env_${ac_var}_value
1789 case $ac_old_set,$ac_new_set in
1790 set,)
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1794 ,set)
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1797 ac_cache_corrupted=: ;;
1798 ,);;
1800 if test "x$ac_old_val" != "x$ac_new_val"; then
1801 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1802 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1804 echo "$as_me: former value: $ac_old_val" >&2;}
1805 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1806 echo "$as_me: current value: $ac_new_val" >&2;}
1807 ac_cache_corrupted=:
1808 fi;;
1809 esac
1810 # Pass precious variables to config.status.
1811 if test "$ac_new_set" = set; then
1812 case $ac_new_val in
1813 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 *) ac_arg=$ac_var=$ac_new_val ;;
1815 esac
1816 case " $ac_configure_args " in
1817 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1818 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1819 esac
1821 done
1822 if $ac_cache_corrupted; then
1823 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1824 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1826 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1827 { (exit 1); exit 1; }; }
1854 ac_ext=c
1855 ac_cpp='$CPP $CPPFLAGS'
1856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862 ac_config_headers="$ac_config_headers include/config.h"
1864 ac_aux_dir=
1865 for ac_dir in tools "$srcdir"/tools; do
1866 if test -f "$ac_dir/install-sh"; then
1867 ac_aux_dir=$ac_dir
1868 ac_install_sh="$ac_aux_dir/install-sh -c"
1869 break
1870 elif test -f "$ac_dir/install.sh"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/install.sh -c"
1873 break
1874 elif test -f "$ac_dir/shtool"; then
1875 ac_aux_dir=$ac_dir
1876 ac_install_sh="$ac_aux_dir/shtool install -c"
1877 break
1879 done
1880 if test -z "$ac_aux_dir"; then
1881 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1882 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1883 { (exit 1); exit 1; }; }
1886 # These three variables are undocumented and unsupported,
1887 # and are intended to be withdrawn in a future Autoconf release.
1888 # They can cause serious problems if a builder's source tree is in a directory
1889 # whose full name contains unusual characters.
1890 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1891 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1892 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1897 # Check whether --enable-win16 was given.
1898 if test "${enable_win16+set}" = set; then
1899 enableval=$enable_win16;
1902 # Check whether --enable-win64 was given.
1903 if test "${enable_win64+set}" = set; then
1904 enableval=$enable_win64;
1907 # Check whether --enable-maintainer-mode was given.
1908 if test "${enable_maintainer_mode+set}" = set; then
1909 enableval=$enable_maintainer_mode;
1910 else
1911 MAINTAINER_MODE=\#
1917 # Check whether --with-alsa was given.
1918 if test "${with_alsa+set}" = set; then
1919 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1923 # Check whether --with-audioio was given.
1924 if test "${with_audioio+set}" = set; then
1925 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1929 # Check whether --with-capi was given.
1930 if test "${with_capi+set}" = set; then
1931 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1935 # Check whether --with-cms was given.
1936 if test "${with_cms+set}" = set; then
1937 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1941 # Check whether --with-coreaudio was given.
1942 if test "${with_coreaudio+set}" = set; then
1943 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1947 # Check whether --with-cups was given.
1948 if test "${with_cups+set}" = set; then
1949 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1953 # Check whether --with-curses was given.
1954 if test "${with_curses+set}" = set; then
1955 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1959 # Check whether --with-esd was given.
1960 if test "${with_esd+set}" = set; then
1961 withval=$with_esd;
1965 # Check whether --with-fontconfig was given.
1966 if test "${with_fontconfig+set}" = set; then
1967 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1971 # Check whether --with-freetype was given.
1972 if test "${with_freetype+set}" = set; then
1973 withval=$with_freetype;
1977 # Check whether --with-gphoto was given.
1978 if test "${with_gphoto+set}" = set; then
1979 withval=$with_gphoto;
1983 # Check whether --with-glu was given.
1984 if test "${with_glu+set}" = set; then
1985 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1989 # Check whether --with-hal was given.
1990 if test "${with_hal+set}" = set; then
1991 withval=$with_hal;
1995 # Check whether --with-jack was given.
1996 if test "${with_jack+set}" = set; then
1997 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2001 # Check whether --with-jpeg was given.
2002 if test "${with_jpeg+set}" = set; then
2003 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2007 # Check whether --with-ldap was given.
2008 if test "${with_ldap+set}" = set; then
2009 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2013 # Check whether --with-nas was given.
2014 if test "${with_nas+set}" = set; then
2015 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2019 # Check whether --with-opengl was given.
2020 if test "${with_opengl+set}" = set; then
2021 withval=$with_opengl;
2025 # Check whether --with-openssl was given.
2026 if test "${with_openssl+set}" = set; then
2027 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2031 # Check whether --with-oss was given.
2032 if test "${with_oss+set}" = set; then
2033 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2037 # Check whether --with-png was given.
2038 if test "${with_png+set}" = set; then
2039 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2043 # Check whether --with-sane was given.
2044 if test "${with_sane+set}" = set; then
2045 withval=$with_sane;
2049 # Check whether --with-xcomposite was given.
2050 if test "${with_xcomposite+set}" = set; then
2051 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2055 # Check whether --with-xcursor was given.
2056 if test "${with_xcursor+set}" = set; then
2057 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2061 # Check whether --with-xinerama was given.
2062 if test "${with_xinerama+set}" = set; then
2063 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2067 # Check whether --with-xinput was given.
2068 if test "${with_xinput+set}" = set; then
2069 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2073 # Check whether --with-xml was given.
2074 if test "${with_xml+set}" = set; then
2075 withval=$with_xml;
2079 # Check whether --with-xrandr was given.
2080 if test "${with_xrandr+set}" = set; then
2081 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2085 # Check whether --with-xrender was given.
2086 if test "${with_xrender+set}" = set; then
2087 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2091 # Check whether --with-xshape was given.
2092 if test "${with_xshape+set}" = set; then
2093 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2097 # Check whether --with-xshm was given.
2098 if test "${with_xshm+set}" = set; then
2099 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2103 # Check whether --with-xslt was given.
2104 if test "${with_xslt+set}" = set; then
2105 withval=$with_xslt;
2109 # Check whether --with-xvidmode was given.
2110 if test "${with_xvidmode+set}" = set; then
2111 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2116 # Check whether --with-wine-tools was given.
2117 if test "${with_wine_tools+set}" = set; then
2118 withval=$with_wine_tools;
2122 # Make sure we can run config.sub.
2123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2124 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2125 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2126 { (exit 1); exit 1; }; }
2128 { echo "$as_me:$LINENO: checking build system type" >&5
2129 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2130 if test "${ac_cv_build+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 ac_build_alias=$build_alias
2134 test "x$ac_build_alias" = x &&
2135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2136 test "x$ac_build_alias" = x &&
2137 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139 { (exit 1); exit 1; }; }
2140 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2142 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2143 { (exit 1); exit 1; }; }
2146 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 echo "${ECHO_T}$ac_cv_build" >&6; }
2148 case $ac_cv_build in
2149 *-*-*) ;;
2150 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2151 echo "$as_me: error: invalid value of canonical build" >&2;}
2152 { (exit 1); exit 1; }; };;
2153 esac
2154 build=$ac_cv_build
2155 ac_save_IFS=$IFS; IFS='-'
2156 set x $ac_cv_build
2157 shift
2158 build_cpu=$1
2159 build_vendor=$2
2160 shift; shift
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2163 build_os=$*
2164 IFS=$ac_save_IFS
2165 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2168 { echo "$as_me:$LINENO: checking host system type" >&5
2169 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2170 if test "${ac_cv_host+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 if test "x$host_alias" = x; then
2174 ac_cv_host=$ac_cv_build
2175 else
2176 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2177 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2178 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2183 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 echo "${ECHO_T}$ac_cv_host" >&6; }
2185 case $ac_cv_host in
2186 *-*-*) ;;
2187 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2188 echo "$as_me: error: invalid value of canonical host" >&2;}
2189 { (exit 1); exit 1; }; };;
2190 esac
2191 host=$ac_cv_host
2192 ac_save_IFS=$IFS; IFS='-'
2193 set x $ac_cv_host
2194 shift
2195 host_cpu=$1
2196 host_vendor=$2
2197 shift; shift
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2200 host_os=$*
2201 IFS=$ac_save_IFS
2202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2205 case $host in
2206 x86_64*linux*)
2207 if test "x$enable_win64" != "xyes"
2208 then
2209 test -n "$CC" || CC="gcc -m32"
2210 test -n "$CXX"|| CXX="g++ -m32"
2211 test -n "$LD" || LD="ld -m elf_i386"
2212 test -n "$AS" || AS="as --32"
2213 host_cpu="i386"
2216 esac
2218 case $host_cpu in
2219 *i[3456789]86*)
2220 if test "x$enable_win16" != "xno"
2221 then
2222 enable_win16="yes"
2225 esac
2227 WIN16_FILES="\$(WIN16_FILES)"
2229 WIN16_INSTALL="\$(WIN16_INSTALL)"
2231 if test "x$enable_win16" != "xyes"
2232 then
2233 WIN16_FILES=""
2234 WIN16_INSTALL=""
2237 case "$srcdir" in
2238 .) ;;
2239 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2240 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2241 You need to run 'make distclean' in the source tree first." >&5
2242 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2243 You need to run 'make distclean' in the source tree first." >&2;}
2244 { (exit 1); exit 1; }; }
2245 fi ;;
2246 esac
2249 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2251 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else
2255 cat >conftest.make <<\_ACEOF
2256 SHELL = /bin/sh
2257 all:
2258 @echo '@@@%%%=$(MAKE)=@@@%%%'
2259 _ACEOF
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2262 *@@@%%%=?*=@@@%%%*)
2263 eval ac_cv_prog_make_${ac_make}_set=yes;;
2265 eval ac_cv_prog_make_${ac_make}_set=no;;
2266 esac
2267 rm -f conftest.make
2269 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2270 { echo "$as_me:$LINENO: result: yes" >&5
2271 echo "${ECHO_T}yes" >&6; }
2272 SET_MAKE=
2273 else
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2276 SET_MAKE="MAKE=${MAKE-make}"
2279 ac_ext=c
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC="$CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 CC=$ac_cv_prog_CC
2313 if test -n "$CC"; then
2314 { echo "$as_me:$LINENO: result: $CC" >&5
2315 echo "${ECHO_T}$CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2323 if test -z "$ac_cv_prog_CC"; then
2324 ac_ct_CC=$CC
2325 # Extract the first word of "gcc", so it can be a program name with args.
2326 set dummy gcc; ac_word=$2
2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 else
2332 if test -n "$ac_ct_CC"; then
2333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2334 else
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 for as_dir in $PATH
2338 IFS=$as_save_IFS
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_ac_ct_CC="gcc"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 break 2
2346 done
2347 done
2348 IFS=$as_save_IFS
2352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2353 if test -n "$ac_ct_CC"; then
2354 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2355 echo "${ECHO_T}$ac_ct_CC" >&6; }
2356 else
2357 { echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6; }
2361 if test "x$ac_ct_CC" = x; then
2362 CC=""
2363 else
2364 case $cross_compiling:$ac_tool_warned in
2365 yes:)
2366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&5
2369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet. If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2372 ac_tool_warned=yes ;;
2373 esac
2374 CC=$ac_ct_CC
2376 else
2377 CC="$ac_cv_prog_CC"
2380 if test -z "$CC"; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}cc; ac_word=$2
2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 else
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2395 IFS=$as_save_IFS
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_CC="${ac_tool_prefix}cc"
2400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 break 2
2403 done
2404 done
2405 IFS=$as_save_IFS
2409 CC=$ac_cv_prog_CC
2410 if test -n "$CC"; then
2411 { echo "$as_me:$LINENO: result: $CC" >&5
2412 echo "${ECHO_T}$CC" >&6; }
2413 else
2414 { echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6; }
2421 if test -z "$CC"; then
2422 # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc; ac_word=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 else
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 else
2432 ac_prog_rejected=no
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441 ac_prog_rejected=yes
2442 continue
2444 ac_cv_prog_CC="cc"
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 break 2
2448 done
2449 done
2450 IFS=$as_save_IFS
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy $ac_cv_prog_CC
2455 shift
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2460 shift
2461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2466 CC=$ac_cv_prog_CC
2467 if test -n "$CC"; then
2468 { echo "$as_me:$LINENO: result: $CC" >&5
2469 echo "${ECHO_T}$CC" >&6; }
2470 else
2471 { echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6; }
2477 if test -z "$CC"; then
2478 if test -n "$ac_tool_prefix"; then
2479 for ac_prog in cl.exe
2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 else
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2494 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 2
2502 done
2503 done
2504 IFS=$as_save_IFS
2508 CC=$ac_cv_prog_CC
2509 if test -n "$CC"; then
2510 { echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6; }
2512 else
2513 { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2518 test -n "$CC" && break
2519 done
2521 if test -z "$CC"; then
2522 ac_ct_CC=$CC
2523 for ac_prog in cl.exe
2525 # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy $ac_prog; ac_word=$2
2527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_CC="$ac_prog"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 break 2
2546 done
2547 done
2548 IFS=$as_save_IFS
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6; }
2556 else
2557 { echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6; }
2562 test -n "$ac_ct_CC" && break
2563 done
2565 if test "x$ac_ct_CC" = x; then
2566 CC=""
2567 else
2568 case $cross_compiling:$ac_tool_warned in
2569 yes:)
2570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2571 whose name does not start with the host triplet. If you think this
2572 configuration is useful to you, please write to autoconf@gnu.org." >&5
2573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2574 whose name does not start with the host triplet. If you think this
2575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2576 ac_tool_warned=yes ;;
2577 esac
2578 CC=$ac_ct_CC
2585 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: no acceptable C compiler found in \$PATH
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2591 # Provide some information about the compiler.
2592 echo "$as_me:$LINENO: checking for C compiler version" >&5
2593 ac_compiler=`set X $ac_compile; echo $2`
2594 { (ac_try="$ac_compiler --version >&5"
2595 case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598 esac
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compiler --version >&5") 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }
2604 { (ac_try="$ac_compiler -v >&5"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610 (eval "$ac_compiler -v >&5") 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614 { (ac_try="$ac_compiler -V >&5"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compiler -V >&5") 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }
2625 cat >conftest.$ac_ext <<_ACEOF
2626 /* confdefs.h. */
2627 _ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2633 main ()
2637 return 0;
2639 _ACEOF
2640 ac_clean_files_save=$ac_clean_files
2641 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2642 # Try to create an executable without -o first, disregard a.out.
2643 # It will help us diagnose broken compilers, and finding out an intuition
2644 # of exeext.
2645 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2646 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2649 # List of possible output files, starting from the most likely.
2650 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2651 # only as a last resort. b.out is created by i960 compilers.
2652 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2654 # The IRIX 6 linker writes into existing files which may not be
2655 # executable, retaining their permissions. Remove them first so a
2656 # subsequent execution test works.
2657 ac_rmfiles=
2658 for ac_file in $ac_files
2660 case $ac_file in
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2663 esac
2664 done
2665 rm -f $ac_rmfiles
2667 if { (ac_try="$ac_link_default"
2668 case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2671 esac
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_link_default") 2>&5
2674 ac_status=$?
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; then
2677 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2679 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2680 # so that the user can short-circuit this test for compilers unknown to
2681 # Autoconf.
2682 for ac_file in $ac_files ''
2684 test -f "$ac_file" || continue
2685 case $ac_file in
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2688 [ab].out )
2689 # We found the default executable, but exeext='' is most
2690 # certainly right.
2691 break;;
2692 *.* )
2693 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2694 then :; else
2695 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 # We set ac_cv_exeext here because the later test for it is not
2698 # safe: cross compilers may not add the suffix if given an `-o'
2699 # argument, so we may need to know it at that point already.
2700 # Even if this section looks crufty: it has the advantage of
2701 # actually working.
2702 break;;
2704 break;;
2705 esac
2706 done
2707 test "$ac_cv_exeext" = no && ac_cv_exeext=
2709 else
2710 ac_file=''
2713 { echo "$as_me:$LINENO: result: $ac_file" >&5
2714 echo "${ECHO_T}$ac_file" >&6; }
2715 if test -z "$ac_file"; then
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2726 ac_exeext=$ac_cv_exeext
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2733 # If not cross compiling, check that we can run a simple program.
2734 if test "$cross_compiling" != yes; then
2735 if { ac_try='./$ac_file'
2736 { (case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2742 ac_status=$?
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2745 cross_compiling=no
2746 else
2747 if test "$cross_compiling" = maybe; then
2748 cross_compiling=yes
2749 else
2750 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2751 If you meant to cross compile, use \`--host'.
2752 See \`config.log' for more details." >&5
2753 echo "$as_me: error: cannot run C compiled programs.
2754 If you meant to cross compile, use \`--host'.
2755 See \`config.log' for more details." >&2;}
2756 { (exit 1); exit 1; }; }
2760 { echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6; }
2763 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2768 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2769 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2770 echo "${ECHO_T}$cross_compiling" >&6; }
2772 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2773 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2774 if { (ac_try="$ac_link"
2775 case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link") 2>&5
2781 ac_status=$?
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2785 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2786 # work properly (i.e., refer to `conftest.exe'), while it won't with
2787 # `rm'.
2788 for ac_file in conftest.exe conftest conftest.*; do
2789 test -f "$ac_file" || continue
2790 case $ac_file in
2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2792 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793 break;;
2794 * ) break;;
2795 esac
2796 done
2797 else
2798 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2799 See \`config.log' for more details." >&5
2800 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2801 See \`config.log' for more details." >&2;}
2802 { (exit 1); exit 1; }; }
2805 rm -f conftest$ac_cv_exeext
2806 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2807 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2809 rm -f conftest.$ac_ext
2810 EXEEXT=$ac_cv_exeext
2811 ac_exeext=$EXEEXT
2812 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2813 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2814 if test "${ac_cv_objext+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 else
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 main ()
2829 return 0;
2831 _ACEOF
2832 rm -f conftest.o conftest.obj
2833 if { (ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>&5
2840 ac_status=$?
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 for ac_file in conftest.o conftest.obj conftest.*; do
2844 test -f "$ac_file" || continue;
2845 case $ac_file in
2846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2847 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2848 break;;
2849 esac
2850 done
2851 else
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2856 See \`config.log' for more details." >&5
2857 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2858 See \`config.log' for more details." >&2;}
2859 { (exit 1); exit 1; }; }
2862 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2864 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2865 echo "${ECHO_T}$ac_cv_objext" >&6; }
2866 OBJEXT=$ac_cv_objext
2867 ac_objext=$OBJEXT
2868 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2869 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2870 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873 cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h. */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2881 main ()
2883 #ifndef __GNUC__
2884 choke me
2885 #endif
2888 return 0;
2890 _ACEOF
2891 rm -f conftest.$ac_objext
2892 if { (ac_try="$ac_compile"
2893 case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>conftest.er1
2899 ac_status=$?
2900 grep -v '^ *+' conftest.er1 >conftest.err
2901 rm -f conftest.er1
2902 cat conftest.err >&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); } && {
2905 test -z "$ac_c_werror_flag" ||
2906 test ! -s conftest.err
2907 } && test -s conftest.$ac_objext; then
2908 ac_compiler_gnu=yes
2909 else
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2913 ac_compiler_gnu=no
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2920 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2922 GCC=`test $ac_compiler_gnu = yes && echo yes`
2923 ac_test_CFLAGS=${CFLAGS+set}
2924 ac_save_CFLAGS=$CFLAGS
2925 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2926 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_cc_g+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 else
2930 ac_save_c_werror_flag=$ac_c_werror_flag
2931 ac_c_werror_flag=yes
2932 ac_cv_prog_cc_g=no
2933 CFLAGS="-g"
2934 cat >conftest.$ac_ext <<_ACEOF
2935 /* confdefs.h. */
2936 _ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2942 main ()
2946 return 0;
2948 _ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2951 case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954 esac
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2957 ac_status=$?
2958 grep -v '^ *+' conftest.er1 >conftest.err
2959 rm -f conftest.er1
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.$ac_objext; then
2966 ac_cv_prog_cc_g=yes
2967 else
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 CFLAGS=""
2972 cat >conftest.$ac_ext <<_ACEOF
2973 /* confdefs.h. */
2974 _ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2980 main ()
2984 return 0;
2986 _ACEOF
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2989 case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2992 esac
2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_compile") 2>conftest.er1
2995 ac_status=$?
2996 grep -v '^ *+' conftest.er1 >conftest.err
2997 rm -f conftest.er1
2998 cat conftest.err >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } && {
3001 test -z "$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3003 } && test -s conftest.$ac_objext; then
3005 else
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 ac_c_werror_flag=$ac_save_c_werror_flag
3010 CFLAGS="-g"
3011 cat >conftest.$ac_ext <<_ACEOF
3012 /* confdefs.h. */
3013 _ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3019 main ()
3023 return 0;
3025 _ACEOF
3026 rm -f conftest.$ac_objext
3027 if { (ac_try="$ac_compile"
3028 case "(($ac_try" in
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3031 esac
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_compile") 2>conftest.er1
3034 ac_status=$?
3035 grep -v '^ *+' conftest.er1 >conftest.err
3036 rm -f conftest.er1
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } && {
3040 test -z "$ac_c_werror_flag" ||
3041 test ! -s conftest.err
3042 } && test -s conftest.$ac_objext; then
3043 ac_cv_prog_cc_g=yes
3044 else
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 ac_c_werror_flag=$ac_save_c_werror_flag
3060 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3062 if test "$ac_test_CFLAGS" = set; then
3063 CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065 if test "$GCC" = yes; then
3066 CFLAGS="-g -O2"
3067 else
3068 CFLAGS="-g"
3070 else
3071 if test "$GCC" = yes; then
3072 CFLAGS="-O2"
3073 else
3074 CFLAGS=
3077 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3078 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3079 if test "${ac_cv_prog_cc_c89+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 else
3082 ac_cv_prog_cc_c89=no
3083 ac_save_CC=$CC
3084 cat >conftest.$ac_ext <<_ACEOF
3085 /* confdefs.h. */
3086 _ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3090 #include <stdarg.h>
3091 #include <stdio.h>
3092 #include <sys/types.h>
3093 #include <sys/stat.h>
3094 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3095 struct buf { int x; };
3096 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3097 static char *e (p, i)
3098 char **p;
3099 int i;
3101 return p[i];
3103 static char *f (char * (*g) (char **, int), char **p, ...)
3105 char *s;
3106 va_list v;
3107 va_start (v,p);
3108 s = g (p, va_arg (v,int));
3109 va_end (v);
3110 return s;
3113 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3114 function prototypes and stuff, but not '\xHH' hex character constants.
3115 These don't provoke an error unfortunately, instead are silently treated
3116 as 'x'. The following induces an error, until -std is added to get
3117 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3118 array size at least. It's necessary to write '\x00'==0 to get something
3119 that's true only with -std. */
3120 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3122 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3123 inside strings and character constants. */
3124 #define FOO(x) 'x'
3125 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3127 int test (int i, double x);
3128 struct s1 {int (*f) (int a);};
3129 struct s2 {int (*f) (double a);};
3130 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3131 int argc;
3132 char **argv;
3134 main ()
3136 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3138 return 0;
3140 _ACEOF
3141 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3142 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3144 CC="$ac_save_CC $ac_arg"
3145 rm -f conftest.$ac_objext
3146 if { (ac_try="$ac_compile"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3153 ac_status=$?
3154 grep -v '^ *+' conftest.er1 >conftest.err
3155 rm -f conftest.er1
3156 cat conftest.err >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3162 ac_cv_prog_cc_c89=$ac_arg
3163 else
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext
3171 test "x$ac_cv_prog_cc_c89" != "xno" && break
3172 done
3173 rm -f conftest.$ac_ext
3174 CC=$ac_save_CC
3177 # AC_CACHE_VAL
3178 case "x$ac_cv_prog_cc_c89" in
3180 { echo "$as_me:$LINENO: result: none needed" >&5
3181 echo "${ECHO_T}none needed" >&6; } ;;
3182 xno)
3183 { echo "$as_me:$LINENO: result: unsupported" >&5
3184 echo "${ECHO_T}unsupported" >&6; } ;;
3186 CC="$CC $ac_cv_prog_cc_c89"
3187 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3188 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3189 esac
3192 ac_ext=c
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3198 ac_ext=cpp
3199 ac_cpp='$CXXCPP $CPPFLAGS'
3200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3203 if test -z "$CXX"; then
3204 if test -n "$CCC"; then
3205 CXX=$CCC
3206 else
3207 if test -n "$ac_tool_prefix"; then
3208 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3214 if test "${ac_cv_prog_CXX+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 else
3217 if test -n "$CXX"; then
3218 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3223 IFS=$as_save_IFS
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 break 2
3231 done
3232 done
3233 IFS=$as_save_IFS
3237 CXX=$ac_cv_prog_CXX
3238 if test -n "$CXX"; then
3239 { echo "$as_me:$LINENO: result: $CXX" >&5
3240 echo "${ECHO_T}$CXX" >&6; }
3241 else
3242 { echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6; }
3247 test -n "$CXX" && break
3248 done
3250 if test -z "$CXX"; then
3251 ac_ct_CXX=$CXX
3252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3254 # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 else
3261 if test -n "$ac_ct_CXX"; then
3262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3267 IFS=$as_save_IFS
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 ac_cv_prog_ac_ct_CXX="$ac_prog"
3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 break 2
3275 done
3276 done
3277 IFS=$as_save_IFS
3281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3282 if test -n "$ac_ct_CXX"; then
3283 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3284 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3285 else
3286 { echo "$as_me:$LINENO: result: no" >&5
3287 echo "${ECHO_T}no" >&6; }
3291 test -n "$ac_ct_CXX" && break
3292 done
3294 if test "x$ac_ct_CXX" = x; then
3295 CXX="g++"
3296 else
3297 case $cross_compiling:$ac_tool_warned in
3298 yes:)
3299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3300 whose name does not start with the host triplet. If you think this
3301 configuration is useful to you, please write to autoconf@gnu.org." >&5
3302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3303 whose name does not start with the host triplet. If you think this
3304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307 CXX=$ac_ct_CXX
3313 # Provide some information about the compiler.
3314 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3315 ac_compiler=`set X $ac_compile; echo $2`
3316 { (ac_try="$ac_compiler --version >&5"
3317 case "(($ac_try" in
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3320 esac
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_compiler --version >&5") 2>&5
3323 ac_status=$?
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }
3326 { (ac_try="$ac_compiler -v >&5"
3327 case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3330 esac
3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_compiler -v >&5") 2>&5
3333 ac_status=$?
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }
3336 { (ac_try="$ac_compiler -V >&5"
3337 case "(($ac_try" in
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3340 esac
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_compiler -V >&5") 2>&5
3343 ac_status=$?
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }
3347 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3348 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3349 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 else
3352 cat >conftest.$ac_ext <<_ACEOF
3353 /* confdefs.h. */
3354 _ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3360 main ()
3362 #ifndef __GNUC__
3363 choke me
3364 #endif
3367 return 0;
3369 _ACEOF
3370 rm -f conftest.$ac_objext
3371 if { (ac_try="$ac_compile"
3372 case "(($ac_try" in
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3375 esac
3376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3377 (eval "$ac_compile") 2>conftest.er1
3378 ac_status=$?
3379 grep -v '^ *+' conftest.er1 >conftest.err
3380 rm -f conftest.er1
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } && {
3384 test -z "$ac_cxx_werror_flag" ||
3385 test ! -s conftest.err
3386 } && test -s conftest.$ac_objext; then
3387 ac_compiler_gnu=yes
3388 else
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 ac_compiler_gnu=no
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3399 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3400 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3401 GXX=`test $ac_compiler_gnu = yes && echo yes`
3402 ac_test_CXXFLAGS=${CXXFLAGS+set}
3403 ac_save_CXXFLAGS=$CXXFLAGS
3404 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3405 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3406 if test "${ac_cv_prog_cxx_g+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3410 ac_cxx_werror_flag=yes
3411 ac_cv_prog_cxx_g=no
3412 CXXFLAGS="-g"
3413 cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h. */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3421 main ()
3425 return 0;
3427 _ACEOF
3428 rm -f conftest.$ac_objext
3429 if { (ac_try="$ac_compile"
3430 case "(($ac_try" in
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3433 esac
3434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435 (eval "$ac_compile") 2>conftest.er1
3436 ac_status=$?
3437 grep -v '^ *+' conftest.er1 >conftest.err
3438 rm -f conftest.er1
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } && {
3442 test -z "$ac_cxx_werror_flag" ||
3443 test ! -s conftest.err
3444 } && test -s conftest.$ac_objext; then
3445 ac_cv_prog_cxx_g=yes
3446 else
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 CXXFLAGS=""
3451 cat >conftest.$ac_ext <<_ACEOF
3452 /* confdefs.h. */
3453 _ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3459 main ()
3463 return 0;
3465 _ACEOF
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3468 case "(($ac_try" in
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3471 esac
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_compile") 2>conftest.er1
3474 ac_status=$?
3475 grep -v '^ *+' conftest.er1 >conftest.err
3476 rm -f conftest.er1
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } && {
3480 test -z "$ac_cxx_werror_flag" ||
3481 test ! -s conftest.err
3482 } && test -s conftest.$ac_objext; then
3484 else
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3489 CXXFLAGS="-g"
3490 cat >conftest.$ac_ext <<_ACEOF
3491 /* confdefs.h. */
3492 _ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3498 main ()
3502 return 0;
3504 _ACEOF
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3507 case "(($ac_try" in
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3510 esac
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_compile") 2>conftest.er1
3513 ac_status=$?
3514 grep -v '^ *+' conftest.er1 >conftest.err
3515 rm -f conftest.er1
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } && {
3519 test -z "$ac_cxx_werror_flag" ||
3520 test ! -s conftest.err
3521 } && test -s conftest.$ac_objext; then
3522 ac_cv_prog_cxx_g=yes
3523 else
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3539 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3540 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3541 if test "$ac_test_CXXFLAGS" = set; then
3542 CXXFLAGS=$ac_save_CXXFLAGS
3543 elif test $ac_cv_prog_cxx_g = yes; then
3544 if test "$GXX" = yes; then
3545 CXXFLAGS="-g -O2"
3546 else
3547 CXXFLAGS="-g"
3549 else
3550 if test "$GXX" = yes; then
3551 CXXFLAGS="-O2"
3552 else
3553 CXXFLAGS=
3556 ac_ext=c
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 else
3570 if test -n "$CPPBIN"; then
3571 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3572 else
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3584 done
3585 done
3586 IFS=$as_save_IFS
3590 CPPBIN=$ac_cv_prog_CPPBIN
3591 if test -n "$CPPBIN"; then
3592 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3593 echo "${ECHO_T}$CPPBIN" >&6; }
3594 else
3595 { echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6; }
3601 if test -z "$ac_cv_prog_CPPBIN"; then
3602 ac_ct_CPPBIN=$CPPBIN
3603 # Extract the first word of "cpp", so it can be a program name with args.
3604 set dummy cpp; ac_word=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 else
3610 if test -n "$ac_ct_CPPBIN"; then
3611 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_ac_ct_CPPBIN="cpp"
3621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3631 if test -n "$ac_ct_CPPBIN"; then
3632 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3633 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3634 else
3635 { echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6; }
3639 if test "x$ac_ct_CPPBIN" = x; then
3640 CPPBIN="cpp"
3641 else
3642 case $cross_compiling:$ac_tool_warned in
3643 yes:)
3644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3645 whose name does not start with the host triplet. If you think this
3646 configuration is useful to you, please write to autoconf@gnu.org." >&5
3647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3648 whose name does not start with the host triplet. If you think this
3649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3650 ac_tool_warned=yes ;;
3651 esac
3652 CPPBIN=$ac_ct_CPPBIN
3654 else
3655 CPPBIN="$ac_cv_prog_CPPBIN"
3659 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3660 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3661 if test "${wine_cv_toolsdir+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 else
3664 if test -z "$with_wine_tools"; then
3665 if test "$cross_compiling" = "yes"; then
3666 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3667 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3668 { (exit 1); exit 1; }; }
3669 else
3670 wine_cv_toolsdir="\$(TOPOBJDIR)"
3672 elif test -d "$with_wine_tools/tools/winebuild"; then
3673 case $with_wine_tools in
3674 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3675 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3676 esac
3677 else
3678 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3679 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3680 { (exit 1); exit 1; }; }
3683 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3684 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3685 TOOLSDIR=$wine_cv_toolsdir
3689 ac_ext=c
3690 ac_cpp='$CPP $CPPFLAGS'
3691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3695 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3696 # On Suns, sometimes $CPP names a directory.
3697 if test -n "$CPP" && test -d "$CPP"; then
3698 CPP=
3700 if test -z "$CPP"; then
3701 if test "${ac_cv_prog_CPP+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 else
3704 # Double quotes because CPP needs to be expanded
3705 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3707 ac_preproc_ok=false
3708 for ac_c_preproc_warn_flag in '' yes
3710 # Use a header file that comes with gcc, so configuring glibc
3711 # with a fresh cross-compiler works.
3712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 # <limits.h> exists even on freestanding compilers.
3714 # On the NeXT, cc -E runs the code through the compiler's parser,
3715 # not just through cpp. "Syntax error" is here to catch this case.
3716 cat >conftest.$ac_ext <<_ACEOF
3717 /* confdefs.h. */
3718 _ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 #ifdef __STDC__
3723 # include <limits.h>
3724 #else
3725 # include <assert.h>
3726 #endif
3727 Syntax error
3728 _ACEOF
3729 if { (ac_try="$ac_cpp conftest.$ac_ext"
3730 case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3736 ac_status=$?
3737 grep -v '^ *+' conftest.er1 >conftest.err
3738 rm -f conftest.er1
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } >/dev/null && {
3742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3744 }; then
3746 else
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 # Broken: fails on valid input.
3751 continue
3754 rm -f conftest.err conftest.$ac_ext
3756 # OK, works on sane cases. Now check whether nonexistent headers
3757 # can be detected and how.
3758 cat >conftest.$ac_ext <<_ACEOF
3759 /* confdefs.h. */
3760 _ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #include <ac_nonexistent.h>
3765 _ACEOF
3766 if { (ac_try="$ac_cpp conftest.$ac_ext"
3767 case "(($ac_try" in
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3770 esac
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3773 ac_status=$?
3774 grep -v '^ *+' conftest.er1 >conftest.err
3775 rm -f conftest.er1
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } >/dev/null && {
3779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3781 }; then
3782 # Broken: success on invalid input.
3783 continue
3784 else
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3788 # Passes both tests.
3789 ac_preproc_ok=:
3790 break
3793 rm -f conftest.err conftest.$ac_ext
3795 done
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3797 rm -f conftest.err conftest.$ac_ext
3798 if $ac_preproc_ok; then
3799 break
3802 done
3803 ac_cv_prog_CPP=$CPP
3806 CPP=$ac_cv_prog_CPP
3807 else
3808 ac_cv_prog_CPP=$CPP
3810 { echo "$as_me:$LINENO: result: $CPP" >&5
3811 echo "${ECHO_T}$CPP" >&6; }
3812 ac_preproc_ok=false
3813 for ac_c_preproc_warn_flag in '' yes
3815 # Use a header file that comes with gcc, so configuring glibc
3816 # with a fresh cross-compiler works.
3817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3818 # <limits.h> exists even on freestanding compilers.
3819 # On the NeXT, cc -E runs the code through the compiler's parser,
3820 # not just through cpp. "Syntax error" is here to catch this case.
3821 cat >conftest.$ac_ext <<_ACEOF
3822 /* confdefs.h. */
3823 _ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3827 #ifdef __STDC__
3828 # include <limits.h>
3829 #else
3830 # include <assert.h>
3831 #endif
3832 Syntax error
3833 _ACEOF
3834 if { (ac_try="$ac_cpp conftest.$ac_ext"
3835 case "(($ac_try" in
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3838 esac
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3841 ac_status=$?
3842 grep -v '^ *+' conftest.er1 >conftest.err
3843 rm -f conftest.er1
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } >/dev/null && {
3847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3849 }; then
3851 else
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 # Broken: fails on valid input.
3856 continue
3859 rm -f conftest.err conftest.$ac_ext
3861 # OK, works on sane cases. Now check whether nonexistent headers
3862 # can be detected and how.
3863 cat >conftest.$ac_ext <<_ACEOF
3864 /* confdefs.h. */
3865 _ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 #include <ac_nonexistent.h>
3870 _ACEOF
3871 if { (ac_try="$ac_cpp conftest.$ac_ext"
3872 case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875 esac
3876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3878 ac_status=$?
3879 grep -v '^ *+' conftest.er1 >conftest.err
3880 rm -f conftest.er1
3881 cat conftest.err >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } >/dev/null && {
3884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3885 test ! -s conftest.err
3886 }; then
3887 # Broken: success on invalid input.
3888 continue
3889 else
3890 echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 # Passes both tests.
3894 ac_preproc_ok=:
3895 break
3898 rm -f conftest.err conftest.$ac_ext
3900 done
3901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3902 rm -f conftest.err conftest.$ac_ext
3903 if $ac_preproc_ok; then
3905 else
3906 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3907 See \`config.log' for more details." >&5
3908 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3909 See \`config.log' for more details." >&2;}
3910 { (exit 1); exit 1; }; }
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { echo "$as_me:$LINENO: checking for X" >&5
3921 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3924 # Check whether --with-x was given.
3925 if test "${with_x+set}" = set; then
3926 withval=$with_x;
3929 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3930 if test "x$with_x" = xno; then
3931 # The user explicitly disabled X.
3932 have_x=disabled
3933 else
3934 case $x_includes,$x_libraries in #(
3935 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3936 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3937 { (exit 1); exit 1; }; };; #(
3938 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 else
3941 # One or both of the vars are not set, and there is no cached value.
3942 ac_x_includes=no ac_x_libraries=no
3943 rm -f -r conftest.dir
3944 if mkdir conftest.dir; then
3945 cd conftest.dir
3946 cat >Imakefile <<'_ACEOF'
3947 incroot:
3948 @echo incroot='${INCROOT}'
3949 usrlibdir:
3950 @echo usrlibdir='${USRLIBDIR}'
3951 libdir:
3952 @echo libdir='${LIBDIR}'
3953 _ACEOF
3954 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3956 for ac_var in incroot usrlibdir libdir; do
3957 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3958 done
3959 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3960 for ac_extension in a so sl; do
3961 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3962 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3963 ac_im_usrlibdir=$ac_im_libdir; break
3965 done
3966 # Screen out bogus values from the imake configuration. They are
3967 # bogus both because they are the default anyway, and because
3968 # using them would break gcc on systems where it needs fixed includes.
3969 case $ac_im_incroot in
3970 /usr/include) ac_x_includes= ;;
3971 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3972 esac
3973 case $ac_im_usrlibdir in
3974 /usr/lib | /lib) ;;
3975 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3976 esac
3978 cd ..
3979 rm -f -r conftest.dir
3982 # Standard set of common directories for X headers.
3983 # Check X11 before X11Rn because it is often a symlink to the current release.
3984 ac_x_header_dirs='
3985 /usr/X11/include
3986 /usr/X11R6/include
3987 /usr/X11R5/include
3988 /usr/X11R4/include
3990 /usr/include/X11
3991 /usr/include/X11R6
3992 /usr/include/X11R5
3993 /usr/include/X11R4
3995 /usr/local/X11/include
3996 /usr/local/X11R6/include
3997 /usr/local/X11R5/include
3998 /usr/local/X11R4/include
4000 /usr/local/include/X11
4001 /usr/local/include/X11R6
4002 /usr/local/include/X11R5
4003 /usr/local/include/X11R4
4005 /usr/X386/include
4006 /usr/x386/include
4007 /usr/XFree86/include/X11
4009 /usr/include
4010 /usr/local/include
4011 /usr/unsupported/include
4012 /usr/athena/include
4013 /usr/local/x11r5/include
4014 /usr/lpp/Xamples/include
4016 /usr/openwin/include
4017 /usr/openwin/share/include'
4019 if test "$ac_x_includes" = no; then
4020 # Guess where to find include files, by looking for Xlib.h.
4021 # First, try using that file with no special directory specified.
4022 cat >conftest.$ac_ext <<_ACEOF
4023 /* confdefs.h. */
4024 _ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 #include <X11/Xlib.h>
4029 _ACEOF
4030 if { (ac_try="$ac_cpp conftest.$ac_ext"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4037 ac_status=$?
4038 grep -v '^ *+' conftest.er1 >conftest.err
4039 rm -f conftest.er1
4040 cat conftest.err >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } >/dev/null && {
4043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4044 test ! -s conftest.err
4045 }; then
4046 # We can compile using X headers with no special include directory.
4047 ac_x_includes=
4048 else
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4052 for ac_dir in $ac_x_header_dirs; do
4053 if test -r "$ac_dir/X11/Xlib.h"; then
4054 ac_x_includes=$ac_dir
4055 break
4057 done
4060 rm -f conftest.err conftest.$ac_ext
4061 fi # $ac_x_includes = no
4063 if test "$ac_x_libraries" = no; then
4064 # Check for the libraries.
4065 # See if we find them without any special options.
4066 # Don't add to $LIBS permanently.
4067 ac_save_LIBS=$LIBS
4068 LIBS="-lX11 $LIBS"
4069 cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4075 #include <X11/Xlib.h>
4077 main ()
4079 XrmInitialize ()
4081 return 0;
4083 _ACEOF
4084 rm -f conftest.$ac_objext conftest$ac_exeext
4085 if { (ac_try="$ac_link"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_link") 2>conftest.er1
4092 ac_status=$?
4093 grep -v '^ *+' conftest.er1 >conftest.err
4094 rm -f conftest.er1
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && {
4098 test -z "$ac_c_werror_flag" ||
4099 test ! -s conftest.err
4100 } && test -s conftest$ac_exeext &&
4101 $as_test_x conftest$ac_exeext; then
4102 LIBS=$ac_save_LIBS
4103 # We can link X programs with no special library path.
4104 ac_x_libraries=
4105 else
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 LIBS=$ac_save_LIBS
4110 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4112 # Don't even attempt the hair of trying to link an X program!
4113 for ac_extension in a so sl; do
4114 if test -r "$ac_dir/libX11.$ac_extension"; then
4115 ac_x_libraries=$ac_dir
4116 break 2
4118 done
4119 done
4122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4123 conftest$ac_exeext conftest.$ac_ext
4124 fi # $ac_x_libraries = no
4126 case $ac_x_includes,$ac_x_libraries in #(
4127 no,* | *,no | *\'*)
4128 # Didn't find X, or a directory has "'" in its name.
4129 ac_cv_have_x="have_x=no";; #(
4131 # Record where we found X for the cache.
4132 ac_cv_have_x="have_x=yes\
4133 ac_x_includes='$ac_x_includes'\
4134 ac_x_libraries='$ac_x_libraries'"
4135 esac
4137 ;; #(
4138 *) have_x=yes;;
4139 esac
4140 eval "$ac_cv_have_x"
4141 fi # $with_x != no
4143 if test "$have_x" != yes; then
4144 { echo "$as_me:$LINENO: result: $have_x" >&5
4145 echo "${ECHO_T}$have_x" >&6; }
4146 no_x=yes
4147 else
4148 # If each of the values was on the command line, it overrides each guess.
4149 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4150 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4151 # Update the cache value to reflect the command line values.
4152 ac_cv_have_x="have_x=yes\
4153 ac_x_includes='$x_includes'\
4154 ac_x_libraries='$x_libraries'"
4155 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4156 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4159 if test "$no_x" = yes; then
4160 # Not all programs may use this symbol, but it does not hurt to define it.
4162 cat >>confdefs.h <<\_ACEOF
4163 #define X_DISPLAY_MISSING 1
4164 _ACEOF
4166 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4167 else
4168 if test -n "$x_includes"; then
4169 X_CFLAGS="$X_CFLAGS -I$x_includes"
4172 # It would also be nice to do this for all -L options, not just this one.
4173 if test -n "$x_libraries"; then
4174 X_LIBS="$X_LIBS -L$x_libraries"
4175 # For Solaris; some versions of Sun CC require a space after -R and
4176 # others require no space. Words are not sufficient . . . .
4177 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4178 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4179 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4180 ac_xsave_c_werror_flag=$ac_c_werror_flag
4181 ac_c_werror_flag=yes
4182 cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h. */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4205 ac_status=$?
4206 grep -v '^ *+' conftest.er1 >conftest.err
4207 rm -f conftest.er1
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } && {
4211 test -z "$ac_c_werror_flag" ||
4212 test ! -s conftest.err
4213 } && test -s conftest$ac_exeext &&
4214 $as_test_x conftest$ac_exeext; then
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4217 X_LIBS="$X_LIBS -R$x_libraries"
4218 else
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 LIBS="$ac_xsave_LIBS -R $x_libraries"
4223 cat >conftest.$ac_ext <<_ACEOF
4224 /* confdefs.h. */
4225 _ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4231 main ()
4235 return 0;
4237 _ACEOF
4238 rm -f conftest.$ac_objext conftest$ac_exeext
4239 if { (ac_try="$ac_link"
4240 case "(($ac_try" in
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4243 esac
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_link") 2>conftest.er1
4246 ac_status=$?
4247 grep -v '^ *+' conftest.er1 >conftest.err
4248 rm -f conftest.er1
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest$ac_exeext &&
4255 $as_test_x conftest$ac_exeext; then
4256 { echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6; }
4258 X_LIBS="$X_LIBS -R $x_libraries"
4259 else
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 { echo "$as_me:$LINENO: result: neither works" >&5
4264 echo "${ECHO_T}neither works" >&6; }
4267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4268 conftest$ac_exeext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4273 ac_c_werror_flag=$ac_xsave_c_werror_flag
4274 LIBS=$ac_xsave_LIBS
4277 # Check for system-dependent libraries X programs must link with.
4278 # Do this before checking for the system-independent R6 libraries
4279 # (-lICE), since we may need -lsocket or whatever for X linking.
4281 if test "$ISC" = yes; then
4282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4283 else
4284 # Martyn Johnson says this is needed for Ultrix, if the X
4285 # libraries were built with DECnet support. And Karl Berry says
4286 # the Alpha needs dnet_stub (dnet does not exist).
4287 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4288 cat >conftest.$ac_ext <<_ACEOF
4289 /* confdefs.h. */
4290 _ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4295 /* Override any GCC internal prototype to avoid an error.
4296 Use char because int might match the return type of a GCC
4297 builtin and then its argument prototype would still apply. */
4298 #ifdef __cplusplus
4299 extern "C"
4300 #endif
4301 char XOpenDisplay ();
4303 main ()
4305 return XOpenDisplay ();
4307 return 0;
4309 _ACEOF
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4312 case "(($ac_try" in
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4315 esac
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4318 ac_status=$?
4319 grep -v '^ *+' conftest.er1 >conftest.err
4320 rm -f conftest.er1
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4329 else
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4334 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4335 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 else
4338 ac_check_lib_save_LIBS=$LIBS
4339 LIBS="-ldnet $LIBS"
4340 cat >conftest.$ac_ext <<_ACEOF
4341 /* confdefs.h. */
4342 _ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4347 /* Override any GCC internal prototype to avoid an error.
4348 Use char because int might match the return type of a GCC
4349 builtin and then its argument prototype would still apply. */
4350 #ifdef __cplusplus
4351 extern "C"
4352 #endif
4353 char dnet_ntoa ();
4355 main ()
4357 return dnet_ntoa ();
4359 return 0;
4361 _ACEOF
4362 rm -f conftest.$ac_objext conftest$ac_exeext
4363 if { (ac_try="$ac_link"
4364 case "(($ac_try" in
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4367 esac
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_link") 2>conftest.er1
4370 ac_status=$?
4371 grep -v '^ *+' conftest.er1 >conftest.err
4372 rm -f conftest.er1
4373 cat conftest.err >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest$ac_exeext &&
4379 $as_test_x conftest$ac_exeext; then
4380 ac_cv_lib_dnet_dnet_ntoa=yes
4381 else
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4385 ac_cv_lib_dnet_dnet_ntoa=no
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4389 conftest$ac_exeext conftest.$ac_ext
4390 LIBS=$ac_check_lib_save_LIBS
4392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4393 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4394 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4395 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4398 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4399 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4400 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4401 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 else
4404 ac_check_lib_save_LIBS=$LIBS
4405 LIBS="-ldnet_stub $LIBS"
4406 cat >conftest.$ac_ext <<_ACEOF
4407 /* confdefs.h. */
4408 _ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4413 /* Override any GCC internal prototype to avoid an error.
4414 Use char because int might match the return type of a GCC
4415 builtin and then its argument prototype would still apply. */
4416 #ifdef __cplusplus
4417 extern "C"
4418 #endif
4419 char dnet_ntoa ();
4421 main ()
4423 return dnet_ntoa ();
4425 return 0;
4427 _ACEOF
4428 rm -f conftest.$ac_objext conftest$ac_exeext
4429 if { (ac_try="$ac_link"
4430 case "(($ac_try" in
4431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4433 esac
4434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4435 (eval "$ac_link") 2>conftest.er1
4436 ac_status=$?
4437 grep -v '^ *+' conftest.er1 >conftest.err
4438 rm -f conftest.er1
4439 cat conftest.err >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && {
4442 test -z "$ac_c_werror_flag" ||
4443 test ! -s conftest.err
4444 } && test -s conftest$ac_exeext &&
4445 $as_test_x conftest$ac_exeext; then
4446 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4447 else
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 ac_cv_lib_dnet_stub_dnet_ntoa=no
4454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4455 conftest$ac_exeext conftest.$ac_ext
4456 LIBS=$ac_check_lib_save_LIBS
4458 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4459 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4460 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4461 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4468 conftest$ac_exeext conftest.$ac_ext
4469 LIBS="$ac_xsave_LIBS"
4471 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4472 # to get the SysV transport functions.
4473 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4474 # needs -lnsl.
4475 # The nsl library prevents programs from opening the X display
4476 # on Irix 5.2, according to T.E. Dickey.
4477 # The functions gethostbyname, getservbyname, and inet_addr are
4478 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4479 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4480 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4481 if test "${ac_cv_func_gethostbyname+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 else
4484 cat >conftest.$ac_ext <<_ACEOF
4485 /* confdefs.h. */
4486 _ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4492 #define gethostbyname innocuous_gethostbyname
4494 /* System header to define __stub macros and hopefully few prototypes,
4495 which can conflict with char gethostbyname (); below.
4496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497 <limits.h> exists even on freestanding compilers. */
4499 #ifdef __STDC__
4500 # include <limits.h>
4501 #else
4502 # include <assert.h>
4503 #endif
4505 #undef gethostbyname
4507 /* Override any GCC internal prototype to avoid an error.
4508 Use char because int might match the return type of a GCC
4509 builtin and then its argument prototype would still apply. */
4510 #ifdef __cplusplus
4511 extern "C"
4512 #endif
4513 char gethostbyname ();
4514 /* The GNU C library defines this for functions which it implements
4515 to always fail with ENOSYS. Some functions are actually named
4516 something starting with __ and the normal name is an alias. */
4517 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4518 choke me
4519 #endif
4522 main ()
4524 return gethostbyname ();
4526 return 0;
4528 _ACEOF
4529 rm -f conftest.$ac_objext conftest$ac_exeext
4530 if { (ac_try="$ac_link"
4531 case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4534 esac
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_link") 2>conftest.er1
4537 ac_status=$?
4538 grep -v '^ *+' conftest.er1 >conftest.err
4539 rm -f conftest.er1
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && {
4543 test -z "$ac_c_werror_flag" ||
4544 test ! -s conftest.err
4545 } && test -s conftest$ac_exeext &&
4546 $as_test_x conftest$ac_exeext; then
4547 ac_cv_func_gethostbyname=yes
4548 else
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4552 ac_cv_func_gethostbyname=no
4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556 conftest$ac_exeext conftest.$ac_ext
4558 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4559 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4561 if test $ac_cv_func_gethostbyname = no; then
4562 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4563 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4564 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 else
4567 ac_check_lib_save_LIBS=$LIBS
4568 LIBS="-lnsl $LIBS"
4569 cat >conftest.$ac_ext <<_ACEOF
4570 /* confdefs.h. */
4571 _ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4576 /* Override any GCC internal prototype to avoid an error.
4577 Use char because int might match the return type of a GCC
4578 builtin and then its argument prototype would still apply. */
4579 #ifdef __cplusplus
4580 extern "C"
4581 #endif
4582 char gethostbyname ();
4584 main ()
4586 return gethostbyname ();
4588 return 0;
4590 _ACEOF
4591 rm -f conftest.$ac_objext conftest$ac_exeext
4592 if { (ac_try="$ac_link"
4593 case "(($ac_try" in
4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595 *) ac_try_echo=$ac_try;;
4596 esac
4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4598 (eval "$ac_link") 2>conftest.er1
4599 ac_status=$?
4600 grep -v '^ *+' conftest.er1 >conftest.err
4601 rm -f conftest.er1
4602 cat conftest.err >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } && {
4605 test -z "$ac_c_werror_flag" ||
4606 test ! -s conftest.err
4607 } && test -s conftest$ac_exeext &&
4608 $as_test_x conftest$ac_exeext; then
4609 ac_cv_lib_nsl_gethostbyname=yes
4610 else
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4614 ac_cv_lib_nsl_gethostbyname=no
4617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4618 conftest$ac_exeext conftest.$ac_ext
4619 LIBS=$ac_check_lib_save_LIBS
4621 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4622 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4623 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4627 if test $ac_cv_lib_nsl_gethostbyname = no; then
4628 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4629 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4630 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 else
4633 ac_check_lib_save_LIBS=$LIBS
4634 LIBS="-lbsd $LIBS"
4635 cat >conftest.$ac_ext <<_ACEOF
4636 /* confdefs.h. */
4637 _ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char gethostbyname ();
4650 main ()
4652 return gethostbyname ();
4654 return 0;
4656 _ACEOF
4657 rm -f conftest.$ac_objext conftest$ac_exeext
4658 if { (ac_try="$ac_link"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_link") 2>conftest.er1
4665 ac_status=$?
4666 grep -v '^ *+' conftest.er1 >conftest.err
4667 rm -f conftest.er1
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && {
4671 test -z "$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4673 } && test -s conftest$ac_exeext &&
4674 $as_test_x conftest$ac_exeext; then
4675 ac_cv_lib_bsd_gethostbyname=yes
4676 else
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_lib_bsd_gethostbyname=no
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684 conftest$ac_exeext conftest.$ac_ext
4685 LIBS=$ac_check_lib_save_LIBS
4687 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4688 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4689 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4690 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4696 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4697 # socket/setsockopt and other routines are undefined under SCO ODT
4698 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4699 # on later versions), says Simon Leinen: it contains gethostby*
4700 # variants that don't use the name server (or something). -lsocket
4701 # must be given before -lnsl if both are needed. We assume that
4702 # if connect needs -lnsl, so does gethostbyname.
4703 { echo "$as_me:$LINENO: checking for connect" >&5
4704 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4705 if test "${ac_cv_func_connect+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 else
4708 cat >conftest.$ac_ext <<_ACEOF
4709 /* confdefs.h. */
4710 _ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4716 #define connect innocuous_connect
4718 /* System header to define __stub macros and hopefully few prototypes,
4719 which can conflict with char connect (); below.
4720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4721 <limits.h> exists even on freestanding compilers. */
4723 #ifdef __STDC__
4724 # include <limits.h>
4725 #else
4726 # include <assert.h>
4727 #endif
4729 #undef connect
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4734 #ifdef __cplusplus
4735 extern "C"
4736 #endif
4737 char connect ();
4738 /* The GNU C library defines this for functions which it implements
4739 to always fail with ENOSYS. Some functions are actually named
4740 something starting with __ and the normal name is an alias. */
4741 #if defined __stub_connect || defined __stub___connect
4742 choke me
4743 #endif
4746 main ()
4748 return connect ();
4750 return 0;
4752 _ACEOF
4753 rm -f conftest.$ac_objext conftest$ac_exeext
4754 if { (ac_try="$ac_link"
4755 case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4758 esac
4759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4760 (eval "$ac_link") 2>conftest.er1
4761 ac_status=$?
4762 grep -v '^ *+' conftest.er1 >conftest.err
4763 rm -f conftest.er1
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest$ac_exeext &&
4770 $as_test_x conftest$ac_exeext; then
4771 ac_cv_func_connect=yes
4772 else
4773 echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.$ac_ext >&5
4776 ac_cv_func_connect=no
4779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4780 conftest$ac_exeext conftest.$ac_ext
4782 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4783 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4785 if test $ac_cv_func_connect = no; then
4786 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4787 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4788 if test "${ac_cv_lib_socket_connect+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791 ac_check_lib_save_LIBS=$LIBS
4792 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4800 /* Override any GCC internal prototype to avoid an error.
4801 Use char because int might match the return type of a GCC
4802 builtin and then its argument prototype would still apply. */
4803 #ifdef __cplusplus
4804 extern "C"
4805 #endif
4806 char connect ();
4808 main ()
4810 return connect ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_lib_socket_connect=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_lib_socket_connect=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4845 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4846 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4847 if test $ac_cv_lib_socket_connect = yes; then
4848 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4853 # Guillermo Gomez says -lposix is necessary on A/UX.
4854 { echo "$as_me:$LINENO: checking for remove" >&5
4855 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4856 if test "${ac_cv_func_remove+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4867 #define remove innocuous_remove
4869 /* System header to define __stub macros and hopefully few prototypes,
4870 which can conflict with char remove (); below.
4871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872 <limits.h> exists even on freestanding compilers. */
4874 #ifdef __STDC__
4875 # include <limits.h>
4876 #else
4877 # include <assert.h>
4878 #endif
4880 #undef remove
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4885 #ifdef __cplusplus
4886 extern "C"
4887 #endif
4888 char remove ();
4889 /* The GNU C library defines this for functions which it implements
4890 to always fail with ENOSYS. Some functions are actually named
4891 something starting with __ and the normal name is an alias. */
4892 #if defined __stub_remove || defined __stub___remove
4893 choke me
4894 #endif
4897 main ()
4899 return remove ();
4901 return 0;
4903 _ACEOF
4904 rm -f conftest.$ac_objext conftest$ac_exeext
4905 if { (ac_try="$ac_link"
4906 case "(($ac_try" in
4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908 *) ac_try_echo=$ac_try;;
4909 esac
4910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911 (eval "$ac_link") 2>conftest.er1
4912 ac_status=$?
4913 grep -v '^ *+' conftest.er1 >conftest.err
4914 rm -f conftest.er1
4915 cat conftest.err >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } && {
4918 test -z "$ac_c_werror_flag" ||
4919 test ! -s conftest.err
4920 } && test -s conftest$ac_exeext &&
4921 $as_test_x conftest$ac_exeext; then
4922 ac_cv_func_remove=yes
4923 else
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4927 ac_cv_func_remove=no
4930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4931 conftest$ac_exeext conftest.$ac_ext
4933 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4934 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4936 if test $ac_cv_func_remove = no; then
4937 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4938 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4939 if test "${ac_cv_lib_posix_remove+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 else
4942 ac_check_lib_save_LIBS=$LIBS
4943 LIBS="-lposix $LIBS"
4944 cat >conftest.$ac_ext <<_ACEOF
4945 /* confdefs.h. */
4946 _ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4951 /* Override any GCC internal prototype to avoid an error.
4952 Use char because int might match the return type of a GCC
4953 builtin and then its argument prototype would still apply. */
4954 #ifdef __cplusplus
4955 extern "C"
4956 #endif
4957 char remove ();
4959 main ()
4961 return remove ();
4963 return 0;
4965 _ACEOF
4966 rm -f conftest.$ac_objext conftest$ac_exeext
4967 if { (ac_try="$ac_link"
4968 case "(($ac_try" in
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4971 esac
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_link") 2>conftest.er1
4974 ac_status=$?
4975 grep -v '^ *+' conftest.er1 >conftest.err
4976 rm -f conftest.er1
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && {
4980 test -z "$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4982 } && test -s conftest$ac_exeext &&
4983 $as_test_x conftest$ac_exeext; then
4984 ac_cv_lib_posix_remove=yes
4985 else
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4989 ac_cv_lib_posix_remove=no
4992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4993 conftest$ac_exeext conftest.$ac_ext
4994 LIBS=$ac_check_lib_save_LIBS
4996 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4998 if test $ac_cv_lib_posix_remove = yes; then
4999 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5004 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5005 { echo "$as_me:$LINENO: checking for shmat" >&5
5006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5007 if test "${ac_cv_func_shmat+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 else
5010 cat >conftest.$ac_ext <<_ACEOF
5011 /* confdefs.h. */
5012 _ACEOF
5013 cat confdefs.h >>conftest.$ac_ext
5014 cat >>conftest.$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5018 #define shmat innocuous_shmat
5020 /* System header to define __stub macros and hopefully few prototypes,
5021 which can conflict with char shmat (); below.
5022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023 <limits.h> exists even on freestanding compilers. */
5025 #ifdef __STDC__
5026 # include <limits.h>
5027 #else
5028 # include <assert.h>
5029 #endif
5031 #undef shmat
5033 /* Override any GCC internal prototype to avoid an error.
5034 Use char because int might match the return type of a GCC
5035 builtin and then its argument prototype would still apply. */
5036 #ifdef __cplusplus
5037 extern "C"
5038 #endif
5039 char shmat ();
5040 /* The GNU C library defines this for functions which it implements
5041 to always fail with ENOSYS. Some functions are actually named
5042 something starting with __ and the normal name is an alias. */
5043 #if defined __stub_shmat || defined __stub___shmat
5044 choke me
5045 #endif
5048 main ()
5050 return shmat ();
5052 return 0;
5054 _ACEOF
5055 rm -f conftest.$ac_objext conftest$ac_exeext
5056 if { (ac_try="$ac_link"
5057 case "(($ac_try" in
5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5059 *) ac_try_echo=$ac_try;;
5060 esac
5061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062 (eval "$ac_link") 2>conftest.er1
5063 ac_status=$?
5064 grep -v '^ *+' conftest.er1 >conftest.err
5065 rm -f conftest.er1
5066 cat conftest.err >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } && {
5069 test -z "$ac_c_werror_flag" ||
5070 test ! -s conftest.err
5071 } && test -s conftest$ac_exeext &&
5072 $as_test_x conftest$ac_exeext; then
5073 ac_cv_func_shmat=yes
5074 else
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5078 ac_cv_func_shmat=no
5081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5082 conftest$ac_exeext conftest.$ac_ext
5084 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5085 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5087 if test $ac_cv_func_shmat = no; then
5088 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 else
5093 ac_check_lib_save_LIBS=$LIBS
5094 LIBS="-lipc $LIBS"
5095 cat >conftest.$ac_ext <<_ACEOF
5096 /* confdefs.h. */
5097 _ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5102 /* Override any GCC internal prototype to avoid an error.
5103 Use char because int might match the return type of a GCC
5104 builtin and then its argument prototype would still apply. */
5105 #ifdef __cplusplus
5106 extern "C"
5107 #endif
5108 char shmat ();
5110 main ()
5112 return shmat ();
5114 return 0;
5116 _ACEOF
5117 rm -f conftest.$ac_objext conftest$ac_exeext
5118 if { (ac_try="$ac_link"
5119 case "(($ac_try" in
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5122 esac
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_link") 2>conftest.er1
5125 ac_status=$?
5126 grep -v '^ *+' conftest.er1 >conftest.err
5127 rm -f conftest.er1
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest$ac_exeext &&
5134 $as_test_x conftest$ac_exeext; then
5135 ac_cv_lib_ipc_shmat=yes
5136 else
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5140 ac_cv_lib_ipc_shmat=no
5143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5144 conftest$ac_exeext conftest.$ac_ext
5145 LIBS=$ac_check_lib_save_LIBS
5147 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5148 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5149 if test $ac_cv_lib_ipc_shmat = yes; then
5150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5156 # Check for libraries that X11R6 Xt/Xaw programs need.
5157 ac_save_LDFLAGS=$LDFLAGS
5158 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5159 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5160 # check for ICE first), but we must link in the order -lSM -lICE or
5161 # we get undefined symbols. So assume we have SM if we have ICE.
5162 # These have to be linked with before -lX11, unlike the other
5163 # libraries we check for below, so use a different variable.
5164 # John Interrante, Karl Berry
5165 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5166 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5167 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 else
5170 ac_check_lib_save_LIBS=$LIBS
5171 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5172 cat >conftest.$ac_ext <<_ACEOF
5173 /* confdefs.h. */
5174 _ACEOF
5175 cat confdefs.h >>conftest.$ac_ext
5176 cat >>conftest.$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5179 /* Override any GCC internal prototype to avoid an error.
5180 Use char because int might match the return type of a GCC
5181 builtin and then its argument prototype would still apply. */
5182 #ifdef __cplusplus
5183 extern "C"
5184 #endif
5185 char IceConnectionNumber ();
5187 main ()
5189 return IceConnectionNumber ();
5191 return 0;
5193 _ACEOF
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5196 case "(($ac_try" in
5197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198 *) ac_try_echo=$ac_try;;
5199 esac
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5202 ac_status=$?
5203 grep -v '^ *+' conftest.er1 >conftest.err
5204 rm -f conftest.er1
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } && {
5208 test -z "$ac_c_werror_flag" ||
5209 test ! -s conftest.err
5210 } && test -s conftest$ac_exeext &&
5211 $as_test_x conftest$ac_exeext; then
5212 ac_cv_lib_ICE_IceConnectionNumber=yes
5213 else
5214 echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.$ac_ext >&5
5217 ac_cv_lib_ICE_IceConnectionNumber=no
5220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5221 conftest$ac_exeext conftest.$ac_ext
5222 LIBS=$ac_check_lib_save_LIBS
5224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5225 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5226 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5227 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5230 LDFLAGS=$ac_save_LDFLAGS
5235 for ac_prog in flex
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy $ac_prog; ac_word=$2
5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241 if test "${ac_cv_prog_FLEX+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 else
5244 if test -n "$FLEX"; then
5245 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_FLEX="$ac_prog"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 FLEX=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266 { echo "$as_me:$LINENO: result: $FLEX" >&5
5267 echo "${ECHO_T}$FLEX" >&6; }
5268 else
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5274 test -n "$FLEX" && break
5275 done
5276 test -n "$FLEX" || FLEX="none"
5278 if test "$FLEX" = "none"
5279 then
5280 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5281 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5282 { (exit 1); exit 1; }; }
5285 for ac_prog in bison
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5291 if test "${ac_cv_prog_BISON+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 else
5294 if test -n "$BISON"; then
5295 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_BISON="$ac_prog"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 BISON=$ac_cv_prog_BISON
5315 if test -n "$BISON"; then
5316 { echo "$as_me:$LINENO: result: $BISON" >&5
5317 echo "${ECHO_T}$BISON" >&6; }
5318 else
5319 { echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6; }
5324 test -n "$BISON" && break
5325 done
5326 test -n "$BISON" || BISON="none"
5328 if test "$BISON" = "none"
5329 then
5330 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5331 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5332 { (exit 1); exit 1; }; }
5335 if test -n "$ac_tool_prefix"; then
5336 for ac_prog in gas as
5338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_AS+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 else
5345 if test -n "$AS"; then
5346 ac_cv_prog_AS="$AS" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 AS=$ac_cv_prog_AS
5366 if test -n "$AS"; then
5367 { echo "$as_me:$LINENO: result: $AS" >&5
5368 echo "${ECHO_T}$AS" >&6; }
5369 else
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5375 test -n "$AS" && break
5376 done
5378 if test -z "$AS"; then
5379 ac_ct_AS=$AS
5380 for ac_prog in gas as
5382 # Extract the first word of "$ac_prog", so it can be a program name with args.
5383 set dummy $ac_prog; ac_word=$2
5384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5386 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 else
5389 if test -n "$ac_ct_AS"; then
5390 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5391 else
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH
5395 IFS=$as_save_IFS
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 ac_cv_prog_ac_ct_AS="$ac_prog"
5400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 break 2
5403 done
5404 done
5405 IFS=$as_save_IFS
5409 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5410 if test -n "$ac_ct_AS"; then
5411 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5412 echo "${ECHO_T}$ac_ct_AS" >&6; }
5413 else
5414 { echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6; }
5419 test -n "$ac_ct_AS" && break
5420 done
5422 if test "x$ac_ct_AS" = x; then
5423 AS="as"
5424 else
5425 case $cross_compiling:$ac_tool_warned in
5426 yes:)
5427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5428 whose name does not start with the host triplet. If you think this
5429 configuration is useful to you, please write to autoconf@gnu.org." >&5
5430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5431 whose name does not start with the host triplet. If you think this
5432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435 AS=$ac_ct_AS
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5441 set dummy ${ac_tool_prefix}ld; ac_word=$2
5442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5444 if test "${ac_cv_prog_LD+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 else
5447 if test -n "$LD"; then
5448 ac_cv_prog_LD="$LD" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_prog_LD="${ac_tool_prefix}ld"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5461 done
5462 done
5463 IFS=$as_save_IFS
5467 LD=$ac_cv_prog_LD
5468 if test -n "$LD"; then
5469 { echo "$as_me:$LINENO: result: $LD" >&5
5470 echo "${ECHO_T}$LD" >&6; }
5471 else
5472 { echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6; }
5478 if test -z "$ac_cv_prog_LD"; then
5479 ac_ct_LD=$LD
5480 # Extract the first word of "ld", so it can be a program name with args.
5481 set dummy ld; ac_word=$2
5482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5484 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487 if test -n "$ac_ct_LD"; then
5488 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 ac_cv_prog_ac_ct_LD="ld"
5498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 break 2
5501 done
5502 done
5503 IFS=$as_save_IFS
5507 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5508 if test -n "$ac_ct_LD"; then
5509 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5510 echo "${ECHO_T}$ac_ct_LD" >&6; }
5511 else
5512 { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5516 if test "x$ac_ct_LD" = x; then
5517 LD="ld"
5518 else
5519 case $cross_compiling:$ac_tool_warned in
5520 yes:)
5521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5522 whose name does not start with the host triplet. If you think this
5523 configuration is useful to you, please write to autoconf@gnu.org." >&5
5524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5525 whose name does not start with the host triplet. If you think this
5526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5527 ac_tool_warned=yes ;;
5528 esac
5529 LD=$ac_ct_LD
5531 else
5532 LD="$ac_cv_prog_LD"
5535 if test -n "$ac_tool_prefix"; then
5536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5537 set dummy ${ac_tool_prefix}ar; ac_word=$2
5538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5540 if test "${ac_cv_prog_AR+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 else
5543 if test -n "$AR"; then
5544 ac_cv_prog_AR="$AR" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553 ac_cv_prog_AR="${ac_tool_prefix}ar"
5554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 break 2
5557 done
5558 done
5559 IFS=$as_save_IFS
5563 AR=$ac_cv_prog_AR
5564 if test -n "$AR"; then
5565 { echo "$as_me:$LINENO: result: $AR" >&5
5566 echo "${ECHO_T}$AR" >&6; }
5567 else
5568 { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5574 if test -z "$ac_cv_prog_AR"; then
5575 ac_ct_AR=$AR
5576 # Extract the first word of "ar", so it can be a program name with args.
5577 set dummy ar; ac_word=$2
5578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5580 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 else
5583 if test -n "$ac_ct_AR"; then
5584 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_ac_ct_AR="ar"
5594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 break 2
5597 done
5598 done
5599 IFS=$as_save_IFS
5603 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5604 if test -n "$ac_ct_AR"; then
5605 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5606 echo "${ECHO_T}$ac_ct_AR" >&6; }
5607 else
5608 { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5612 if test "x$ac_ct_AR" = x; then
5613 AR="ar"
5614 else
5615 case $cross_compiling:$ac_tool_warned in
5616 yes:)
5617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5618 whose name does not start with the host triplet. If you think this
5619 configuration is useful to you, please write to autoconf@gnu.org." >&5
5620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5621 whose name does not start with the host triplet. If you think this
5622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5623 ac_tool_warned=yes ;;
5624 esac
5625 AR=$ac_ct_AR
5627 else
5628 AR="$ac_cv_prog_AR"
5631 ARFLAGS=rc
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_RANLIB+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 else
5641 if test -n "$RANLIB"; then
5642 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 RANLIB=$ac_cv_prog_RANLIB
5662 if test -n "$RANLIB"; then
5663 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5664 echo "${ECHO_T}$RANLIB" >&6; }
5665 else
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5672 if test -z "$ac_cv_prog_RANLIB"; then
5673 ac_ct_RANLIB=$RANLIB
5674 # Extract the first word of "ranlib", so it can be a program name with args.
5675 set dummy ranlib; ac_word=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 else
5681 if test -n "$ac_ct_RANLIB"; then
5682 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_ac_ct_RANLIB="ranlib"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5702 if test -n "$ac_ct_RANLIB"; then
5703 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5704 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5705 else
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5710 if test "x$ac_ct_RANLIB" = x; then
5711 RANLIB=":"
5712 else
5713 case $cross_compiling:$ac_tool_warned in
5714 yes:)
5715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet. If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&5
5718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5721 ac_tool_warned=yes ;;
5722 esac
5723 RANLIB=$ac_ct_RANLIB
5725 else
5726 RANLIB="$ac_cv_prog_RANLIB"
5729 if test -n "$ac_tool_prefix"; then
5730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5731 set dummy ${ac_tool_prefix}strip; ac_word=$2
5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5734 if test "${ac_cv_prog_STRIP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 else
5737 if test -n "$STRIP"; then
5738 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 STRIP=$ac_cv_prog_STRIP
5758 if test -n "$STRIP"; then
5759 { echo "$as_me:$LINENO: result: $STRIP" >&5
5760 echo "${ECHO_T}$STRIP" >&6; }
5761 else
5762 { echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6; }
5768 if test -z "$ac_cv_prog_STRIP"; then
5769 ac_ct_STRIP=$STRIP
5770 # Extract the first word of "strip", so it can be a program name with args.
5771 set dummy strip; ac_word=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 else
5777 if test -n "$ac_ct_STRIP"; then
5778 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5783 IFS=$as_save_IFS
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_prog_ac_ct_STRIP="strip"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 break 2
5791 done
5792 done
5793 IFS=$as_save_IFS
5797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5798 if test -n "$ac_ct_STRIP"; then
5799 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5800 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5801 else
5802 { echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6; }
5806 if test "x$ac_ct_STRIP" = x; then
5807 STRIP="strip"
5808 else
5809 case $cross_compiling:$ac_tool_warned in
5810 yes:)
5811 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5812 whose name does not start with the host triplet. If you think this
5813 configuration is useful to you, please write to autoconf@gnu.org." >&5
5814 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5815 whose name does not start with the host triplet. If you think this
5816 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5817 ac_tool_warned=yes ;;
5818 esac
5819 STRIP=$ac_ct_STRIP
5821 else
5822 STRIP="$ac_cv_prog_STRIP"
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5827 set dummy ${ac_tool_prefix}windres; ac_word=$2
5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_WINDRES+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5832 else
5833 if test -n "$WINDRES"; then
5834 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5839 IFS=$as_save_IFS
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 break 2
5847 done
5848 done
5849 IFS=$as_save_IFS
5853 WINDRES=$ac_cv_prog_WINDRES
5854 if test -n "$WINDRES"; then
5855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5856 echo "${ECHO_T}$WINDRES" >&6; }
5857 else
5858 { echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6; }
5864 if test -z "$ac_cv_prog_WINDRES"; then
5865 ac_ct_WINDRES=$WINDRES
5866 # Extract the first word of "windres", so it can be a program name with args.
5867 set dummy windres; ac_word=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 else
5873 if test -n "$ac_ct_WINDRES"; then
5874 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_WINDRES="windres"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5894 if test -n "$ac_ct_WINDRES"; then
5895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5897 else
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5902 if test "x$ac_ct_WINDRES" = x; then
5903 WINDRES="false"
5904 else
5905 case $cross_compiling:$ac_tool_warned in
5906 yes:)
5907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5908 whose name does not start with the host triplet. If you think this
5909 configuration is useful to you, please write to autoconf@gnu.org." >&5
5910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5911 whose name does not start with the host triplet. If you think this
5912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5913 ac_tool_warned=yes ;;
5914 esac
5915 WINDRES=$ac_ct_WINDRES
5917 else
5918 WINDRES="$ac_cv_prog_WINDRES"
5921 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5922 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5923 LN_S=$as_ln_s
5924 if test "$LN_S" = "ln -s"; then
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5927 else
5928 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5929 echo "${ECHO_T}no, using $LN_S" >&6; }
5932 { echo "$as_me:$LINENO: checking whether ln works" >&5
5933 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5934 rm -f conf$$ conf$$.file
5935 echo >conf$$.file
5936 if ln conf$$.file conf$$ 2>/dev/null; then
5937 LN=ln
5939 { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5941 else
5942 LN="cp -p"
5944 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5945 echo "${ECHO_T}no, using $LN" >&6; }
5947 rm -f conf$$ conf$$.file
5948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 else
5953 # Extract the first word of "grep ggrep" to use in msg output
5954 if test -z "$GREP"; then
5955 set dummy grep ggrep; ac_prog_name=$2
5956 if test "${ac_cv_path_GREP+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 else
5959 ac_path_GREP_found=false
5960 # Loop through the user's path and test for each of PROGNAME-LIST
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_prog in grep ggrep; do
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5970 # Check for GNU ac_path_GREP and select it if it is found.
5971 # Check for GNU $ac_path_GREP
5972 case `"$ac_path_GREP" --version 2>&1` in
5973 *GNU*)
5974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5976 ac_count=0
5977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5978 while :
5980 cat "conftest.in" "conftest.in" >"conftest.tmp"
5981 mv "conftest.tmp" "conftest.in"
5982 cp "conftest.in" "conftest.nl"
5983 echo 'GREP' >> "conftest.nl"
5984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5986 ac_count=`expr $ac_count + 1`
5987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5988 # Best one so far, save it but keep looking for a better one
5989 ac_cv_path_GREP="$ac_path_GREP"
5990 ac_path_GREP_max=$ac_count
5992 # 10*(2^10) chars as input seems more than enough
5993 test $ac_count -gt 10 && break
5994 done
5995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5996 esac
5999 $ac_path_GREP_found && break 3
6000 done
6001 done
6003 done
6004 IFS=$as_save_IFS
6009 GREP="$ac_cv_path_GREP"
6010 if test -z "$GREP"; then
6011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6013 { (exit 1); exit 1; }; }
6016 else
6017 ac_cv_path_GREP=$GREP
6022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6024 GREP="$ac_cv_path_GREP"
6027 { echo "$as_me:$LINENO: checking for egrep" >&5
6028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 else
6032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6033 then ac_cv_path_EGREP="$GREP -E"
6034 else
6035 # Extract the first word of "egrep" to use in msg output
6036 if test -z "$EGREP"; then
6037 set dummy egrep; ac_prog_name=$2
6038 if test "${ac_cv_path_EGREP+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 else
6041 ac_path_EGREP_found=false
6042 # Loop through the user's path and test for each of PROGNAME-LIST
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6046 IFS=$as_save_IFS
6047 test -z "$as_dir" && as_dir=.
6048 for ac_prog in egrep; do
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6052 # Check for GNU ac_path_EGREP and select it if it is found.
6053 # Check for GNU $ac_path_EGREP
6054 case `"$ac_path_EGREP" --version 2>&1` in
6055 *GNU*)
6056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6058 ac_count=0
6059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6060 while :
6062 cat "conftest.in" "conftest.in" >"conftest.tmp"
6063 mv "conftest.tmp" "conftest.in"
6064 cp "conftest.in" "conftest.nl"
6065 echo 'EGREP' >> "conftest.nl"
6066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6068 ac_count=`expr $ac_count + 1`
6069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6070 # Best one so far, save it but keep looking for a better one
6071 ac_cv_path_EGREP="$ac_path_EGREP"
6072 ac_path_EGREP_max=$ac_count
6074 # 10*(2^10) chars as input seems more than enough
6075 test $ac_count -gt 10 && break
6076 done
6077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6078 esac
6081 $ac_path_EGREP_found && break 3
6082 done
6083 done
6085 done
6086 IFS=$as_save_IFS
6091 EGREP="$ac_cv_path_EGREP"
6092 if test -z "$EGREP"; then
6093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6095 { (exit 1); exit 1; }; }
6098 else
6099 ac_cv_path_EGREP=$EGREP
6105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6107 EGREP="$ac_cv_path_EGREP"
6110 # Extract the first word of "ldconfig", so it can be a program name with args.
6111 set dummy ldconfig; ac_word=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 else
6117 case $LDCONFIG in
6118 [\\/]* | ?:[\\/]*)
6119 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in /sbin /usr/sbin $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6137 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6139 esac
6141 LDCONFIG=$ac_cv_path_LDCONFIG
6142 if test -n "$LDCONFIG"; then
6143 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6144 echo "${ECHO_T}$LDCONFIG" >&6; }
6145 else
6146 { echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6; }
6151 # Find a good install program. We prefer a C program (faster),
6152 # so one script is as good as another. But avoid the broken or
6153 # incompatible versions:
6154 # SysV /etc/install, /usr/sbin/install
6155 # SunOS /usr/etc/install
6156 # IRIX /sbin/install
6157 # AIX /bin/install
6158 # AmigaOS /C/install, which installs bootblocks on floppy discs
6159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6162 # OS/2's system install, which has a completely different semantic
6163 # ./install, which can be erroneously created by make from ./install.sh.
6164 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6165 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6166 if test -z "$INSTALL"; then
6167 if test "${ac_cv_path_install+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 else
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6173 IFS=$as_save_IFS
6174 test -z "$as_dir" && as_dir=.
6175 # Account for people who put trailing slashes in PATH elements.
6176 case $as_dir/ in
6177 ./ | .// | /cC/* | \
6178 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6179 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6180 /usr/ucb/* ) ;;
6182 # OSF1 and SCO ODT 3.0 have their own names for install.
6183 # Don't use installbsd from OSF since it installs stuff as root
6184 # by default.
6185 for ac_prog in ginstall scoinst install; do
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6188 if test $ac_prog = install &&
6189 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6190 # AIX install. It has an incompatible calling convention.
6192 elif test $ac_prog = install &&
6193 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6194 # program-specific install script used by HP pwplus--don't use.
6196 else
6197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6198 break 3
6201 done
6202 done
6204 esac
6205 done
6206 IFS=$as_save_IFS
6210 if test "${ac_cv_path_install+set}" = set; then
6211 INSTALL=$ac_cv_path_install
6212 else
6213 # As a last resort, use the slow shell script. Don't cache a
6214 # value for INSTALL within a source directory, because that will
6215 # break other packages using the cache if that directory is
6216 # removed, or if the value is a relative name.
6217 INSTALL=$ac_install_sh
6220 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6221 echo "${ECHO_T}$INSTALL" >&6; }
6223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6224 # It thinks the first close brace ends the variable substitution.
6225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6231 case "$INSTALL" in
6232 [\\/$]* | ?:[\\/]* ) ;;
6233 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6234 esac
6236 for ac_prog in lclint lint
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_LINT+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$LINT"; then
6246 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_LINT="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6261 IFS=$as_save_IFS
6265 LINT=$ac_cv_prog_LINT
6266 if test -n "$LINT"; then
6267 { echo "$as_me:$LINENO: result: $LINT" >&5
6268 echo "${ECHO_T}$LINT" >&6; }
6269 else
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 test -n "$LINT" && break
6276 done
6278 if test "$LINT" = "lint"
6279 then
6280 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6285 for ac_prog in fontforge
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 else
6294 if test -n "$FONTFORGE"; then
6295 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_FONTFORGE="$ac_prog"
6305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 break 2
6308 done
6309 done
6310 IFS=$as_save_IFS
6314 FONTFORGE=$ac_cv_prog_FONTFORGE
6315 if test -n "$FONTFORGE"; then
6316 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6317 echo "${ECHO_T}$FONTFORGE" >&6; }
6318 else
6319 { echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6; }
6324 test -n "$FONTFORGE" && break
6325 done
6326 test -n "$FONTFORGE" || FONTFORGE="false"
6328 for ac_prog in pkg-config
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6334 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 else
6337 if test -n "$PKG_CONFIG"; then
6338 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_PKG_CONFIG="$ac_prog"
6348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 break 2
6351 done
6352 done
6353 IFS=$as_save_IFS
6357 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6358 if test -n "$PKG_CONFIG"; then
6359 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6360 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6361 else
6362 { echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6; }
6367 test -n "$PKG_CONFIG" && break
6368 done
6369 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6371 for ac_prog in rsvg
6373 # Extract the first word of "$ac_prog", so it can be a program name with args.
6374 set dummy $ac_prog; ac_word=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_RSVG+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 else
6380 if test -n "$RSVG"; then
6381 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6382 else
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_RSVG="$ac_prog"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 break 2
6394 done
6395 done
6396 IFS=$as_save_IFS
6400 RSVG=$ac_cv_prog_RSVG
6401 if test -n "$RSVG"; then
6402 { echo "$as_me:$LINENO: result: $RSVG" >&5
6403 echo "${ECHO_T}$RSVG" >&6; }
6404 else
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6410 test -n "$RSVG" && break
6411 done
6412 test -n "$RSVG" || RSVG="false"
6414 for ac_prog in icotool
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy $ac_prog; ac_word=$2
6418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6420 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 else
6423 if test -n "$ICOTOOL"; then
6424 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6429 IFS=$as_save_IFS
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ICOTOOL="$ac_prog"
6434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 break 2
6437 done
6438 done
6439 IFS=$as_save_IFS
6443 ICOTOOL=$ac_cv_prog_ICOTOOL
6444 if test -n "$ICOTOOL"; then
6445 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6446 echo "${ECHO_T}$ICOTOOL" >&6; }
6447 else
6448 { echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6; }
6453 test -n "$ICOTOOL" && break
6454 done
6455 test -n "$ICOTOOL" || ICOTOOL="false"
6458 if test "${enable_maintainer_mode+set}" = set
6459 then
6460 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6461 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6462 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6465 case $host_cpu in
6466 *i[3456789]86*)
6467 # Extract the first word of "prelink", so it can be a program name with args.
6468 set dummy prelink; ac_word=$2
6469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6471 if test "${ac_cv_path_PRELINK+set}" = set; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 else
6474 case $PRELINK in
6475 [\\/]* | ?:[\\/]*)
6476 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in /sbin /usr/sbin $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6494 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6496 esac
6498 PRELINK=$ac_cv_path_PRELINK
6499 if test -n "$PRELINK"; then
6500 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6501 echo "${ECHO_T}$PRELINK" >&6; }
6502 else
6503 { echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6; }
6509 esac
6513 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6514 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6515 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 else
6518 ac_check_lib_save_LIBS=$LIBS
6519 LIBS="-li386 $LIBS"
6520 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h. */
6522 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6527 /* Override any GCC internal prototype to avoid an error.
6528 Use char because int might match the return type of a GCC
6529 builtin and then its argument prototype would still apply. */
6530 #ifdef __cplusplus
6531 extern "C"
6532 #endif
6533 char i386_set_ldt ();
6535 main ()
6537 return i386_set_ldt ();
6539 return 0;
6541 _ACEOF
6542 rm -f conftest.$ac_objext conftest$ac_exeext
6543 if { (ac_try="$ac_link"
6544 case "(($ac_try" in
6545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546 *) ac_try_echo=$ac_try;;
6547 esac
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549 (eval "$ac_link") 2>conftest.er1
6550 ac_status=$?
6551 grep -v '^ *+' conftest.er1 >conftest.err
6552 rm -f conftest.er1
6553 cat conftest.err >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } && {
6556 test -z "$ac_c_werror_flag" ||
6557 test ! -s conftest.err
6558 } && test -s conftest$ac_exeext &&
6559 $as_test_x conftest$ac_exeext; then
6560 ac_cv_lib_i386_i386_set_ldt=yes
6561 else
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6565 ac_cv_lib_i386_i386_set_ldt=no
6568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6569 conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6572 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6573 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6574 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6575 cat >>confdefs.h <<_ACEOF
6576 #define HAVE_LIBI386 1
6577 _ACEOF
6579 LIBS="-li386 $LIBS"
6584 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6585 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6586 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 else
6589 ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lossaudio $LIBS"
6591 cat >conftest.$ac_ext <<_ACEOF
6592 /* confdefs.h. */
6593 _ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 /* Override any GCC internal prototype to avoid an error.
6599 Use char because int might match the return type of a GCC
6600 builtin and then its argument prototype would still apply. */
6601 #ifdef __cplusplus
6602 extern "C"
6603 #endif
6604 char _oss_ioctl ();
6606 main ()
6608 return _oss_ioctl ();
6610 return 0;
6612 _ACEOF
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (ac_try="$ac_link"
6615 case "(($ac_try" in
6616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6617 *) ac_try_echo=$ac_try;;
6618 esac
6619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6620 (eval "$ac_link") 2>conftest.er1
6621 ac_status=$?
6622 grep -v '^ *+' conftest.er1 >conftest.err
6623 rm -f conftest.er1
6624 cat conftest.err >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && {
6627 test -z "$ac_c_werror_flag" ||
6628 test ! -s conftest.err
6629 } && test -s conftest$ac_exeext &&
6630 $as_test_x conftest$ac_exeext; then
6631 ac_cv_lib_ossaudio__oss_ioctl=yes
6632 else
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 ac_cv_lib_ossaudio__oss_ioctl=no
6639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6640 conftest$ac_exeext conftest.$ac_ext
6641 LIBS=$ac_check_lib_save_LIBS
6643 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6644 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6645 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6646 cat >>confdefs.h <<_ACEOF
6647 #define HAVE_LIBOSSAUDIO 1
6648 _ACEOF
6650 LIBS="-lossaudio $LIBS"
6654 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6655 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6656 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 else
6659 ac_check_lib_save_LIBS=$LIBS
6660 LIBS="-lpthread $LIBS"
6661 cat >conftest.$ac_ext <<_ACEOF
6662 /* confdefs.h. */
6663 _ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6668 /* Override any GCC internal prototype to avoid an error.
6669 Use char because int might match the return type of a GCC
6670 builtin and then its argument prototype would still apply. */
6671 #ifdef __cplusplus
6672 extern "C"
6673 #endif
6674 char pthread_create ();
6676 main ()
6678 return pthread_create ();
6680 return 0;
6682 _ACEOF
6683 rm -f conftest.$ac_objext conftest$ac_exeext
6684 if { (ac_try="$ac_link"
6685 case "(($ac_try" in
6686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6688 esac
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690 (eval "$ac_link") 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest$ac_exeext &&
6700 $as_test_x conftest$ac_exeext; then
6701 ac_cv_lib_pthread_pthread_create=yes
6702 else
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 ac_cv_lib_pthread_pthread_create=no
6709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710 conftest$ac_exeext conftest.$ac_ext
6711 LIBS=$ac_check_lib_save_LIBS
6713 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6714 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6715 if test $ac_cv_lib_pthread_pthread_create = yes; then
6716 LIBPTHREAD="-lpthread"
6721 XLIB=""
6723 XFILES=""
6725 OPENGLFILES=""
6727 GLU32FILES=""
6729 OPENGL_LIBS=""
6731 QUARTZFILES=""
6735 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6737 if test "${ac_cv_header_stdc+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 else
6740 cat >conftest.$ac_ext <<_ACEOF
6741 /* confdefs.h. */
6742 _ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 #include <stdlib.h>
6747 #include <stdarg.h>
6748 #include <string.h>
6749 #include <float.h>
6752 main ()
6756 return 0;
6758 _ACEOF
6759 rm -f conftest.$ac_objext
6760 if { (ac_try="$ac_compile"
6761 case "(($ac_try" in
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6764 esac
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_compile") 2>conftest.er1
6767 ac_status=$?
6768 grep -v '^ *+' conftest.er1 >conftest.err
6769 rm -f conftest.er1
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest.$ac_objext; then
6776 ac_cv_header_stdc=yes
6777 else
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ac_cv_header_stdc=no
6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786 if test $ac_cv_header_stdc = yes; then
6787 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6788 cat >conftest.$ac_ext <<_ACEOF
6789 /* confdefs.h. */
6790 _ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6794 #include <string.h>
6796 _ACEOF
6797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6798 $EGREP "memchr" >/dev/null 2>&1; then
6800 else
6801 ac_cv_header_stdc=no
6803 rm -f conftest*
6807 if test $ac_cv_header_stdc = yes; then
6808 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6809 cat >conftest.$ac_ext <<_ACEOF
6810 /* confdefs.h. */
6811 _ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 #include <stdlib.h>
6817 _ACEOF
6818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6819 $EGREP "free" >/dev/null 2>&1; then
6821 else
6822 ac_cv_header_stdc=no
6824 rm -f conftest*
6828 if test $ac_cv_header_stdc = yes; then
6829 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6830 if test "$cross_compiling" = yes; then
6832 else
6833 cat >conftest.$ac_ext <<_ACEOF
6834 /* confdefs.h. */
6835 _ACEOF
6836 cat confdefs.h >>conftest.$ac_ext
6837 cat >>conftest.$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6839 #include <ctype.h>
6840 #include <stdlib.h>
6841 #if ((' ' & 0x0FF) == 0x020)
6842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6844 #else
6845 # define ISLOWER(c) \
6846 (('a' <= (c) && (c) <= 'i') \
6847 || ('j' <= (c) && (c) <= 'r') \
6848 || ('s' <= (c) && (c) <= 'z'))
6849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6850 #endif
6852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6854 main ()
6856 int i;
6857 for (i = 0; i < 256; i++)
6858 if (XOR (islower (i), ISLOWER (i))
6859 || toupper (i) != TOUPPER (i))
6860 return 2;
6861 return 0;
6863 _ACEOF
6864 rm -f conftest$ac_exeext
6865 if { (ac_try="$ac_link"
6866 case "(($ac_try" in
6867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6868 *) ac_try_echo=$ac_try;;
6869 esac
6870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6871 (eval "$ac_link") 2>&5
6872 ac_status=$?
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6875 { (case "(($ac_try" in
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6878 esac
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880 (eval "$ac_try") 2>&5
6881 ac_status=$?
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6885 else
6886 echo "$as_me: program exited with status $ac_status" >&5
6887 echo "$as_me: failed program was:" >&5
6888 sed 's/^/| /' conftest.$ac_ext >&5
6890 ( exit $ac_status )
6891 ac_cv_header_stdc=no
6893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6899 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6900 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6901 if test $ac_cv_header_stdc = yes; then
6903 cat >>confdefs.h <<\_ACEOF
6904 #define STDC_HEADERS 1
6905 _ACEOF
6909 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6920 inttypes.h stdint.h unistd.h
6922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 else
6928 cat >conftest.$ac_ext <<_ACEOF
6929 /* confdefs.h. */
6930 _ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6934 $ac_includes_default
6936 #include <$ac_header>
6937 _ACEOF
6938 rm -f conftest.$ac_objext
6939 if { (ac_try="$ac_compile"
6940 case "(($ac_try" in
6941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6942 *) ac_try_echo=$ac_try;;
6943 esac
6944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6945 (eval "$ac_compile") 2>conftest.er1
6946 ac_status=$?
6947 grep -v '^ *+' conftest.er1 >conftest.err
6948 rm -f conftest.er1
6949 cat conftest.err >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } && {
6952 test -z "$ac_c_werror_flag" ||
6953 test ! -s conftest.err
6954 } && test -s conftest.$ac_objext; then
6955 eval "$as_ac_Header=yes"
6956 else
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 eval "$as_ac_Header=no"
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 ac_res=`eval echo '${'$as_ac_Header'}'`
6966 { echo "$as_me:$LINENO: result: $ac_res" >&5
6967 echo "${ECHO_T}$ac_res" >&6; }
6968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6971 _ACEOF
6975 done
7088 for ac_header in \
7089 AudioUnit/AudioUnit.h \
7090 Carbon/Carbon.h \
7091 CoreAudio/CoreAudio.h \
7092 DiskArbitration/DiskArbitration.h \
7093 IOKit/IOKitLib.h \
7094 alsa/asoundlib.h \
7095 arpa/inet.h \
7096 arpa/nameser.h \
7097 asm/types.h \
7098 capi20.h \
7099 cups/cups.h \
7100 curses.h \
7101 direct.h \
7102 dlfcn.h \
7103 elf.h \
7104 float.h \
7105 fontconfig/fontconfig.h \
7106 getopt.h \
7107 ieeefp.h \
7108 io.h \
7109 jack/jack.h \
7110 jpeglib.h \
7111 lber.h \
7112 lcms.h \
7113 lcms/lcms.h \
7114 ldap.h \
7115 libaudioio.h \
7116 link.h \
7117 linux/cdrom.h \
7118 linux/compiler.h \
7119 linux/hdreg.h \
7120 linux/input.h \
7121 linux/ioctl.h \
7122 linux/joystick.h \
7123 linux/major.h \
7124 linux/param.h \
7125 linux/serial.h \
7126 linux/ucdrom.h \
7127 mach/mach.h \
7128 mach/machine.h \
7129 machine/cpu.h \
7130 machine/limits.h \
7131 machine/soundcard.h \
7132 mntent.h \
7133 ncurses.h \
7134 netdb.h \
7135 netinet/in.h \
7136 netinet/in_systm.h \
7137 netinet/tcp.h \
7138 netinet/tcp_fsm.h \
7139 openssl/err.h \
7140 openssl/ssl.h \
7141 png.h \
7142 poll.h \
7143 process.h \
7144 pthread.h \
7145 pwd.h \
7146 regex.h \
7147 sched.h \
7148 scsi/scsi.h \
7149 scsi/scsi_ioctl.h \
7150 scsi/sg.h \
7151 soundcard.h \
7152 stdint.h \
7153 strings.h \
7154 sys/asoundlib.h \
7155 sys/cdio.h \
7156 sys/elf32.h \
7157 sys/epoll.h \
7158 sys/errno.h \
7159 sys/event.h \
7160 sys/exec_elf.h \
7161 sys/filio.h \
7162 sys/ioctl.h \
7163 sys/ipc.h \
7164 sys/limits.h \
7165 sys/link.h \
7166 sys/lwp.h \
7167 sys/mman.h \
7168 sys/modem.h \
7169 sys/msg.h \
7170 sys/mtio.h \
7171 sys/param.h \
7172 sys/poll.h \
7173 sys/prctl.h \
7174 sys/ptrace.h \
7175 sys/reg.h \
7176 sys/resource.h \
7177 sys/scsiio.h \
7178 sys/shm.h \
7179 sys/signal.h \
7180 sys/socket.h \
7181 sys/socketvar.h \
7182 sys/sockio.h \
7183 sys/soundcard.h \
7184 sys/statvfs.h \
7185 sys/strtio.h \
7186 sys/syscall.h \
7187 sys/sysctl.h \
7188 sys/time.h \
7189 sys/times.h \
7190 sys/uio.h \
7191 sys/un.h \
7192 sys/vm86.h \
7193 sys/wait.h \
7194 syscall.h \
7195 termios.h \
7196 unistd.h \
7197 utime.h \
7198 valgrind/memcheck.h
7201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 ac_res=`eval echo '${'$as_ac_Header'}'`
7209 { echo "$as_me:$LINENO: result: $ac_res" >&5
7210 echo "${ECHO_T}$ac_res" >&6; }
7211 else
7212 # Is the header compilable?
7213 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7215 cat >conftest.$ac_ext <<_ACEOF
7216 /* confdefs.h. */
7217 _ACEOF
7218 cat confdefs.h >>conftest.$ac_ext
7219 cat >>conftest.$ac_ext <<_ACEOF
7220 /* end confdefs.h. */
7221 $ac_includes_default
7222 #include <$ac_header>
7223 _ACEOF
7224 rm -f conftest.$ac_objext
7225 if { (ac_try="$ac_compile"
7226 case "(($ac_try" in
7227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7228 *) ac_try_echo=$ac_try;;
7229 esac
7230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7231 (eval "$ac_compile") 2>conftest.er1
7232 ac_status=$?
7233 grep -v '^ *+' conftest.er1 >conftest.err
7234 rm -f conftest.er1
7235 cat conftest.err >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); } && {
7238 test -z "$ac_c_werror_flag" ||
7239 test ! -s conftest.err
7240 } && test -s conftest.$ac_objext; then
7241 ac_header_compiler=yes
7242 else
7243 echo "$as_me: failed program was:" >&5
7244 sed 's/^/| /' conftest.$ac_ext >&5
7246 ac_header_compiler=no
7249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7251 echo "${ECHO_T}$ac_header_compiler" >&6; }
7253 # Is the header present?
7254 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7256 cat >conftest.$ac_ext <<_ACEOF
7257 /* confdefs.h. */
7258 _ACEOF
7259 cat confdefs.h >>conftest.$ac_ext
7260 cat >>conftest.$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 #include <$ac_header>
7263 _ACEOF
7264 if { (ac_try="$ac_cpp conftest.$ac_ext"
7265 case "(($ac_try" in
7266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7267 *) ac_try_echo=$ac_try;;
7268 esac
7269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7271 ac_status=$?
7272 grep -v '^ *+' conftest.er1 >conftest.err
7273 rm -f conftest.er1
7274 cat conftest.err >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); } >/dev/null && {
7277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7278 test ! -s conftest.err
7279 }; then
7280 ac_header_preproc=yes
7281 else
7282 echo "$as_me: failed program was:" >&5
7283 sed 's/^/| /' conftest.$ac_ext >&5
7285 ac_header_preproc=no
7288 rm -f conftest.err conftest.$ac_ext
7289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7290 echo "${ECHO_T}$ac_header_preproc" >&6; }
7292 # So? What about this header?
7293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7294 yes:no: )
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7299 ac_header_preproc=yes
7301 no:yes:* )
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7314 ( cat <<\_ASBOX
7315 ## ------------------------------------ ##
7316 ## Report this to wine-devel@winehq.org ##
7317 ## ------------------------------------ ##
7318 _ASBOX
7319 ) | sed "s/^/$as_me: WARNING: /" >&2
7321 esac
7322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 else
7327 eval "$as_ac_Header=\$ac_header_preproc"
7329 ac_res=`eval echo '${'$as_ac_Header'}'`
7330 { echo "$as_me:$LINENO: result: $ac_res" >&5
7331 echo "${ECHO_T}$ac_res" >&6; }
7334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7335 cat >>confdefs.h <<_ACEOF
7336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7343 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7344 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7345 if test "${ac_cv_header_stat_broken+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7347 else
7348 cat >conftest.$ac_ext <<_ACEOF
7349 /* confdefs.h. */
7350 _ACEOF
7351 cat confdefs.h >>conftest.$ac_ext
7352 cat >>conftest.$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7354 #include <sys/types.h>
7355 #include <sys/stat.h>
7357 #if defined S_ISBLK && defined S_IFDIR
7358 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7359 #endif
7361 #if defined S_ISBLK && defined S_IFCHR
7362 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7363 #endif
7365 #if defined S_ISLNK && defined S_IFREG
7366 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7367 #endif
7369 #if defined S_ISSOCK && defined S_IFREG
7370 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7371 #endif
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7376 case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7382 ac_status=$?
7383 grep -v '^ *+' conftest.er1 >conftest.err
7384 rm -f conftest.er1
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 ac_cv_header_stat_broken=no
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_cv_header_stat_broken=yes
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7402 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7403 if test $ac_cv_header_stat_broken = yes; then
7405 cat >>confdefs.h <<\_ACEOF
7406 #define STAT_MACROS_BROKEN 1
7407 _ACEOF
7417 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 else
7425 cat >conftest.$ac_ext <<_ACEOF
7426 /* confdefs.h. */
7427 _ACEOF
7428 cat confdefs.h >>conftest.$ac_ext
7429 cat >>conftest.$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7431 #include <sys/types.h>
7432 #ifdef HAVE_SYS_PARAM_H
7433 # include <sys/param.h>
7434 #endif
7436 #include <$ac_header>
7437 _ACEOF
7438 rm -f conftest.$ac_objext
7439 if { (ac_try="$ac_compile"
7440 case "(($ac_try" in
7441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7443 esac
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445 (eval "$ac_compile") 2>conftest.er1
7446 ac_status=$?
7447 grep -v '^ *+' conftest.er1 >conftest.err
7448 rm -f conftest.er1
7449 cat conftest.err >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && {
7452 test -z "$ac_c_werror_flag" ||
7453 test ! -s conftest.err
7454 } && test -s conftest.$ac_objext; then
7455 eval "$as_ac_Header=yes"
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_Header=no"
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 ac_res=`eval echo '${'$as_ac_Header'}'`
7466 { echo "$as_me:$LINENO: result: $ac_res" >&5
7467 echo "${ECHO_T}$ac_res" >&6; }
7468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7469 cat >>confdefs.h <<_ACEOF
7470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 _ACEOF
7475 done
7486 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7492 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 else
7494 cat >conftest.$ac_ext <<_ACEOF
7495 /* confdefs.h. */
7496 _ACEOF
7497 cat confdefs.h >>conftest.$ac_ext
7498 cat >>conftest.$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7500 #include <sys/types.h>
7501 #ifdef HAVE_SYS_SOCKET_H
7502 # include <sys/socket.h>
7503 #endif
7504 #ifdef HAVE_SYS_SOCKETVAR_H
7505 # include <sys/socketvar.h>
7506 #endif
7507 #ifdef HAVE_NETINET_IN_H
7508 # include <netinet/in.h>
7509 #endif
7511 #include <$ac_header>
7512 _ACEOF
7513 rm -f conftest.$ac_objext
7514 if { (ac_try="$ac_compile"
7515 case "(($ac_try" in
7516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7517 *) ac_try_echo=$ac_try;;
7518 esac
7519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7520 (eval "$ac_compile") 2>conftest.er1
7521 ac_status=$?
7522 grep -v '^ *+' conftest.er1 >conftest.err
7523 rm -f conftest.er1
7524 cat conftest.err >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } && {
7527 test -z "$ac_c_werror_flag" ||
7528 test ! -s conftest.err
7529 } && test -s conftest.$ac_objext; then
7530 eval "$as_ac_Header=yes"
7531 else
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7535 eval "$as_ac_Header=no"
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 ac_res=`eval echo '${'$as_ac_Header'}'`
7541 { echo "$as_me:$LINENO: result: $ac_res" >&5
7542 echo "${ECHO_T}$ac_res" >&6; }
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7546 _ACEOF
7550 done
7554 for ac_header in netinet/tcp_var.h
7556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 else
7562 cat >conftest.$ac_ext <<_ACEOF
7563 /* confdefs.h. */
7564 _ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #include <sys/types.h>
7569 #ifdef HAVE_SYS_SOCKET_H
7570 # include <sys/socket.h>
7571 #endif
7572 #ifdef HAVE_SYS_SOCKETVAR_H
7573 # include <sys/socketvar.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IN_H
7576 # include <netinet/in.h>
7577 #endif
7578 #ifdef HAVE_NETINET_TCP_H
7579 # include <netinet/tcp.h>
7580 #endif
7582 #include <$ac_header>
7583 _ACEOF
7584 rm -f conftest.$ac_objext
7585 if { (ac_try="$ac_compile"
7586 case "(($ac_try" in
7587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7588 *) ac_try_echo=$ac_try;;
7589 esac
7590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7591 (eval "$ac_compile") 2>conftest.er1
7592 ac_status=$?
7593 grep -v '^ *+' conftest.er1 >conftest.err
7594 rm -f conftest.er1
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } && {
7598 test -z "$ac_c_werror_flag" ||
7599 test ! -s conftest.err
7600 } && test -s conftest.$ac_objext; then
7601 eval "$as_ac_Header=yes"
7602 else
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7606 eval "$as_ac_Header=no"
7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7611 ac_res=`eval echo '${'$as_ac_Header'}'`
7612 { echo "$as_me:$LINENO: result: $ac_res" >&5
7613 echo "${ECHO_T}$ac_res" >&6; }
7614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7615 cat >>confdefs.h <<_ACEOF
7616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7617 _ACEOF
7621 done
7625 for ac_header in linux/ipx.h
7627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 else
7633 cat >conftest.$ac_ext <<_ACEOF
7634 /* confdefs.h. */
7635 _ACEOF
7636 cat confdefs.h >>conftest.$ac_ext
7637 cat >>conftest.$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7639 #include <sys/types.h>
7640 #ifdef HAVE_ASM_TYPES_H
7641 # include <asm/types.h>
7642 #endif
7643 #ifdef HAVE_SYS_SOCKET_H
7644 # include <sys/socket.h>
7645 #endif
7647 #include <$ac_header>
7648 _ACEOF
7649 rm -f conftest.$ac_objext
7650 if { (ac_try="$ac_compile"
7651 case "(($ac_try" in
7652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7653 *) ac_try_echo=$ac_try;;
7654 esac
7655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7656 (eval "$ac_compile") 2>conftest.er1
7657 ac_status=$?
7658 grep -v '^ *+' conftest.er1 >conftest.err
7659 rm -f conftest.er1
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && {
7663 test -z "$ac_c_werror_flag" ||
7664 test ! -s conftest.err
7665 } && test -s conftest.$ac_objext; then
7666 eval "$as_ac_Header=yes"
7667 else
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.$ac_ext >&5
7671 eval "$as_ac_Header=no"
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676 ac_res=`eval echo '${'$as_ac_Header'}'`
7677 { echo "$as_me:$LINENO: result: $ac_res" >&5
7678 echo "${ECHO_T}$ac_res" >&6; }
7679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7680 cat >>confdefs.h <<_ACEOF
7681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7682 _ACEOF
7686 done
7690 for ac_header in resolv.h
7692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7696 echo $ECHO_N "(cached) $ECHO_C" >&6
7697 else
7698 cat >conftest.$ac_ext <<_ACEOF
7699 /* confdefs.h. */
7700 _ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7704 #include <sys/types.h>
7705 #ifdef HAVE_SYS_SOCKET_H
7706 # include <sys/socket.h>
7707 #endif
7708 #ifdef HAVE_NETINET_IN_H
7709 # include <netinet/in.h>
7710 #endif
7711 #ifdef HAVE_ARPA_NAMESER_H
7712 # include <arpa/nameser.h>
7713 #endif
7715 #include <$ac_header>
7716 _ACEOF
7717 rm -f conftest.$ac_objext
7718 if { (ac_try="$ac_compile"
7719 case "(($ac_try" in
7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7721 *) ac_try_echo=$ac_try;;
7722 esac
7723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7724 (eval "$ac_compile") 2>conftest.er1
7725 ac_status=$?
7726 grep -v '^ *+' conftest.er1 >conftest.err
7727 rm -f conftest.er1
7728 cat conftest.err >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); } && {
7731 test -z "$ac_c_werror_flag" ||
7732 test ! -s conftest.err
7733 } && test -s conftest.$ac_objext; then
7734 eval "$as_ac_Header=yes"
7735 else
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 eval "$as_ac_Header=no"
7742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7744 ac_res=`eval echo '${'$as_ac_Header'}'`
7745 { echo "$as_me:$LINENO: result: $ac_res" >&5
7746 echo "${ECHO_T}$ac_res" >&6; }
7747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7748 cat >>confdefs.h <<_ACEOF
7749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7750 _ACEOF
7754 done
7758 for ac_header in ucontext.h
7760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 else
7766 cat >conftest.$ac_ext <<_ACEOF
7767 /* confdefs.h. */
7768 _ACEOF
7769 cat confdefs.h >>conftest.$ac_ext
7770 cat >>conftest.$ac_ext <<_ACEOF
7771 /* end confdefs.h. */
7772 #include <signal.h>
7774 #include <$ac_header>
7775 _ACEOF
7776 rm -f conftest.$ac_objext
7777 if { (ac_try="$ac_compile"
7778 case "(($ac_try" in
7779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780 *) ac_try_echo=$ac_try;;
7781 esac
7782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7783 (eval "$ac_compile") 2>conftest.er1
7784 ac_status=$?
7785 grep -v '^ *+' conftest.er1 >conftest.err
7786 rm -f conftest.er1
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } && {
7790 test -z "$ac_c_werror_flag" ||
7791 test ! -s conftest.err
7792 } && test -s conftest.$ac_objext; then
7793 eval "$as_ac_Header=yes"
7794 else
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 eval "$as_ac_Header=no"
7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7803 ac_res=`eval echo '${'$as_ac_Header'}'`
7804 { echo "$as_me:$LINENO: result: $ac_res" >&5
7805 echo "${ECHO_T}$ac_res" >&6; }
7806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7807 cat >>confdefs.h <<_ACEOF
7808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7809 _ACEOF
7813 done
7817 for ac_header in sys/thr.h
7819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7820 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 else
7825 cat >conftest.$ac_ext <<_ACEOF
7826 /* confdefs.h. */
7827 _ACEOF
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 #include <sys/types.h>
7832 #ifdef HAVE_UCONTEXT_H
7833 #include <ucontext.h>
7834 #endif
7836 #include <$ac_header>
7837 _ACEOF
7838 rm -f conftest.$ac_objext
7839 if { (ac_try="$ac_compile"
7840 case "(($ac_try" in
7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7842 *) ac_try_echo=$ac_try;;
7843 esac
7844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7845 (eval "$ac_compile") 2>conftest.er1
7846 ac_status=$?
7847 grep -v '^ *+' conftest.er1 >conftest.err
7848 rm -f conftest.er1
7849 cat conftest.err >&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } && {
7852 test -z "$ac_c_werror_flag" ||
7853 test ! -s conftest.err
7854 } && test -s conftest.$ac_objext; then
7855 eval "$as_ac_Header=yes"
7856 else
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.$ac_ext >&5
7860 eval "$as_ac_Header=no"
7863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7865 ac_res=`eval echo '${'$as_ac_Header'}'`
7866 { echo "$as_me:$LINENO: result: $ac_res" >&5
7867 echo "${ECHO_T}$ac_res" >&6; }
7868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7869 cat >>confdefs.h <<_ACEOF
7870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7871 _ACEOF
7875 done
7879 for ac_header in pthread_np.h
7881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 else
7887 cat >conftest.$ac_ext <<_ACEOF
7888 /* confdefs.h. */
7889 _ACEOF
7890 cat confdefs.h >>conftest.$ac_ext
7891 cat >>conftest.$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7893 #ifdef HAVE_PTHREAD_H
7894 #include <pthread.h>
7895 #endif
7897 #include <$ac_header>
7898 _ACEOF
7899 rm -f conftest.$ac_objext
7900 if { (ac_try="$ac_compile"
7901 case "(($ac_try" in
7902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7903 *) ac_try_echo=$ac_try;;
7904 esac
7905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7906 (eval "$ac_compile") 2>conftest.er1
7907 ac_status=$?
7908 grep -v '^ *+' conftest.er1 >conftest.err
7909 rm -f conftest.er1
7910 cat conftest.err >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } && {
7913 test -z "$ac_c_werror_flag" ||
7914 test ! -s conftest.err
7915 } && test -s conftest.$ac_objext; then
7916 eval "$as_ac_Header=yes"
7917 else
7918 echo "$as_me: failed program was:" >&5
7919 sed 's/^/| /' conftest.$ac_ext >&5
7921 eval "$as_ac_Header=no"
7924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7926 ac_res=`eval echo '${'$as_ac_Header'}'`
7927 { echo "$as_me:$LINENO: result: $ac_res" >&5
7928 echo "${ECHO_T}$ac_res" >&6; }
7929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7930 cat >>confdefs.h <<_ACEOF
7931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7932 _ACEOF
7936 done
7940 for ac_header in linux/videodev.h
7942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7947 else
7948 cat >conftest.$ac_ext <<_ACEOF
7949 /* confdefs.h. */
7950 _ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 #ifdef HAVE_SYS_TIME_H
7955 #include <sys/time.h>
7956 #endif
7957 #include <sys/types.h>
7958 #ifdef HAVE_ASM_TYPES_H
7959 #include <asm/types.h>
7960 #endif
7962 #include <$ac_header>
7963 _ACEOF
7964 rm -f conftest.$ac_objext
7965 if { (ac_try="$ac_compile"
7966 case "(($ac_try" in
7967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7968 *) ac_try_echo=$ac_try;;
7969 esac
7970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7971 (eval "$ac_compile") 2>conftest.er1
7972 ac_status=$?
7973 grep -v '^ *+' conftest.er1 >conftest.err
7974 rm -f conftest.er1
7975 cat conftest.err >&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); } && {
7978 test -z "$ac_c_werror_flag" ||
7979 test ! -s conftest.err
7980 } && test -s conftest.$ac_objext; then
7981 eval "$as_ac_Header=yes"
7982 else
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 eval "$as_ac_Header=no"
7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7991 ac_res=`eval echo '${'$as_ac_Header'}'`
7992 { echo "$as_me:$LINENO: result: $ac_res" >&5
7993 echo "${ECHO_T}$ac_res" >&6; }
7994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7995 cat >>confdefs.h <<_ACEOF
7996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7997 _ACEOF
8001 done
8005 for ac_header in linux/capi.h
8007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 else
8013 cat >conftest.$ac_ext <<_ACEOF
8014 /* confdefs.h. */
8015 _ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #define __user
8021 #include <$ac_header>
8022 _ACEOF
8023 rm -f conftest.$ac_objext
8024 if { (ac_try="$ac_compile"
8025 case "(($ac_try" in
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8028 esac
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_compile") 2>conftest.er1
8031 ac_status=$?
8032 grep -v '^ *+' conftest.er1 >conftest.err
8033 rm -f conftest.er1
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest.$ac_objext; then
8040 eval "$as_ac_Header=yes"
8041 else
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 eval "$as_ac_Header=no"
8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8050 ac_res=`eval echo '${'$as_ac_Header'}'`
8051 { echo "$as_me:$LINENO: result: $ac_res" >&5
8052 echo "${ECHO_T}$ac_res" >&6; }
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h <<_ACEOF
8055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8056 _ACEOF
8060 done
8064 DLLEXT=""
8066 DLLFLAGS="-D_REENTRANT"
8068 LDSHARED=""
8070 LDDLLFLAGS=""
8072 LIBEXT="so"
8074 IMPLIBEXT="def"
8076 LDRPATH_INSTALL=""
8078 LDRPATH_LOCAL=""
8080 # Extract the first word of "ldd", so it can be a program name with args.
8081 set dummy ldd; ac_word=$2
8082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8084 if test "${ac_cv_path_LDD+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8086 else
8087 case $LDD in
8088 [\\/]* | ?:[\\/]*)
8089 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 as_dummy="/sbin:/usr/sbin:$PATH"
8094 for as_dir in $as_dummy
8096 IFS=$as_save_IFS
8097 test -z "$as_dir" && as_dir=.
8098 for ac_exec_ext in '' $ac_executable_extensions; do
8099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8100 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8102 break 2
8104 done
8105 done
8106 IFS=$as_save_IFS
8108 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8110 esac
8112 LDD=$ac_cv_path_LDD
8113 if test -n "$LDD"; then
8114 { echo "$as_me:$LINENO: result: $LDD" >&5
8115 echo "${ECHO_T}$LDD" >&6; }
8116 else
8117 { echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6; }
8123 case $host_os in
8124 cygwin*|mingw32*)
8125 if test -n "$ac_tool_prefix"; then
8126 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8127 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8130 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 else
8133 if test -n "$DLLTOOL"; then
8134 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8135 else
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137 for as_dir in $PATH
8139 IFS=$as_save_IFS
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8143 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8145 break 2
8147 done
8148 done
8149 IFS=$as_save_IFS
8153 DLLTOOL=$ac_cv_prog_DLLTOOL
8154 if test -n "$DLLTOOL"; then
8155 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8156 echo "${ECHO_T}$DLLTOOL" >&6; }
8157 else
8158 { echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6; }
8164 if test -z "$ac_cv_prog_DLLTOOL"; then
8165 ac_ct_DLLTOOL=$DLLTOOL
8166 # Extract the first word of "dlltool", so it can be a program name with args.
8167 set dummy dlltool; ac_word=$2
8168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8170 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 else
8173 if test -n "$ac_ct_DLLTOOL"; then
8174 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8175 else
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 for as_dir in $PATH
8179 IFS=$as_save_IFS
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8183 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 break 2
8187 done
8188 done
8189 IFS=$as_save_IFS
8193 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8194 if test -n "$ac_ct_DLLTOOL"; then
8195 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8196 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8197 else
8198 { echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6; }
8202 if test "x$ac_ct_DLLTOOL" = x; then
8203 DLLTOOL="false"
8204 else
8205 case $cross_compiling:$ac_tool_warned in
8206 yes:)
8207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8208 whose name does not start with the host triplet. If you think this
8209 configuration is useful to you, please write to autoconf@gnu.org." >&5
8210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8211 whose name does not start with the host triplet. If you think this
8212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8213 ac_tool_warned=yes ;;
8214 esac
8215 DLLTOOL=$ac_ct_DLLTOOL
8217 else
8218 DLLTOOL="$ac_cv_prog_DLLTOOL"
8221 if test -n "$ac_tool_prefix"; then
8222 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8223 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8226 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229 if test -n "$DLLWRAP"; then
8230 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8231 else
8232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233 for as_dir in $PATH
8235 IFS=$as_save_IFS
8236 test -z "$as_dir" && as_dir=.
8237 for ac_exec_ext in '' $ac_executable_extensions; do
8238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8239 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8241 break 2
8243 done
8244 done
8245 IFS=$as_save_IFS
8249 DLLWRAP=$ac_cv_prog_DLLWRAP
8250 if test -n "$DLLWRAP"; then
8251 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8252 echo "${ECHO_T}$DLLWRAP" >&6; }
8253 else
8254 { echo "$as_me:$LINENO: result: no" >&5
8255 echo "${ECHO_T}no" >&6; }
8260 if test -z "$ac_cv_prog_DLLWRAP"; then
8261 ac_ct_DLLWRAP=$DLLWRAP
8262 # Extract the first word of "dllwrap", so it can be a program name with args.
8263 set dummy dllwrap; ac_word=$2
8264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8266 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 else
8269 if test -n "$ac_ct_DLLWRAP"; then
8270 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8271 else
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8273 for as_dir in $PATH
8275 IFS=$as_save_IFS
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8279 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8281 break 2
8283 done
8284 done
8285 IFS=$as_save_IFS
8289 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8290 if test -n "$ac_ct_DLLWRAP"; then
8291 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8292 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8293 else
8294 { echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6; }
8298 if test "x$ac_ct_DLLWRAP" = x; then
8299 DLLWRAP="false"
8300 else
8301 case $cross_compiling:$ac_tool_warned in
8302 yes:)
8303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8304 whose name does not start with the host triplet. If you think this
8305 configuration is useful to you, please write to autoconf@gnu.org." >&5
8306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8307 whose name does not start with the host triplet. If you think this
8308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8309 ac_tool_warned=yes ;;
8310 esac
8311 DLLWRAP=$ac_ct_DLLWRAP
8313 else
8314 DLLWRAP="$ac_cv_prog_DLLWRAP"
8317 if test -n "$ac_tool_prefix"; then
8318 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8319 set dummy ${ac_tool_prefix}ar; ac_word=$2
8320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8322 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 else
8325 if test -n "$MINGWAR"; then
8326 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8327 else
8328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8329 for as_dir in $PATH
8331 IFS=$as_save_IFS
8332 test -z "$as_dir" && as_dir=.
8333 for ac_exec_ext in '' $ac_executable_extensions; do
8334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8335 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8337 break 2
8339 done
8340 done
8341 IFS=$as_save_IFS
8345 MINGWAR=$ac_cv_prog_MINGWAR
8346 if test -n "$MINGWAR"; then
8347 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8348 echo "${ECHO_T}$MINGWAR" >&6; }
8349 else
8350 { echo "$as_me:$LINENO: result: no" >&5
8351 echo "${ECHO_T}no" >&6; }
8356 if test -z "$ac_cv_prog_MINGWAR"; then
8357 ac_ct_MINGWAR=$MINGWAR
8358 # Extract the first word of "ar", so it can be a program name with args.
8359 set dummy ar; ac_word=$2
8360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8362 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8364 else
8365 if test -n "$ac_ct_MINGWAR"; then
8366 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8367 else
8368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 for as_dir in $PATH
8371 IFS=$as_save_IFS
8372 test -z "$as_dir" && as_dir=.
8373 for ac_exec_ext in '' $ac_executable_extensions; do
8374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8375 ac_cv_prog_ac_ct_MINGWAR="ar"
8376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8377 break 2
8379 done
8380 done
8381 IFS=$as_save_IFS
8385 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8386 if test -n "$ac_ct_MINGWAR"; then
8387 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8388 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8389 else
8390 { echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6; }
8394 if test "x$ac_ct_MINGWAR" = x; then
8395 MINGWAR="false"
8396 else
8397 case $cross_compiling:$ac_tool_warned in
8398 yes:)
8399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8400 whose name does not start with the host triplet. If you think this
8401 configuration is useful to you, please write to autoconf@gnu.org." >&5
8402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8403 whose name does not start with the host triplet. If you think this
8404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8405 ac_tool_warned=yes ;;
8406 esac
8407 MINGWAR=$ac_ct_MINGWAR
8409 else
8410 MINGWAR="$ac_cv_prog_MINGWAR"
8413 if test "$DLLWRAP" = "false"; then
8414 LIBEXT="a"
8415 else
8416 LIBEXT="dll"
8418 IMPLIBEXT="a"
8419 WIN16_FILES=""
8420 WIN16_INSTALL=""
8422 darwin*|macosx*)
8423 DLLEXT=".so"
8424 LIBEXT="dylib"
8425 DLLFLAGS="$DLLFLAGS -fPIC"
8426 LDDLLFLAGS="-bundle -multiply_defined suppress"
8427 LIBWINE_LDFLAGS="-multiply_defined suppress"
8428 LDSHARED="\$(CC) -dynamiclib"
8429 STRIP="$STRIP -x"
8430 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8431 SECURITYLIB="-framework Security -framework CoreFoundation"
8433 COREFOUNDATIONLIB="-framework CoreFoundation"
8435 IOKITLIB="-framework IOKit -framework CoreFoundation"
8437 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8439 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8440 then
8441 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8444 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8445 then
8446 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8449 case $host_cpu in
8450 *powerpc*)
8451 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8452 esac
8453 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8454 then
8455 CARBONLIB="-framework Carbon"
8457 QUARTZFILES='$(QUARTZFILES)'
8461 DLLFLAGS="$DLLFLAGS -fPIC"
8462 DLLEXT=".so"
8463 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8464 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8465 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8466 echo $ECHO_N "(cached) $ECHO_C" >&6
8467 else
8468 ac_wine_try_cflags_saved=$CFLAGS
8469 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8470 cat >conftest.$ac_ext <<_ACEOF
8471 void myfunc() {}
8472 _ACEOF
8473 rm -f conftest.$ac_objext conftest$ac_exeext
8474 if { (ac_try="$ac_link"
8475 case "(($ac_try" in
8476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8477 *) ac_try_echo=$ac_try;;
8478 esac
8479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8480 (eval "$ac_link") 2>conftest.er1
8481 ac_status=$?
8482 grep -v '^ *+' conftest.er1 >conftest.err
8483 rm -f conftest.er1
8484 cat conftest.err >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); } && {
8487 test -z "$ac_c_werror_flag" ||
8488 test ! -s conftest.err
8489 } && test -s conftest$ac_exeext &&
8490 $as_test_x conftest$ac_exeext; then
8491 ac_cv_c_dll_gnuelf="yes"
8492 else
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8496 ac_cv_c_dll_gnuelf="no"
8499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8500 conftest$ac_exeext conftest.$ac_ext
8501 CFLAGS=$ac_wine_try_cflags_saved
8503 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8504 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8505 if test "$ac_cv_c_dll_gnuelf" = "yes"
8506 then
8507 LDSHARED="\$(CC) -shared"
8508 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8509 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8510 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8511 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8516 cat >conftest.$ac_ext <<_ACEOF
8517 /* confdefs.h. */
8518 _ACEOF
8519 cat confdefs.h >>conftest.$ac_ext
8520 cat >>conftest.$ac_ext <<_ACEOF
8521 /* end confdefs.h. */
8524 main ()
8528 return 0;
8530 _ACEOF
8531 rm -f conftest.$ac_objext conftest$ac_exeext
8532 if { (ac_try="$ac_link"
8533 case "(($ac_try" in
8534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 *) ac_try_echo=$ac_try;;
8536 esac
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_link") 2>conftest.er1
8539 ac_status=$?
8540 grep -v '^ *+' conftest.er1 >conftest.err
8541 rm -f conftest.er1
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } && {
8545 test -z "$ac_c_werror_flag" ||
8546 test ! -s conftest.err
8547 } && test -s conftest$ac_exeext &&
8548 $as_test_x conftest$ac_exeext; then
8549 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8550 else
8551 echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.$ac_ext >&5
8554 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8558 conftest$ac_exeext conftest.$ac_ext
8559 CFLAGS=$ac_wine_try_cflags_saved
8561 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8562 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8563 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8564 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8565 else
8566 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8567 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8568 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8570 else
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8573 cat >conftest.$ac_ext <<_ACEOF
8574 /* confdefs.h. */
8575 _ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8581 main ()
8585 return 0;
8587 _ACEOF
8588 rm -f conftest.$ac_objext conftest$ac_exeext
8589 if { (ac_try="$ac_link"
8590 case "(($ac_try" in
8591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8592 *) ac_try_echo=$ac_try;;
8593 esac
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_link") 2>conftest.er1
8596 ac_status=$?
8597 grep -v '^ *+' conftest.er1 >conftest.err
8598 rm -f conftest.er1
8599 cat conftest.err >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } && {
8602 test -z "$ac_c_werror_flag" ||
8603 test ! -s conftest.err
8604 } && test -s conftest$ac_exeext &&
8605 $as_test_x conftest$ac_exeext; then
8606 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8607 else
8608 echo "$as_me: failed program was:" >&5
8609 sed 's/^/| /' conftest.$ac_ext >&5
8611 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8619 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8620 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8621 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8627 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8628 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8629 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 else
8632 ac_wine_try_cflags_saved=$CFLAGS
8633 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8634 cat >conftest.$ac_ext <<_ACEOF
8635 /* confdefs.h. */
8636 _ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8642 main ()
8646 return 0;
8648 _ACEOF
8649 rm -f conftest.$ac_objext conftest$ac_exeext
8650 if { (ac_try="$ac_link"
8651 case "(($ac_try" in
8652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8653 *) ac_try_echo=$ac_try;;
8654 esac
8655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8656 (eval "$ac_link") 2>conftest.er1
8657 ac_status=$?
8658 grep -v '^ *+' conftest.er1 >conftest.err
8659 rm -f conftest.er1
8660 cat conftest.err >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); } && {
8663 test -z "$ac_c_werror_flag" ||
8664 test ! -s conftest.err
8665 } && test -s conftest$ac_exeext &&
8666 $as_test_x conftest$ac_exeext; then
8667 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8668 else
8669 echo "$as_me: failed program was:" >&5
8670 sed 's/^/| /' conftest.$ac_ext >&5
8672 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8680 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8681 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8682 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8686 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8687 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8688 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8693 cat >conftest.$ac_ext <<_ACEOF
8694 /* confdefs.h. */
8695 _ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8701 main ()
8705 return 0;
8707 _ACEOF
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (ac_try="$ac_link"
8710 case "(($ac_try" in
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;;
8713 esac
8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_link") 2>conftest.er1
8716 ac_status=$?
8717 grep -v '^ *+' conftest.er1 >conftest.err
8718 rm -f conftest.er1
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext &&
8725 $as_test_x conftest$ac_exeext; then
8726 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8727 else
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8739 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8740 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8741 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8745 echo '{ global: *; };' >conftest.map
8746 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8747 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8748 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8749 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8753 cat >conftest.$ac_ext <<_ACEOF
8754 /* confdefs.h. */
8755 _ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8761 main ()
8765 return 0;
8767 _ACEOF
8768 rm -f conftest.$ac_objext conftest$ac_exeext
8769 if { (ac_try="$ac_link"
8770 case "(($ac_try" in
8771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8772 *) ac_try_echo=$ac_try;;
8773 esac
8774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8775 (eval "$ac_link") 2>conftest.er1
8776 ac_status=$?
8777 grep -v '^ *+' conftest.er1 >conftest.err
8778 rm -f conftest.er1
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } && {
8782 test -z "$ac_c_werror_flag" ||
8783 test ! -s conftest.err
8784 } && test -s conftest$ac_exeext &&
8785 $as_test_x conftest$ac_exeext; then
8786 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8787 else
8788 echo "$as_me: failed program was:" >&5
8789 sed 's/^/| /' conftest.$ac_ext >&5
8791 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8795 conftest$ac_exeext conftest.$ac_ext
8796 CFLAGS=$ac_wine_try_cflags_saved
8798 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8799 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8800 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8801 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8804 rm -f conftest.map
8806 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8807 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8808 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8813 cat >conftest.$ac_ext <<_ACEOF
8814 /* confdefs.h. */
8815 _ACEOF
8816 cat confdefs.h >>conftest.$ac_ext
8817 cat >>conftest.$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8821 main ()
8825 return 0;
8827 _ACEOF
8828 rm -f conftest.$ac_objext conftest$ac_exeext
8829 if { (ac_try="$ac_link"
8830 case "(($ac_try" in
8831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8832 *) ac_try_echo=$ac_try;;
8833 esac
8834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8835 (eval "$ac_link") 2>conftest.er1
8836 ac_status=$?
8837 grep -v '^ *+' conftest.er1 >conftest.err
8838 rm -f conftest.er1
8839 cat conftest.err >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); } && {
8842 test -z "$ac_c_werror_flag" ||
8843 test ! -s conftest.err
8844 } && test -s conftest$ac_exeext &&
8845 $as_test_x conftest$ac_exeext; then
8846 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8847 else
8848 echo "$as_me: failed program was:" >&5
8849 sed 's/^/| /' conftest.$ac_ext >&5
8851 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8859 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8860 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8861 LDEXECFLAGS="-Wl,--export-dynamic"
8866 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8867 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8868 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 else
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8874 cat >conftest.$ac_ext <<_ACEOF
8875 /* confdefs.h. */
8876 _ACEOF
8877 cat confdefs.h >>conftest.$ac_ext
8878 cat >>conftest.$ac_ext <<_ACEOF
8879 /* end confdefs.h. */
8882 main ()
8886 return 0;
8888 _ACEOF
8889 rm -f conftest.$ac_objext conftest$ac_exeext
8890 if { (ac_try="$ac_link"
8891 case "(($ac_try" in
8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893 *) ac_try_echo=$ac_try;;
8894 esac
8895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896 (eval "$ac_link") 2>conftest.er1
8897 ac_status=$?
8898 grep -v '^ *+' conftest.er1 >conftest.err
8899 rm -f conftest.er1
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } && {
8903 test -z "$ac_c_werror_flag" ||
8904 test ! -s conftest.err
8905 } && test -s conftest$ac_exeext &&
8906 $as_test_x conftest$ac_exeext; then
8907 eval "$as_ac_var=yes"
8908 else
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.$ac_ext >&5
8912 eval "$as_ac_var=no"
8915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8916 conftest$ac_exeext conftest.$ac_ext
8917 CFLAGS=$ac_wine_try_cflags_saved
8919 ac_res=`eval echo '${'$as_ac_var'}'`
8920 { echo "$as_me:$LINENO: result: $ac_res" >&5
8921 echo "${ECHO_T}$ac_res" >&6; }
8922 if test `eval echo '${'$as_ac_var'}'` = yes; then
8923 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8924 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8925 else
8926 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8927 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8928 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 else
8932 ac_wine_try_cflags_saved=$CFLAGS
8933 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8934 cat >conftest.$ac_ext <<_ACEOF
8935 /* confdefs.h. */
8936 _ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8942 main ()
8946 return 0;
8948 _ACEOF
8949 rm -f conftest.$ac_objext conftest$ac_exeext
8950 if { (ac_try="$ac_link"
8951 case "(($ac_try" in
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8954 esac
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_link") 2>conftest.er1
8957 ac_status=$?
8958 grep -v '^ *+' conftest.er1 >conftest.err
8959 rm -f conftest.er1
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && {
8963 test -z "$ac_c_werror_flag" ||
8964 test ! -s conftest.err
8965 } && test -s conftest$ac_exeext &&
8966 $as_test_x conftest$ac_exeext; then
8967 eval "$as_ac_var=yes"
8968 else
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 eval "$as_ac_var=no"
8975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8976 conftest$ac_exeext conftest.$ac_ext
8977 CFLAGS=$ac_wine_try_cflags_saved
8979 ac_res=`eval echo '${'$as_ac_var'}'`
8980 { echo "$as_me:$LINENO: result: $ac_res" >&5
8981 echo "${ECHO_T}$ac_res" >&6; }
8982 if test `eval echo '${'$as_ac_var'}'` = yes; then
8983 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8984 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8990 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8991 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8992 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 else
8995 ac_wine_try_cflags_saved=$CFLAGS
8996 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8997 cat >conftest.$ac_ext <<_ACEOF
8998 /* confdefs.h. */
8999 _ACEOF
9000 cat confdefs.h >>conftest.$ac_ext
9001 cat >>conftest.$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9005 main ()
9009 return 0;
9011 _ACEOF
9012 rm -f conftest.$ac_objext conftest$ac_exeext
9013 if { (ac_try="$ac_link"
9014 case "(($ac_try" in
9015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9017 esac
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_link") 2>conftest.er1
9020 ac_status=$?
9021 grep -v '^ *+' conftest.er1 >conftest.err
9022 rm -f conftest.er1
9023 cat conftest.err >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } && {
9026 test -z "$ac_c_werror_flag" ||
9027 test ! -s conftest.err
9028 } && test -s conftest$ac_exeext &&
9029 $as_test_x conftest$ac_exeext; then
9030 ac_cv_cflags__Wl___enable_new_dtags=yes
9031 else
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 ac_cv_cflags__Wl___enable_new_dtags=no
9038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9039 conftest$ac_exeext conftest.$ac_ext
9040 CFLAGS=$ac_wine_try_cflags_saved
9042 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9043 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9044 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9045 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9049 case $host_cpu in
9050 *i[3456789]86* | x86_64)
9051 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9052 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9053 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9055 else
9056 ac_wine_try_cflags_saved=$CFLAGS
9057 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9058 cat >conftest.$ac_ext <<_ACEOF
9059 /* confdefs.h. */
9060 _ACEOF
9061 cat confdefs.h >>conftest.$ac_ext
9062 cat >>conftest.$ac_ext <<_ACEOF
9063 /* end confdefs.h. */
9066 main ()
9070 return 0;
9072 _ACEOF
9073 rm -f conftest.$ac_objext conftest$ac_exeext
9074 if { (ac_try="$ac_link"
9075 case "(($ac_try" in
9076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9077 *) ac_try_echo=$ac_try;;
9078 esac
9079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9080 (eval "$ac_link") 2>conftest.er1
9081 ac_status=$?
9082 grep -v '^ *+' conftest.er1 >conftest.err
9083 rm -f conftest.er1
9084 cat conftest.err >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); } && {
9087 test -z "$ac_c_werror_flag" ||
9088 test ! -s conftest.err
9089 } && test -s conftest$ac_exeext &&
9090 $as_test_x conftest$ac_exeext; then
9091 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9092 else
9093 echo "$as_me: failed program was:" >&5
9094 sed 's/^/| /' conftest.$ac_ext >&5
9096 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9100 conftest$ac_exeext conftest.$ac_ext
9101 CFLAGS=$ac_wine_try_cflags_saved
9103 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9104 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9105 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9106 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9110 esac
9112 else
9113 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9114 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9115 if test "${ac_cv_c_dll_unixware+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9120 cat >conftest.$ac_ext <<_ACEOF
9121 void myfunc() {}
9122 _ACEOF
9123 rm -f conftest.$ac_objext conftest$ac_exeext
9124 if { (ac_try="$ac_link"
9125 case "(($ac_try" in
9126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9127 *) ac_try_echo=$ac_try;;
9128 esac
9129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9130 (eval "$ac_link") 2>conftest.er1
9131 ac_status=$?
9132 grep -v '^ *+' conftest.er1 >conftest.err
9133 rm -f conftest.er1
9134 cat conftest.err >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } && {
9137 test -z "$ac_c_werror_flag" ||
9138 test ! -s conftest.err
9139 } && test -s conftest$ac_exeext &&
9140 $as_test_x conftest$ac_exeext; then
9141 ac_cv_c_dll_unixware="yes"
9142 else
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 ac_cv_c_dll_unixware="no"
9149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9154 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9155 if test "$ac_cv_c_dll_unixware" = "yes"
9156 then
9157 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9158 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9160 else
9161 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9162 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9163 if test "${ac_cv_c_dll_hpux+set}" = set; then
9164 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 else
9166 ac_wine_try_cflags_saved=$CFLAGS
9167 CFLAGS="$CFLAGS -shared"
9168 cat >conftest.$ac_ext <<_ACEOF
9169 void myfunc() {}
9170 _ACEOF
9171 rm -f conftest.$ac_objext conftest$ac_exeext
9172 if { (ac_try="$ac_link"
9173 case "(($ac_try" in
9174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9175 *) ac_try_echo=$ac_try;;
9176 esac
9177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9178 (eval "$ac_link") 2>conftest.er1
9179 ac_status=$?
9180 grep -v '^ *+' conftest.er1 >conftest.err
9181 rm -f conftest.er1
9182 cat conftest.err >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } && {
9185 test -z "$ac_c_werror_flag" ||
9186 test ! -s conftest.err
9187 } && test -s conftest$ac_exeext &&
9188 $as_test_x conftest$ac_exeext; then
9189 ac_cv_c_dll_hpux="yes"
9190 else
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9194 ac_cv_c_dll_hpux="no"
9197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9198 conftest$ac_exeext conftest.$ac_ext
9199 CFLAGS=$ac_wine_try_cflags_saved
9201 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9202 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9203 if test "$ac_cv_c_dll_hpux" = "yes"
9204 then
9205 LIBEXT="sl"
9206 DLLEXT=".sl"
9207 LDDLLFLAGS="-shared -fPIC"
9208 LDSHARED="\$(CC) -shared"
9213 CROSSTEST=""
9215 if test "$cross_compiling" = "no"
9216 then
9217 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9219 # Extract the first word of "$ac_prog", so it can be a program name with args.
9220 set dummy $ac_prog; ac_word=$2
9221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9223 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9225 else
9226 if test -n "$CROSSCC"; then
9227 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9228 else
9229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230 for as_dir in $PATH
9232 IFS=$as_save_IFS
9233 test -z "$as_dir" && as_dir=.
9234 for ac_exec_ext in '' $ac_executable_extensions; do
9235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9236 ac_cv_prog_CROSSCC="$ac_prog"
9237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9238 break 2
9240 done
9241 done
9242 IFS=$as_save_IFS
9246 CROSSCC=$ac_cv_prog_CROSSCC
9247 if test -n "$CROSSCC"; then
9248 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9249 echo "${ECHO_T}$CROSSCC" >&6; }
9250 else
9251 { echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6; }
9256 test -n "$CROSSCC" && break
9257 done
9258 test -n "$CROSSCC" || CROSSCC="false"
9260 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9262 # Extract the first word of "$ac_prog", so it can be a program name with args.
9263 set dummy $ac_prog; ac_word=$2
9264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9266 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else
9269 if test -n "$DLLTOOL"; then
9270 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9271 else
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9273 for as_dir in $PATH
9275 IFS=$as_save_IFS
9276 test -z "$as_dir" && as_dir=.
9277 for ac_exec_ext in '' $ac_executable_extensions; do
9278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9279 ac_cv_prog_DLLTOOL="$ac_prog"
9280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9281 break 2
9283 done
9284 done
9285 IFS=$as_save_IFS
9289 DLLTOOL=$ac_cv_prog_DLLTOOL
9290 if test -n "$DLLTOOL"; then
9291 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9292 echo "${ECHO_T}$DLLTOOL" >&6; }
9293 else
9294 { echo "$as_me:$LINENO: result: no" >&5
9295 echo "${ECHO_T}no" >&6; }
9299 test -n "$DLLTOOL" && break
9300 done
9301 test -n "$DLLTOOL" || DLLTOOL="false"
9303 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9305 # Extract the first word of "$ac_prog", so it can be a program name with args.
9306 set dummy $ac_prog; ac_word=$2
9307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9309 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9311 else
9312 if test -n "$CROSSWINDRES"; then
9313 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9314 else
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 for as_dir in $PATH
9318 IFS=$as_save_IFS
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_CROSSWINDRES="$ac_prog"
9323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9324 break 2
9326 done
9327 done
9328 IFS=$as_save_IFS
9332 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9333 if test -n "$CROSSWINDRES"; then
9334 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9335 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9336 else
9337 { echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6; }
9342 test -n "$CROSSWINDRES" && break
9343 done
9344 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9346 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9348 # Extract the first word of "$ac_prog", so it can be a program name with args.
9349 set dummy $ac_prog; ac_word=$2
9350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9352 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9354 else
9355 if test -n "$MINGWAR"; then
9356 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9357 else
9358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9359 for as_dir in $PATH
9361 IFS=$as_save_IFS
9362 test -z "$as_dir" && as_dir=.
9363 for ac_exec_ext in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_prog_MINGWAR="$ac_prog"
9366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9367 break 2
9369 done
9370 done
9371 IFS=$as_save_IFS
9375 MINGWAR=$ac_cv_prog_MINGWAR
9376 if test -n "$MINGWAR"; then
9377 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9378 echo "${ECHO_T}$MINGWAR" >&6; }
9379 else
9380 { echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6; }
9385 test -n "$MINGWAR" && break
9386 done
9387 test -n "$MINGWAR" || MINGWAR="false"
9389 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9392 esac
9394 if test "$LIBEXT" = "a"; then
9395 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9396 It is currently not possible to build Wine without shared library
9397 (.so) support to allow transparent switch between .so and .dll files.
9398 If you are using Linux, you will need a newer binutils.
9399 " >&5
9400 echo "$as_me: error: could not find a way to build shared libraries.
9401 It is currently not possible to build Wine without shared library
9402 (.so) support to allow transparent switch between .so and .dll files.
9403 If you are using Linux, you will need a newer binutils.
9404 " >&2;}
9405 { (exit 1); exit 1; }; }
9409 if test "$have_x" = "yes"
9410 then
9411 XLIB="-lXext -lX11"
9412 ac_save_CPPFLAGS="$CPPFLAGS"
9413 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9415 { echo "$as_me:$LINENO: checking for -lX11" >&5
9416 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9417 if test "${ac_cv_lib_soname_X11+set}" = set; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6
9419 else
9420 ac_check_soname_save_LIBS=$LIBS
9421 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9422 cat >conftest.$ac_ext <<_ACEOF
9423 /* confdefs.h. */
9424 _ACEOF
9425 cat confdefs.h >>conftest.$ac_ext
9426 cat >>conftest.$ac_ext <<_ACEOF
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9432 #ifdef __cplusplus
9433 extern "C"
9434 #endif
9435 char XCreateWindow ();
9437 main ()
9439 return XCreateWindow ();
9441 return 0;
9443 _ACEOF
9444 rm -f conftest.$ac_objext conftest$ac_exeext
9445 if { (ac_try="$ac_link"
9446 case "(($ac_try" in
9447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9448 *) ac_try_echo=$ac_try;;
9449 esac
9450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9451 (eval "$ac_link") 2>conftest.er1
9452 ac_status=$?
9453 grep -v '^ *+' conftest.er1 >conftest.err
9454 rm -f conftest.er1
9455 cat conftest.err >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } && {
9458 test -z "$ac_c_werror_flag" ||
9459 test ! -s conftest.err
9460 } && test -s conftest$ac_exeext &&
9461 $as_test_x conftest$ac_exeext; then
9462 case "$LIBEXT" in
9463 dll) ;;
9464 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9465 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9466 esac
9467 else
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS=$ac_check_soname_save_LIBS
9478 if test "x$ac_cv_lib_soname_X11" = "x"; then
9479 { echo "$as_me:$LINENO: result: not found" >&5
9480 echo "${ECHO_T}not found" >&6; }
9482 else
9483 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9484 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9486 cat >>confdefs.h <<_ACEOF
9487 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9488 _ACEOF
9493 { echo "$as_me:$LINENO: checking for -lXext" >&5
9494 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9495 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498 ac_check_soname_save_LIBS=$LIBS
9499 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char XextCreateExtension ();
9515 main ()
9517 return XextCreateExtension ();
9519 return 0;
9521 _ACEOF
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (ac_try="$ac_link"
9524 case "(($ac_try" in
9525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9527 esac
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_link") 2>conftest.er1
9530 ac_status=$?
9531 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && {
9536 test -z "$ac_c_werror_flag" ||
9537 test ! -s conftest.err
9538 } && test -s conftest$ac_exeext &&
9539 $as_test_x conftest$ac_exeext; then
9540 case "$LIBEXT" in
9541 dll) ;;
9542 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9543 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9544 esac
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_soname_save_LIBS
9556 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9557 { echo "$as_me:$LINENO: result: not found" >&5
9558 echo "${ECHO_T}not found" >&6; }
9560 else
9561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9562 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9564 cat >>confdefs.h <<_ACEOF
9565 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9566 _ACEOF
9584 for ac_header in X11/Xlib.h \
9585 X11/XKBlib.h \
9586 X11/Xutil.h \
9587 X11/Xcursor/Xcursor.h \
9588 X11/extensions/shape.h \
9589 X11/extensions/XInput.h \
9590 X11/extensions/XShm.h \
9591 X11/extensions/Xcomposite.h \
9592 X11/extensions/Xinerama.h \
9593 X11/extensions/Xrandr.h \
9594 X11/extensions/Xrender.h \
9595 X11/extensions/xf86vmode.h
9597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9601 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 else
9603 cat >conftest.$ac_ext <<_ACEOF
9604 /* confdefs.h. */
9605 _ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9609 #ifdef HAVE_X11_XLIB_H
9610 # include <X11/Xlib.h>
9611 #endif
9612 #ifdef HAVE_X11_XUTIL_H
9613 # include <X11/Xutil.h>
9614 #endif
9616 #include <$ac_header>
9617 _ACEOF
9618 rm -f conftest.$ac_objext
9619 if { (ac_try="$ac_compile"
9620 case "(($ac_try" in
9621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9622 *) ac_try_echo=$ac_try;;
9623 esac
9624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9625 (eval "$ac_compile") 2>conftest.er1
9626 ac_status=$?
9627 grep -v '^ *+' conftest.er1 >conftest.err
9628 rm -f conftest.er1
9629 cat conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } && {
9632 test -z "$ac_c_werror_flag" ||
9633 test ! -s conftest.err
9634 } && test -s conftest.$ac_objext; then
9635 eval "$as_ac_Header=yes"
9636 else
9637 echo "$as_me: failed program was:" >&5
9638 sed 's/^/| /' conftest.$ac_ext >&5
9640 eval "$as_ac_Header=no"
9643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9645 ac_res=`eval echo '${'$as_ac_Header'}'`
9646 { echo "$as_me:$LINENO: result: $ac_res" >&5
9647 echo "${ECHO_T}$ac_res" >&6; }
9648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9649 cat >>confdefs.h <<_ACEOF
9650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9651 _ACEOF
9655 done
9658 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9659 then
9660 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9661 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9662 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 else
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9667 cat >conftest.$ac_ext <<_ACEOF
9668 /* confdefs.h. */
9669 _ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char XkbQueryExtension ();
9682 main ()
9684 return XkbQueryExtension ();
9686 return 0;
9688 _ACEOF
9689 rm -f conftest.$ac_objext conftest$ac_exeext
9690 if { (ac_try="$ac_link"
9691 case "(($ac_try" in
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9694 esac
9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9696 (eval "$ac_link") 2>conftest.er1
9697 ac_status=$?
9698 grep -v '^ *+' conftest.er1 >conftest.err
9699 rm -f conftest.er1
9700 cat conftest.err >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } && {
9703 test -z "$ac_c_werror_flag" ||
9704 test ! -s conftest.err
9705 } && test -s conftest$ac_exeext &&
9706 $as_test_x conftest$ac_exeext; then
9707 ac_cv_lib_X11_XkbQueryExtension=yes
9708 else
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.$ac_ext >&5
9712 ac_cv_lib_X11_XkbQueryExtension=no
9715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_lib_save_LIBS
9719 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9720 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9721 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9723 cat >>confdefs.h <<\_ACEOF
9724 #define HAVE_XKB 1
9725 _ACEOF
9731 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9732 then
9733 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9734 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9735 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 else
9738 ac_check_soname_save_LIBS=$LIBS
9739 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9740 cat >conftest.$ac_ext <<_ACEOF
9741 /* confdefs.h. */
9742 _ACEOF
9743 cat confdefs.h >>conftest.$ac_ext
9744 cat >>conftest.$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9750 #ifdef __cplusplus
9751 extern "C"
9752 #endif
9753 char XcursorImageLoadCursor ();
9755 main ()
9757 return XcursorImageLoadCursor ();
9759 return 0;
9761 _ACEOF
9762 rm -f conftest.$ac_objext conftest$ac_exeext
9763 if { (ac_try="$ac_link"
9764 case "(($ac_try" in
9765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9766 *) ac_try_echo=$ac_try;;
9767 esac
9768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9769 (eval "$ac_link") 2>conftest.er1
9770 ac_status=$?
9771 grep -v '^ *+' conftest.er1 >conftest.err
9772 rm -f conftest.er1
9773 cat conftest.err >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } && {
9776 test -z "$ac_c_werror_flag" ||
9777 test ! -s conftest.err
9778 } && test -s conftest$ac_exeext &&
9779 $as_test_x conftest$ac_exeext; then
9780 case "$LIBEXT" in
9781 dll) ;;
9782 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9783 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9784 esac
9785 else
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9793 conftest$ac_exeext conftest.$ac_ext
9794 LIBS=$ac_check_soname_save_LIBS
9796 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9797 { echo "$as_me:$LINENO: result: not found" >&5
9798 echo "${ECHO_T}not found" >&6; }
9800 else
9801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9802 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9804 cat >>confdefs.h <<_ACEOF
9805 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9806 _ACEOF
9812 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9813 case "x$with_xcursor" in
9814 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9815 xno) ;;
9816 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9817 This is an error since --with-xcursor was requested." >&5
9818 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9819 This is an error since --with-xcursor was requested." >&2;}
9820 { (exit 1); exit 1; }; } ;;
9821 esac
9825 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9826 then
9827 { echo "$as_me:$LINENO: checking for -lXi" >&5
9828 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9829 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9831 else
9832 ac_check_soname_save_LIBS=$LIBS
9833 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9834 cat >conftest.$ac_ext <<_ACEOF
9835 /* confdefs.h. */
9836 _ACEOF
9837 cat confdefs.h >>conftest.$ac_ext
9838 cat >>conftest.$ac_ext <<_ACEOF
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9844 #ifdef __cplusplus
9845 extern "C"
9846 #endif
9847 char XOpenDevice ();
9849 main ()
9851 return XOpenDevice ();
9853 return 0;
9855 _ACEOF
9856 rm -f conftest.$ac_objext conftest$ac_exeext
9857 if { (ac_try="$ac_link"
9858 case "(($ac_try" in
9859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9861 esac
9862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_link") 2>conftest.er1
9864 ac_status=$?
9865 grep -v '^ *+' conftest.er1 >conftest.err
9866 rm -f conftest.er1
9867 cat conftest.err >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } && {
9870 test -z "$ac_c_werror_flag" ||
9871 test ! -s conftest.err
9872 } && test -s conftest$ac_exeext &&
9873 $as_test_x conftest$ac_exeext; then
9874 case "$LIBEXT" in
9875 dll) ;;
9876 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9877 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9878 esac
9879 else
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LIBS=$ac_check_soname_save_LIBS
9890 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9891 { echo "$as_me:$LINENO: result: not found" >&5
9892 echo "${ECHO_T}not found" >&6; }
9894 else
9895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9896 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9898 cat >>confdefs.h <<_ACEOF
9899 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9900 _ACEOF
9906 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9907 case "x$with_xinput" in
9908 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9909 xno) ;;
9910 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9911 This is an error since --with-xinput was requested." >&5
9912 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9913 This is an error since --with-xinput was requested." >&2;}
9914 { (exit 1); exit 1; }; } ;;
9915 esac
9919 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9920 then
9921 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9922 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9923 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9924 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 else
9926 ac_check_lib_save_LIBS=$LIBS
9927 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9928 cat >conftest.$ac_ext <<_ACEOF
9929 /* confdefs.h. */
9930 _ACEOF
9931 cat confdefs.h >>conftest.$ac_ext
9932 cat >>conftest.$ac_ext <<_ACEOF
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9938 #ifdef __cplusplus
9939 extern "C"
9940 #endif
9941 char XShmQueryExtension ();
9943 main ()
9945 return XShmQueryExtension ();
9947 return 0;
9949 _ACEOF
9950 rm -f conftest.$ac_objext conftest$ac_exeext
9951 if { (ac_try="$ac_link"
9952 case "(($ac_try" in
9953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9954 *) ac_try_echo=$ac_try;;
9955 esac
9956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9957 (eval "$ac_link") 2>conftest.er1
9958 ac_status=$?
9959 grep -v '^ *+' conftest.er1 >conftest.err
9960 rm -f conftest.er1
9961 cat conftest.err >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } && {
9964 test -z "$ac_c_werror_flag" ||
9965 test ! -s conftest.err
9966 } && test -s conftest$ac_exeext &&
9967 $as_test_x conftest$ac_exeext; then
9968 ac_cv_lib_Xext_XShmQueryExtension=yes
9969 else
9970 echo "$as_me: failed program was:" >&5
9971 sed 's/^/| /' conftest.$ac_ext >&5
9973 ac_cv_lib_Xext_XShmQueryExtension=no
9976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_lib_save_LIBS
9980 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9981 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9982 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9984 cat >>confdefs.h <<\_ACEOF
9985 #define HAVE_LIBXXSHM 1
9986 _ACEOF
9991 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9992 case "x$with_xshm" in
9993 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9994 xno) ;;
9995 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9996 This is an error since --with-xshm was requested." >&5
9997 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9998 This is an error since --with-xshm was requested." >&2;}
9999 { (exit 1); exit 1; }; } ;;
10000 esac
10004 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10005 then
10006 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10007 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10008 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 ac_check_lib_save_LIBS=$LIBS
10012 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10013 cat >conftest.$ac_ext <<_ACEOF
10014 /* confdefs.h. */
10015 _ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10023 #ifdef __cplusplus
10024 extern "C"
10025 #endif
10026 char XShapeQueryExtension ();
10028 main ()
10030 return XShapeQueryExtension ();
10032 return 0;
10034 _ACEOF
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (ac_try="$ac_link"
10037 case "(($ac_try" in
10038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10039 *) ac_try_echo=$ac_try;;
10040 esac
10041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_link") 2>conftest.er1
10043 ac_status=$?
10044 grep -v '^ *+' conftest.er1 >conftest.err
10045 rm -f conftest.er1
10046 cat conftest.err >&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } && {
10049 test -z "$ac_c_werror_flag" ||
10050 test ! -s conftest.err
10051 } && test -s conftest$ac_exeext &&
10052 $as_test_x conftest$ac_exeext; then
10053 ac_cv_lib_Xext_XShapeQueryExtension=yes
10054 else
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10058 ac_cv_lib_Xext_XShapeQueryExtension=no
10061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_lib_save_LIBS
10065 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10066 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10067 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10069 cat >>confdefs.h <<\_ACEOF
10070 #define HAVE_LIBXSHAPE 1
10071 _ACEOF
10076 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10077 case "x$with_xshape" in
10078 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10079 xno) ;;
10080 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10081 This is an error since --with-xshape was requested." >&5
10082 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10083 This is an error since --with-xshape was requested." >&2;}
10084 { (exit 1); exit 1; }; } ;;
10085 esac
10089 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10090 then
10091 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10092 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10093 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 else
10096 ac_check_lib_save_LIBS=$LIBS
10097 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10098 cat >conftest.$ac_ext <<_ACEOF
10099 /* confdefs.h. */
10100 _ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10105 /* Override any GCC internal prototype to avoid an error.
10106 Use char because int might match the return type of a GCC
10107 builtin and then its argument prototype would still apply. */
10108 #ifdef __cplusplus
10109 extern "C"
10110 #endif
10111 char XF86VidModeQueryExtension ();
10113 main ()
10115 return XF86VidModeQueryExtension ();
10117 return 0;
10119 _ACEOF
10120 rm -f conftest.$ac_objext conftest$ac_exeext
10121 if { (ac_try="$ac_link"
10122 case "(($ac_try" in
10123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10124 *) ac_try_echo=$ac_try;;
10125 esac
10126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10127 (eval "$ac_link") 2>conftest.er1
10128 ac_status=$?
10129 grep -v '^ *+' conftest.er1 >conftest.err
10130 rm -f conftest.er1
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_c_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest$ac_exeext &&
10137 $as_test_x conftest$ac_exeext; then
10138 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10139 else
10140 echo "$as_me: failed program was:" >&5
10141 sed 's/^/| /' conftest.$ac_ext >&5
10143 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_lib_save_LIBS
10150 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10151 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10152 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10154 cat >>confdefs.h <<\_ACEOF
10155 #define HAVE_LIBXXF86VM 1
10156 _ACEOF
10158 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10163 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10164 case "x$with_xvidmode" in
10165 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10166 xno) ;;
10167 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10168 This is an error since --with-xvidmode was requested." >&5
10169 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10170 This is an error since --with-xvidmode was requested." >&2;}
10171 { (exit 1); exit 1; }; } ;;
10172 esac
10176 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
10177 then
10178 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10179 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10180 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 else
10183 ac_check_soname_save_LIBS=$LIBS
10184 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10185 cat >conftest.$ac_ext <<_ACEOF
10186 /* confdefs.h. */
10187 _ACEOF
10188 cat confdefs.h >>conftest.$ac_ext
10189 cat >>conftest.$ac_ext <<_ACEOF
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 char XRenderQueryExtension ();
10200 main ()
10202 return XRenderQueryExtension ();
10204 return 0;
10206 _ACEOF
10207 rm -f conftest.$ac_objext conftest$ac_exeext
10208 if { (ac_try="$ac_link"
10209 case "(($ac_try" in
10210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10211 *) ac_try_echo=$ac_try;;
10212 esac
10213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10214 (eval "$ac_link") 2>conftest.er1
10215 ac_status=$?
10216 grep -v '^ *+' conftest.er1 >conftest.err
10217 rm -f conftest.er1
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } && {
10221 test -z "$ac_c_werror_flag" ||
10222 test ! -s conftest.err
10223 } && test -s conftest$ac_exeext &&
10224 $as_test_x conftest$ac_exeext; then
10225 case "$LIBEXT" in
10226 dll) ;;
10227 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10228 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10229 esac
10230 else
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_soname_save_LIBS
10241 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10242 { echo "$as_me:$LINENO: result: not found" >&5
10243 echo "${ECHO_T}not found" >&6; }
10245 else
10246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10247 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10249 cat >>confdefs.h <<_ACEOF
10250 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10251 _ACEOF
10253 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10254 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10255 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10257 else
10258 ac_check_lib_save_LIBS=$LIBS
10259 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10260 cat >conftest.$ac_ext <<_ACEOF
10261 /* confdefs.h. */
10262 _ACEOF
10263 cat confdefs.h >>conftest.$ac_ext
10264 cat >>conftest.$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char XRenderSetPictureTransform ();
10275 main ()
10277 return XRenderSetPictureTransform ();
10279 return 0;
10281 _ACEOF
10282 rm -f conftest.$ac_objext conftest$ac_exeext
10283 if { (ac_try="$ac_link"
10284 case "(($ac_try" in
10285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10286 *) ac_try_echo=$ac_try;;
10287 esac
10288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10289 (eval "$ac_link") 2>conftest.er1
10290 ac_status=$?
10291 grep -v '^ *+' conftest.er1 >conftest.err
10292 rm -f conftest.er1
10293 cat conftest.err >&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } && {
10296 test -z "$ac_c_werror_flag" ||
10297 test ! -s conftest.err
10298 } && test -s conftest$ac_exeext &&
10299 $as_test_x conftest$ac_exeext; then
10300 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10301 else
10302 echo "$as_me: failed program was:" >&5
10303 sed 's/^/| /' conftest.$ac_ext >&5
10305 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_lib_save_LIBS
10312 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10313 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10314 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10316 cat >>confdefs.h <<\_ACEOF
10317 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10318 _ACEOF
10326 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10327 case "x$with_xrender" in
10328 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10329 xno) ;;
10330 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10331 This is an error since --with-xrender was requested." >&5
10332 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10333 This is an error since --with-xrender was requested." >&2;}
10334 { (exit 1); exit 1; }; } ;;
10335 esac
10339 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10340 then
10341 cat >conftest.$ac_ext <<_ACEOF
10342 /* confdefs.h. */
10343 _ACEOF
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 #include <X11/Xlib.h>
10348 #include <X11/extensions/Xrandr.h>
10350 main ()
10352 static typeof(XRRSetScreenConfigAndRate) * func;
10354 return 0;
10356 _ACEOF
10357 rm -f conftest.$ac_objext
10358 if { (ac_try="$ac_compile"
10359 case "(($ac_try" in
10360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10361 *) ac_try_echo=$ac_try;;
10362 esac
10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10364 (eval "$ac_compile") 2>conftest.er1
10365 ac_status=$?
10366 grep -v '^ *+' conftest.er1 >conftest.err
10367 rm -f conftest.er1
10368 cat conftest.err >&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } && {
10371 test -z "$ac_c_werror_flag" ||
10372 test ! -s conftest.err
10373 } && test -s conftest.$ac_objext; then
10374 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10375 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10376 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 else
10379 ac_check_soname_save_LIBS=$LIBS
10380 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10381 cat >conftest.$ac_ext <<_ACEOF
10382 /* confdefs.h. */
10383 _ACEOF
10384 cat confdefs.h >>conftest.$ac_ext
10385 cat >>conftest.$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10388 /* Override any GCC internal prototype to avoid an error.
10389 Use char because int might match the return type of a GCC
10390 builtin and then its argument prototype would still apply. */
10391 #ifdef __cplusplus
10392 extern "C"
10393 #endif
10394 char XRRQueryExtension ();
10396 main ()
10398 return XRRQueryExtension ();
10400 return 0;
10402 _ACEOF
10403 rm -f conftest.$ac_objext conftest$ac_exeext
10404 if { (ac_try="$ac_link"
10405 case "(($ac_try" in
10406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10407 *) ac_try_echo=$ac_try;;
10408 esac
10409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10410 (eval "$ac_link") 2>conftest.er1
10411 ac_status=$?
10412 grep -v '^ *+' conftest.er1 >conftest.err
10413 rm -f conftest.er1
10414 cat conftest.err >&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } && {
10417 test -z "$ac_c_werror_flag" ||
10418 test ! -s conftest.err
10419 } && test -s conftest$ac_exeext &&
10420 $as_test_x conftest$ac_exeext; then
10421 case "$LIBEXT" in
10422 dll) ;;
10423 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10424 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10425 esac
10426 else
10427 echo "$as_me: failed program was:" >&5
10428 sed 's/^/| /' conftest.$ac_ext >&5
10433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_soname_save_LIBS
10437 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10438 { echo "$as_me:$LINENO: result: not found" >&5
10439 echo "${ECHO_T}not found" >&6; }
10441 else
10442 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10443 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10445 cat >>confdefs.h <<_ACEOF
10446 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10447 _ACEOF
10452 else
10453 echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.$ac_ext >&5
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10462 case "x$with_xrandr" in
10463 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10464 xno) ;;
10465 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10466 This is an error since --with-xrandr was requested." >&5
10467 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10468 This is an error since --with-xrandr was requested." >&2;}
10469 { (exit 1); exit 1; }; } ;;
10470 esac
10474 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10475 then
10476 cat >conftest.$ac_ext <<_ACEOF
10477 /* confdefs.h. */
10478 _ACEOF
10479 cat confdefs.h >>conftest.$ac_ext
10480 cat >>conftest.$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10482 #include <X11/Xlib.h>
10483 #include <X11/extensions/Xinerama.h>
10485 main ()
10487 static typeof(XineramaQueryScreens) * func;
10489 return 0;
10491 _ACEOF
10492 rm -f conftest.$ac_objext
10493 if { (ac_try="$ac_compile"
10494 case "(($ac_try" in
10495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10496 *) ac_try_echo=$ac_try;;
10497 esac
10498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10499 (eval "$ac_compile") 2>conftest.er1
10500 ac_status=$?
10501 grep -v '^ *+' conftest.er1 >conftest.err
10502 rm -f conftest.er1
10503 cat conftest.err >&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } && {
10506 test -z "$ac_c_werror_flag" ||
10507 test ! -s conftest.err
10508 } && test -s conftest.$ac_objext; then
10509 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10510 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10511 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 else
10514 ac_check_soname_save_LIBS=$LIBS
10515 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10516 cat >conftest.$ac_ext <<_ACEOF
10517 /* confdefs.h. */
10518 _ACEOF
10519 cat confdefs.h >>conftest.$ac_ext
10520 cat >>conftest.$ac_ext <<_ACEOF
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char XineramaQueryScreens ();
10531 main ()
10533 return XineramaQueryScreens ();
10535 return 0;
10537 _ACEOF
10538 rm -f conftest.$ac_objext conftest$ac_exeext
10539 if { (ac_try="$ac_link"
10540 case "(($ac_try" in
10541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10543 esac
10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10545 (eval "$ac_link") 2>conftest.er1
10546 ac_status=$?
10547 grep -v '^ *+' conftest.er1 >conftest.err
10548 rm -f conftest.er1
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } && {
10552 test -z "$ac_c_werror_flag" ||
10553 test ! -s conftest.err
10554 } && test -s conftest$ac_exeext &&
10555 $as_test_x conftest$ac_exeext; then
10556 case "$LIBEXT" in
10557 dll) ;;
10558 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10559 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10560 esac
10561 else
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_soname_save_LIBS
10572 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10573 { echo "$as_me:$LINENO: result: not found" >&5
10574 echo "${ECHO_T}not found" >&6; }
10576 else
10577 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10578 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10580 cat >>confdefs.h <<_ACEOF
10581 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10582 _ACEOF
10587 else
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.$ac_ext >&5
10594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10596 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10597 case "x$with_xinerama" in
10598 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10599 xno) ;;
10600 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10601 This is an error since --with-xinerama was requested." >&5
10602 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10603 This is an error since --with-xinerama was requested." >&2;}
10604 { (exit 1); exit 1; }; } ;;
10605 esac
10609 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10610 then
10611 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10612 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10613 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 else
10616 ac_check_soname_save_LIBS=$LIBS
10617 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10618 cat >conftest.$ac_ext <<_ACEOF
10619 /* confdefs.h. */
10620 _ACEOF
10621 cat confdefs.h >>conftest.$ac_ext
10622 cat >>conftest.$ac_ext <<_ACEOF
10623 /* end confdefs.h. */
10625 /* Override any GCC internal prototype to avoid an error.
10626 Use char because int might match the return type of a GCC
10627 builtin and then its argument prototype would still apply. */
10628 #ifdef __cplusplus
10629 extern "C"
10630 #endif
10631 char XCompositeRedirectWindow ();
10633 main ()
10635 return XCompositeRedirectWindow ();
10637 return 0;
10639 _ACEOF
10640 rm -f conftest.$ac_objext conftest$ac_exeext
10641 if { (ac_try="$ac_link"
10642 case "(($ac_try" in
10643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10644 *) ac_try_echo=$ac_try;;
10645 esac
10646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10647 (eval "$ac_link") 2>conftest.er1
10648 ac_status=$?
10649 grep -v '^ *+' conftest.er1 >conftest.err
10650 rm -f conftest.er1
10651 cat conftest.err >&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } && {
10654 test -z "$ac_c_werror_flag" ||
10655 test ! -s conftest.err
10656 } && test -s conftest$ac_exeext &&
10657 $as_test_x conftest$ac_exeext; then
10658 case "$LIBEXT" in
10659 dll) ;;
10660 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10661 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10662 esac
10663 else
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_soname_save_LIBS
10674 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10675 { echo "$as_me:$LINENO: result: not found" >&5
10676 echo "${ECHO_T}not found" >&6; }
10678 else
10679 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10680 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10682 cat >>confdefs.h <<_ACEOF
10683 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10684 _ACEOF
10690 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10691 case "x$with_xcomposite" in
10692 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10693 xno) ;;
10694 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10695 This is an error since --with-xcomposite was requested." >&5
10696 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10697 This is an error since --with-xcomposite was requested." >&2;}
10698 { (exit 1); exit 1; }; } ;;
10699 esac
10703 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10704 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10705 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10706 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 else
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 #ifdef HAVE_X11_XLIB_H
10715 #include <X11/Xlib.h>
10716 #endif
10719 main ()
10721 static XICCallback ac_aggr;
10722 if (ac_aggr.callback)
10723 return 0;
10725 return 0;
10727 _ACEOF
10728 rm -f conftest.$ac_objext
10729 if { (ac_try="$ac_compile"
10730 case "(($ac_try" in
10731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10732 *) ac_try_echo=$ac_try;;
10733 esac
10734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10735 (eval "$ac_compile") 2>conftest.er1
10736 ac_status=$?
10737 grep -v '^ *+' conftest.er1 >conftest.err
10738 rm -f conftest.er1
10739 cat conftest.err >&5
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); } && {
10742 test -z "$ac_c_werror_flag" ||
10743 test ! -s conftest.err
10744 } && test -s conftest.$ac_objext; then
10745 ac_cv_member_XICCallback_callback=yes
10746 else
10747 echo "$as_me: failed program was:" >&5
10748 sed 's/^/| /' conftest.$ac_ext >&5
10750 cat >conftest.$ac_ext <<_ACEOF
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #ifdef HAVE_X11_XLIB_H
10757 #include <X11/Xlib.h>
10758 #endif
10761 main ()
10763 static XICCallback ac_aggr;
10764 if (sizeof ac_aggr.callback)
10765 return 0;
10767 return 0;
10769 _ACEOF
10770 rm -f conftest.$ac_objext
10771 if { (ac_try="$ac_compile"
10772 case "(($ac_try" in
10773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10774 *) ac_try_echo=$ac_try;;
10775 esac
10776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10777 (eval "$ac_compile") 2>conftest.er1
10778 ac_status=$?
10779 grep -v '^ *+' conftest.er1 >conftest.err
10780 rm -f conftest.er1
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } && {
10784 test -z "$ac_c_werror_flag" ||
10785 test ! -s conftest.err
10786 } && test -s conftest.$ac_objext; then
10787 ac_cv_member_XICCallback_callback=yes
10788 else
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10792 ac_cv_member_XICCallback_callback=no
10795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10801 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10802 if test $ac_cv_member_XICCallback_callback = yes; then
10804 cat >>confdefs.h <<_ACEOF
10805 #define HAVE_XICCALLBACK_CALLBACK 1
10806 _ACEOF
10813 opengl_msg=""
10814 if test "x$with_opengl" != "xno"
10815 then
10820 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10823 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 else
10828 cat >conftest.$ac_ext <<_ACEOF
10829 /* confdefs.h. */
10830 _ACEOF
10831 cat confdefs.h >>conftest.$ac_ext
10832 cat >>conftest.$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 #ifdef HAVE_GL_GLX_H
10835 # include <GL/glx.h>
10836 #endif
10838 #include <$ac_header>
10839 _ACEOF
10840 rm -f conftest.$ac_objext
10841 if { (ac_try="$ac_compile"
10842 case "(($ac_try" in
10843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10844 *) ac_try_echo=$ac_try;;
10845 esac
10846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10847 (eval "$ac_compile") 2>conftest.er1
10848 ac_status=$?
10849 grep -v '^ *+' conftest.er1 >conftest.err
10850 rm -f conftest.er1
10851 cat conftest.err >&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); } && {
10854 test -z "$ac_c_werror_flag" ||
10855 test ! -s conftest.err
10856 } && test -s conftest.$ac_objext; then
10857 eval "$as_ac_Header=yes"
10858 else
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.$ac_ext >&5
10862 eval "$as_ac_Header=no"
10865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10867 ac_res=`eval echo '${'$as_ac_Header'}'`
10868 { echo "$as_me:$LINENO: result: $ac_res" >&5
10869 echo "${ECHO_T}$ac_res" >&6; }
10870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10871 cat >>confdefs.h <<_ACEOF
10872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10873 _ACEOF
10877 done
10879 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10880 then
10881 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10882 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10883 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 else
10886 cat >conftest.$ac_ext <<_ACEOF
10887 /* confdefs.h. */
10888 _ACEOF
10889 cat confdefs.h >>conftest.$ac_ext
10890 cat >>conftest.$ac_ext <<_ACEOF
10891 /* end confdefs.h. */
10892 #include <GL/gl.h>
10894 main ()
10896 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10898 return 0;
10900 _ACEOF
10901 rm -f conftest.$ac_objext
10902 if { (ac_try="$ac_compile"
10903 case "(($ac_try" in
10904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10905 *) ac_try_echo=$ac_try;;
10906 esac
10907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10908 (eval "$ac_compile") 2>conftest.er1
10909 ac_status=$?
10910 grep -v '^ *+' conftest.er1 >conftest.err
10911 rm -f conftest.er1
10912 cat conftest.err >&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); } && {
10915 test -z "$ac_c_werror_flag" ||
10916 test ! -s conftest.err
10917 } && test -s conftest.$ac_objext; then
10918 wine_cv_opengl_header_version_OK="yes"
10919 else
10920 echo "$as_me: failed program was:" >&5
10921 sed 's/^/| /' conftest.$ac_ext >&5
10923 wine_cv_opengl_header_version_OK="no"
10926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10928 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10929 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10931 if test "$wine_cv_opengl_header_version_OK" = "yes"
10932 then
10933 { echo "$as_me:$LINENO: checking for -lGL" >&5
10934 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10935 if test "${ac_cv_lib_soname_GL+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 else
10938 ac_check_soname_save_LIBS=$LIBS
10939 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10940 cat >conftest.$ac_ext <<_ACEOF
10941 /* confdefs.h. */
10942 _ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10947 /* Override any GCC internal prototype to avoid an error.
10948 Use char because int might match the return type of a GCC
10949 builtin and then its argument prototype would still apply. */
10950 #ifdef __cplusplus
10951 extern "C"
10952 #endif
10953 char glXCreateContext ();
10955 main ()
10957 return glXCreateContext ();
10959 return 0;
10961 _ACEOF
10962 rm -f conftest.$ac_objext conftest$ac_exeext
10963 if { (ac_try="$ac_link"
10964 case "(($ac_try" in
10965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10966 *) ac_try_echo=$ac_try;;
10967 esac
10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10969 (eval "$ac_link") 2>conftest.er1
10970 ac_status=$?
10971 grep -v '^ *+' conftest.er1 >conftest.err
10972 rm -f conftest.er1
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } && {
10976 test -z "$ac_c_werror_flag" ||
10977 test ! -s conftest.err
10978 } && test -s conftest$ac_exeext &&
10979 $as_test_x conftest$ac_exeext; then
10980 case "$LIBEXT" in
10981 dll) ;;
10982 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10983 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10984 esac
10985 else
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.$ac_ext >&5
10992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_soname_save_LIBS
10996 if test "x$ac_cv_lib_soname_GL" = "x"; then
10997 { echo "$as_me:$LINENO: result: not found" >&5
10998 echo "${ECHO_T}not found" >&6; }
10999 { echo "$as_me:$LINENO: checking for -lGL" >&5
11000 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11001 if test "${ac_cv_lib_soname_GL+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 else
11004 ac_check_soname_save_LIBS=$LIBS
11005 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
11006 cat >conftest.$ac_ext <<_ACEOF
11007 /* confdefs.h. */
11008 _ACEOF
11009 cat confdefs.h >>conftest.$ac_ext
11010 cat >>conftest.$ac_ext <<_ACEOF
11011 /* end confdefs.h. */
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11016 #ifdef __cplusplus
11017 extern "C"
11018 #endif
11019 char glXCreateContext ();
11021 main ()
11023 return glXCreateContext ();
11025 return 0;
11027 _ACEOF
11028 rm -f conftest.$ac_objext conftest$ac_exeext
11029 if { (ac_try="$ac_link"
11030 case "(($ac_try" in
11031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11032 *) ac_try_echo=$ac_try;;
11033 esac
11034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11035 (eval "$ac_link") 2>conftest.er1
11036 ac_status=$?
11037 grep -v '^ *+' conftest.er1 >conftest.err
11038 rm -f conftest.er1
11039 cat conftest.err >&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } && {
11042 test -z "$ac_c_werror_flag" ||
11043 test ! -s conftest.err
11044 } && test -s conftest$ac_exeext &&
11045 $as_test_x conftest$ac_exeext; then
11046 case "$LIBEXT" in
11047 dll) ;;
11048 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11049 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11050 esac
11051 else
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_soname_save_LIBS
11062 if test "x$ac_cv_lib_soname_GL" = "x"; then
11063 { echo "$as_me:$LINENO: result: not found" >&5
11064 echo "${ECHO_T}not found" >&6; }
11065 if test -f /usr/X11R6/lib/libGL.a
11066 then
11067 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11068 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11069 else
11070 opengl_msg="No OpenGL library found on this system."
11072 else
11073 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11074 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11076 cat >>confdefs.h <<_ACEOF
11077 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11078 _ACEOF
11080 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
11081 OPENGLFILES='$(OPENGLFILES)'
11083 cat >>confdefs.h <<\_ACEOF
11084 #define HAVE_OPENGL 1
11085 _ACEOF
11089 else
11090 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11091 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11093 cat >>confdefs.h <<_ACEOF
11094 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11095 _ACEOF
11097 OPENGL_LIBS="-lGL"
11098 OPENGLFILES='$(OPENGLFILES)'
11100 cat >>confdefs.h <<\_ACEOF
11101 #define HAVE_OPENGL 1
11102 _ACEOF
11106 if test "$ac_cv_header_GL_glu_h" = "yes"
11107 then
11108 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11109 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11110 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11112 else
11113 ac_check_soname_save_LIBS=$LIBS
11114 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11115 cat >conftest.$ac_ext <<_ACEOF
11116 /* confdefs.h. */
11117 _ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11122 /* Override any GCC internal prototype to avoid an error.
11123 Use char because int might match the return type of a GCC
11124 builtin and then its argument prototype would still apply. */
11125 #ifdef __cplusplus
11126 extern "C"
11127 #endif
11128 char gluLookAt ();
11130 main ()
11132 return gluLookAt ();
11134 return 0;
11136 _ACEOF
11137 rm -f conftest.$ac_objext conftest$ac_exeext
11138 if { (ac_try="$ac_link"
11139 case "(($ac_try" in
11140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11141 *) ac_try_echo=$ac_try;;
11142 esac
11143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11144 (eval "$ac_link") 2>conftest.er1
11145 ac_status=$?
11146 grep -v '^ *+' conftest.er1 >conftest.err
11147 rm -f conftest.er1
11148 cat conftest.err >&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); } && {
11151 test -z "$ac_c_werror_flag" ||
11152 test ! -s conftest.err
11153 } && test -s conftest$ac_exeext &&
11154 $as_test_x conftest$ac_exeext; then
11155 case "$LIBEXT" in
11156 dll) ;;
11157 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11158 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11159 esac
11160 else
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_soname_save_LIBS
11171 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11172 { echo "$as_me:$LINENO: result: not found" >&5
11173 echo "${ECHO_T}not found" >&6; }
11175 else
11176 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11177 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11179 cat >>confdefs.h <<_ACEOF
11180 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11181 _ACEOF
11183 GLU32FILES='$(GLU32FILES)'
11187 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11188 case "x$with_glu" in
11189 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11190 xno) ;;
11191 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11192 This is an error since --with-glu was requested." >&5
11193 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11194 This is an error since --with-glu was requested." >&2;}
11195 { (exit 1); exit 1; }; } ;;
11196 esac
11199 else
11200 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11202 else
11203 opengl_msg="OpenGL development headers not found."
11206 if test -n "$opengl_msg"; then
11207 case "x$with_opengl" in
11208 x) wine_warnings="$wine_warnings|$opengl_msg
11209 OpenGL and Direct3D won't be supported." ;;
11210 xno) ;;
11211 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11212 OpenGL and Direct3D won't be supported.
11213 This is an error since --with-opengl was requested." >&5
11214 echo "$as_me: error: $opengl_msg
11215 OpenGL and Direct3D won't be supported.
11216 This is an error since --with-opengl was requested." >&2;}
11217 { (exit 1); exit 1; }; } ;;
11218 esac
11222 NASLIBS=""
11225 for ac_header in audio/audiolib.h
11227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11229 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 ac_res=`eval echo '${'$as_ac_Header'}'`
11235 { echo "$as_me:$LINENO: result: $ac_res" >&5
11236 echo "${ECHO_T}$ac_res" >&6; }
11237 else
11238 # Is the header compilable?
11239 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h. */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247 $ac_includes_default
11248 #include <$ac_header>
11249 _ACEOF
11250 rm -f conftest.$ac_objext
11251 if { (ac_try="$ac_compile"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11255 esac
11256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11257 (eval "$ac_compile") 2>conftest.er1
11258 ac_status=$?
11259 grep -v '^ *+' conftest.er1 >conftest.err
11260 rm -f conftest.er1
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } && {
11264 test -z "$ac_c_werror_flag" ||
11265 test ! -s conftest.err
11266 } && test -s conftest.$ac_objext; then
11267 ac_header_compiler=yes
11268 else
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11272 ac_header_compiler=no
11275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11276 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11277 echo "${ECHO_T}$ac_header_compiler" >&6; }
11279 # Is the header present?
11280 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11282 cat >conftest.$ac_ext <<_ACEOF
11283 /* confdefs.h. */
11284 _ACEOF
11285 cat confdefs.h >>conftest.$ac_ext
11286 cat >>conftest.$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <$ac_header>
11289 _ACEOF
11290 if { (ac_try="$ac_cpp conftest.$ac_ext"
11291 case "(($ac_try" in
11292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11294 esac
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11297 ac_status=$?
11298 grep -v '^ *+' conftest.er1 >conftest.err
11299 rm -f conftest.er1
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } >/dev/null && {
11303 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11304 test ! -s conftest.err
11305 }; then
11306 ac_header_preproc=yes
11307 else
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11311 ac_header_preproc=no
11314 rm -f conftest.err conftest.$ac_ext
11315 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11316 echo "${ECHO_T}$ac_header_preproc" >&6; }
11318 # So? What about this header?
11319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11320 yes:no: )
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11325 ac_header_preproc=yes
11327 no:yes:* )
11328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11340 ( cat <<\_ASBOX
11341 ## ------------------------------------ ##
11342 ## Report this to wine-devel@winehq.org ##
11343 ## ------------------------------------ ##
11344 _ASBOX
11345 ) | sed "s/^/$as_me: WARNING: /" >&2
11347 esac
11348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11351 echo $ECHO_N "(cached) $ECHO_C" >&6
11352 else
11353 eval "$as_ac_Header=\$ac_header_preproc"
11355 ac_res=`eval echo '${'$as_ac_Header'}'`
11356 { echo "$as_me:$LINENO: result: $ac_res" >&5
11357 echo "${ECHO_T}$ac_res" >&6; }
11360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11361 cat >>confdefs.h <<_ACEOF
11362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11363 _ACEOF
11365 for ac_header in audio/soundlib.h
11367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373 cat >conftest.$ac_ext <<_ACEOF
11374 /* confdefs.h. */
11375 _ACEOF
11376 cat confdefs.h >>conftest.$ac_ext
11377 cat >>conftest.$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379 #include <audio/audiolib.h>
11381 #include <$ac_header>
11382 _ACEOF
11383 rm -f conftest.$ac_objext
11384 if { (ac_try="$ac_compile"
11385 case "(($ac_try" in
11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11387 *) ac_try_echo=$ac_try;;
11388 esac
11389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11390 (eval "$ac_compile") 2>conftest.er1
11391 ac_status=$?
11392 grep -v '^ *+' conftest.er1 >conftest.err
11393 rm -f conftest.er1
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } && {
11397 test -z "$ac_c_werror_flag" ||
11398 test ! -s conftest.err
11399 } && test -s conftest.$ac_objext; then
11400 eval "$as_ac_Header=yes"
11401 else
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 eval "$as_ac_Header=no"
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11410 ac_res=`eval echo '${'$as_ac_Header'}'`
11411 { echo "$as_me:$LINENO: result: $ac_res" >&5
11412 echo "${ECHO_T}$ac_res" >&6; }
11413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11414 cat >>confdefs.h <<_ACEOF
11415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11416 _ACEOF
11420 done
11422 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11423 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11424 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 else
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11429 cat >conftest.$ac_ext <<_ACEOF
11430 /* confdefs.h. */
11431 _ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char AuCreateFlow ();
11444 main ()
11446 return AuCreateFlow ();
11448 return 0;
11450 _ACEOF
11451 rm -f conftest.$ac_objext conftest$ac_exeext
11452 if { (ac_try="$ac_link"
11453 case "(($ac_try" in
11454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11455 *) ac_try_echo=$ac_try;;
11456 esac
11457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11458 (eval "$ac_link") 2>conftest.er1
11459 ac_status=$?
11460 grep -v '^ *+' conftest.er1 >conftest.err
11461 rm -f conftest.er1
11462 cat conftest.err >&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } && {
11465 test -z "$ac_c_werror_flag" ||
11466 test ! -s conftest.err
11467 } && test -s conftest$ac_exeext &&
11468 $as_test_x conftest$ac_exeext; then
11469 ac_cv_lib_audio_AuCreateFlow=yes
11470 else
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11474 ac_cv_lib_audio_AuCreateFlow=no
11477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_lib_save_LIBS
11481 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11482 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11483 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11485 cat >>confdefs.h <<\_ACEOF
11486 #define HAVE_NAS 1
11487 _ACEOF
11489 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11490 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11491 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 else
11494 ac_check_lib_save_LIBS=$LIBS
11495 LIBS="-lXau $X_LIBS $LIBS"
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h. */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char XauGetBestAuthByAddr ();
11511 main ()
11513 return XauGetBestAuthByAddr ();
11515 return 0;
11517 _ACEOF
11518 rm -f conftest.$ac_objext conftest$ac_exeext
11519 if { (ac_try="$ac_link"
11520 case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11523 esac
11524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_link") 2>conftest.er1
11526 ac_status=$?
11527 grep -v '^ *+' conftest.er1 >conftest.err
11528 rm -f conftest.er1
11529 cat conftest.err >&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } && {
11532 test -z "$ac_c_werror_flag" ||
11533 test ! -s conftest.err
11534 } && test -s conftest$ac_exeext &&
11535 $as_test_x conftest$ac_exeext; then
11536 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11537 else
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.$ac_ext >&5
11541 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11548 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11549 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11550 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11551 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11552 else
11553 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11561 done
11564 CPPFLAGS="$ac_save_CPPFLAGS"
11565 XFILES='$(XFILES)'
11566 else
11567 XLIB=""
11568 X_CFLAGS=""
11569 X_LIBS=""
11571 if test "x$XLIB" = "x"; then
11572 case "x$with_x" in
11573 xno) ;;
11574 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11575 without X support, which probably isn't what you want. You will need to install
11576 development packages of Xlib/Xfree86 at the very least.
11577 Use the --without-x option if you really want this." >&5
11578 echo "$as_me: error: X development files not found. Wine will be built
11579 without X support, which probably isn't what you want. You will need to install
11580 development packages of Xlib/Xfree86 at the very least.
11581 Use the --without-x option if you really want this." >&2;}
11582 { (exit 1); exit 1; }; } ;;
11583 esac
11588 XML2LIBS=""
11590 XML2INCL=""
11592 XSLTLIBS=""
11594 XSLTINCL=""
11596 if test "x$with_xml" != "xno"
11597 then
11598 ac_save_CPPFLAGS="$CPPFLAGS"
11599 if test "$PKG_CONFIG" != "false"
11600 then
11601 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11602 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11603 else
11604 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11605 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11607 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11609 for ac_header in libxml/parser.h
11611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 ac_res=`eval echo '${'$as_ac_Header'}'`
11619 { echo "$as_me:$LINENO: result: $ac_res" >&5
11620 echo "${ECHO_T}$ac_res" >&6; }
11621 else
11622 # Is the header compilable?
11623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11625 cat >conftest.$ac_ext <<_ACEOF
11626 /* confdefs.h. */
11627 _ACEOF
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11631 $ac_includes_default
11632 #include <$ac_header>
11633 _ACEOF
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11639 esac
11640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11642 ac_status=$?
11643 grep -v '^ *+' conftest.er1 >conftest.err
11644 rm -f conftest.er1
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } && {
11648 test -z "$ac_c_werror_flag" ||
11649 test ! -s conftest.err
11650 } && test -s conftest.$ac_objext; then
11651 ac_header_compiler=yes
11652 else
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11656 ac_header_compiler=no
11659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11660 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11661 echo "${ECHO_T}$ac_header_compiler" >&6; }
11663 # Is the header present?
11664 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11666 cat >conftest.$ac_ext <<_ACEOF
11667 /* confdefs.h. */
11668 _ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 #include <$ac_header>
11673 _ACEOF
11674 if { (ac_try="$ac_cpp conftest.$ac_ext"
11675 case "(($ac_try" in
11676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11677 *) ac_try_echo=$ac_try;;
11678 esac
11679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11681 ac_status=$?
11682 grep -v '^ *+' conftest.er1 >conftest.err
11683 rm -f conftest.er1
11684 cat conftest.err >&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); } >/dev/null && {
11687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11688 test ! -s conftest.err
11689 }; then
11690 ac_header_preproc=yes
11691 else
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11695 ac_header_preproc=no
11698 rm -f conftest.err conftest.$ac_ext
11699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11700 echo "${ECHO_T}$ac_header_preproc" >&6; }
11702 # So? What about this header?
11703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11704 yes:no: )
11705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11709 ac_header_preproc=yes
11711 no:yes:* )
11712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11724 ( cat <<\_ASBOX
11725 ## ------------------------------------ ##
11726 ## Report this to wine-devel@winehq.org ##
11727 ## ------------------------------------ ##
11728 _ASBOX
11729 ) | sed "s/^/$as_me: WARNING: /" >&2
11731 esac
11732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 else
11737 eval "$as_ac_Header=\$ac_header_preproc"
11739 ac_res=`eval echo '${'$as_ac_Header'}'`
11740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11741 echo "${ECHO_T}$ac_res" >&6; }
11744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11745 cat >>confdefs.h <<_ACEOF
11746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11747 _ACEOF
11748 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11749 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11750 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11751 echo $ECHO_N "(cached) $ECHO_C" >&6
11752 else
11753 ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-lxml2 $ac_xml_libs $LIBS"
11755 cat >conftest.$ac_ext <<_ACEOF
11756 /* confdefs.h. */
11757 _ACEOF
11758 cat confdefs.h >>conftest.$ac_ext
11759 cat >>conftest.$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char xmlParseMemory ();
11770 main ()
11772 return xmlParseMemory ();
11774 return 0;
11776 _ACEOF
11777 rm -f conftest.$ac_objext conftest$ac_exeext
11778 if { (ac_try="$ac_link"
11779 case "(($ac_try" in
11780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11782 esac
11783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784 (eval "$ac_link") 2>conftest.er1
11785 ac_status=$?
11786 grep -v '^ *+' conftest.er1 >conftest.err
11787 rm -f conftest.er1
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && {
11791 test -z "$ac_c_werror_flag" ||
11792 test ! -s conftest.err
11793 } && test -s conftest$ac_exeext &&
11794 $as_test_x conftest$ac_exeext; then
11795 ac_cv_lib_xml2_xmlParseMemory=yes
11796 else
11797 echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.$ac_ext >&5
11800 ac_cv_lib_xml2_xmlParseMemory=no
11803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_lib_save_LIBS
11807 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11808 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11809 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11811 cat >>confdefs.h <<\_ACEOF
11812 #define HAVE_LIBXML2 1
11813 _ACEOF
11815 XML2LIBS="$ac_xml_libs"
11816 XML2INCL="$ac_xml_cflags"
11819 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11820 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11821 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 else
11824 ac_check_lib_save_LIBS=$LIBS
11825 LIBS="-lxml2 $ac_xml_libs $LIBS"
11826 cat >conftest.$ac_ext <<_ACEOF
11827 /* confdefs.h. */
11828 _ACEOF
11829 cat confdefs.h >>conftest.$ac_ext
11830 cat >>conftest.$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11836 #ifdef __cplusplus
11837 extern "C"
11838 #endif
11839 char xmlReadMemory ();
11841 main ()
11843 return xmlReadMemory ();
11845 return 0;
11847 _ACEOF
11848 rm -f conftest.$ac_objext conftest$ac_exeext
11849 if { (ac_try="$ac_link"
11850 case "(($ac_try" in
11851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11852 *) ac_try_echo=$ac_try;;
11853 esac
11854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11855 (eval "$ac_link") 2>conftest.er1
11856 ac_status=$?
11857 grep -v '^ *+' conftest.er1 >conftest.err
11858 rm -f conftest.er1
11859 cat conftest.err >&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } && {
11862 test -z "$ac_c_werror_flag" ||
11863 test ! -s conftest.err
11864 } && test -s conftest$ac_exeext &&
11865 $as_test_x conftest$ac_exeext; then
11866 ac_cv_lib_xml2_xmlReadMemory=yes
11867 else
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11871 ac_cv_lib_xml2_xmlReadMemory=no
11874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_lib_save_LIBS
11878 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11879 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11880 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11882 cat >>confdefs.h <<\_ACEOF
11883 #define HAVE_XMLREADMEMORY 1
11884 _ACEOF
11888 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11889 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11890 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 else
11893 ac_check_lib_save_LIBS=$LIBS
11894 LIBS="-lxml2 $ac_xml_libs $LIBS"
11895 cat >conftest.$ac_ext <<_ACEOF
11896 /* confdefs.h. */
11897 _ACEOF
11898 cat confdefs.h >>conftest.$ac_ext
11899 cat >>conftest.$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char xmlNewDocPI ();
11910 main ()
11912 return xmlNewDocPI ();
11914 return 0;
11916 _ACEOF
11917 rm -f conftest.$ac_objext conftest$ac_exeext
11918 if { (ac_try="$ac_link"
11919 case "(($ac_try" in
11920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11921 *) ac_try_echo=$ac_try;;
11922 esac
11923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11924 (eval "$ac_link") 2>conftest.er1
11925 ac_status=$?
11926 grep -v '^ *+' conftest.er1 >conftest.err
11927 rm -f conftest.er1
11928 cat conftest.err >&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); } && {
11931 test -z "$ac_c_werror_flag" ||
11932 test ! -s conftest.err
11933 } && test -s conftest$ac_exeext &&
11934 $as_test_x conftest$ac_exeext; then
11935 ac_cv_lib_xml2_xmlNewDocPI=yes
11936 else
11937 echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.$ac_ext >&5
11940 ac_cv_lib_xml2_xmlNewDocPI=no
11943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11944 conftest$ac_exeext conftest.$ac_ext
11945 LIBS=$ac_check_lib_save_LIBS
11947 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11948 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11949 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11951 cat >>confdefs.h <<\_ACEOF
11952 #define HAVE_XMLNEWDOCPI 1
11953 _ACEOF
11960 done
11962 CPPFLAGS="$ac_save_CPPFLAGS"
11964 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11965 case "x$with_xml" in
11966 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
11967 xno) ;;
11968 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11969 This is an error since --with-xml was requested." >&5
11970 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11971 This is an error since --with-xml was requested." >&2;}
11972 { (exit 1); exit 1; }; } ;;
11973 esac
11977 if test "x$with_xslt" != "xno"
11978 then
11979 if test "$PKG_CONFIG" != "false"
11980 then
11981 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11982 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11983 else
11984 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11985 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11987 ac_save_CPPFLAGS="$CPPFLAGS"
11988 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11991 for ac_header in libxslt/pattern.h libxslt/transform.h
11993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 else
11999 cat >conftest.$ac_ext <<_ACEOF
12000 /* confdefs.h. */
12001 _ACEOF
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005 #ifdef HAVE_LIBXSLT_PATTERN_H
12006 # include <libxslt/pattern.h>
12007 #endif
12009 #include <$ac_header>
12010 _ACEOF
12011 rm -f conftest.$ac_objext
12012 if { (ac_try="$ac_compile"
12013 case "(($ac_try" in
12014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12015 *) ac_try_echo=$ac_try;;
12016 esac
12017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12018 (eval "$ac_compile") 2>conftest.er1
12019 ac_status=$?
12020 grep -v '^ *+' conftest.er1 >conftest.err
12021 rm -f conftest.er1
12022 cat conftest.err >&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } && {
12025 test -z "$ac_c_werror_flag" ||
12026 test ! -s conftest.err
12027 } && test -s conftest.$ac_objext; then
12028 eval "$as_ac_Header=yes"
12029 else
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.$ac_ext >&5
12033 eval "$as_ac_Header=no"
12036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12038 ac_res=`eval echo '${'$as_ac_Header'}'`
12039 { echo "$as_me:$LINENO: result: $ac_res" >&5
12040 echo "${ECHO_T}$ac_res" >&6; }
12041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12042 cat >>confdefs.h <<_ACEOF
12043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12044 _ACEOF
12048 done
12050 CPPFLAGS="$ac_save_CPPFLAGS"
12051 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12052 then
12053 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12054 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12055 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 else
12058 ac_check_lib_save_LIBS=$LIBS
12059 LIBS="-lxslt $ac_xslt_libs $LIBS"
12060 cat >conftest.$ac_ext <<_ACEOF
12061 /* confdefs.h. */
12062 _ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char xsltCompilePattern ();
12075 main ()
12077 return xsltCompilePattern ();
12079 return 0;
12081 _ACEOF
12082 rm -f conftest.$ac_objext conftest$ac_exeext
12083 if { (ac_try="$ac_link"
12084 case "(($ac_try" in
12085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12086 *) ac_try_echo=$ac_try;;
12087 esac
12088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12089 (eval "$ac_link") 2>conftest.er1
12090 ac_status=$?
12091 grep -v '^ *+' conftest.er1 >conftest.err
12092 rm -f conftest.er1
12093 cat conftest.err >&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); } && {
12096 test -z "$ac_c_werror_flag" ||
12097 test ! -s conftest.err
12098 } && test -s conftest$ac_exeext &&
12099 $as_test_x conftest$ac_exeext; then
12100 ac_cv_lib_xslt_xsltCompilePattern=yes
12101 else
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.$ac_ext >&5
12105 ac_cv_lib_xslt_xsltCompilePattern=no
12108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_lib_save_LIBS
12112 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12113 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12114 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12116 cat >>confdefs.h <<\_ACEOF
12117 #define HAVE_LIBXSLT 1
12118 _ACEOF
12120 XSLTLIBS="$ac_xslt_libs"
12121 XSLTINCL="$ac_xslt_cflags"
12122 ac_save_LIBS="$LIBS"
12123 LIBS="$LIBS $ac_xslt_libs"
12125 for ac_func in xsltInit
12127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 else
12133 cat >conftest.$ac_ext <<_ACEOF
12134 /* confdefs.h. */
12135 _ACEOF
12136 cat confdefs.h >>conftest.$ac_ext
12137 cat >>conftest.$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12141 #define $ac_func innocuous_$ac_func
12143 /* System header to define __stub macros and hopefully few prototypes,
12144 which can conflict with char $ac_func (); below.
12145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12146 <limits.h> exists even on freestanding compilers. */
12148 #ifdef __STDC__
12149 # include <limits.h>
12150 #else
12151 # include <assert.h>
12152 #endif
12154 #undef $ac_func
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12159 #ifdef __cplusplus
12160 extern "C"
12161 #endif
12162 char $ac_func ();
12163 /* The GNU C library defines this for functions which it implements
12164 to always fail with ENOSYS. Some functions are actually named
12165 something starting with __ and the normal name is an alias. */
12166 #if defined __stub_$ac_func || defined __stub___$ac_func
12167 choke me
12168 #endif
12171 main ()
12173 return $ac_func ();
12175 return 0;
12177 _ACEOF
12178 rm -f conftest.$ac_objext conftest$ac_exeext
12179 if { (ac_try="$ac_link"
12180 case "(($ac_try" in
12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12182 *) ac_try_echo=$ac_try;;
12183 esac
12184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12185 (eval "$ac_link") 2>conftest.er1
12186 ac_status=$?
12187 grep -v '^ *+' conftest.er1 >conftest.err
12188 rm -f conftest.er1
12189 cat conftest.err >&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } && {
12192 test -z "$ac_c_werror_flag" ||
12193 test ! -s conftest.err
12194 } && test -s conftest$ac_exeext &&
12195 $as_test_x conftest$ac_exeext; then
12196 eval "$as_ac_var=yes"
12197 else
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.$ac_ext >&5
12201 eval "$as_ac_var=no"
12204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12205 conftest$ac_exeext conftest.$ac_ext
12207 ac_res=`eval echo '${'$as_ac_var'}'`
12208 { echo "$as_me:$LINENO: result: $ac_res" >&5
12209 echo "${ECHO_T}$ac_res" >&6; }
12210 if test `eval echo '${'$as_ac_var'}'` = yes; then
12211 cat >>confdefs.h <<_ACEOF
12212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12213 _ACEOF
12216 done
12218 LIBS="$ac_save_LIBS"
12223 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12224 case "x$with_xslt" in
12225 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12226 xno) ;;
12227 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12228 This is an error since --with-xslt was requested." >&5
12229 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12230 This is an error since --with-xslt was requested." >&2;}
12231 { (exit 1); exit 1; }; } ;;
12232 esac
12236 HALINCL=""
12238 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12239 then
12240 ac_save_CPPFLAGS="$CPPFLAGS"
12241 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12242 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12243 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12246 for ac_header in dbus/dbus.h hal/libhal.h
12248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 ac_res=`eval echo '${'$as_ac_Header'}'`
12256 { echo "$as_me:$LINENO: result: $ac_res" >&5
12257 echo "${ECHO_T}$ac_res" >&6; }
12258 else
12259 # Is the header compilable?
12260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12262 cat >conftest.$ac_ext <<_ACEOF
12263 /* confdefs.h. */
12264 _ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12268 $ac_includes_default
12269 #include <$ac_header>
12270 _ACEOF
12271 rm -f conftest.$ac_objext
12272 if { (ac_try="$ac_compile"
12273 case "(($ac_try" in
12274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275 *) ac_try_echo=$ac_try;;
12276 esac
12277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12278 (eval "$ac_compile") 2>conftest.er1
12279 ac_status=$?
12280 grep -v '^ *+' conftest.er1 >conftest.err
12281 rm -f conftest.er1
12282 cat conftest.err >&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } && {
12285 test -z "$ac_c_werror_flag" ||
12286 test ! -s conftest.err
12287 } && test -s conftest.$ac_objext; then
12288 ac_header_compiler=yes
12289 else
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.$ac_ext >&5
12293 ac_header_compiler=no
12296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12298 echo "${ECHO_T}$ac_header_compiler" >&6; }
12300 # Is the header present?
12301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12303 cat >conftest.$ac_ext <<_ACEOF
12304 /* confdefs.h. */
12305 _ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 cat >>conftest.$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12309 #include <$ac_header>
12310 _ACEOF
12311 if { (ac_try="$ac_cpp conftest.$ac_ext"
12312 case "(($ac_try" in
12313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12314 *) ac_try_echo=$ac_try;;
12315 esac
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12318 ac_status=$?
12319 grep -v '^ *+' conftest.er1 >conftest.err
12320 rm -f conftest.er1
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } >/dev/null && {
12324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12325 test ! -s conftest.err
12326 }; then
12327 ac_header_preproc=yes
12328 else
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.$ac_ext >&5
12332 ac_header_preproc=no
12335 rm -f conftest.err conftest.$ac_ext
12336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12337 echo "${ECHO_T}$ac_header_preproc" >&6; }
12339 # So? What about this header?
12340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12341 yes:no: )
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12346 ac_header_preproc=yes
12348 no:yes:* )
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12361 ( cat <<\_ASBOX
12362 ## ------------------------------------ ##
12363 ## Report this to wine-devel@winehq.org ##
12364 ## ------------------------------------ ##
12365 _ASBOX
12366 ) | sed "s/^/$as_me: WARNING: /" >&2
12368 esac
12369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12373 else
12374 eval "$as_ac_Header=\$ac_header_preproc"
12376 ac_res=`eval echo '${'$as_ac_Header'}'`
12377 { echo "$as_me:$LINENO: result: $ac_res" >&5
12378 echo "${ECHO_T}$ac_res" >&6; }
12381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12382 cat >>confdefs.h <<_ACEOF
12383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12384 _ACEOF
12388 done
12390 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12391 then
12392 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12393 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12394 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 else
12397 ac_check_lib_save_LIBS=$LIBS
12398 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12399 cat >conftest.$ac_ext <<_ACEOF
12400 /* confdefs.h. */
12401 _ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12409 #ifdef __cplusplus
12410 extern "C"
12411 #endif
12412 char dbus_connection_close ();
12414 main ()
12416 return dbus_connection_close ();
12418 return 0;
12420 _ACEOF
12421 rm -f conftest.$ac_objext conftest$ac_exeext
12422 if { (ac_try="$ac_link"
12423 case "(($ac_try" in
12424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12425 *) ac_try_echo=$ac_try;;
12426 esac
12427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12428 (eval "$ac_link") 2>conftest.er1
12429 ac_status=$?
12430 grep -v '^ *+' conftest.er1 >conftest.err
12431 rm -f conftest.er1
12432 cat conftest.err >&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } && {
12435 test -z "$ac_c_werror_flag" ||
12436 test ! -s conftest.err
12437 } && test -s conftest$ac_exeext &&
12438 $as_test_x conftest$ac_exeext; then
12439 ac_cv_lib_dbus_1_dbus_connection_close=yes
12440 else
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.$ac_ext >&5
12444 ac_cv_lib_dbus_1_dbus_connection_close=no
12447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12448 conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_lib_save_LIBS
12451 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12452 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12453 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12454 { echo "$as_me:$LINENO: checking for -lhal" >&5
12455 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12456 if test "${ac_cv_lib_soname_hal+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 else
12459 ac_check_soname_save_LIBS=$LIBS
12460 LIBS="-lhal $ac_hal_libs $LIBS"
12461 cat >conftest.$ac_ext <<_ACEOF
12462 /* confdefs.h. */
12463 _ACEOF
12464 cat confdefs.h >>conftest.$ac_ext
12465 cat >>conftest.$ac_ext <<_ACEOF
12466 /* end confdefs.h. */
12468 /* Override any GCC internal prototype to avoid an error.
12469 Use char because int might match the return type of a GCC
12470 builtin and then its argument prototype would still apply. */
12471 #ifdef __cplusplus
12472 extern "C"
12473 #endif
12474 char libhal_ctx_new ();
12476 main ()
12478 return libhal_ctx_new ();
12480 return 0;
12482 _ACEOF
12483 rm -f conftest.$ac_objext conftest$ac_exeext
12484 if { (ac_try="$ac_link"
12485 case "(($ac_try" in
12486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12487 *) ac_try_echo=$ac_try;;
12488 esac
12489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12490 (eval "$ac_link") 2>conftest.er1
12491 ac_status=$?
12492 grep -v '^ *+' conftest.er1 >conftest.err
12493 rm -f conftest.er1
12494 cat conftest.err >&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } && {
12497 test -z "$ac_c_werror_flag" ||
12498 test ! -s conftest.err
12499 } && test -s conftest$ac_exeext &&
12500 $as_test_x conftest$ac_exeext; then
12501 case "$LIBEXT" in
12502 dll) ;;
12503 dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12504 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12505 esac
12506 else
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.$ac_ext >&5
12513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12514 conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_soname_save_LIBS
12517 if test "x$ac_cv_lib_soname_hal" = "x"; then
12518 { echo "$as_me:$LINENO: result: not found" >&5
12519 echo "${ECHO_T}not found" >&6; }
12521 else
12522 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12523 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12525 cat >>confdefs.h <<_ACEOF
12526 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12527 _ACEOF
12529 HALINCL="$ac_hal_cflags"
12535 CPPFLAGS="$ac_save_CPPFLAGS"
12537 if test "x$ac_cv_lib_soname_hal" = "x"; then
12538 case "x$with_hal" in
12539 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12540 xno) ;;
12541 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12542 This is an error since --with-hal was requested." >&5
12543 echo "$as_me: error: libhal development files not found, no dynamic device support.
12544 This is an error since --with-hal was requested." >&2;}
12545 { (exit 1); exit 1; }; } ;;
12546 esac
12550 CURSESLIBS=""
12551 if test "$ac_cv_header_ncurses_h" = "yes"
12552 then
12553 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12554 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12555 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12556 echo $ECHO_N "(cached) $ECHO_C" >&6
12557 else
12558 ac_check_soname_save_LIBS=$LIBS
12559 LIBS="-lncurses $LIBS"
12560 cat >conftest.$ac_ext <<_ACEOF
12561 /* confdefs.h. */
12562 _ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12567 /* Override any GCC internal prototype to avoid an error.
12568 Use char because int might match the return type of a GCC
12569 builtin and then its argument prototype would still apply. */
12570 #ifdef __cplusplus
12571 extern "C"
12572 #endif
12573 char waddch ();
12575 main ()
12577 return waddch ();
12579 return 0;
12581 _ACEOF
12582 rm -f conftest.$ac_objext conftest$ac_exeext
12583 if { (ac_try="$ac_link"
12584 case "(($ac_try" in
12585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12586 *) ac_try_echo=$ac_try;;
12587 esac
12588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12589 (eval "$ac_link") 2>conftest.er1
12590 ac_status=$?
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_c_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest$ac_exeext &&
12599 $as_test_x conftest$ac_exeext; then
12600 case "$LIBEXT" in
12601 dll) ;;
12602 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12603 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12604 esac
12605 else
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.$ac_ext >&5
12612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12613 conftest$ac_exeext conftest.$ac_ext
12614 LIBS=$ac_check_soname_save_LIBS
12616 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12617 { echo "$as_me:$LINENO: result: not found" >&5
12618 echo "${ECHO_T}not found" >&6; }
12620 else
12621 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12622 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12624 cat >>confdefs.h <<_ACEOF
12625 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12626 _ACEOF
12628 CURSESLIBS="-lncurses"
12631 elif test "$ac_cv_header_curses_h" = "yes"
12632 then
12633 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12634 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12635 if test "${ac_cv_lib_soname_curses+set}" = set; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 else
12638 ac_check_soname_save_LIBS=$LIBS
12639 LIBS="-lcurses $LIBS"
12640 cat >conftest.$ac_ext <<_ACEOF
12641 /* confdefs.h. */
12642 _ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12650 #ifdef __cplusplus
12651 extern "C"
12652 #endif
12653 char waddch ();
12655 main ()
12657 return waddch ();
12659 return 0;
12661 _ACEOF
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (ac_try="$ac_link"
12664 case "(($ac_try" in
12665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 *) ac_try_echo=$ac_try;;
12667 esac
12668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669 (eval "$ac_link") 2>conftest.er1
12670 ac_status=$?
12671 grep -v '^ *+' conftest.er1 >conftest.err
12672 rm -f conftest.er1
12673 cat conftest.err >&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); } && {
12676 test -z "$ac_c_werror_flag" ||
12677 test ! -s conftest.err
12678 } && test -s conftest$ac_exeext &&
12679 $as_test_x conftest$ac_exeext; then
12680 case "$LIBEXT" in
12681 dll) ;;
12682 dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12683 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12684 esac
12685 else
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_soname_save_LIBS
12696 if test "x$ac_cv_lib_soname_curses" = "x"; then
12697 { echo "$as_me:$LINENO: result: not found" >&5
12698 echo "${ECHO_T}not found" >&6; }
12700 else
12701 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12702 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12704 cat >>confdefs.h <<_ACEOF
12705 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12706 _ACEOF
12708 CURSESLIBS="-lcurses"
12712 ac_save_LIBS="$LIBS"
12713 LIBS="$LIBS $CURSESLIBS"
12715 for ac_func in mousemask
12717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 else
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12731 #define $ac_func innocuous_$ac_func
12733 /* System header to define __stub macros and hopefully few prototypes,
12734 which can conflict with char $ac_func (); below.
12735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12736 <limits.h> exists even on freestanding compilers. */
12738 #ifdef __STDC__
12739 # include <limits.h>
12740 #else
12741 # include <assert.h>
12742 #endif
12744 #undef $ac_func
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12749 #ifdef __cplusplus
12750 extern "C"
12751 #endif
12752 char $ac_func ();
12753 /* The GNU C library defines this for functions which it implements
12754 to always fail with ENOSYS. Some functions are actually named
12755 something starting with __ and the normal name is an alias. */
12756 #if defined __stub_$ac_func || defined __stub___$ac_func
12757 choke me
12758 #endif
12761 main ()
12763 return $ac_func ();
12765 return 0;
12767 _ACEOF
12768 rm -f conftest.$ac_objext conftest$ac_exeext
12769 if { (ac_try="$ac_link"
12770 case "(($ac_try" in
12771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12772 *) ac_try_echo=$ac_try;;
12773 esac
12774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12775 (eval "$ac_link") 2>conftest.er1
12776 ac_status=$?
12777 grep -v '^ *+' conftest.er1 >conftest.err
12778 rm -f conftest.er1
12779 cat conftest.err >&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); } && {
12782 test -z "$ac_c_werror_flag" ||
12783 test ! -s conftest.err
12784 } && test -s conftest$ac_exeext &&
12785 $as_test_x conftest$ac_exeext; then
12786 eval "$as_ac_var=yes"
12787 else
12788 echo "$as_me: failed program was:" >&5
12789 sed 's/^/| /' conftest.$ac_ext >&5
12791 eval "$as_ac_var=no"
12794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12795 conftest$ac_exeext conftest.$ac_ext
12797 ac_res=`eval echo '${'$as_ac_var'}'`
12798 { echo "$as_me:$LINENO: result: $ac_res" >&5
12799 echo "${ECHO_T}$ac_res" >&6; }
12800 if test `eval echo '${'$as_ac_var'}'` = yes; then
12801 cat >>confdefs.h <<_ACEOF
12802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12803 _ACEOF
12806 done
12808 LIBS="$ac_save_LIBS"
12809 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12810 case "x$with_curses" in
12811 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12812 xno) ;;
12813 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12814 This is an error since --with-curses was requested." >&5
12815 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12816 This is an error since --with-curses was requested." >&2;}
12817 { (exit 1); exit 1; }; } ;;
12818 esac
12822 # Extract the first word of "sane-config", so it can be a program name with args.
12823 set dummy sane-config; ac_word=$2
12824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12826 if test "${ac_cv_prog_sane_devel+set}" = set; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12828 else
12829 if test -n "$sane_devel"; then
12830 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12831 else
12832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12833 for as_dir in $PATH
12835 IFS=$as_save_IFS
12836 test -z "$as_dir" && as_dir=.
12837 for ac_exec_ext in '' $ac_executable_extensions; do
12838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12839 ac_cv_prog_sane_devel="sane-config"
12840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12841 break 2
12843 done
12844 done
12845 IFS=$as_save_IFS
12847 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12850 sane_devel=$ac_cv_prog_sane_devel
12851 if test -n "$sane_devel"; then
12852 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12853 echo "${ECHO_T}$sane_devel" >&6; }
12854 else
12855 { echo "$as_me:$LINENO: result: no" >&5
12856 echo "${ECHO_T}no" >&6; }
12860 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12861 then
12862 ac_sane_incl="`$sane_devel --cflags`"
12863 ac_save_CPPFLAGS="$CPPFLAGS"
12864 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12865 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12866 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12867 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12868 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12872 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12873 else
12874 # Is the header compilable?
12875 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12876 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12877 cat >conftest.$ac_ext <<_ACEOF
12878 /* confdefs.h. */
12879 _ACEOF
12880 cat confdefs.h >>conftest.$ac_ext
12881 cat >>conftest.$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 $ac_includes_default
12884 #include <sane/sane.h>
12885 _ACEOF
12886 rm -f conftest.$ac_objext
12887 if { (ac_try="$ac_compile"
12888 case "(($ac_try" in
12889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12890 *) ac_try_echo=$ac_try;;
12891 esac
12892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12893 (eval "$ac_compile") 2>conftest.er1
12894 ac_status=$?
12895 grep -v '^ *+' conftest.er1 >conftest.err
12896 rm -f conftest.er1
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } && {
12900 test -z "$ac_c_werror_flag" ||
12901 test ! -s conftest.err
12902 } && test -s conftest.$ac_objext; then
12903 ac_header_compiler=yes
12904 else
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12908 ac_header_compiler=no
12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12913 echo "${ECHO_T}$ac_header_compiler" >&6; }
12915 # Is the header present?
12916 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12917 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12918 cat >conftest.$ac_ext <<_ACEOF
12919 /* confdefs.h. */
12920 _ACEOF
12921 cat confdefs.h >>conftest.$ac_ext
12922 cat >>conftest.$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 #include <sane/sane.h>
12925 _ACEOF
12926 if { (ac_try="$ac_cpp conftest.$ac_ext"
12927 case "(($ac_try" in
12928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12929 *) ac_try_echo=$ac_try;;
12930 esac
12931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12933 ac_status=$?
12934 grep -v '^ *+' conftest.er1 >conftest.err
12935 rm -f conftest.er1
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } >/dev/null && {
12939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12940 test ! -s conftest.err
12941 }; then
12942 ac_header_preproc=yes
12943 else
12944 echo "$as_me: failed program was:" >&5
12945 sed 's/^/| /' conftest.$ac_ext >&5
12947 ac_header_preproc=no
12950 rm -f conftest.err conftest.$ac_ext
12951 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12952 echo "${ECHO_T}$ac_header_preproc" >&6; }
12954 # So? What about this header?
12955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12956 yes:no: )
12957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12958 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12960 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12961 ac_header_preproc=yes
12963 no:yes:* )
12964 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12965 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12967 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12969 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12971 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12972 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12973 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12974 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12975 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12976 ( cat <<\_ASBOX
12977 ## ------------------------------------ ##
12978 ## Report this to wine-devel@winehq.org ##
12979 ## ------------------------------------ ##
12980 _ASBOX
12981 ) | sed "s/^/$as_me: WARNING: /" >&2
12983 esac
12984 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12985 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12986 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 else
12989 ac_cv_header_sane_sane_h=$ac_header_preproc
12991 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12992 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12995 if test $ac_cv_header_sane_sane_h = yes; then
12996 { echo "$as_me:$LINENO: checking for -lsane" >&5
12997 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12998 if test "${ac_cv_lib_soname_sane+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 else
13001 ac_check_soname_save_LIBS=$LIBS
13002 LIBS="-lsane $LIBS"
13003 cat >conftest.$ac_ext <<_ACEOF
13004 /* confdefs.h. */
13005 _ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13013 #ifdef __cplusplus
13014 extern "C"
13015 #endif
13016 char sane_init ();
13018 main ()
13020 return sane_init ();
13022 return 0;
13024 _ACEOF
13025 rm -f conftest.$ac_objext conftest$ac_exeext
13026 if { (ac_try="$ac_link"
13027 case "(($ac_try" in
13028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13029 *) ac_try_echo=$ac_try;;
13030 esac
13031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13032 (eval "$ac_link") 2>conftest.er1
13033 ac_status=$?
13034 grep -v '^ *+' conftest.er1 >conftest.err
13035 rm -f conftest.er1
13036 cat conftest.err >&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } && {
13039 test -z "$ac_c_werror_flag" ||
13040 test ! -s conftest.err
13041 } && test -s conftest$ac_exeext &&
13042 $as_test_x conftest$ac_exeext; then
13043 case "$LIBEXT" in
13044 dll) ;;
13045 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13046 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13047 esac
13048 else
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.$ac_ext >&5
13055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_soname_save_LIBS
13059 if test "x$ac_cv_lib_soname_sane" = "x"; then
13060 { echo "$as_me:$LINENO: result: not found" >&5
13061 echo "${ECHO_T}not found" >&6; }
13063 else
13064 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13065 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13067 cat >>confdefs.h <<_ACEOF
13068 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13069 _ACEOF
13071 SANEINCL="$ac_sane_incl"
13078 CPPFLAGS="$ac_save_CPPFLAGS"
13080 if test "x$ac_cv_lib_soname_sane" = "x"; then
13081 case "x$with_sane" in
13082 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13083 xno) ;;
13084 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13085 This is an error since --with-sane was requested." >&5
13086 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13087 This is an error since --with-sane was requested." >&2;}
13088 { (exit 1); exit 1; }; } ;;
13089 esac
13093 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13094 set dummy gphoto2-config; ac_word=$2
13095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13097 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 else
13100 if test -n "$gphoto2_devel"; then
13101 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13102 else
13103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13104 for as_dir in $PATH
13106 IFS=$as_save_IFS
13107 test -z "$as_dir" && as_dir=.
13108 for ac_exec_ext in '' $ac_executable_extensions; do
13109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13110 ac_cv_prog_gphoto2_devel="gphoto2-config"
13111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13112 break 2
13114 done
13115 done
13116 IFS=$as_save_IFS
13118 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13121 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13122 if test -n "$gphoto2_devel"; then
13123 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13124 echo "${ECHO_T}$gphoto2_devel" >&6; }
13125 else
13126 { echo "$as_me:$LINENO: result: no" >&5
13127 echo "${ECHO_T}no" >&6; }
13131 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13132 set dummy gphoto2-port-config; ac_word=$2
13133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13135 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13137 else
13138 if test -n "$gphoto2port_devel"; then
13139 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13140 else
13141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13142 for as_dir in $PATH
13144 IFS=$as_save_IFS
13145 test -z "$as_dir" && as_dir=.
13146 for ac_exec_ext in '' $ac_executable_extensions; do
13147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13148 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13150 break 2
13152 done
13153 done
13154 IFS=$as_save_IFS
13156 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13159 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13160 if test -n "$gphoto2port_devel"; then
13161 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13162 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13163 else
13164 { echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6; }
13169 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13170 then
13171 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13172 ac_gphoto2_libs=""
13173 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13175 case "$i" in
13176 -L/usr/lib|-L/usr/lib64) ;;
13177 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13178 esac
13179 done
13180 ac_save_CPPFLAGS="$CPPFLAGS"
13181 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13182 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13183 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13184 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13185 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13189 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13190 else
13191 # Is the header compilable?
13192 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13193 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 $ac_includes_default
13201 #include <gphoto2-camera.h>
13202 _ACEOF
13203 rm -f conftest.$ac_objext
13204 if { (ac_try="$ac_compile"
13205 case "(($ac_try" in
13206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13208 esac
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_compile") 2>conftest.er1
13211 ac_status=$?
13212 grep -v '^ *+' conftest.er1 >conftest.err
13213 rm -f conftest.er1
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } && {
13217 test -z "$ac_c_werror_flag" ||
13218 test ! -s conftest.err
13219 } && test -s conftest.$ac_objext; then
13220 ac_header_compiler=yes
13221 else
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13225 ac_header_compiler=no
13228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13230 echo "${ECHO_T}$ac_header_compiler" >&6; }
13232 # Is the header present?
13233 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13234 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13235 cat >conftest.$ac_ext <<_ACEOF
13236 /* confdefs.h. */
13237 _ACEOF
13238 cat confdefs.h >>conftest.$ac_ext
13239 cat >>conftest.$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13241 #include <gphoto2-camera.h>
13242 _ACEOF
13243 if { (ac_try="$ac_cpp conftest.$ac_ext"
13244 case "(($ac_try" in
13245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246 *) ac_try_echo=$ac_try;;
13247 esac
13248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev/null && {
13256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13257 test ! -s conftest.err
13258 }; then
13259 ac_header_preproc=yes
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13264 ac_header_preproc=no
13267 rm -f conftest.err conftest.$ac_ext
13268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13269 echo "${ECHO_T}$ac_header_preproc" >&6; }
13271 # So? What about this header?
13272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13273 yes:no: )
13274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13275 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13277 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13278 ac_header_preproc=yes
13280 no:yes:* )
13281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13282 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13283 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13284 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13285 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13286 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13288 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13290 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13292 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13293 ( cat <<\_ASBOX
13294 ## ------------------------------------ ##
13295 ## Report this to wine-devel@winehq.org ##
13296 ## ------------------------------------ ##
13297 _ASBOX
13298 ) | sed "s/^/$as_me: WARNING: /" >&2
13300 esac
13301 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13302 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13303 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 else
13306 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13308 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13309 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13312 if test $ac_cv_header_gphoto2_camera_h = yes; then
13313 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13314 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13315 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 else
13318 ac_check_lib_save_LIBS=$LIBS
13319 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13320 cat >conftest.$ac_ext <<_ACEOF
13321 /* confdefs.h. */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13330 #ifdef __cplusplus
13331 extern "C"
13332 #endif
13333 char gp_camera_new ();
13335 main ()
13337 return gp_camera_new ();
13339 return 0;
13341 _ACEOF
13342 rm -f conftest.$ac_objext conftest$ac_exeext
13343 if { (ac_try="$ac_link"
13344 case "(($ac_try" in
13345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13346 *) ac_try_echo=$ac_try;;
13347 esac
13348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13349 (eval "$ac_link") 2>conftest.er1
13350 ac_status=$?
13351 grep -v '^ *+' conftest.er1 >conftest.err
13352 rm -f conftest.er1
13353 cat conftest.err >&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } && {
13356 test -z "$ac_c_werror_flag" ||
13357 test ! -s conftest.err
13358 } && test -s conftest$ac_exeext &&
13359 $as_test_x conftest$ac_exeext; then
13360 ac_cv_lib_gphoto2_gp_camera_new=yes
13361 else
13362 echo "$as_me: failed program was:" >&5
13363 sed 's/^/| /' conftest.$ac_ext >&5
13365 ac_cv_lib_gphoto2_gp_camera_new=no
13368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13373 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13374 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13376 cat >>confdefs.h <<\_ACEOF
13377 #define HAVE_GPHOTO2 1
13378 _ACEOF
13380 GPHOTO2LIBS="$ac_gphoto2_libs"
13382 GPHOTO2INCL="$ac_gphoto2_incl"
13389 CPPFLAGS="$ac_save_CPPFLAGS"
13391 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13392 case "x$with_gphoto" in
13393 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13394 xno) ;;
13395 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13396 This is an error since --with-gphoto was requested." >&5
13397 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13398 This is an error since --with-gphoto was requested." >&2;}
13399 { (exit 1); exit 1; }; } ;;
13400 esac
13405 RESOLVLIBS=""
13407 if test "$ac_cv_header_resolv_h" = "yes"
13408 then
13409 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13410 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13411 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-lresolv $LIBS"
13416 cat >conftest.$ac_ext <<_ACEOF
13417 /* confdefs.h. */
13418 _ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 #ifdef __cplusplus
13427 extern "C"
13428 #endif
13429 char res_query ();
13431 main ()
13433 return res_query ();
13435 return 0;
13437 _ACEOF
13438 rm -f conftest.$ac_objext conftest$ac_exeext
13439 if { (ac_try="$ac_link"
13440 case "(($ac_try" in
13441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13443 esac
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_link") 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest$ac_exeext &&
13455 $as_test_x conftest$ac_exeext; then
13456 ac_cv_lib_resolv_res_query=yes
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_lib_resolv_res_query=no
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_lib_save_LIBS
13468 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13469 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13470 if test $ac_cv_lib_resolv_res_query = yes; then
13472 cat >>confdefs.h <<\_ACEOF
13473 #define HAVE_RESOLV 1
13474 _ACEOF
13476 RESOLVLIBS="-lresolv"
13481 LCMSLIBS=""
13483 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13484 then
13485 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13486 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13487 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 else
13490 ac_check_lib_save_LIBS=$LIBS
13491 LIBS="-llcms $LIBS"
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13502 #ifdef __cplusplus
13503 extern "C"
13504 #endif
13505 char cmsOpenProfileFromFile ();
13507 main ()
13509 return cmsOpenProfileFromFile ();
13511 return 0;
13513 _ACEOF
13514 rm -f conftest.$ac_objext conftest$ac_exeext
13515 if { (ac_try="$ac_link"
13516 case "(($ac_try" in
13517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13518 *) ac_try_echo=$ac_try;;
13519 esac
13520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13521 (eval "$ac_link") 2>conftest.er1
13522 ac_status=$?
13523 grep -v '^ *+' conftest.er1 >conftest.err
13524 rm -f conftest.er1
13525 cat conftest.err >&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } && {
13528 test -z "$ac_c_werror_flag" ||
13529 test ! -s conftest.err
13530 } && test -s conftest$ac_exeext &&
13531 $as_test_x conftest$ac_exeext; then
13532 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13533 else
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13537 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13541 conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_lib_save_LIBS
13544 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13545 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13546 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13548 cat >>confdefs.h <<\_ACEOF
13549 #define HAVE_LCMS 1
13550 _ACEOF
13552 LCMSLIBS="-llcms"
13556 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13557 case "x$with_cms" in
13558 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13559 xno) ;;
13560 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13561 This is an error since --with-cms was requested." >&5
13562 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13563 This is an error since --with-cms was requested." >&2;}
13564 { (exit 1); exit 1; }; } ;;
13565 esac
13569 LDAPLIBS=""
13571 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13572 then
13573 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13574 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13575 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 else
13578 ac_check_lib_save_LIBS=$LIBS
13579 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13580 cat >conftest.$ac_ext <<_ACEOF
13581 /* confdefs.h. */
13582 _ACEOF
13583 cat confdefs.h >>conftest.$ac_ext
13584 cat >>conftest.$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13587 /* Override any GCC internal prototype to avoid an error.
13588 Use char because int might match the return type of a GCC
13589 builtin and then its argument prototype would still apply. */
13590 #ifdef __cplusplus
13591 extern "C"
13592 #endif
13593 char ldap_initialize ();
13595 main ()
13597 return ldap_initialize ();
13599 return 0;
13601 _ACEOF
13602 rm -f conftest.$ac_objext conftest$ac_exeext
13603 if { (ac_try="$ac_link"
13604 case "(($ac_try" in
13605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13606 *) ac_try_echo=$ac_try;;
13607 esac
13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13609 (eval "$ac_link") 2>conftest.er1
13610 ac_status=$?
13611 grep -v '^ *+' conftest.er1 >conftest.err
13612 rm -f conftest.er1
13613 cat conftest.err >&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } && {
13616 test -z "$ac_c_werror_flag" ||
13617 test ! -s conftest.err
13618 } && test -s conftest$ac_exeext &&
13619 $as_test_x conftest$ac_exeext; then
13620 ac_cv_lib_ldap_r_ldap_initialize=yes
13621 else
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13625 ac_cv_lib_ldap_r_ldap_initialize=no
13628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_lib_save_LIBS
13632 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13633 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13634 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13635 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13636 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13637 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 else
13640 ac_check_lib_save_LIBS=$LIBS
13641 LIBS="-llber $LIBPTHREAD $LIBS"
13642 cat >conftest.$ac_ext <<_ACEOF
13643 /* confdefs.h. */
13644 _ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13649 /* Override any GCC internal prototype to avoid an error.
13650 Use char because int might match the return type of a GCC
13651 builtin and then its argument prototype would still apply. */
13652 #ifdef __cplusplus
13653 extern "C"
13654 #endif
13655 char ber_init ();
13657 main ()
13659 return ber_init ();
13661 return 0;
13663 _ACEOF
13664 rm -f conftest.$ac_objext conftest$ac_exeext
13665 if { (ac_try="$ac_link"
13666 case "(($ac_try" in
13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 *) ac_try_echo=$ac_try;;
13669 esac
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_link") 2>conftest.er1
13672 ac_status=$?
13673 grep -v '^ *+' conftest.er1 >conftest.err
13674 rm -f conftest.er1
13675 cat conftest.err >&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } && {
13678 test -z "$ac_c_werror_flag" ||
13679 test ! -s conftest.err
13680 } && test -s conftest$ac_exeext &&
13681 $as_test_x conftest$ac_exeext; then
13682 ac_cv_lib_lber_ber_init=yes
13683 else
13684 echo "$as_me: failed program was:" >&5
13685 sed 's/^/| /' conftest.$ac_ext >&5
13687 ac_cv_lib_lber_ber_init=no
13690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13691 conftest$ac_exeext conftest.$ac_ext
13692 LIBS=$ac_check_lib_save_LIBS
13694 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13695 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13696 if test $ac_cv_lib_lber_ber_init = yes; then
13698 cat >>confdefs.h <<\_ACEOF
13699 #define HAVE_LDAP 1
13700 _ACEOF
13702 LDAPLIBS="-lldap_r -llber"
13707 ac_wine_check_funcs_save_LIBS="$LIBS"
13708 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13717 for ac_func in \
13718 ldap_count_references \
13719 ldap_first_reference \
13720 ldap_next_reference \
13721 ldap_parse_reference \
13722 ldap_parse_sort_control \
13723 ldap_parse_sortresponse_control \
13724 ldap_parse_vlv_control \
13725 ldap_parse_vlvresponse_control
13727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 else
13733 cat >conftest.$ac_ext <<_ACEOF
13734 /* confdefs.h. */
13735 _ACEOF
13736 cat confdefs.h >>conftest.$ac_ext
13737 cat >>conftest.$ac_ext <<_ACEOF
13738 /* end confdefs.h. */
13739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13741 #define $ac_func innocuous_$ac_func
13743 /* System header to define __stub macros and hopefully few prototypes,
13744 which can conflict with char $ac_func (); below.
13745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13746 <limits.h> exists even on freestanding compilers. */
13748 #ifdef __STDC__
13749 # include <limits.h>
13750 #else
13751 # include <assert.h>
13752 #endif
13754 #undef $ac_func
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13759 #ifdef __cplusplus
13760 extern "C"
13761 #endif
13762 char $ac_func ();
13763 /* The GNU C library defines this for functions which it implements
13764 to always fail with ENOSYS. Some functions are actually named
13765 something starting with __ and the normal name is an alias. */
13766 #if defined __stub_$ac_func || defined __stub___$ac_func
13767 choke me
13768 #endif
13771 main ()
13773 return $ac_func ();
13775 return 0;
13777 _ACEOF
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (ac_try="$ac_link"
13780 case "(($ac_try" in
13781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;;
13783 esac
13784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785 (eval "$ac_link") 2>conftest.er1
13786 ac_status=$?
13787 grep -v '^ *+' conftest.er1 >conftest.err
13788 rm -f conftest.er1
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } && {
13792 test -z "$ac_c_werror_flag" ||
13793 test ! -s conftest.err
13794 } && test -s conftest$ac_exeext &&
13795 $as_test_x conftest$ac_exeext; then
13796 eval "$as_ac_var=yes"
13797 else
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13801 eval "$as_ac_var=no"
13804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13805 conftest$ac_exeext conftest.$ac_ext
13807 ac_res=`eval echo '${'$as_ac_var'}'`
13808 { echo "$as_me:$LINENO: result: $ac_res" >&5
13809 echo "${ECHO_T}$ac_res" >&6; }
13810 if test `eval echo '${'$as_ac_var'}'` = yes; then
13811 cat >>confdefs.h <<_ACEOF
13812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13813 _ACEOF
13816 done
13818 LIBS="$ac_wine_check_funcs_save_LIBS"
13820 if test "x$LDAPLIBS" = "x"; then
13821 case "x$with_ldap" in
13822 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13823 xno) ;;
13824 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13825 This is an error since --with-ldap was requested." >&5
13826 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13827 This is an error since --with-ldap was requested." >&2;}
13828 { (exit 1); exit 1; }; } ;;
13829 esac
13833 for ac_prog in freetype-config freetype2-config
13835 # Extract the first word of "$ac_prog", so it can be a program name with args.
13836 set dummy $ac_prog; ac_word=$2
13837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13839 if test "${ac_cv_prog_ft_devel+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 else
13842 if test -n "$ft_devel"; then
13843 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13844 else
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13848 IFS=$as_save_IFS
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13852 ac_cv_prog_ft_devel="$ac_prog"
13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 break 2
13856 done
13857 done
13858 IFS=$as_save_IFS
13862 ft_devel=$ac_cv_prog_ft_devel
13863 if test -n "$ft_devel"; then
13864 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13865 echo "${ECHO_T}$ft_devel" >&6; }
13866 else
13867 { echo "$as_me:$LINENO: result: no" >&5
13868 echo "${ECHO_T}no" >&6; }
13872 test -n "$ft_devel" && break
13873 done
13874 test -n "$ft_devel" || ft_devel="false"
13876 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13877 then
13878 ac_freetype_libs=`$ft_devel --libs`
13879 ac_freetype_incl=`$ft_devel --cflags`
13880 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13881 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13882 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13884 else
13885 ac_check_soname_save_LIBS=$LIBS
13886 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13887 cat >conftest.$ac_ext <<_ACEOF
13888 /* confdefs.h. */
13889 _ACEOF
13890 cat confdefs.h >>conftest.$ac_ext
13891 cat >>conftest.$ac_ext <<_ACEOF
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13897 #ifdef __cplusplus
13898 extern "C"
13899 #endif
13900 char FT_Init_FreeType ();
13902 main ()
13904 return FT_Init_FreeType ();
13906 return 0;
13908 _ACEOF
13909 rm -f conftest.$ac_objext conftest$ac_exeext
13910 if { (ac_try="$ac_link"
13911 case "(($ac_try" in
13912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13913 *) ac_try_echo=$ac_try;;
13914 esac
13915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13916 (eval "$ac_link") 2>conftest.er1
13917 ac_status=$?
13918 grep -v '^ *+' conftest.er1 >conftest.err
13919 rm -f conftest.er1
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } && {
13923 test -z "$ac_c_werror_flag" ||
13924 test ! -s conftest.err
13925 } && test -s conftest$ac_exeext &&
13926 $as_test_x conftest$ac_exeext; then
13927 case "$LIBEXT" in
13928 dll) ;;
13929 dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep "libfreetype\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13930 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13931 esac
13932 else
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_check_soname_save_LIBS
13943 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13944 { echo "$as_me:$LINENO: result: not found" >&5
13945 echo "${ECHO_T}not found" >&6; }
13946 ft_lib=no
13947 else
13948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13949 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13951 cat >>confdefs.h <<_ACEOF
13952 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13953 _ACEOF
13955 ft_lib=yes
13958 if test "$ft_lib" = "yes"
13959 then
13960 ac_save_CPPFLAGS="$CPPFLAGS"
13961 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13974 for ac_header in ft2build.h \
13975 freetype/freetype.h \
13976 freetype/ftglyph.h \
13977 freetype/fttypes.h \
13978 freetype/tttables.h \
13979 freetype/ftnames.h \
13980 freetype/ftsnames.h \
13981 freetype/ttnameid.h \
13982 freetype/ftoutln.h \
13983 freetype/ftwinfnt.h \
13984 freetype/ftmodapi.h \
13985 freetype/internal/sfnt.h
13987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13993 cat >conftest.$ac_ext <<_ACEOF
13994 /* confdefs.h. */
13995 _ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 #ifdef HAVE_FT2BUILD_H
14000 # include <ft2build.h>
14001 #endif
14003 #include <$ac_header>
14004 _ACEOF
14005 rm -f conftest.$ac_objext
14006 if { (ac_try="$ac_compile"
14007 case "(($ac_try" in
14008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14009 *) ac_try_echo=$ac_try;;
14010 esac
14011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14012 (eval "$ac_compile") 2>conftest.er1
14013 ac_status=$?
14014 grep -v '^ *+' conftest.er1 >conftest.err
14015 rm -f conftest.er1
14016 cat conftest.err >&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } && {
14019 test -z "$ac_c_werror_flag" ||
14020 test ! -s conftest.err
14021 } && test -s conftest.$ac_objext; then
14022 eval "$as_ac_Header=yes"
14023 else
14024 echo "$as_me: failed program was:" >&5
14025 sed 's/^/| /' conftest.$ac_ext >&5
14027 eval "$as_ac_Header=no"
14030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14032 ac_res=`eval echo '${'$as_ac_Header'}'`
14033 { echo "$as_me:$LINENO: result: $ac_res" >&5
14034 echo "${ECHO_T}$ac_res" >&6; }
14035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14036 cat >>confdefs.h <<_ACEOF
14037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14038 _ACEOF
14042 done
14044 cat >conftest.$ac_ext <<_ACEOF
14045 /* confdefs.h. */
14046 _ACEOF
14047 cat confdefs.h >>conftest.$ac_ext
14048 cat >>conftest.$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 #include <ft2build.h>
14051 #include <freetype/fttrigon.h>
14052 _ACEOF
14053 if { (ac_try="$ac_cpp conftest.$ac_ext"
14054 case "(($ac_try" in
14055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14056 *) ac_try_echo=$ac_try;;
14057 esac
14058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14060 ac_status=$?
14061 grep -v '^ *+' conftest.er1 >conftest.err
14062 rm -f conftest.er1
14063 cat conftest.err >&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); } >/dev/null && {
14066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14067 test ! -s conftest.err
14068 }; then
14070 cat >>confdefs.h <<\_ACEOF
14071 #define HAVE_FREETYPE_FTTRIGON_H 1
14072 _ACEOF
14074 wine_cv_fttrigon=yes
14075 else
14076 echo "$as_me: failed program was:" >&5
14077 sed 's/^/| /' conftest.$ac_ext >&5
14079 wine_cv_fttrigon=no
14082 rm -f conftest.err conftest.$ac_ext
14083 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14084 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14085 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 else
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 #include <freetype/ftmodapi.h>
14096 typedef FT_TrueTypeEngineType ac__type_new_;
14098 main ()
14100 if ((ac__type_new_ *) 0)
14101 return 0;
14102 if (sizeof (ac__type_new_))
14103 return 0;
14105 return 0;
14107 _ACEOF
14108 rm -f conftest.$ac_objext
14109 if { (ac_try="$ac_compile"
14110 case "(($ac_try" in
14111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14112 *) ac_try_echo=$ac_try;;
14113 esac
14114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14115 (eval "$ac_compile") 2>conftest.er1
14116 ac_status=$?
14117 grep -v '^ *+' conftest.er1 >conftest.err
14118 rm -f conftest.er1
14119 cat conftest.err >&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } && {
14122 test -z "$ac_c_werror_flag" ||
14123 test ! -s conftest.err
14124 } && test -s conftest.$ac_objext; then
14125 ac_cv_type_FT_TrueTypeEngineType=yes
14126 else
14127 echo "$as_me: failed program was:" >&5
14128 sed 's/^/| /' conftest.$ac_ext >&5
14130 ac_cv_type_FT_TrueTypeEngineType=no
14133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14136 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14137 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14139 cat >>confdefs.h <<_ACEOF
14140 #define HAVE_FT_TRUETYPEENGINETYPE 1
14141 _ACEOF
14146 ac_save_CFLAGS="$CFLAGS"
14147 CFLAGS="$CFLAGS $ac_freetype_libs"
14149 for ac_func in FT_Load_Sfnt_Table
14151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14154 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 else
14157 cat >conftest.$ac_ext <<_ACEOF
14158 /* confdefs.h. */
14159 _ACEOF
14160 cat confdefs.h >>conftest.$ac_ext
14161 cat >>conftest.$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14165 #define $ac_func innocuous_$ac_func
14167 /* System header to define __stub macros and hopefully few prototypes,
14168 which can conflict with char $ac_func (); below.
14169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14170 <limits.h> exists even on freestanding compilers. */
14172 #ifdef __STDC__
14173 # include <limits.h>
14174 #else
14175 # include <assert.h>
14176 #endif
14178 #undef $ac_func
14180 /* Override any GCC internal prototype to avoid an error.
14181 Use char because int might match the return type of a GCC
14182 builtin and then its argument prototype would still apply. */
14183 #ifdef __cplusplus
14184 extern "C"
14185 #endif
14186 char $ac_func ();
14187 /* The GNU C library defines this for functions which it implements
14188 to always fail with ENOSYS. Some functions are actually named
14189 something starting with __ and the normal name is an alias. */
14190 #if defined __stub_$ac_func || defined __stub___$ac_func
14191 choke me
14192 #endif
14195 main ()
14197 return $ac_func ();
14199 return 0;
14201 _ACEOF
14202 rm -f conftest.$ac_objext conftest$ac_exeext
14203 if { (ac_try="$ac_link"
14204 case "(($ac_try" in
14205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14207 esac
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_link") 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && {
14216 test -z "$ac_c_werror_flag" ||
14217 test ! -s conftest.err
14218 } && test -s conftest$ac_exeext &&
14219 $as_test_x conftest$ac_exeext; then
14220 eval "$as_ac_var=yes"
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 eval "$as_ac_var=no"
14228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14229 conftest$ac_exeext conftest.$ac_ext
14231 ac_res=`eval echo '${'$as_ac_var'}'`
14232 { echo "$as_me:$LINENO: result: $ac_res" >&5
14233 echo "${ECHO_T}$ac_res" >&6; }
14234 if test `eval echo '${'$as_ac_var'}'` = yes; then
14235 cat >>confdefs.h <<_ACEOF
14236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14237 _ACEOF
14240 done
14242 CFLAGS="$ac_save_CFLAGS"
14243 CPPFLAGS="$ac_save_CPPFLAGS"
14244 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14245 then
14247 cat >>confdefs.h <<\_ACEOF
14248 #define HAVE_FREETYPE 1
14249 _ACEOF
14251 FREETYPELIBS="$ac_freetype_libs"
14253 FREETYPEINCL="$ac_freetype_incl"
14255 FONTSSUBDIRS="fonts"
14260 if test "x$FREETYPELIBS" = "x"; then
14261 case "x$with_freetype" in
14262 xno) ;;
14263 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14264 Fonts will not be built. Dialog text may be invisible or unaligned.
14265 Use the --without-freetype option if you really want this." >&5
14266 echo "$as_me: error: FreeType development files not found.
14267 Fonts will not be built. Dialog text may be invisible or unaligned.
14268 Use the --without-freetype option if you really want this." >&2;}
14269 { (exit 1); exit 1; }; } ;;
14270 esac
14274 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14275 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14276 if test "${ac_cv_c_ppdev+set}" = set; then
14277 echo $ECHO_N "(cached) $ECHO_C" >&6
14278 else
14279 cat >conftest.$ac_ext <<_ACEOF
14280 /* confdefs.h. */
14281 _ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14285 #include <linux/ppdev.h>
14287 main ()
14289 ioctl (1,PPCLAIM,0)
14291 return 0;
14293 _ACEOF
14294 rm -f conftest.$ac_objext
14295 if { (ac_try="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14299 esac
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14302 ac_status=$?
14303 grep -v '^ *+' conftest.er1 >conftest.err
14304 rm -f conftest.er1
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && {
14308 test -z "$ac_c_werror_flag" ||
14309 test ! -s conftest.err
14310 } && test -s conftest.$ac_objext; then
14311 ac_cv_c_ppdev="yes"
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14316 ac_cv_c_ppdev="no"
14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14322 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14323 if test "$ac_cv_c_ppdev" = "yes"
14324 then
14326 cat >>confdefs.h <<\_ACEOF
14327 #define HAVE_PPDEV 1
14328 _ACEOF
14332 { echo "$as_me:$LINENO: checking for va_copy" >&5
14333 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14334 if test "${ac_cv_c_va_copy+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 else
14337 cat >conftest.$ac_ext <<_ACEOF
14338 /* confdefs.h. */
14339 _ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 #include <stdarg.h>
14345 main ()
14347 va_list ap1, ap2; va_copy(ap1,ap2);
14349 return 0;
14351 _ACEOF
14352 rm -f conftest.$ac_objext conftest$ac_exeext
14353 if { (ac_try="$ac_link"
14354 case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14357 esac
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_link") 2>conftest.er1
14360 ac_status=$?
14361 grep -v '^ *+' conftest.er1 >conftest.err
14362 rm -f conftest.er1
14363 cat conftest.err >&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } && {
14366 test -z "$ac_c_werror_flag" ||
14367 test ! -s conftest.err
14368 } && test -s conftest$ac_exeext &&
14369 $as_test_x conftest$ac_exeext; then
14370 ac_cv_c_va_copy="yes"
14371 else
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.$ac_ext >&5
14375 ac_cv_c_va_copy="no"
14378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14379 conftest$ac_exeext conftest.$ac_ext
14382 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14383 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14384 if test "$ac_cv_c_va_copy" = "yes"
14385 then
14387 cat >>confdefs.h <<\_ACEOF
14388 #define HAVE_VA_COPY 1
14389 _ACEOF
14392 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14393 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14394 if test "${ac_cv_c___va_copy+set}" = set; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else
14397 cat >conftest.$ac_ext <<_ACEOF
14398 /* confdefs.h. */
14399 _ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403 #include <stdarg.h>
14405 main ()
14407 va_list ap1, ap2; __va_copy(ap1,ap2);
14409 return 0;
14411 _ACEOF
14412 rm -f conftest.$ac_objext conftest$ac_exeext
14413 if { (ac_try="$ac_link"
14414 case "(($ac_try" in
14415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14416 *) ac_try_echo=$ac_try;;
14417 esac
14418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14419 (eval "$ac_link") 2>conftest.er1
14420 ac_status=$?
14421 grep -v '^ *+' conftest.er1 >conftest.err
14422 rm -f conftest.er1
14423 cat conftest.err >&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } && {
14426 test -z "$ac_c_werror_flag" ||
14427 test ! -s conftest.err
14428 } && test -s conftest$ac_exeext &&
14429 $as_test_x conftest$ac_exeext; then
14430 ac_cv_c___va_copy="yes"
14431 else
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.$ac_ext >&5
14435 ac_cv_c___va_copy="no"
14438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14439 conftest$ac_exeext conftest.$ac_ext
14442 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14443 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14444 if test "$ac_cv_c___va_copy" = "yes"
14445 then
14447 cat >>confdefs.h <<\_ACEOF
14448 #define HAVE___VA_COPY 1
14449 _ACEOF
14453 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14454 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14455 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 else
14458 cat >conftest.$ac_ext <<_ACEOF
14459 /* confdefs.h. */
14460 _ACEOF
14461 cat confdefs.h >>conftest.$ac_ext
14462 cat >>conftest.$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464 #include <setjmp.h>
14466 main ()
14468 sigjmp_buf buf;
14469 sigsetjmp( buf, 1 );
14470 siglongjmp( buf, 1 );
14472 return 0;
14474 _ACEOF
14475 rm -f conftest.$ac_objext conftest$ac_exeext
14476 if { (ac_try="$ac_link"
14477 case "(($ac_try" in
14478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14480 esac
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_link") 2>conftest.er1
14483 ac_status=$?
14484 grep -v '^ *+' conftest.er1 >conftest.err
14485 rm -f conftest.er1
14486 cat conftest.err >&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } && {
14489 test -z "$ac_c_werror_flag" ||
14490 test ! -s conftest.err
14491 } && test -s conftest$ac_exeext &&
14492 $as_test_x conftest$ac_exeext; then
14493 ac_cv_c_sigsetjmp="yes"
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14498 ac_cv_c_sigsetjmp="no"
14501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14502 conftest$ac_exeext conftest.$ac_ext
14505 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14506 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14507 if test "$ac_cv_c_sigsetjmp" = "yes"
14508 then
14510 cat >>confdefs.h <<\_ACEOF
14511 #define HAVE_SIGSETJMP 1
14512 _ACEOF
14516 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14517 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14518 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 else
14521 cat >conftest.$ac_ext <<_ACEOF
14522 /* confdefs.h. */
14523 _ACEOF
14524 cat confdefs.h >>conftest.$ac_ext
14525 cat >>conftest.$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527 #define _GNU_SOURCE
14528 #include <pthread.h>
14530 typedef pthread_rwlock_t ac__type_new_;
14532 main ()
14534 if ((ac__type_new_ *) 0)
14535 return 0;
14536 if (sizeof (ac__type_new_))
14537 return 0;
14539 return 0;
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 ac_cv_type_pthread_rwlock_t=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14564 ac_cv_type_pthread_rwlock_t=no
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14570 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14571 if test $ac_cv_type_pthread_rwlock_t = yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define HAVE_PTHREAD_RWLOCK_T 1
14575 _ACEOF
14579 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14580 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14581 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14583 else
14584 cat >conftest.$ac_ext <<_ACEOF
14585 /* confdefs.h. */
14586 _ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590 #define _GNU_SOURCE
14591 #include <pthread.h>
14593 typedef pthread_rwlockattr_t ac__type_new_;
14595 main ()
14597 if ((ac__type_new_ *) 0)
14598 return 0;
14599 if (sizeof (ac__type_new_))
14600 return 0;
14602 return 0;
14604 _ACEOF
14605 rm -f conftest.$ac_objext
14606 if { (ac_try="$ac_compile"
14607 case "(($ac_try" in
14608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14609 *) ac_try_echo=$ac_try;;
14610 esac
14611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14612 (eval "$ac_compile") 2>conftest.er1
14613 ac_status=$?
14614 grep -v '^ *+' conftest.er1 >conftest.err
14615 rm -f conftest.er1
14616 cat conftest.err >&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); } && {
14619 test -z "$ac_c_werror_flag" ||
14620 test ! -s conftest.err
14621 } && test -s conftest.$ac_objext; then
14622 ac_cv_type_pthread_rwlockattr_t=yes
14623 else
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.$ac_ext >&5
14627 ac_cv_type_pthread_rwlockattr_t=no
14630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14632 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14633 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14634 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14636 cat >>confdefs.h <<_ACEOF
14637 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14638 _ACEOF
14644 ac_wine_check_funcs_save_LIBS="$LIBS"
14645 LIBS="$LIBS $LIBPTHREAD"
14650 for ac_func in \
14651 pthread_attr_get_np \
14652 pthread_getattr_np \
14653 pthread_get_stackaddr_np \
14654 pthread_get_stacksize_np
14656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14657 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14659 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14660 echo $ECHO_N "(cached) $ECHO_C" >&6
14661 else
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14670 #define $ac_func innocuous_$ac_func
14672 /* System header to define __stub macros and hopefully few prototypes,
14673 which can conflict with char $ac_func (); below.
14674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14675 <limits.h> exists even on freestanding compilers. */
14677 #ifdef __STDC__
14678 # include <limits.h>
14679 #else
14680 # include <assert.h>
14681 #endif
14683 #undef $ac_func
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14688 #ifdef __cplusplus
14689 extern "C"
14690 #endif
14691 char $ac_func ();
14692 /* The GNU C library defines this for functions which it implements
14693 to always fail with ENOSYS. Some functions are actually named
14694 something starting with __ and the normal name is an alias. */
14695 #if defined __stub_$ac_func || defined __stub___$ac_func
14696 choke me
14697 #endif
14700 main ()
14702 return $ac_func ();
14704 return 0;
14706 _ACEOF
14707 rm -f conftest.$ac_objext conftest$ac_exeext
14708 if { (ac_try="$ac_link"
14709 case "(($ac_try" in
14710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14711 *) ac_try_echo=$ac_try;;
14712 esac
14713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14714 (eval "$ac_link") 2>conftest.er1
14715 ac_status=$?
14716 grep -v '^ *+' conftest.er1 >conftest.err
14717 rm -f conftest.er1
14718 cat conftest.err >&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); } && {
14721 test -z "$ac_c_werror_flag" ||
14722 test ! -s conftest.err
14723 } && test -s conftest$ac_exeext &&
14724 $as_test_x conftest$ac_exeext; then
14725 eval "$as_ac_var=yes"
14726 else
14727 echo "$as_me: failed program was:" >&5
14728 sed 's/^/| /' conftest.$ac_ext >&5
14730 eval "$as_ac_var=no"
14733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14734 conftest$ac_exeext conftest.$ac_ext
14736 ac_res=`eval echo '${'$as_ac_var'}'`
14737 { echo "$as_me:$LINENO: result: $ac_res" >&5
14738 echo "${ECHO_T}$ac_res" >&6; }
14739 if test `eval echo '${'$as_ac_var'}'` = yes; then
14740 cat >>confdefs.h <<_ACEOF
14741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14742 _ACEOF
14745 done
14747 LIBS="$ac_wine_check_funcs_save_LIBS"
14749 # Extract the first word of "esd-config", so it can be a program name with args.
14750 set dummy esd-config; ac_word=$2
14751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14753 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14755 else
14756 case $ESDCONFIG in
14757 [\\/]* | ?:[\\/]*)
14758 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14762 for as_dir in $PATH
14764 IFS=$as_save_IFS
14765 test -z "$as_dir" && as_dir=.
14766 for ac_exec_ext in '' $ac_executable_extensions; do
14767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14768 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14770 break 2
14772 done
14773 done
14774 IFS=$as_save_IFS
14777 esac
14779 ESDCONFIG=$ac_cv_path_ESDCONFIG
14780 if test -n "$ESDCONFIG"; then
14781 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14782 echo "${ECHO_T}$ESDCONFIG" >&6; }
14783 else
14784 { echo "$as_me:$LINENO: result: no" >&5
14785 echo "${ECHO_T}no" >&6; }
14789 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14790 then
14791 ESD_CFLAGS=""
14792 for i in `$ESDCONFIG --cflags`
14794 case "$i" in
14795 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14796 esac
14797 done
14798 ESD_LIBS=`$ESDCONFIG --libs`
14799 save_CFLAGS="$CFLAGS"
14800 CFLAGS="$CFLAGS $ESD_CFLAGS"
14801 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14802 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14803 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14804 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 else
14806 ac_check_lib_save_LIBS=$LIBS
14807 LIBS="-lesd $LIBS"
14808 cat >conftest.$ac_ext <<_ACEOF
14809 /* confdefs.h. */
14810 _ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14818 #ifdef __cplusplus
14819 extern "C"
14820 #endif
14821 char esd_open_sound ();
14823 main ()
14825 return esd_open_sound ();
14827 return 0;
14829 _ACEOF
14830 rm -f conftest.$ac_objext conftest$ac_exeext
14831 if { (ac_try="$ac_link"
14832 case "(($ac_try" in
14833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14834 *) ac_try_echo=$ac_try;;
14835 esac
14836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14837 (eval "$ac_link") 2>conftest.er1
14838 ac_status=$?
14839 grep -v '^ *+' conftest.er1 >conftest.err
14840 rm -f conftest.er1
14841 cat conftest.err >&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } && {
14844 test -z "$ac_c_werror_flag" ||
14845 test ! -s conftest.err
14846 } && test -s conftest$ac_exeext &&
14847 $as_test_x conftest$ac_exeext; then
14848 ac_cv_lib_esd_esd_open_sound=yes
14849 else
14850 echo "$as_me: failed program was:" >&5
14851 sed 's/^/| /' conftest.$ac_ext >&5
14853 ac_cv_lib_esd_esd_open_sound=no
14856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14857 conftest$ac_exeext conftest.$ac_ext
14858 LIBS=$ac_check_lib_save_LIBS
14860 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14861 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14862 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14863 ESDLIBS=$ESD_LIBS
14865 ESDINCL=$ESD_CFLAGS
14868 cat >>confdefs.h <<\_ACEOF
14869 #define HAVE_ESD 1
14870 _ACEOF
14874 CFLAGS="$save_CFLAGS"
14877 ALSALIBS=""
14879 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14880 then
14881 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14882 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14883 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14884 echo $ECHO_N "(cached) $ECHO_C" >&6
14885 else
14886 ac_check_lib_save_LIBS=$LIBS
14887 LIBS="-lasound $LIBS"
14888 cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h. */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14898 #ifdef __cplusplus
14899 extern "C"
14900 #endif
14901 char snd_pcm_hw_params_get_access ();
14903 main ()
14905 return snd_pcm_hw_params_get_access ();
14907 return 0;
14909 _ACEOF
14910 rm -f conftest.$ac_objext conftest$ac_exeext
14911 if { (ac_try="$ac_link"
14912 case "(($ac_try" in
14913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14914 *) ac_try_echo=$ac_try;;
14915 esac
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_link") 2>conftest.er1
14918 ac_status=$?
14919 grep -v '^ *+' conftest.er1 >conftest.err
14920 rm -f conftest.er1
14921 cat conftest.err >&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } && {
14924 test -z "$ac_c_werror_flag" ||
14925 test ! -s conftest.err
14926 } && test -s conftest$ac_exeext &&
14927 $as_test_x conftest$ac_exeext; then
14928 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14929 else
14930 echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.$ac_ext >&5
14933 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14937 conftest$ac_exeext conftest.$ac_ext
14938 LIBS=$ac_check_lib_save_LIBS
14940 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14941 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14942 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14943 cat >conftest.$ac_ext <<_ACEOF
14944 /* confdefs.h. */
14945 _ACEOF
14946 cat confdefs.h >>conftest.$ac_ext
14947 cat >>conftest.$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14949 #ifdef HAVE_ALSA_ASOUNDLIB_H
14950 #include <alsa/asoundlib.h>
14951 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14952 #include <sys/asoundlib.h>
14953 #endif
14955 main ()
14957 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14959 return 0;
14961 _ACEOF
14962 rm -f conftest.$ac_objext
14963 if { (ac_try="$ac_compile"
14964 case "(($ac_try" in
14965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14966 *) ac_try_echo=$ac_try;;
14967 esac
14968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14969 (eval "$ac_compile") 2>conftest.er1
14970 ac_status=$?
14971 grep -v '^ *+' conftest.er1 >conftest.err
14972 rm -f conftest.er1
14973 cat conftest.err >&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } && {
14976 test -z "$ac_c_werror_flag" ||
14977 test ! -s conftest.err
14978 } && test -s conftest.$ac_objext; then
14980 cat >>confdefs.h <<\_ACEOF
14981 #define HAVE_ALSA 1
14982 _ACEOF
14984 ALSALIBS="-lasound"
14985 else
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14997 AUDIOIOLIBS=""
14999 if test "$ac_cv_header_libaudioio_h" = "yes"
15000 then
15001 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
15002 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
15003 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 ac_check_lib_save_LIBS=$LIBS
15007 LIBS="-laudioio $LIBS"
15008 cat >conftest.$ac_ext <<_ACEOF
15009 /* confdefs.h. */
15010 _ACEOF
15011 cat confdefs.h >>conftest.$ac_ext
15012 cat >>conftest.$ac_ext <<_ACEOF
15013 /* end confdefs.h. */
15015 /* Override any GCC internal prototype to avoid an error.
15016 Use char because int might match the return type of a GCC
15017 builtin and then its argument prototype would still apply. */
15018 #ifdef __cplusplus
15019 extern "C"
15020 #endif
15021 char AudioIOGetVersion ();
15023 main ()
15025 return AudioIOGetVersion ();
15027 return 0;
15029 _ACEOF
15030 rm -f conftest.$ac_objext conftest$ac_exeext
15031 if { (ac_try="$ac_link"
15032 case "(($ac_try" in
15033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15034 *) ac_try_echo=$ac_try;;
15035 esac
15036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15037 (eval "$ac_link") 2>conftest.er1
15038 ac_status=$?
15039 grep -v '^ *+' conftest.er1 >conftest.err
15040 rm -f conftest.er1
15041 cat conftest.err >&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } && {
15044 test -z "$ac_c_werror_flag" ||
15045 test ! -s conftest.err
15046 } && test -s conftest$ac_exeext &&
15047 $as_test_x conftest$ac_exeext; then
15048 ac_cv_lib_audioio_AudioIOGetVersion=yes
15049 else
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15053 ac_cv_lib_audioio_AudioIOGetVersion=no
15056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15057 conftest$ac_exeext conftest.$ac_ext
15058 LIBS=$ac_check_lib_save_LIBS
15060 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15061 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15062 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15063 AUDIOIOLIBS="-laudioio"
15065 cat >>confdefs.h <<\_ACEOF
15066 #define HAVE_LIBAUDIOIO 1
15067 _ACEOF
15074 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15075 then
15076 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15077 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15078 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15080 else
15081 ac_check_soname_save_LIBS=$LIBS
15082 LIBS="-lcapi20 $LIBS"
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15090 /* Override any GCC internal prototype to avoid an error.
15091 Use char because int might match the return type of a GCC
15092 builtin and then its argument prototype would still apply. */
15093 #ifdef __cplusplus
15094 extern "C"
15095 #endif
15096 char capi20_register ();
15098 main ()
15100 return capi20_register ();
15102 return 0;
15104 _ACEOF
15105 rm -f conftest.$ac_objext conftest$ac_exeext
15106 if { (ac_try="$ac_link"
15107 case "(($ac_try" in
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15109 *) ac_try_echo=$ac_try;;
15110 esac
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15112 (eval "$ac_link") 2>conftest.er1
15113 ac_status=$?
15114 grep -v '^ *+' conftest.er1 >conftest.err
15115 rm -f conftest.er1
15116 cat conftest.err >&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } && {
15119 test -z "$ac_c_werror_flag" ||
15120 test ! -s conftest.err
15121 } && test -s conftest$ac_exeext &&
15122 $as_test_x conftest$ac_exeext; then
15123 case "$LIBEXT" in
15124 dll) ;;
15125 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'` ;;
15126 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15127 esac
15128 else
15129 echo "$as_me: failed program was:" >&5
15130 sed 's/^/| /' conftest.$ac_ext >&5
15135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15136 conftest$ac_exeext conftest.$ac_ext
15137 LIBS=$ac_check_soname_save_LIBS
15139 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15140 { echo "$as_me:$LINENO: result: not found" >&5
15141 echo "${ECHO_T}not found" >&6; }
15143 else
15144 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15145 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15147 cat >>confdefs.h <<_ACEOF
15148 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15149 _ACEOF
15155 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15156 case "x$with_capi" in
15157 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15158 xno) ;;
15159 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15160 This is an error since --with-capi was requested." >&5
15161 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15162 This is an error since --with-capi was requested." >&2;}
15163 { (exit 1); exit 1; }; } ;;
15164 esac
15168 if test "$ac_cv_header_cups_cups_h" = "yes"
15169 then
15170 { echo "$as_me:$LINENO: checking for -lcups" >&5
15171 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15172 if test "${ac_cv_lib_soname_cups+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 else
15175 ac_check_soname_save_LIBS=$LIBS
15176 LIBS="-lcups $LIBS"
15177 cat >conftest.$ac_ext <<_ACEOF
15178 /* confdefs.h. */
15179 _ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 #ifdef __cplusplus
15188 extern "C"
15189 #endif
15190 char cupsGetDefault ();
15192 main ()
15194 return cupsGetDefault ();
15196 return 0;
15198 _ACEOF
15199 rm -f conftest.$ac_objext conftest$ac_exeext
15200 if { (ac_try="$ac_link"
15201 case "(($ac_try" in
15202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15203 *) ac_try_echo=$ac_try;;
15204 esac
15205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15206 (eval "$ac_link") 2>conftest.er1
15207 ac_status=$?
15208 grep -v '^ *+' conftest.er1 >conftest.err
15209 rm -f conftest.er1
15210 cat conftest.err >&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } && {
15213 test -z "$ac_c_werror_flag" ||
15214 test ! -s conftest.err
15215 } && test -s conftest$ac_exeext &&
15216 $as_test_x conftest$ac_exeext; then
15217 case "$LIBEXT" in
15218 dll) ;;
15219 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'` ;;
15220 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15221 esac
15222 else
15223 echo "$as_me: failed program was:" >&5
15224 sed 's/^/| /' conftest.$ac_ext >&5
15229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15230 conftest$ac_exeext conftest.$ac_ext
15231 LIBS=$ac_check_soname_save_LIBS
15233 if test "x$ac_cv_lib_soname_cups" = "x"; then
15234 { echo "$as_me:$LINENO: result: not found" >&5
15235 echo "${ECHO_T}not found" >&6; }
15237 else
15238 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15239 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15241 cat >>confdefs.h <<_ACEOF
15242 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15243 _ACEOF
15249 if test "x$ac_cv_lib_soname_cups" = "x"; then
15250 case "x$with_cups" in
15251 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15252 xno) ;;
15253 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15254 This is an error since --with-cups was requested." >&5
15255 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15256 This is an error since --with-cups was requested." >&2;}
15257 { (exit 1); exit 1; }; } ;;
15258 esac
15262 if test "$ac_cv_header_jack_jack_h" = "yes"
15263 then
15264 { echo "$as_me:$LINENO: checking for -ljack" >&5
15265 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15266 if test "${ac_cv_lib_soname_jack+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 else
15269 ac_check_soname_save_LIBS=$LIBS
15270 LIBS="-ljack $LIBS"
15271 cat >conftest.$ac_ext <<_ACEOF
15272 /* confdefs.h. */
15273 _ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15278 /* Override any GCC internal prototype to avoid an error.
15279 Use char because int might match the return type of a GCC
15280 builtin and then its argument prototype would still apply. */
15281 #ifdef __cplusplus
15282 extern "C"
15283 #endif
15284 char jack_client_new ();
15286 main ()
15288 return jack_client_new ();
15290 return 0;
15292 _ACEOF
15293 rm -f conftest.$ac_objext conftest$ac_exeext
15294 if { (ac_try="$ac_link"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15298 esac
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_link") 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_c_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest$ac_exeext &&
15310 $as_test_x conftest$ac_exeext; then
15311 case "$LIBEXT" in
15312 dll) ;;
15313 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'` ;;
15314 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15315 esac
15316 else
15317 echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.$ac_ext >&5
15323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_soname_save_LIBS
15327 if test "x$ac_cv_lib_soname_jack" = "x"; then
15328 { echo "$as_me:$LINENO: result: not found" >&5
15329 echo "${ECHO_T}not found" >&6; }
15331 else
15332 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15333 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15335 cat >>confdefs.h <<_ACEOF
15336 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15337 _ACEOF
15344 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15345 then
15346 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15347 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15348 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 else
15351 ac_check_soname_save_LIBS=$LIBS
15352 LIBS="-lfontconfig $LIBS"
15353 cat >conftest.$ac_ext <<_ACEOF
15354 /* confdefs.h. */
15355 _ACEOF
15356 cat confdefs.h >>conftest.$ac_ext
15357 cat >>conftest.$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15360 /* Override any GCC internal prototype to avoid an error.
15361 Use char because int might match the return type of a GCC
15362 builtin and then its argument prototype would still apply. */
15363 #ifdef __cplusplus
15364 extern "C"
15365 #endif
15366 char FcInit ();
15368 main ()
15370 return FcInit ();
15372 return 0;
15374 _ACEOF
15375 rm -f conftest.$ac_objext conftest$ac_exeext
15376 if { (ac_try="$ac_link"
15377 case "(($ac_try" in
15378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15379 *) ac_try_echo=$ac_try;;
15380 esac
15381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15382 (eval "$ac_link") 2>conftest.er1
15383 ac_status=$?
15384 grep -v '^ *+' conftest.er1 >conftest.err
15385 rm -f conftest.er1
15386 cat conftest.err >&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } && {
15389 test -z "$ac_c_werror_flag" ||
15390 test ! -s conftest.err
15391 } && test -s conftest$ac_exeext &&
15392 $as_test_x conftest$ac_exeext; then
15393 case "$LIBEXT" in
15394 dll) ;;
15395 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'` ;;
15396 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15397 esac
15398 else
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5
15405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_check_soname_save_LIBS
15409 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15410 { echo "$as_me:$LINENO: result: not found" >&5
15411 echo "${ECHO_T}not found" >&6; }
15413 else
15414 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15415 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15417 cat >>confdefs.h <<_ACEOF
15418 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15419 _ACEOF
15424 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15425 then
15426 ac_save_CPPFLAGS="$CPPFLAGS"
15427 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15428 $as_unset ac_cv_header_fontconfig_fontconfig_h
15430 for ac_header in fontconfig/fontconfig.h
15432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15434 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15436 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 ac_res=`eval echo '${'$as_ac_Header'}'`
15440 { echo "$as_me:$LINENO: result: $ac_res" >&5
15441 echo "${ECHO_T}$ac_res" >&6; }
15442 else
15443 # Is the header compilable?
15444 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15446 cat >conftest.$ac_ext <<_ACEOF
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 $ac_includes_default
15453 #include <$ac_header>
15454 _ACEOF
15455 rm -f conftest.$ac_objext
15456 if { (ac_try="$ac_compile"
15457 case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15460 esac
15461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15462 (eval "$ac_compile") 2>conftest.er1
15463 ac_status=$?
15464 grep -v '^ *+' conftest.er1 >conftest.err
15465 rm -f conftest.er1
15466 cat conftest.err >&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && {
15469 test -z "$ac_c_werror_flag" ||
15470 test ! -s conftest.err
15471 } && test -s conftest.$ac_objext; then
15472 ac_header_compiler=yes
15473 else
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.$ac_ext >&5
15477 ac_header_compiler=no
15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15482 echo "${ECHO_T}$ac_header_compiler" >&6; }
15484 # Is the header present?
15485 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15487 cat >conftest.$ac_ext <<_ACEOF
15488 /* confdefs.h. */
15489 _ACEOF
15490 cat confdefs.h >>conftest.$ac_ext
15491 cat >>conftest.$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 #include <$ac_header>
15494 _ACEOF
15495 if { (ac_try="$ac_cpp conftest.$ac_ext"
15496 case "(($ac_try" in
15497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15498 *) ac_try_echo=$ac_try;;
15499 esac
15500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15502 ac_status=$?
15503 grep -v '^ *+' conftest.er1 >conftest.err
15504 rm -f conftest.er1
15505 cat conftest.err >&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); } >/dev/null && {
15508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15509 test ! -s conftest.err
15510 }; then
15511 ac_header_preproc=yes
15512 else
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15516 ac_header_preproc=no
15519 rm -f conftest.err conftest.$ac_ext
15520 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15521 echo "${ECHO_T}$ac_header_preproc" >&6; }
15523 # So? What about this header?
15524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15525 yes:no: )
15526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15530 ac_header_preproc=yes
15532 no:yes:* )
15533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15545 ( cat <<\_ASBOX
15546 ## ------------------------------------ ##
15547 ## Report this to wine-devel@winehq.org ##
15548 ## ------------------------------------ ##
15549 _ASBOX
15550 ) | sed "s/^/$as_me: WARNING: /" >&2
15552 esac
15553 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15556 echo $ECHO_N "(cached) $ECHO_C" >&6
15557 else
15558 eval "$as_ac_Header=\$ac_header_preproc"
15560 ac_res=`eval echo '${'$as_ac_Header'}'`
15561 { echo "$as_me:$LINENO: result: $ac_res" >&5
15562 echo "${ECHO_T}$ac_res" >&6; }
15565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15566 cat >>confdefs.h <<_ACEOF
15567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15568 _ACEOF
15572 done
15574 CPPFLAGS="$ac_save_CPPFLAGS"
15575 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15576 then
15577 FONTCONFIGINCL="$X_CFLAGS"
15579 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15580 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15581 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15582 echo $ECHO_N "(cached) $ECHO_C" >&6
15583 else
15584 ac_check_soname_save_LIBS=$LIBS
15585 LIBS="-lfontconfig $X_LIBS $LIBS"
15586 cat >conftest.$ac_ext <<_ACEOF
15587 /* confdefs.h. */
15588 _ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 char FcInit ();
15601 main ()
15603 return FcInit ();
15605 return 0;
15607 _ACEOF
15608 rm -f conftest.$ac_objext conftest$ac_exeext
15609 if { (ac_try="$ac_link"
15610 case "(($ac_try" in
15611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15612 *) ac_try_echo=$ac_try;;
15613 esac
15614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15615 (eval "$ac_link") 2>conftest.er1
15616 ac_status=$?
15617 grep -v '^ *+' conftest.er1 >conftest.err
15618 rm -f conftest.er1
15619 cat conftest.err >&5
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); } && {
15622 test -z "$ac_c_werror_flag" ||
15623 test ! -s conftest.err
15624 } && test -s conftest$ac_exeext &&
15625 $as_test_x conftest$ac_exeext; then
15626 case "$LIBEXT" in
15627 dll) ;;
15628 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'` ;;
15629 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15630 esac
15631 else
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.$ac_ext >&5
15638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15639 conftest$ac_exeext conftest.$ac_ext
15640 LIBS=$ac_check_soname_save_LIBS
15642 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15643 { echo "$as_me:$LINENO: result: not found" >&5
15644 echo "${ECHO_T}not found" >&6; }
15646 else
15647 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15648 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15650 cat >>confdefs.h <<_ACEOF
15651 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15652 _ACEOF
15659 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15660 case "x$with_fontconfig" in
15661 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15662 xno) ;;
15663 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15664 This is an error since --with-fontconfig was requested." >&5
15665 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15666 This is an error since --with-fontconfig was requested." >&2;}
15667 { (exit 1); exit 1; }; } ;;
15668 esac
15672 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15673 then
15674 { echo "$as_me:$LINENO: checking for -lssl" >&5
15675 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15676 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 else
15679 ac_check_soname_save_LIBS=$LIBS
15680 LIBS="-lssl $LIBS"
15681 cat >conftest.$ac_ext <<_ACEOF
15682 /* confdefs.h. */
15683 _ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15688 /* Override any GCC internal prototype to avoid an error.
15689 Use char because int might match the return type of a GCC
15690 builtin and then its argument prototype would still apply. */
15691 #ifdef __cplusplus
15692 extern "C"
15693 #endif
15694 char SSL_library_init ();
15696 main ()
15698 return SSL_library_init ();
15700 return 0;
15702 _ACEOF
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (ac_try="$ac_link"
15705 case "(($ac_try" in
15706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15707 *) ac_try_echo=$ac_try;;
15708 esac
15709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15710 (eval "$ac_link") 2>conftest.er1
15711 ac_status=$?
15712 grep -v '^ *+' conftest.er1 >conftest.err
15713 rm -f conftest.er1
15714 cat conftest.err >&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); } && {
15717 test -z "$ac_c_werror_flag" ||
15718 test ! -s conftest.err
15719 } && test -s conftest$ac_exeext &&
15720 $as_test_x conftest$ac_exeext; then
15721 case "$LIBEXT" in
15722 dll) ;;
15723 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'` ;;
15724 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15725 esac
15726 else
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15734 conftest$ac_exeext conftest.$ac_ext
15735 LIBS=$ac_check_soname_save_LIBS
15737 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15738 { echo "$as_me:$LINENO: result: not found" >&5
15739 echo "${ECHO_T}not found" >&6; }
15741 else
15742 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15743 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15745 cat >>confdefs.h <<_ACEOF
15746 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15747 _ACEOF
15752 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15753 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15754 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15755 echo $ECHO_N "(cached) $ECHO_C" >&6
15756 else
15757 ac_check_soname_save_LIBS=$LIBS
15758 LIBS="-lcrypto $LIBS"
15759 cat >conftest.$ac_ext <<_ACEOF
15760 /* confdefs.h. */
15761 _ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15766 /* Override any GCC internal prototype to avoid an error.
15767 Use char because int might match the return type of a GCC
15768 builtin and then its argument prototype would still apply. */
15769 #ifdef __cplusplus
15770 extern "C"
15771 #endif
15772 char BIO_new_socket ();
15774 main ()
15776 return BIO_new_socket ();
15778 return 0;
15780 _ACEOF
15781 rm -f conftest.$ac_objext conftest$ac_exeext
15782 if { (ac_try="$ac_link"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15786 esac
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_link") 2>conftest.er1
15789 ac_status=$?
15790 grep -v '^ *+' conftest.er1 >conftest.err
15791 rm -f conftest.er1
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } && {
15795 test -z "$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15797 } && test -s conftest$ac_exeext &&
15798 $as_test_x conftest$ac_exeext; then
15799 case "$LIBEXT" in
15800 dll) ;;
15801 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'` ;;
15802 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15803 esac
15804 else
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15812 conftest$ac_exeext conftest.$ac_ext
15813 LIBS=$ac_check_soname_save_LIBS
15815 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15816 { echo "$as_me:$LINENO: result: not found" >&5
15817 echo "${ECHO_T}not found" >&6; }
15819 else
15820 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15821 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15823 cat >>confdefs.h <<_ACEOF
15824 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15825 _ACEOF
15831 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15832 case "x$with_openssl" in
15833 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15834 xno) ;;
15835 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15836 This is an error since --with-openssl was requested." >&5
15837 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15838 This is an error since --with-openssl was requested." >&2;}
15839 { (exit 1); exit 1; }; } ;;
15840 esac
15844 if test "$ac_cv_header_jpeglib_h" = "yes"
15845 then
15846 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15847 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15848 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851 ac_check_soname_save_LIBS=$LIBS
15852 LIBS="-ljpeg $LIBS"
15853 cat >conftest.$ac_ext <<_ACEOF
15854 /* confdefs.h. */
15855 _ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15860 /* Override any GCC internal prototype to avoid an error.
15861 Use char because int might match the return type of a GCC
15862 builtin and then its argument prototype would still apply. */
15863 #ifdef __cplusplus
15864 extern "C"
15865 #endif
15866 char jpeg_start_decompress ();
15868 main ()
15870 return jpeg_start_decompress ();
15872 return 0;
15874 _ACEOF
15875 rm -f conftest.$ac_objext conftest$ac_exeext
15876 if { (ac_try="$ac_link"
15877 case "(($ac_try" in
15878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15880 esac
15881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_link") 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } && {
15889 test -z "$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15891 } && test -s conftest$ac_exeext &&
15892 $as_test_x conftest$ac_exeext; then
15893 case "$LIBEXT" in
15894 dll) ;;
15895 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'` ;;
15896 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15897 esac
15898 else
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15906 conftest$ac_exeext conftest.$ac_ext
15907 LIBS=$ac_check_soname_save_LIBS
15909 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15910 { echo "$as_me:$LINENO: result: not found" >&5
15911 echo "${ECHO_T}not found" >&6; }
15913 else
15914 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15915 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15917 cat >>confdefs.h <<_ACEOF
15918 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15919 _ACEOF
15925 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15926 case "x$with_jpeg" in
15927 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15928 xno) ;;
15929 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15930 This is an error since --with-jpeg was requested." >&5
15931 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15932 This is an error since --with-jpeg was requested." >&2;}
15933 { (exit 1); exit 1; }; } ;;
15934 esac
15938 if test "$ac_cv_header_png_h" = "yes"
15939 then
15940 { echo "$as_me:$LINENO: checking for -lpng" >&5
15941 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15942 if test "${ac_cv_lib_soname_png+set}" = set; then
15943 echo $ECHO_N "(cached) $ECHO_C" >&6
15944 else
15945 ac_check_soname_save_LIBS=$LIBS
15946 LIBS="-lpng $LIBS"
15947 cat >conftest.$ac_ext <<_ACEOF
15948 /* confdefs.h. */
15949 _ACEOF
15950 cat confdefs.h >>conftest.$ac_ext
15951 cat >>conftest.$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15954 /* Override any GCC internal prototype to avoid an error.
15955 Use char because int might match the return type of a GCC
15956 builtin and then its argument prototype would still apply. */
15957 #ifdef __cplusplus
15958 extern "C"
15959 #endif
15960 char png_create_read_struct ();
15962 main ()
15964 return png_create_read_struct ();
15966 return 0;
15968 _ACEOF
15969 rm -f conftest.$ac_objext conftest$ac_exeext
15970 if { (ac_try="$ac_link"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15974 esac
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_link") 2>conftest.er1
15977 ac_status=$?
15978 grep -v '^ *+' conftest.er1 >conftest.err
15979 rm -f conftest.er1
15980 cat conftest.err >&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } && {
15983 test -z "$ac_c_werror_flag" ||
15984 test ! -s conftest.err
15985 } && test -s conftest$ac_exeext &&
15986 $as_test_x conftest$ac_exeext; then
15987 case "$LIBEXT" in
15988 dll) ;;
15989 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'` ;;
15990 *) 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'` ;;
15991 esac
15992 else
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.$ac_ext >&5
15999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16000 conftest$ac_exeext conftest.$ac_ext
16001 LIBS=$ac_check_soname_save_LIBS
16003 if test "x$ac_cv_lib_soname_png" = "x"; then
16004 { echo "$as_me:$LINENO: result: not found" >&5
16005 echo "${ECHO_T}not found" >&6; }
16007 else
16008 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16009 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16011 cat >>confdefs.h <<_ACEOF
16012 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16013 _ACEOF
16019 if test "x$ac_cv_lib_soname_png" = "x"; then
16020 case "x$with_png" in
16021 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16022 xno) ;;
16023 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16024 This is an error since --with-png was requested." >&5
16025 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16026 This is an error since --with-png was requested." >&2;}
16027 { (exit 1); exit 1; }; } ;;
16028 esac
16032 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16033 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16034 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16035 echo $ECHO_N "(cached) $ECHO_C" >&6
16036 else
16037 ac_check_soname_save_LIBS=$LIBS
16038 LIBS="-lodbc $LIBS"
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16046 /* Override any GCC internal prototype to avoid an error.
16047 Use char because int might match the return type of a GCC
16048 builtin and then its argument prototype would still apply. */
16049 #ifdef __cplusplus
16050 extern "C"
16051 #endif
16052 char SQLConnect ();
16054 main ()
16056 return SQLConnect ();
16058 return 0;
16060 _ACEOF
16061 rm -f conftest.$ac_objext conftest$ac_exeext
16062 if { (ac_try="$ac_link"
16063 case "(($ac_try" in
16064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16065 *) ac_try_echo=$ac_try;;
16066 esac
16067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16068 (eval "$ac_link") 2>conftest.er1
16069 ac_status=$?
16070 grep -v '^ *+' conftest.er1 >conftest.err
16071 rm -f conftest.er1
16072 cat conftest.err >&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } && {
16075 test -z "$ac_c_werror_flag" ||
16076 test ! -s conftest.err
16077 } && test -s conftest$ac_exeext &&
16078 $as_test_x conftest$ac_exeext; then
16079 case "$LIBEXT" in
16080 dll) ;;
16081 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'` ;;
16082 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16083 esac
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16092 conftest$ac_exeext conftest.$ac_ext
16093 LIBS=$ac_check_soname_save_LIBS
16095 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16096 { echo "$as_me:$LINENO: result: not found" >&5
16097 echo "${ECHO_T}not found" >&6; }
16098 cat >>confdefs.h <<_ACEOF
16099 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16100 _ACEOF
16102 else
16103 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16104 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16106 cat >>confdefs.h <<_ACEOF
16107 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16108 _ACEOF
16114 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16115 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16116 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16117 "$ac_cv_header_soundcard_h" != "yes" -a \
16118 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16119 then
16120 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16124 EXTRACFLAGS=""
16126 if test "x${GCC}" = "xyes"
16127 then
16128 EXTRACFLAGS="-Wall -pipe"
16130 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16131 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16132 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 else
16135 if test "$cross_compiling" = yes; then
16136 ac_cv_c_gcc_strength_bug="yes"
16137 else
16138 cat >conftest.$ac_ext <<_ACEOF
16139 /* confdefs.h. */
16140 _ACEOF
16141 cat confdefs.h >>conftest.$ac_ext
16142 cat >>conftest.$ac_ext <<_ACEOF
16143 /* end confdefs.h. */
16144 int L[4] = {0,1,2,3};
16146 main ()
16148 static int Array[3];
16149 unsigned int B = 3;
16150 int i;
16151 for(i=0; i<B; i++) Array[i] = i - 3;
16152 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16153 L[i] = 4;
16154 exit( Array[1] != -2 || L[2] != 3)
16156 return 0;
16158 _ACEOF
16159 rm -f conftest$ac_exeext
16160 if { (ac_try="$ac_link"
16161 case "(($ac_try" in
16162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16164 esac
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_link") 2>&5
16167 ac_status=$?
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16170 { (case "(($ac_try" in
16171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16173 esac
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_try") 2>&5
16176 ac_status=$?
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 ac_cv_c_gcc_strength_bug="no"
16180 else
16181 echo "$as_me: program exited with status $ac_status" >&5
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.$ac_ext >&5
16185 ( exit $ac_status )
16186 ac_cv_c_gcc_strength_bug="yes"
16188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16193 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16194 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16195 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16196 then
16197 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16201 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16202 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16203 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 else
16206 ac_wine_try_cflags_saved=$CFLAGS
16207 CFLAGS="$CFLAGS -fshort-wchar"
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16216 main ()
16220 return 0;
16222 _ACEOF
16223 rm -f conftest.$ac_objext conftest$ac_exeext
16224 if { (ac_try="$ac_link"
16225 case "(($ac_try" in
16226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16227 *) ac_try_echo=$ac_try;;
16228 esac
16229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16230 (eval "$ac_link") 2>conftest.er1
16231 ac_status=$?
16232 grep -v '^ *+' conftest.er1 >conftest.err
16233 rm -f conftest.er1
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } && {
16237 test -z "$ac_c_werror_flag" ||
16238 test ! -s conftest.err
16239 } && test -s conftest$ac_exeext &&
16240 $as_test_x conftest$ac_exeext; then
16241 ac_cv_cflags__fshort_wchar=yes
16242 else
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.$ac_ext >&5
16246 ac_cv_cflags__fshort_wchar=no
16249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16250 conftest$ac_exeext conftest.$ac_ext
16251 CFLAGS=$ac_wine_try_cflags_saved
16253 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16254 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16255 if test $ac_cv_cflags__fshort_wchar = yes; then
16257 cat >>confdefs.h <<\_ACEOF
16258 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16259 _ACEOF
16263 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16264 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16265 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 else
16268 ac_wine_try_cflags_saved=$CFLAGS
16269 CFLAGS="$CFLAGS -fno-strict-aliasing"
16270 cat >conftest.$ac_ext <<_ACEOF
16271 /* confdefs.h. */
16272 _ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16278 main ()
16282 return 0;
16284 _ACEOF
16285 rm -f conftest.$ac_objext conftest$ac_exeext
16286 if { (ac_try="$ac_link"
16287 case "(($ac_try" in
16288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16289 *) ac_try_echo=$ac_try;;
16290 esac
16291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16292 (eval "$ac_link") 2>conftest.er1
16293 ac_status=$?
16294 grep -v '^ *+' conftest.er1 >conftest.err
16295 rm -f conftest.er1
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && {
16299 test -z "$ac_c_werror_flag" ||
16300 test ! -s conftest.err
16301 } && test -s conftest$ac_exeext &&
16302 $as_test_x conftest$ac_exeext; then
16303 ac_cv_cflags__fno_strict_aliasing=yes
16304 else
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.$ac_ext >&5
16308 ac_cv_cflags__fno_strict_aliasing=no
16311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16312 conftest$ac_exeext conftest.$ac_ext
16313 CFLAGS=$ac_wine_try_cflags_saved
16315 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16316 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16317 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16318 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16321 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16322 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16323 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16325 else
16326 ac_wine_try_cflags_saved=$CFLAGS
16327 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16328 cat >conftest.$ac_ext <<_ACEOF
16329 /* confdefs.h. */
16330 _ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16336 main ()
16340 return 0;
16342 _ACEOF
16343 rm -f conftest.$ac_objext conftest$ac_exeext
16344 if { (ac_try="$ac_link"
16345 case "(($ac_try" in
16346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16347 *) ac_try_echo=$ac_try;;
16348 esac
16349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16350 (eval "$ac_link") 2>conftest.er1
16351 ac_status=$?
16352 grep -v '^ *+' conftest.er1 >conftest.err
16353 rm -f conftest.er1
16354 cat conftest.err >&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } && {
16357 test -z "$ac_c_werror_flag" ||
16358 test ! -s conftest.err
16359 } && test -s conftest$ac_exeext &&
16360 $as_test_x conftest$ac_exeext; then
16361 ac_cv_cflags__Wdeclaration_after_statement=yes
16362 else
16363 echo "$as_me: failed program was:" >&5
16364 sed 's/^/| /' conftest.$ac_ext >&5
16366 ac_cv_cflags__Wdeclaration_after_statement=no
16369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16370 conftest$ac_exeext conftest.$ac_ext
16371 CFLAGS=$ac_wine_try_cflags_saved
16373 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16374 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16375 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16376 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16379 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16380 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16381 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 else
16384 ac_wine_try_cflags_saved=$CFLAGS
16385 CFLAGS="$CFLAGS -Wwrite-strings"
16386 cat >conftest.$ac_ext <<_ACEOF
16387 /* confdefs.h. */
16388 _ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16394 main ()
16398 return 0;
16400 _ACEOF
16401 rm -f conftest.$ac_objext conftest$ac_exeext
16402 if { (ac_try="$ac_link"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16406 esac
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_link") 2>conftest.er1
16409 ac_status=$?
16410 grep -v '^ *+' conftest.er1 >conftest.err
16411 rm -f conftest.er1
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_c_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest$ac_exeext &&
16418 $as_test_x conftest$ac_exeext; then
16419 ac_cv_cflags__Wwrite_strings=yes
16420 else
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 ac_cv_cflags__Wwrite_strings=no
16427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16428 conftest$ac_exeext conftest.$ac_ext
16429 CFLAGS=$ac_wine_try_cflags_saved
16431 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16432 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16433 if test $ac_cv_cflags__Wwrite_strings = yes; then
16434 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16437 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16438 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16439 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 else
16442 ac_wine_try_cflags_saved=$CFLAGS
16443 CFLAGS="$CFLAGS -Wtype-limits"
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16452 main ()
16456 return 0;
16458 _ACEOF
16459 rm -f conftest.$ac_objext conftest$ac_exeext
16460 if { (ac_try="$ac_link"
16461 case "(($ac_try" in
16462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16463 *) ac_try_echo=$ac_try;;
16464 esac
16465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16466 (eval "$ac_link") 2>conftest.er1
16467 ac_status=$?
16468 grep -v '^ *+' conftest.er1 >conftest.err
16469 rm -f conftest.er1
16470 cat conftest.err >&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } && {
16473 test -z "$ac_c_werror_flag" ||
16474 test ! -s conftest.err
16475 } && test -s conftest$ac_exeext &&
16476 $as_test_x conftest$ac_exeext; then
16477 ac_cv_cflags__Wtype_limits=yes
16478 else
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16482 ac_cv_cflags__Wtype_limits=no
16485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16486 conftest$ac_exeext conftest.$ac_ext
16487 CFLAGS=$ac_wine_try_cflags_saved
16489 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16490 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16491 if test $ac_cv_cflags__Wtype_limits = yes; then
16492 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16496 saved_CFLAGS="$CFLAGS"
16497 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16498 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16499 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16500 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 else
16503 cat >conftest.$ac_ext <<_ACEOF
16504 /* confdefs.h. */
16505 _ACEOF
16506 cat confdefs.h >>conftest.$ac_ext
16507 cat >>conftest.$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 #include <string.h>
16511 main ()
16515 return 0;
16517 _ACEOF
16518 rm -f conftest.$ac_objext
16519 if { (ac_try="$ac_compile"
16520 case "(($ac_try" in
16521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16522 *) ac_try_echo=$ac_try;;
16523 esac
16524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16525 (eval "$ac_compile") 2>conftest.er1
16526 ac_status=$?
16527 grep -v '^ *+' conftest.er1 >conftest.err
16528 rm -f conftest.er1
16529 cat conftest.err >&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); } && {
16532 test -z "$ac_c_werror_flag" ||
16533 test ! -s conftest.err
16534 } && test -s conftest.$ac_objext; then
16535 ac_cv_c_string_h_warnings=no
16536 else
16537 echo "$as_me: failed program was:" >&5
16538 sed 's/^/| /' conftest.$ac_ext >&5
16540 ac_cv_c_string_h_warnings=yes
16543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16545 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16546 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16547 CFLAGS="$saved_CFLAGS"
16548 if test "$ac_cv_c_string_h_warnings" = "no"
16549 then
16550 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16553 BUILTINFLAG=""
16555 saved_CFLAGS="$CFLAGS"
16556 CFLAGS="$CFLAGS -Werror"
16557 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16558 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16559 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16561 else
16562 cat >conftest.$ac_ext <<_ACEOF
16563 /* confdefs.h. */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16570 main ()
16572 int iswlower(unsigned short);
16574 return 0;
16576 _ACEOF
16577 rm -f conftest.$ac_objext
16578 if { (ac_try="$ac_compile"
16579 case "(($ac_try" in
16580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16582 esac
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_compile") 2>conftest.er1
16585 ac_status=$?
16586 grep -v '^ *+' conftest.er1 >conftest.err
16587 rm -f conftest.er1
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } && {
16591 test -z "$ac_c_werror_flag" ||
16592 test ! -s conftest.err
16593 } && test -s conftest.$ac_objext; then
16594 ac_cv_c_builtin_wchar_ctype=no
16595 else
16596 echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.$ac_ext >&5
16599 ac_cv_c_builtin_wchar_ctype=yes
16602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16604 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16605 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16606 CFLAGS="$saved_CFLAGS"
16607 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16608 then
16609 BUILTINFLAG="-fno-builtin"
16614 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16615 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16616 if test "${ac_cv_asm_func_def+set}" = set; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16618 else
16619 cat >conftest.$ac_ext <<_ACEOF
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16627 main ()
16629 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16631 return 0;
16633 _ACEOF
16634 rm -f conftest.$ac_objext conftest$ac_exeext
16635 if { (ac_try="$ac_link"
16636 case "(($ac_try" in
16637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16638 *) ac_try_echo=$ac_try;;
16639 esac
16640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16641 (eval "$ac_link") 2>conftest.er1
16642 ac_status=$?
16643 grep -v '^ *+' conftest.er1 >conftest.err
16644 rm -f conftest.er1
16645 cat conftest.err >&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && {
16648 test -z "$ac_c_werror_flag" ||
16649 test ! -s conftest.err
16650 } && test -s conftest$ac_exeext &&
16651 $as_test_x conftest$ac_exeext; then
16652 ac_cv_asm_func_def=".def"
16653 else
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.$ac_ext >&5
16657 cat >conftest.$ac_ext <<_ACEOF
16658 /* confdefs.h. */
16659 _ACEOF
16660 cat confdefs.h >>conftest.$ac_ext
16661 cat >>conftest.$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16665 main ()
16667 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16669 return 0;
16671 _ACEOF
16672 rm -f conftest.$ac_objext conftest$ac_exeext
16673 if { (ac_try="$ac_link"
16674 case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16677 esac
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_link") 2>conftest.er1
16680 ac_status=$?
16681 grep -v '^ *+' conftest.er1 >conftest.err
16682 rm -f conftest.er1
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } && {
16686 test -z "$ac_c_werror_flag" ||
16687 test ! -s conftest.err
16688 } && test -s conftest$ac_exeext &&
16689 $as_test_x conftest$ac_exeext; then
16690 ac_cv_asm_func_def=".type @function"
16691 else
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5
16695 cat >conftest.$ac_ext <<_ACEOF
16696 /* confdefs.h. */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16703 main ()
16705 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16707 return 0;
16709 _ACEOF
16710 rm -f conftest.$ac_objext conftest$ac_exeext
16711 if { (ac_try="$ac_link"
16712 case "(($ac_try" in
16713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16714 *) ac_try_echo=$ac_try;;
16715 esac
16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16717 (eval "$ac_link") 2>conftest.er1
16718 ac_status=$?
16719 grep -v '^ *+' conftest.er1 >conftest.err
16720 rm -f conftest.er1
16721 cat conftest.err >&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && {
16724 test -z "$ac_c_werror_flag" ||
16725 test ! -s conftest.err
16726 } && test -s conftest$ac_exeext &&
16727 $as_test_x conftest$ac_exeext; then
16728 ac_cv_asm_func_def=".type 2"
16729 else
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16733 ac_cv_asm_func_def="unknown"
16736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16737 conftest$ac_exeext conftest.$ac_ext
16740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16741 conftest$ac_exeext conftest.$ac_ext
16744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16745 conftest$ac_exeext conftest.$ac_ext
16747 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16748 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16752 case "$ac_cv_asm_func_def" in
16753 ".def")
16754 cat >>confdefs.h <<\_ACEOF
16755 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16756 _ACEOF
16758 ".type @function")
16759 cat >>confdefs.h <<\_ACEOF
16760 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16761 _ACEOF
16763 ".type 2")
16764 cat >>confdefs.h <<\_ACEOF
16765 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16766 _ACEOF
16769 cat >>confdefs.h <<\_ACEOF
16770 #define __ASM_FUNC(name) ""
16771 _ACEOF
16773 esac
16776 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16777 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16778 if test "${ac_cv_c_extern_prefix+set}" = set; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 else
16781 cat >conftest.$ac_ext <<_ACEOF
16782 /* confdefs.h. */
16783 _ACEOF
16784 cat confdefs.h >>conftest.$ac_ext
16785 cat >>conftest.$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 extern int ac_test;
16789 main ()
16791 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16793 return 0;
16795 _ACEOF
16796 rm -f conftest.$ac_objext conftest$ac_exeext
16797 if { (ac_try="$ac_link"
16798 case "(($ac_try" in
16799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16800 *) ac_try_echo=$ac_try;;
16801 esac
16802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16803 (eval "$ac_link") 2>conftest.er1
16804 ac_status=$?
16805 grep -v '^ *+' conftest.er1 >conftest.err
16806 rm -f conftest.er1
16807 cat conftest.err >&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } && {
16810 test -z "$ac_c_werror_flag" ||
16811 test ! -s conftest.err
16812 } && test -s conftest$ac_exeext &&
16813 $as_test_x conftest$ac_exeext; then
16814 ac_cv_c_extern_prefix="yes"
16815 else
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16819 ac_cv_c_extern_prefix="no"
16822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16823 conftest$ac_exeext conftest.$ac_ext
16825 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16826 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16830 if test "$ac_cv_c_extern_prefix" = "yes"
16831 then
16832 cat >>confdefs.h <<\_ACEOF
16833 #define __ASM_NAME(name) "_" name
16834 _ACEOF
16836 else
16837 cat >>confdefs.h <<\_ACEOF
16838 #define __ASM_NAME(name) name
16839 _ACEOF
16844 LDPATH=""
16846 case $build_os in
16847 cygwin*|mingw32*)
16848 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16850 darwin*|macosx*)
16852 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16853 then
16854 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16858 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16860 esac
16862 case $host_os in
16863 mingw32*)
16864 CRTLIBS="-lmsvcrt"
16866 SOCKETLIBS="-lws2_32"
16869 esac
16871 MAIN_BINARY="wine-pthread"
16872 case $host_cpu in
16873 *i[3456789]86*)
16874 case $host_os in
16875 linux* | k*bsd*-gnu)
16876 MAIN_BINARY="wine-glibc"
16878 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16880 freebsd*)
16881 MAIN_BINARY="wine-freebsd"
16883 EXTRA_BINARIES="wine-pthread"
16885 esac
16887 esac
16959 for ac_func in \
16960 _pclose \
16961 _popen \
16962 _snprintf \
16963 _spawnvp \
16964 _strdup \
16965 _stricmp \
16966 _strnicmp \
16967 _strtoi64 \
16968 _strtoui64 \
16969 _vsnprintf \
16970 asctime_r \
16971 chsize \
16972 clone \
16973 dlopen \
16974 epoll_create \
16975 ffs \
16976 finite \
16977 fork \
16978 fpclass \
16979 fstatfs \
16980 fstatvfs \
16981 ftruncate \
16982 futimes \
16983 futimesat \
16984 getdirentries \
16985 getopt_long \
16986 getpagesize \
16987 getpwuid \
16988 gettid \
16989 gettimeofday \
16990 getuid \
16991 inet_pton \
16992 kqueue \
16993 lstat \
16994 memmove \
16995 mmap \
16996 pclose \
16997 poll \
16998 popen \
16999 prctl \
17000 pread \
17001 pwrite \
17002 readlink \
17003 rfork \
17004 sched_yield \
17005 select \
17006 setproctitle \
17007 setrlimit \
17008 settimeofday \
17009 sigaltstack \
17010 sigprocmask \
17011 snprintf \
17012 spawnvp \
17013 statfs \
17014 statvfs \
17015 strcasecmp \
17016 strdup \
17017 strerror \
17018 strncasecmp \
17019 strtold \
17020 strtoll \
17021 strtoull \
17022 tcgetattr \
17023 thr_kill2 \
17024 timegm \
17025 usleep \
17026 vsnprintf \
17027 wait4 \
17028 waitpid \
17031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 else
17037 cat >conftest.$ac_ext <<_ACEOF
17038 /* confdefs.h. */
17039 _ACEOF
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17045 #define $ac_func innocuous_$ac_func
17047 /* System header to define __stub macros and hopefully few prototypes,
17048 which can conflict with char $ac_func (); below.
17049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17050 <limits.h> exists even on freestanding compilers. */
17052 #ifdef __STDC__
17053 # include <limits.h>
17054 #else
17055 # include <assert.h>
17056 #endif
17058 #undef $ac_func
17060 /* Override any GCC internal prototype to avoid an error.
17061 Use char because int might match the return type of a GCC
17062 builtin and then its argument prototype would still apply. */
17063 #ifdef __cplusplus
17064 extern "C"
17065 #endif
17066 char $ac_func ();
17067 /* The GNU C library defines this for functions which it implements
17068 to always fail with ENOSYS. Some functions are actually named
17069 something starting with __ and the normal name is an alias. */
17070 #if defined __stub_$ac_func || defined __stub___$ac_func
17071 choke me
17072 #endif
17075 main ()
17077 return $ac_func ();
17079 return 0;
17081 _ACEOF
17082 rm -f conftest.$ac_objext conftest$ac_exeext
17083 if { (ac_try="$ac_link"
17084 case "(($ac_try" in
17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17087 esac
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_link") 2>conftest.er1
17090 ac_status=$?
17091 grep -v '^ *+' conftest.er1 >conftest.err
17092 rm -f conftest.er1
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && {
17096 test -z "$ac_c_werror_flag" ||
17097 test ! -s conftest.err
17098 } && test -s conftest$ac_exeext &&
17099 $as_test_x conftest$ac_exeext; then
17100 eval "$as_ac_var=yes"
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 eval "$as_ac_var=no"
17108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17109 conftest$ac_exeext conftest.$ac_ext
17111 ac_res=`eval echo '${'$as_ac_var'}'`
17112 { echo "$as_me:$LINENO: result: $ac_res" >&5
17113 echo "${ECHO_T}$ac_res" >&6; }
17114 if test `eval echo '${'$as_ac_var'}'` = yes; then
17115 cat >>confdefs.h <<_ACEOF
17116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17117 _ACEOF
17120 done
17123 if test "$ac_cv_func_dlopen" = no
17124 then
17125 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17126 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17127 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 else
17130 ac_check_lib_save_LIBS=$LIBS
17131 LIBS="-ldl $LIBS"
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17139 /* Override any GCC internal prototype to avoid an error.
17140 Use char because int might match the return type of a GCC
17141 builtin and then its argument prototype would still apply. */
17142 #ifdef __cplusplus
17143 extern "C"
17144 #endif
17145 char dlopen ();
17147 main ()
17149 return dlopen ();
17151 return 0;
17153 _ACEOF
17154 rm -f conftest.$ac_objext conftest$ac_exeext
17155 if { (ac_try="$ac_link"
17156 case "(($ac_try" in
17157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17158 *) ac_try_echo=$ac_try;;
17159 esac
17160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17161 (eval "$ac_link") 2>conftest.er1
17162 ac_status=$?
17163 grep -v '^ *+' conftest.er1 >conftest.err
17164 rm -f conftest.er1
17165 cat conftest.err >&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } && {
17168 test -z "$ac_c_werror_flag" ||
17169 test ! -s conftest.err
17170 } && test -s conftest$ac_exeext &&
17171 $as_test_x conftest$ac_exeext; then
17172 ac_cv_lib_dl_dlopen=yes
17173 else
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17177 ac_cv_lib_dl_dlopen=no
17180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17181 conftest$ac_exeext conftest.$ac_ext
17182 LIBS=$ac_check_lib_save_LIBS
17184 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17185 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17186 if test $ac_cv_lib_dl_dlopen = yes; then
17187 cat >>confdefs.h <<\_ACEOF
17188 #define HAVE_DLOPEN 1
17189 _ACEOF
17190 LIBDL="-ldl"
17195 ac_wine_check_funcs_save_LIBS="$LIBS"
17196 LIBS="$LIBS $LIBDL"
17198 for ac_func in dladdr
17200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17214 #define $ac_func innocuous_$ac_func
17216 /* System header to define __stub macros and hopefully few prototypes,
17217 which can conflict with char $ac_func (); below.
17218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17219 <limits.h> exists even on freestanding compilers. */
17221 #ifdef __STDC__
17222 # include <limits.h>
17223 #else
17224 # include <assert.h>
17225 #endif
17227 #undef $ac_func
17229 /* Override any GCC internal prototype to avoid an error.
17230 Use char because int might match the return type of a GCC
17231 builtin and then its argument prototype would still apply. */
17232 #ifdef __cplusplus
17233 extern "C"
17234 #endif
17235 char $ac_func ();
17236 /* The GNU C library defines this for functions which it implements
17237 to always fail with ENOSYS. Some functions are actually named
17238 something starting with __ and the normal name is an alias. */
17239 #if defined __stub_$ac_func || defined __stub___$ac_func
17240 choke me
17241 #endif
17244 main ()
17246 return $ac_func ();
17248 return 0;
17250 _ACEOF
17251 rm -f conftest.$ac_objext conftest$ac_exeext
17252 if { (ac_try="$ac_link"
17253 case "(($ac_try" in
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17255 *) ac_try_echo=$ac_try;;
17256 esac
17257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17258 (eval "$ac_link") 2>conftest.er1
17259 ac_status=$?
17260 grep -v '^ *+' conftest.er1 >conftest.err
17261 rm -f conftest.er1
17262 cat conftest.err >&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } && {
17265 test -z "$ac_c_werror_flag" ||
17266 test ! -s conftest.err
17267 } && test -s conftest$ac_exeext &&
17268 $as_test_x conftest$ac_exeext; then
17269 eval "$as_ac_var=yes"
17270 else
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17274 eval "$as_ac_var=no"
17277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17278 conftest$ac_exeext conftest.$ac_ext
17280 ac_res=`eval echo '${'$as_ac_var'}'`
17281 { echo "$as_me:$LINENO: result: $ac_res" >&5
17282 echo "${ECHO_T}$ac_res" >&6; }
17283 if test `eval echo '${'$as_ac_var'}'` = yes; then
17284 cat >>confdefs.h <<_ACEOF
17285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17286 _ACEOF
17289 done
17291 LIBS="$ac_wine_check_funcs_save_LIBS"
17293 if test "$ac_cv_func_poll" = no
17294 then
17295 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17296 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17297 if test "${ac_cv_lib_poll_poll+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17300 ac_check_lib_save_LIBS=$LIBS
17301 LIBS="-lpoll $LIBS"
17302 cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h. */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17309 /* Override any GCC internal prototype to avoid an error.
17310 Use char because int might match the return type of a GCC
17311 builtin and then its argument prototype would still apply. */
17312 #ifdef __cplusplus
17313 extern "C"
17314 #endif
17315 char poll ();
17317 main ()
17319 return poll ();
17321 return 0;
17323 _ACEOF
17324 rm -f conftest.$ac_objext conftest$ac_exeext
17325 if { (ac_try="$ac_link"
17326 case "(($ac_try" in
17327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17328 *) ac_try_echo=$ac_try;;
17329 esac
17330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17331 (eval "$ac_link") 2>conftest.er1
17332 ac_status=$?
17333 grep -v '^ *+' conftest.er1 >conftest.err
17334 rm -f conftest.er1
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } && {
17338 test -z "$ac_c_werror_flag" ||
17339 test ! -s conftest.err
17340 } && test -s conftest$ac_exeext &&
17341 $as_test_x conftest$ac_exeext; then
17342 ac_cv_lib_poll_poll=yes
17343 else
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17347 ac_cv_lib_poll_poll=no
17350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17351 conftest$ac_exeext conftest.$ac_ext
17352 LIBS=$ac_check_lib_save_LIBS
17354 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17355 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17356 if test $ac_cv_lib_poll_poll = yes; then
17357 cat >>confdefs.h <<\_ACEOF
17358 #define HAVE_POLL 1
17359 _ACEOF
17360 LIBPOLL="-lpoll"
17366 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17367 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17368 if test "${ac_cv_search_gethostbyname+set}" = set; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 else
17371 ac_func_search_save_LIBS=$LIBS
17372 cat >conftest.$ac_ext <<_ACEOF
17373 /* confdefs.h. */
17374 _ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17379 /* Override any GCC internal prototype to avoid an error.
17380 Use char because int might match the return type of a GCC
17381 builtin and then its argument prototype would still apply. */
17382 #ifdef __cplusplus
17383 extern "C"
17384 #endif
17385 char gethostbyname ();
17387 main ()
17389 return gethostbyname ();
17391 return 0;
17393 _ACEOF
17394 for ac_lib in '' nsl; do
17395 if test -z "$ac_lib"; then
17396 ac_res="none required"
17397 else
17398 ac_res=-l$ac_lib
17399 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17401 rm -f conftest.$ac_objext conftest$ac_exeext
17402 if { (ac_try="$ac_link"
17403 case "(($ac_try" in
17404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17405 *) ac_try_echo=$ac_try;;
17406 esac
17407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17408 (eval "$ac_link") 2>conftest.er1
17409 ac_status=$?
17410 grep -v '^ *+' conftest.er1 >conftest.err
17411 rm -f conftest.er1
17412 cat conftest.err >&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } && {
17415 test -z "$ac_c_werror_flag" ||
17416 test ! -s conftest.err
17417 } && test -s conftest$ac_exeext &&
17418 $as_test_x conftest$ac_exeext; then
17419 ac_cv_search_gethostbyname=$ac_res
17420 else
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17428 conftest$ac_exeext
17429 if test "${ac_cv_search_gethostbyname+set}" = set; then
17430 break
17432 done
17433 if test "${ac_cv_search_gethostbyname+set}" = set; then
17435 else
17436 ac_cv_search_gethostbyname=no
17438 rm conftest.$ac_ext
17439 LIBS=$ac_func_search_save_LIBS
17441 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17442 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17443 ac_res=$ac_cv_search_gethostbyname
17444 if test "$ac_res" != no; then
17445 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17450 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17451 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17452 if test "${ac_cv_search_connect+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 else
17455 ac_func_search_save_LIBS=$LIBS
17456 cat >conftest.$ac_ext <<_ACEOF
17457 /* confdefs.h. */
17458 _ACEOF
17459 cat confdefs.h >>conftest.$ac_ext
17460 cat >>conftest.$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17463 /* Override any GCC internal prototype to avoid an error.
17464 Use char because int might match the return type of a GCC
17465 builtin and then its argument prototype would still apply. */
17466 #ifdef __cplusplus
17467 extern "C"
17468 #endif
17469 char connect ();
17471 main ()
17473 return connect ();
17475 return 0;
17477 _ACEOF
17478 for ac_lib in '' socket; do
17479 if test -z "$ac_lib"; then
17480 ac_res="none required"
17481 else
17482 ac_res=-l$ac_lib
17483 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17485 rm -f conftest.$ac_objext conftest$ac_exeext
17486 if { (ac_try="$ac_link"
17487 case "(($ac_try" in
17488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489 *) ac_try_echo=$ac_try;;
17490 esac
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_link") 2>conftest.er1
17493 ac_status=$?
17494 grep -v '^ *+' conftest.er1 >conftest.err
17495 rm -f conftest.er1
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest$ac_exeext &&
17502 $as_test_x conftest$ac_exeext; then
17503 ac_cv_search_connect=$ac_res
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17512 conftest$ac_exeext
17513 if test "${ac_cv_search_connect+set}" = set; then
17514 break
17516 done
17517 if test "${ac_cv_search_connect+set}" = set; then
17519 else
17520 ac_cv_search_connect=no
17522 rm conftest.$ac_ext
17523 LIBS=$ac_func_search_save_LIBS
17525 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17526 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17527 ac_res=$ac_cv_search_connect
17528 if test "$ac_res" != no; then
17529 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17534 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17535 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17536 if test "${ac_cv_search_inet_aton+set}" = set; then
17537 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 else
17539 ac_func_search_save_LIBS=$LIBS
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17550 #ifdef __cplusplus
17551 extern "C"
17552 #endif
17553 char inet_aton ();
17555 main ()
17557 return inet_aton ();
17559 return 0;
17561 _ACEOF
17562 for ac_lib in '' resolv; do
17563 if test -z "$ac_lib"; then
17564 ac_res="none required"
17565 else
17566 ac_res=-l$ac_lib
17567 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17569 rm -f conftest.$ac_objext conftest$ac_exeext
17570 if { (ac_try="$ac_link"
17571 case "(($ac_try" in
17572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17573 *) ac_try_echo=$ac_try;;
17574 esac
17575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17576 (eval "$ac_link") 2>conftest.er1
17577 ac_status=$?
17578 grep -v '^ *+' conftest.er1 >conftest.err
17579 rm -f conftest.er1
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } && {
17583 test -z "$ac_c_werror_flag" ||
17584 test ! -s conftest.err
17585 } && test -s conftest$ac_exeext &&
17586 $as_test_x conftest$ac_exeext; then
17587 ac_cv_search_inet_aton=$ac_res
17588 else
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17596 conftest$ac_exeext
17597 if test "${ac_cv_search_inet_aton+set}" = set; then
17598 break
17600 done
17601 if test "${ac_cv_search_inet_aton+set}" = set; then
17603 else
17604 ac_cv_search_inet_aton=no
17606 rm conftest.$ac_ext
17607 LIBS=$ac_func_search_save_LIBS
17609 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17610 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17611 ac_res=$ac_cv_search_inet_aton
17612 if test "$ac_res" != no; then
17613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17626 for ac_func in \
17627 getaddrinfo \
17628 getnameinfo \
17629 getnetbyname \
17630 getprotobyname \
17631 getprotobynumber \
17632 getservbyport \
17633 inet_network \
17634 sendmsg \
17637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17651 #define $ac_func innocuous_$ac_func
17653 /* System header to define __stub macros and hopefully few prototypes,
17654 which can conflict with char $ac_func (); below.
17655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17656 <limits.h> exists even on freestanding compilers. */
17658 #ifdef __STDC__
17659 # include <limits.h>
17660 #else
17661 # include <assert.h>
17662 #endif
17664 #undef $ac_func
17666 /* Override any GCC internal prototype to avoid an error.
17667 Use char because int might match the return type of a GCC
17668 builtin and then its argument prototype would still apply. */
17669 #ifdef __cplusplus
17670 extern "C"
17671 #endif
17672 char $ac_func ();
17673 /* The GNU C library defines this for functions which it implements
17674 to always fail with ENOSYS. Some functions are actually named
17675 something starting with __ and the normal name is an alias. */
17676 #if defined __stub_$ac_func || defined __stub___$ac_func
17677 choke me
17678 #endif
17681 main ()
17683 return $ac_func ();
17685 return 0;
17687 _ACEOF
17688 rm -f conftest.$ac_objext conftest$ac_exeext
17689 if { (ac_try="$ac_link"
17690 case "(($ac_try" in
17691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17692 *) ac_try_echo=$ac_try;;
17693 esac
17694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17695 (eval "$ac_link") 2>conftest.er1
17696 ac_status=$?
17697 grep -v '^ *+' conftest.er1 >conftest.err
17698 rm -f conftest.er1
17699 cat conftest.err >&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } && {
17702 test -z "$ac_c_werror_flag" ||
17703 test ! -s conftest.err
17704 } && test -s conftest$ac_exeext &&
17705 $as_test_x conftest$ac_exeext; then
17706 eval "$as_ac_var=yes"
17707 else
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.$ac_ext >&5
17711 eval "$as_ac_var=no"
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17717 ac_res=`eval echo '${'$as_ac_var'}'`
17718 { echo "$as_me:$LINENO: result: $ac_res" >&5
17719 echo "${ECHO_T}$ac_res" >&6; }
17720 if test `eval echo '${'$as_ac_var'}'` = yes; then
17721 cat >>confdefs.h <<_ACEOF
17722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17723 _ACEOF
17726 done
17730 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17731 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17732 if test "${ac_cv_c_const+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 else
17735 cat >conftest.$ac_ext <<_ACEOF
17736 /* confdefs.h. */
17737 _ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17743 main ()
17745 /* FIXME: Include the comments suggested by Paul. */
17746 #ifndef __cplusplus
17747 /* Ultrix mips cc rejects this. */
17748 typedef int charset[2];
17749 const charset cs;
17750 /* SunOS 4.1.1 cc rejects this. */
17751 char const *const *pcpcc;
17752 char **ppc;
17753 /* NEC SVR4.0.2 mips cc rejects this. */
17754 struct point {int x, y;};
17755 static struct point const zero = {0,0};
17756 /* AIX XL C 1.02.0.0 rejects this.
17757 It does not let you subtract one const X* pointer from another in
17758 an arm of an if-expression whose if-part is not a constant
17759 expression */
17760 const char *g = "string";
17761 pcpcc = &g + (g ? g-g : 0);
17762 /* HPUX 7.0 cc rejects these. */
17763 ++pcpcc;
17764 ppc = (char**) pcpcc;
17765 pcpcc = (char const *const *) ppc;
17766 { /* SCO 3.2v4 cc rejects this. */
17767 char *t;
17768 char const *s = 0 ? (char *) 0 : (char const *) 0;
17770 *t++ = 0;
17771 if (s) return 0;
17773 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17774 int x[] = {25, 17};
17775 const int *foo = &x[0];
17776 ++foo;
17778 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17779 typedef const int *iptr;
17780 iptr p = 0;
17781 ++p;
17783 { /* AIX XL C 1.02.0.0 rejects this saying
17784 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17785 struct s { int j; const int *ap[3]; };
17786 struct s *b; b->j = 5;
17788 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17789 const int foo = 10;
17790 if (!foo) return 0;
17792 return !cs[0] && !zero.x;
17793 #endif
17796 return 0;
17798 _ACEOF
17799 rm -f conftest.$ac_objext
17800 if { (ac_try="$ac_compile"
17801 case "(($ac_try" in
17802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17804 esac
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_compile") 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && {
17813 test -z "$ac_c_werror_flag" ||
17814 test ! -s conftest.err
17815 } && test -s conftest.$ac_objext; then
17816 ac_cv_c_const=yes
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17821 ac_cv_c_const=no
17824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17826 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17827 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17828 if test $ac_cv_c_const = no; then
17830 cat >>confdefs.h <<\_ACEOF
17831 #define const
17832 _ACEOF
17836 { echo "$as_me:$LINENO: checking for inline" >&5
17837 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17838 if test "${ac_cv_c_inline+set}" = set; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17840 else
17841 ac_cv_c_inline=no
17842 for ac_kw in inline __inline__ __inline; do
17843 cat >conftest.$ac_ext <<_ACEOF
17844 /* confdefs.h. */
17845 _ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 #ifndef __cplusplus
17850 typedef int foo_t;
17851 static $ac_kw foo_t static_foo () {return 0; }
17852 $ac_kw foo_t foo () {return 0; }
17853 #endif
17855 _ACEOF
17856 rm -f conftest.$ac_objext
17857 if { (ac_try="$ac_compile"
17858 case "(($ac_try" in
17859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17860 *) ac_try_echo=$ac_try;;
17861 esac
17862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17863 (eval "$ac_compile") 2>conftest.er1
17864 ac_status=$?
17865 grep -v '^ *+' conftest.er1 >conftest.err
17866 rm -f conftest.er1
17867 cat conftest.err >&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } && {
17870 test -z "$ac_c_werror_flag" ||
17871 test ! -s conftest.err
17872 } && test -s conftest.$ac_objext; then
17873 ac_cv_c_inline=$ac_kw
17874 else
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17882 test "$ac_cv_c_inline" != no && break
17883 done
17886 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17887 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17890 case $ac_cv_c_inline in
17891 inline | yes) ;;
17893 case $ac_cv_c_inline in
17894 no) ac_val=;;
17895 *) ac_val=$ac_cv_c_inline;;
17896 esac
17897 cat >>confdefs.h <<_ACEOF
17898 #ifndef __cplusplus
17899 #define inline $ac_val
17900 #endif
17901 _ACEOF
17903 esac
17905 { echo "$as_me:$LINENO: checking for mode_t" >&5
17906 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17907 if test "${ac_cv_type_mode_t+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 else
17910 cat >conftest.$ac_ext <<_ACEOF
17911 /* confdefs.h. */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17917 typedef mode_t ac__type_new_;
17919 main ()
17921 if ((ac__type_new_ *) 0)
17922 return 0;
17923 if (sizeof (ac__type_new_))
17924 return 0;
17926 return 0;
17928 _ACEOF
17929 rm -f conftest.$ac_objext
17930 if { (ac_try="$ac_compile"
17931 case "(($ac_try" in
17932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17933 *) ac_try_echo=$ac_try;;
17934 esac
17935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17936 (eval "$ac_compile") 2>conftest.er1
17937 ac_status=$?
17938 grep -v '^ *+' conftest.er1 >conftest.err
17939 rm -f conftest.er1
17940 cat conftest.err >&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } && {
17943 test -z "$ac_c_werror_flag" ||
17944 test ! -s conftest.err
17945 } && test -s conftest.$ac_objext; then
17946 ac_cv_type_mode_t=yes
17947 else
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.$ac_ext >&5
17951 ac_cv_type_mode_t=no
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17957 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17958 if test $ac_cv_type_mode_t = yes; then
17960 cat >>confdefs.h <<_ACEOF
17961 #define HAVE_MODE_T 1
17962 _ACEOF
17966 { echo "$as_me:$LINENO: checking for off_t" >&5
17967 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17968 if test "${ac_cv_type_off_t+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17970 else
17971 cat >conftest.$ac_ext <<_ACEOF
17972 /* confdefs.h. */
17973 _ACEOF
17974 cat confdefs.h >>conftest.$ac_ext
17975 cat >>conftest.$ac_ext <<_ACEOF
17976 /* end confdefs.h. */
17977 $ac_includes_default
17978 typedef off_t ac__type_new_;
17980 main ()
17982 if ((ac__type_new_ *) 0)
17983 return 0;
17984 if (sizeof (ac__type_new_))
17985 return 0;
17987 return 0;
17989 _ACEOF
17990 rm -f conftest.$ac_objext
17991 if { (ac_try="$ac_compile"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17995 esac
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_compile") 2>conftest.er1
17998 ac_status=$?
17999 grep -v '^ *+' conftest.er1 >conftest.err
18000 rm -f conftest.er1
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest.$ac_objext; then
18007 ac_cv_type_off_t=yes
18008 else
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18012 ac_cv_type_off_t=no
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18018 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18019 if test $ac_cv_type_off_t = yes; then
18021 cat >>confdefs.h <<_ACEOF
18022 #define HAVE_OFF_T 1
18023 _ACEOF
18027 { echo "$as_me:$LINENO: checking for pid_t" >&5
18028 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18029 if test "${ac_cv_type_pid_t+set}" = set; then
18030 echo $ECHO_N "(cached) $ECHO_C" >&6
18031 else
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 $ac_includes_default
18039 typedef pid_t ac__type_new_;
18041 main ()
18043 if ((ac__type_new_ *) 0)
18044 return 0;
18045 if (sizeof (ac__type_new_))
18046 return 0;
18048 return 0;
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (ac_try="$ac_compile"
18053 case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18056 esac
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_compile") 2>conftest.er1
18059 ac_status=$?
18060 grep -v '^ *+' conftest.er1 >conftest.err
18061 rm -f conftest.er1
18062 cat conftest.err >&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && {
18065 test -z "$ac_c_werror_flag" ||
18066 test ! -s conftest.err
18067 } && test -s conftest.$ac_objext; then
18068 ac_cv_type_pid_t=yes
18069 else
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18073 ac_cv_type_pid_t=no
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18078 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18079 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18080 if test $ac_cv_type_pid_t = yes; then
18082 cat >>confdefs.h <<_ACEOF
18083 #define HAVE_PID_T 1
18084 _ACEOF
18088 { echo "$as_me:$LINENO: checking for size_t" >&5
18089 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18090 if test "${ac_cv_type_size_t+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 else
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 $ac_includes_default
18100 typedef size_t ac__type_new_;
18102 main ()
18104 if ((ac__type_new_ *) 0)
18105 return 0;
18106 if (sizeof (ac__type_new_))
18107 return 0;
18109 return 0;
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_type_size_t=yes
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18134 ac_cv_type_size_t=no
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18140 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18141 if test $ac_cv_type_size_t = yes; then
18143 cat >>confdefs.h <<_ACEOF
18144 #define HAVE_SIZE_T 1
18145 _ACEOF
18149 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18150 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18151 if test "${ac_cv_type_ssize_t+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18153 else
18154 cat >conftest.$ac_ext <<_ACEOF
18155 /* confdefs.h. */
18156 _ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 $ac_includes_default
18161 typedef ssize_t ac__type_new_;
18163 main ()
18165 if ((ac__type_new_ *) 0)
18166 return 0;
18167 if (sizeof (ac__type_new_))
18168 return 0;
18170 return 0;
18172 _ACEOF
18173 rm -f conftest.$ac_objext
18174 if { (ac_try="$ac_compile"
18175 case "(($ac_try" in
18176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18178 esac
18179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18180 (eval "$ac_compile") 2>conftest.er1
18181 ac_status=$?
18182 grep -v '^ *+' conftest.er1 >conftest.err
18183 rm -f conftest.er1
18184 cat conftest.err >&5
18185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18186 (exit $ac_status); } && {
18187 test -z "$ac_c_werror_flag" ||
18188 test ! -s conftest.err
18189 } && test -s conftest.$ac_objext; then
18190 ac_cv_type_ssize_t=yes
18191 else
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18195 ac_cv_type_ssize_t=no
18198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18200 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18201 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18202 if test $ac_cv_type_ssize_t = yes; then
18204 cat >>confdefs.h <<_ACEOF
18205 #define HAVE_SSIZE_T 1
18206 _ACEOF
18210 { echo "$as_me:$LINENO: checking for long long" >&5
18211 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18212 if test "${ac_cv_type_long_long+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 else
18215 cat >conftest.$ac_ext <<_ACEOF
18216 /* confdefs.h. */
18217 _ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18221 $ac_includes_default
18222 typedef long long ac__type_new_;
18224 main ()
18226 if ((ac__type_new_ *) 0)
18227 return 0;
18228 if (sizeof (ac__type_new_))
18229 return 0;
18231 return 0;
18233 _ACEOF
18234 rm -f conftest.$ac_objext
18235 if { (ac_try="$ac_compile"
18236 case "(($ac_try" in
18237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238 *) ac_try_echo=$ac_try;;
18239 esac
18240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18241 (eval "$ac_compile") 2>conftest.er1
18242 ac_status=$?
18243 grep -v '^ *+' conftest.er1 >conftest.err
18244 rm -f conftest.er1
18245 cat conftest.err >&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_c_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest.$ac_objext; then
18251 ac_cv_type_long_long=yes
18252 else
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_type_long_long=no
18259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18262 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18263 if test $ac_cv_type_long_long = yes; then
18265 cat >>confdefs.h <<_ACEOF
18266 #define HAVE_LONG_LONG 1
18267 _ACEOF
18271 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18272 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18273 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18274 echo $ECHO_N "(cached) $ECHO_C" >&6
18275 else
18276 cat >conftest.$ac_ext <<_ACEOF
18277 /* confdefs.h. */
18278 _ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 $ac_includes_default
18283 typedef fsblkcnt_t ac__type_new_;
18285 main ()
18287 if ((ac__type_new_ *) 0)
18288 return 0;
18289 if (sizeof (ac__type_new_))
18290 return 0;
18292 return 0;
18294 _ACEOF
18295 rm -f conftest.$ac_objext
18296 if { (ac_try="$ac_compile"
18297 case "(($ac_try" in
18298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18299 *) ac_try_echo=$ac_try;;
18300 esac
18301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18302 (eval "$ac_compile") 2>conftest.er1
18303 ac_status=$?
18304 grep -v '^ *+' conftest.er1 >conftest.err
18305 rm -f conftest.er1
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } && {
18309 test -z "$ac_c_werror_flag" ||
18310 test ! -s conftest.err
18311 } && test -s conftest.$ac_objext; then
18312 ac_cv_type_fsblkcnt_t=yes
18313 else
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18317 ac_cv_type_fsblkcnt_t=no
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18323 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18324 if test $ac_cv_type_fsblkcnt_t = yes; then
18326 cat >>confdefs.h <<_ACEOF
18327 #define HAVE_FSBLKCNT_T 1
18328 _ACEOF
18332 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18333 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18334 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18335 echo $ECHO_N "(cached) $ECHO_C" >&6
18336 else
18337 cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h. */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18343 $ac_includes_default
18344 typedef fsfilcnt_t ac__type_new_;
18346 main ()
18348 if ((ac__type_new_ *) 0)
18349 return 0;
18350 if (sizeof (ac__type_new_))
18351 return 0;
18353 return 0;
18355 _ACEOF
18356 rm -f conftest.$ac_objext
18357 if { (ac_try="$ac_compile"
18358 case "(($ac_try" in
18359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18361 esac
18362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_compile") 2>conftest.er1
18364 ac_status=$?
18365 grep -v '^ *+' conftest.er1 >conftest.err
18366 rm -f conftest.er1
18367 cat conftest.err >&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } && {
18370 test -z "$ac_c_werror_flag" ||
18371 test ! -s conftest.err
18372 } && test -s conftest.$ac_objext; then
18373 ac_cv_type_fsfilcnt_t=yes
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18378 ac_cv_type_fsfilcnt_t=no
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18384 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18385 if test $ac_cv_type_fsfilcnt_t = yes; then
18387 cat >>confdefs.h <<_ACEOF
18388 #define HAVE_FSFILCNT_T 1
18389 _ACEOF
18394 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18395 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18396 if test "${ac_cv_type_sigset_t+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 else
18399 cat >conftest.$ac_ext <<_ACEOF
18400 /* confdefs.h. */
18401 _ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <signal.h>
18407 typedef sigset_t ac__type_new_;
18409 main ()
18411 if ((ac__type_new_ *) 0)
18412 return 0;
18413 if (sizeof (ac__type_new_))
18414 return 0;
18416 return 0;
18418 _ACEOF
18419 rm -f conftest.$ac_objext
18420 if { (ac_try="$ac_compile"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18424 esac
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_compile") 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest.$ac_objext; then
18436 ac_cv_type_sigset_t=yes
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18441 ac_cv_type_sigset_t=no
18444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18446 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18447 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18448 if test $ac_cv_type_sigset_t = yes; then
18450 cat >>confdefs.h <<_ACEOF
18451 #define HAVE_SIGSET_T 1
18452 _ACEOF
18457 { echo "$as_me:$LINENO: checking for request_sense" >&5
18458 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18459 if test "${ac_cv_type_request_sense+set}" = set; then
18460 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 else
18462 cat >conftest.$ac_ext <<_ACEOF
18463 /* confdefs.h. */
18464 _ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18468 #include <linux/cdrom.h>
18470 typedef request_sense ac__type_new_;
18472 main ()
18474 if ((ac__type_new_ *) 0)
18475 return 0;
18476 if (sizeof (ac__type_new_))
18477 return 0;
18479 return 0;
18481 _ACEOF
18482 rm -f conftest.$ac_objext
18483 if { (ac_try="$ac_compile"
18484 case "(($ac_try" in
18485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18487 esac
18488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18489 (eval "$ac_compile") 2>conftest.er1
18490 ac_status=$?
18491 grep -v '^ *+' conftest.er1 >conftest.err
18492 rm -f conftest.er1
18493 cat conftest.err >&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } && {
18496 test -z "$ac_c_werror_flag" ||
18497 test ! -s conftest.err
18498 } && test -s conftest.$ac_objext; then
18499 ac_cv_type_request_sense=yes
18500 else
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 ac_cv_type_request_sense=no
18507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18509 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18510 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18511 if test $ac_cv_type_request_sense = yes; then
18513 cat >>confdefs.h <<_ACEOF
18514 #define HAVE_REQUEST_SENSE 1
18515 _ACEOF
18521 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18522 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18523 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18524 echo $ECHO_N "(cached) $ECHO_C" >&6
18525 else
18526 cat >conftest.$ac_ext <<_ACEOF
18527 /* confdefs.h. */
18528 _ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 #ifdef HAVE_LINUX_INPUT_H
18533 #include <linux/input.h>
18534 #endif
18537 main ()
18539 static struct ff_effect ac_aggr;
18540 if (ac_aggr.direction)
18541 return 0;
18543 return 0;
18545 _ACEOF
18546 rm -f conftest.$ac_objext
18547 if { (ac_try="$ac_compile"
18548 case "(($ac_try" in
18549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18550 *) ac_try_echo=$ac_try;;
18551 esac
18552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18553 (eval "$ac_compile") 2>conftest.er1
18554 ac_status=$?
18555 grep -v '^ *+' conftest.er1 >conftest.err
18556 rm -f conftest.er1
18557 cat conftest.err >&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } && {
18560 test -z "$ac_c_werror_flag" ||
18561 test ! -s conftest.err
18562 } && test -s conftest.$ac_objext; then
18563 ac_cv_member_struct_ff_effect_direction=yes
18564 else
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 cat >conftest.$ac_ext <<_ACEOF
18569 /* confdefs.h. */
18570 _ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 #ifdef HAVE_LINUX_INPUT_H
18575 #include <linux/input.h>
18576 #endif
18579 main ()
18581 static struct ff_effect ac_aggr;
18582 if (sizeof ac_aggr.direction)
18583 return 0;
18585 return 0;
18587 _ACEOF
18588 rm -f conftest.$ac_objext
18589 if { (ac_try="$ac_compile"
18590 case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18593 esac
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_compile") 2>conftest.er1
18596 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } && {
18602 test -z "$ac_c_werror_flag" ||
18603 test ! -s conftest.err
18604 } && test -s conftest.$ac_objext; then
18605 ac_cv_member_struct_ff_effect_direction=yes
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 ac_cv_member_struct_ff_effect_direction=no
18613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18618 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18619 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18620 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18622 cat >>confdefs.h <<_ACEOF
18623 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18624 _ACEOF
18630 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18631 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18632 if test "${wine_cv_have_sigaddset+set}" = set; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18634 else
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 #include <signal.h>
18643 main ()
18645 sigset_t set; sigaddset(&set,SIGTERM);
18647 return 0;
18649 _ACEOF
18650 rm -f conftest.$ac_objext conftest$ac_exeext
18651 if { (ac_try="$ac_link"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18655 esac
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_link") 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest$ac_exeext &&
18667 $as_test_x conftest$ac_exeext; then
18668 wine_cv_have_sigaddset=yes
18669 else
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.$ac_ext >&5
18673 wine_cv_have_sigaddset=no
18676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18677 conftest$ac_exeext conftest.$ac_ext
18679 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18680 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18681 if test "$wine_cv_have_sigaddset" = "yes"
18682 then
18684 cat >>confdefs.h <<\_ACEOF
18685 #define HAVE_SIGADDSET 1
18686 _ACEOF
18691 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18692 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18693 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18695 else
18696 cat >conftest.$ac_ext <<_ACEOF
18697 /* confdefs.h. */
18698 _ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 #include <netdb.h>
18704 main ()
18707 char *name=0;
18708 struct hostent he;
18709 struct hostent *result;
18710 char *buf=0;
18711 int bufsize=0;
18712 int res,errnr;
18713 char *addr=0;
18714 int addrlen=0;
18715 int addrtype=0;
18716 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18717 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18720 return 0;
18722 _ACEOF
18723 rm -f conftest.$ac_objext conftest$ac_exeext
18724 if { (ac_try="$ac_link"
18725 case "(($ac_try" in
18726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18728 esac
18729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_link") 2>conftest.er1
18731 ac_status=$?
18732 grep -v '^ *+' conftest.er1 >conftest.err
18733 rm -f conftest.er1
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } && {
18737 test -z "$ac_c_werror_flag" ||
18738 test ! -s conftest.err
18739 } && test -s conftest$ac_exeext &&
18740 $as_test_x conftest$ac_exeext; then
18741 wine_cv_linux_gethostbyname_r_6=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 wine_cv_linux_gethostbyname_r_6=no
18750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18751 conftest$ac_exeext conftest.$ac_ext
18754 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18755 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18756 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18757 then
18759 cat >>confdefs.h <<\_ACEOF
18760 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18761 _ACEOF
18765 if test "$ac_cv_header_linux_joystick_h" = "yes"
18766 then
18767 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18768 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18769 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18771 else
18772 cat >conftest.$ac_ext <<_ACEOF
18773 /* confdefs.h. */
18774 _ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18779 #include <sys/ioctl.h>
18780 #include <sys/types.h>
18781 #include <linux/joystick.h>
18783 struct js_event blub;
18784 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18785 #error "no 2.2 header"
18786 #endif
18789 main ()
18791 /*empty*/
18793 return 0;
18795 _ACEOF
18796 rm -f conftest.$ac_objext
18797 if { (ac_try="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18801 esac
18802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18804 ac_status=$?
18805 grep -v '^ *+' conftest.er1 >conftest.err
18806 rm -f conftest.er1
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 wine_cv_linux_joystick_22_api=yes
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 wine_cv_linux_joystick_22_api=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18825 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18826 if test "$wine_cv_linux_joystick_22_api" = "yes"
18827 then
18829 cat >>confdefs.h <<\_ACEOF
18830 #define HAVE_LINUX_22_JOYSTICK_API 1
18831 _ACEOF
18837 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18838 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18839 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 else
18842 cat >conftest.$ac_ext <<_ACEOF
18843 /* confdefs.h. */
18844 _ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848 #include <sys/types.h>
18849 #ifdef HAVE_SYS_PARAM_H
18850 # include <sys/param.h>
18851 #endif
18852 #ifdef HAVE_SYS_MOUNT_H
18853 # include <sys/mount.h>
18854 #endif
18855 #ifdef HAVE_SYS_VFS_H
18856 # include <sys/vfs.h>
18857 #endif
18858 #ifdef HAVE_SYS_STATFS_H
18859 # include <sys/statfs.h>
18860 #endif
18863 main ()
18865 static struct statfs ac_aggr;
18866 if (ac_aggr.f_bfree)
18867 return 0;
18869 return 0;
18871 _ACEOF
18872 rm -f conftest.$ac_objext
18873 if { (ac_try="$ac_compile"
18874 case "(($ac_try" in
18875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18876 *) ac_try_echo=$ac_try;;
18877 esac
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_compile") 2>conftest.er1
18880 ac_status=$?
18881 grep -v '^ *+' conftest.er1 >conftest.err
18882 rm -f conftest.er1
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } && {
18886 test -z "$ac_c_werror_flag" ||
18887 test ! -s conftest.err
18888 } && test -s conftest.$ac_objext; then
18889 ac_cv_member_struct_statfs_f_bfree=yes
18890 else
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18894 cat >conftest.$ac_ext <<_ACEOF
18895 /* confdefs.h. */
18896 _ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18901 #ifdef HAVE_SYS_PARAM_H
18902 # include <sys/param.h>
18903 #endif
18904 #ifdef HAVE_SYS_MOUNT_H
18905 # include <sys/mount.h>
18906 #endif
18907 #ifdef HAVE_SYS_VFS_H
18908 # include <sys/vfs.h>
18909 #endif
18910 #ifdef HAVE_SYS_STATFS_H
18911 # include <sys/statfs.h>
18912 #endif
18915 main ()
18917 static struct statfs ac_aggr;
18918 if (sizeof ac_aggr.f_bfree)
18919 return 0;
18921 return 0;
18923 _ACEOF
18924 rm -f conftest.$ac_objext
18925 if { (ac_try="$ac_compile"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_compile") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest.$ac_objext; then
18941 ac_cv_member_struct_statfs_f_bfree=yes
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18946 ac_cv_member_struct_statfs_f_bfree=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18955 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18956 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_STRUCT_STATFS_F_BFREE 1
18960 _ACEOF
18964 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18965 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18966 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <sys/types.h>
18976 #ifdef HAVE_SYS_PARAM_H
18977 # include <sys/param.h>
18978 #endif
18979 #ifdef HAVE_SYS_MOUNT_H
18980 # include <sys/mount.h>
18981 #endif
18982 #ifdef HAVE_SYS_VFS_H
18983 # include <sys/vfs.h>
18984 #endif
18985 #ifdef HAVE_SYS_STATFS_H
18986 # include <sys/statfs.h>
18987 #endif
18990 main ()
18992 static struct statfs ac_aggr;
18993 if (ac_aggr.f_bavail)
18994 return 0;
18996 return 0;
18998 _ACEOF
18999 rm -f conftest.$ac_objext
19000 if { (ac_try="$ac_compile"
19001 case "(($ac_try" in
19002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19003 *) ac_try_echo=$ac_try;;
19004 esac
19005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19006 (eval "$ac_compile") 2>conftest.er1
19007 ac_status=$?
19008 grep -v '^ *+' conftest.er1 >conftest.err
19009 rm -f conftest.er1
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } && {
19013 test -z "$ac_c_werror_flag" ||
19014 test ! -s conftest.err
19015 } && test -s conftest.$ac_objext; then
19016 ac_cv_member_struct_statfs_f_bavail=yes
19017 else
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19021 cat >conftest.$ac_ext <<_ACEOF
19022 /* confdefs.h. */
19023 _ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <sys/types.h>
19028 #ifdef HAVE_SYS_PARAM_H
19029 # include <sys/param.h>
19030 #endif
19031 #ifdef HAVE_SYS_MOUNT_H
19032 # include <sys/mount.h>
19033 #endif
19034 #ifdef HAVE_SYS_VFS_H
19035 # include <sys/vfs.h>
19036 #endif
19037 #ifdef HAVE_SYS_STATFS_H
19038 # include <sys/statfs.h>
19039 #endif
19042 main ()
19044 static struct statfs ac_aggr;
19045 if (sizeof ac_aggr.f_bavail)
19046 return 0;
19048 return 0;
19050 _ACEOF
19051 rm -f conftest.$ac_objext
19052 if { (ac_try="$ac_compile"
19053 case "(($ac_try" in
19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19055 *) ac_try_echo=$ac_try;;
19056 esac
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19058 (eval "$ac_compile") 2>conftest.er1
19059 ac_status=$?
19060 grep -v '^ *+' conftest.er1 >conftest.err
19061 rm -f conftest.er1
19062 cat conftest.err >&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); } && {
19065 test -z "$ac_c_werror_flag" ||
19066 test ! -s conftest.err
19067 } && test -s conftest.$ac_objext; then
19068 ac_cv_member_struct_statfs_f_bavail=yes
19069 else
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.$ac_ext >&5
19073 ac_cv_member_struct_statfs_f_bavail=no
19076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19082 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19083 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19087 _ACEOF
19091 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19092 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19093 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19095 else
19096 cat >conftest.$ac_ext <<_ACEOF
19097 /* confdefs.h. */
19098 _ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 #include <sys/types.h>
19103 #ifdef HAVE_SYS_PARAM_H
19104 # include <sys/param.h>
19105 #endif
19106 #ifdef HAVE_SYS_MOUNT_H
19107 # include <sys/mount.h>
19108 #endif
19109 #ifdef HAVE_SYS_VFS_H
19110 # include <sys/vfs.h>
19111 #endif
19112 #ifdef HAVE_SYS_STATFS_H
19113 # include <sys/statfs.h>
19114 #endif
19117 main ()
19119 static struct statfs ac_aggr;
19120 if (ac_aggr.f_frsize)
19121 return 0;
19123 return 0;
19125 _ACEOF
19126 rm -f conftest.$ac_objext
19127 if { (ac_try="$ac_compile"
19128 case "(($ac_try" in
19129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19130 *) ac_try_echo=$ac_try;;
19131 esac
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compile") 2>conftest.er1
19134 ac_status=$?
19135 grep -v '^ *+' conftest.er1 >conftest.err
19136 rm -f conftest.er1
19137 cat conftest.err >&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } && {
19140 test -z "$ac_c_werror_flag" ||
19141 test ! -s conftest.err
19142 } && test -s conftest.$ac_objext; then
19143 ac_cv_member_struct_statfs_f_frsize=yes
19144 else
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.$ac_ext >&5
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 #include <sys/types.h>
19155 #ifdef HAVE_SYS_PARAM_H
19156 # include <sys/param.h>
19157 #endif
19158 #ifdef HAVE_SYS_MOUNT_H
19159 # include <sys/mount.h>
19160 #endif
19161 #ifdef HAVE_SYS_VFS_H
19162 # include <sys/vfs.h>
19163 #endif
19164 #ifdef HAVE_SYS_STATFS_H
19165 # include <sys/statfs.h>
19166 #endif
19169 main ()
19171 static struct statfs ac_aggr;
19172 if (sizeof ac_aggr.f_frsize)
19173 return 0;
19175 return 0;
19177 _ACEOF
19178 rm -f conftest.$ac_objext
19179 if { (ac_try="$ac_compile"
19180 case "(($ac_try" in
19181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19182 *) ac_try_echo=$ac_try;;
19183 esac
19184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19185 (eval "$ac_compile") 2>conftest.er1
19186 ac_status=$?
19187 grep -v '^ *+' conftest.er1 >conftest.err
19188 rm -f conftest.er1
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } && {
19192 test -z "$ac_c_werror_flag" ||
19193 test ! -s conftest.err
19194 } && test -s conftest.$ac_objext; then
19195 ac_cv_member_struct_statfs_f_frsize=yes
19196 else
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19200 ac_cv_member_struct_statfs_f_frsize=no
19203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19208 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19209 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19210 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19214 _ACEOF
19218 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19219 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19220 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19221 echo $ECHO_N "(cached) $ECHO_C" >&6
19222 else
19223 cat >conftest.$ac_ext <<_ACEOF
19224 /* confdefs.h. */
19225 _ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 #include <sys/types.h>
19230 #ifdef HAVE_SYS_PARAM_H
19231 # include <sys/param.h>
19232 #endif
19233 #ifdef HAVE_SYS_MOUNT_H
19234 # include <sys/mount.h>
19235 #endif
19236 #ifdef HAVE_SYS_VFS_H
19237 # include <sys/vfs.h>
19238 #endif
19239 #ifdef HAVE_SYS_STATFS_H
19240 # include <sys/statfs.h>
19241 #endif
19244 main ()
19246 static struct statfs ac_aggr;
19247 if (ac_aggr.f_ffree)
19248 return 0;
19250 return 0;
19252 _ACEOF
19253 rm -f conftest.$ac_objext
19254 if { (ac_try="$ac_compile"
19255 case "(($ac_try" in
19256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19257 *) ac_try_echo=$ac_try;;
19258 esac
19259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19260 (eval "$ac_compile") 2>conftest.er1
19261 ac_status=$?
19262 grep -v '^ *+' conftest.er1 >conftest.err
19263 rm -f conftest.er1
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } && {
19267 test -z "$ac_c_werror_flag" ||
19268 test ! -s conftest.err
19269 } && test -s conftest.$ac_objext; then
19270 ac_cv_member_struct_statfs_f_ffree=yes
19271 else
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.$ac_ext >&5
19275 cat >conftest.$ac_ext <<_ACEOF
19276 /* confdefs.h. */
19277 _ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 #include <sys/types.h>
19282 #ifdef HAVE_SYS_PARAM_H
19283 # include <sys/param.h>
19284 #endif
19285 #ifdef HAVE_SYS_MOUNT_H
19286 # include <sys/mount.h>
19287 #endif
19288 #ifdef HAVE_SYS_VFS_H
19289 # include <sys/vfs.h>
19290 #endif
19291 #ifdef HAVE_SYS_STATFS_H
19292 # include <sys/statfs.h>
19293 #endif
19296 main ()
19298 static struct statfs ac_aggr;
19299 if (sizeof ac_aggr.f_ffree)
19300 return 0;
19302 return 0;
19304 _ACEOF
19305 rm -f conftest.$ac_objext
19306 if { (ac_try="$ac_compile"
19307 case "(($ac_try" in
19308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19309 *) ac_try_echo=$ac_try;;
19310 esac
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 (eval "$ac_compile") 2>conftest.er1
19313 ac_status=$?
19314 grep -v '^ *+' conftest.er1 >conftest.err
19315 rm -f conftest.er1
19316 cat conftest.err >&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } && {
19319 test -z "$ac_c_werror_flag" ||
19320 test ! -s conftest.err
19321 } && test -s conftest.$ac_objext; then
19322 ac_cv_member_struct_statfs_f_ffree=yes
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19327 ac_cv_member_struct_statfs_f_ffree=no
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19335 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19336 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19337 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19339 cat >>confdefs.h <<_ACEOF
19340 #define HAVE_STRUCT_STATFS_F_FFREE 1
19341 _ACEOF
19345 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19346 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19347 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 else
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 #include <sys/types.h>
19357 #ifdef HAVE_SYS_PARAM_H
19358 # include <sys/param.h>
19359 #endif
19360 #ifdef HAVE_SYS_MOUNT_H
19361 # include <sys/mount.h>
19362 #endif
19363 #ifdef HAVE_SYS_VFS_H
19364 # include <sys/vfs.h>
19365 #endif
19366 #ifdef HAVE_SYS_STATFS_H
19367 # include <sys/statfs.h>
19368 #endif
19371 main ()
19373 static struct statfs ac_aggr;
19374 if (ac_aggr.f_favail)
19375 return 0;
19377 return 0;
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 ac_cv_member_struct_statfs_f_favail=yes
19398 else
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 #include <sys/types.h>
19409 #ifdef HAVE_SYS_PARAM_H
19410 # include <sys/param.h>
19411 #endif
19412 #ifdef HAVE_SYS_MOUNT_H
19413 # include <sys/mount.h>
19414 #endif
19415 #ifdef HAVE_SYS_VFS_H
19416 # include <sys/vfs.h>
19417 #endif
19418 #ifdef HAVE_SYS_STATFS_H
19419 # include <sys/statfs.h>
19420 #endif
19423 main ()
19425 static struct statfs ac_aggr;
19426 if (sizeof ac_aggr.f_favail)
19427 return 0;
19429 return 0;
19431 _ACEOF
19432 rm -f conftest.$ac_objext
19433 if { (ac_try="$ac_compile"
19434 case "(($ac_try" in
19435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19436 *) ac_try_echo=$ac_try;;
19437 esac
19438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19439 (eval "$ac_compile") 2>conftest.er1
19440 ac_status=$?
19441 grep -v '^ *+' conftest.er1 >conftest.err
19442 rm -f conftest.er1
19443 cat conftest.err >&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } && {
19446 test -z "$ac_c_werror_flag" ||
19447 test ! -s conftest.err
19448 } && test -s conftest.$ac_objext; then
19449 ac_cv_member_struct_statfs_f_favail=yes
19450 else
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19454 ac_cv_member_struct_statfs_f_favail=no
19457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19463 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19464 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19466 cat >>confdefs.h <<_ACEOF
19467 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19468 _ACEOF
19472 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19473 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19474 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 else
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 #include <sys/types.h>
19484 #ifdef HAVE_SYS_PARAM_H
19485 # include <sys/param.h>
19486 #endif
19487 #ifdef HAVE_SYS_MOUNT_H
19488 # include <sys/mount.h>
19489 #endif
19490 #ifdef HAVE_SYS_VFS_H
19491 # include <sys/vfs.h>
19492 #endif
19493 #ifdef HAVE_SYS_STATFS_H
19494 # include <sys/statfs.h>
19495 #endif
19498 main ()
19500 static struct statfs ac_aggr;
19501 if (ac_aggr.f_namelen)
19502 return 0;
19504 return 0;
19506 _ACEOF
19507 rm -f conftest.$ac_objext
19508 if { (ac_try="$ac_compile"
19509 case "(($ac_try" in
19510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19511 *) ac_try_echo=$ac_try;;
19512 esac
19513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19514 (eval "$ac_compile") 2>conftest.er1
19515 ac_status=$?
19516 grep -v '^ *+' conftest.er1 >conftest.err
19517 rm -f conftest.er1
19518 cat conftest.err >&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } && {
19521 test -z "$ac_c_werror_flag" ||
19522 test ! -s conftest.err
19523 } && test -s conftest.$ac_objext; then
19524 ac_cv_member_struct_statfs_f_namelen=yes
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19529 cat >conftest.$ac_ext <<_ACEOF
19530 /* confdefs.h. */
19531 _ACEOF
19532 cat confdefs.h >>conftest.$ac_ext
19533 cat >>conftest.$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 #include <sys/types.h>
19536 #ifdef HAVE_SYS_PARAM_H
19537 # include <sys/param.h>
19538 #endif
19539 #ifdef HAVE_SYS_MOUNT_H
19540 # include <sys/mount.h>
19541 #endif
19542 #ifdef HAVE_SYS_VFS_H
19543 # include <sys/vfs.h>
19544 #endif
19545 #ifdef HAVE_SYS_STATFS_H
19546 # include <sys/statfs.h>
19547 #endif
19550 main ()
19552 static struct statfs ac_aggr;
19553 if (sizeof ac_aggr.f_namelen)
19554 return 0;
19556 return 0;
19558 _ACEOF
19559 rm -f conftest.$ac_objext
19560 if { (ac_try="$ac_compile"
19561 case "(($ac_try" in
19562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19563 *) ac_try_echo=$ac_try;;
19564 esac
19565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19566 (eval "$ac_compile") 2>conftest.er1
19567 ac_status=$?
19568 grep -v '^ *+' conftest.er1 >conftest.err
19569 rm -f conftest.er1
19570 cat conftest.err >&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } && {
19573 test -z "$ac_c_werror_flag" ||
19574 test ! -s conftest.err
19575 } && test -s conftest.$ac_objext; then
19576 ac_cv_member_struct_statfs_f_namelen=yes
19577 else
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5
19581 ac_cv_member_struct_statfs_f_namelen=no
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19589 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19590 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19591 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19593 cat >>confdefs.h <<_ACEOF
19594 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19595 _ACEOF
19601 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19602 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19603 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19604 echo $ECHO_N "(cached) $ECHO_C" >&6
19605 else
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #ifdef HAVE_SYS_STATVFS_H
19613 #include <sys/statvfs.h>
19614 #endif
19617 main ()
19619 static struct statvfs ac_aggr;
19620 if (ac_aggr.f_blocks)
19621 return 0;
19623 return 0;
19625 _ACEOF
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19631 esac
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19634 ac_status=$?
19635 grep -v '^ *+' conftest.er1 >conftest.err
19636 rm -f conftest.er1
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_statvfs_f_blocks=yes
19644 else
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 cat >conftest.$ac_ext <<_ACEOF
19649 /* confdefs.h. */
19650 _ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #ifdef HAVE_SYS_STATVFS_H
19655 #include <sys/statvfs.h>
19656 #endif
19659 main ()
19661 static struct statvfs ac_aggr;
19662 if (sizeof ac_aggr.f_blocks)
19663 return 0;
19665 return 0;
19667 _ACEOF
19668 rm -f conftest.$ac_objext
19669 if { (ac_try="$ac_compile"
19670 case "(($ac_try" in
19671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19672 *) ac_try_echo=$ac_try;;
19673 esac
19674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19675 (eval "$ac_compile") 2>conftest.er1
19676 ac_status=$?
19677 grep -v '^ *+' conftest.er1 >conftest.err
19678 rm -f conftest.er1
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } && {
19682 test -z "$ac_c_werror_flag" ||
19683 test ! -s conftest.err
19684 } && test -s conftest.$ac_objext; then
19685 ac_cv_member_struct_statvfs_f_blocks=yes
19686 else
19687 echo "$as_me: failed program was:" >&5
19688 sed 's/^/| /' conftest.$ac_ext >&5
19690 ac_cv_member_struct_statvfs_f_blocks=no
19693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19698 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19699 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19700 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19702 cat >>confdefs.h <<_ACEOF
19703 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19704 _ACEOF
19710 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19711 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19712 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19713 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 else
19715 cat >conftest.$ac_ext <<_ACEOF
19716 /* confdefs.h. */
19717 _ACEOF
19718 cat confdefs.h >>conftest.$ac_ext
19719 cat >>conftest.$ac_ext <<_ACEOF
19720 /* end confdefs.h. */
19721 #include <sys/types.h>
19722 #ifdef HAVE_SYS_SOCKET_H
19723 # include <sys/socket.h>
19724 #endif
19725 #ifdef HAVE_SYS_UN_H
19726 # include <sys/un.h>
19727 #endif
19730 main ()
19732 static struct msghdr ac_aggr;
19733 if (ac_aggr.msg_accrights)
19734 return 0;
19736 return 0;
19738 _ACEOF
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19744 esac
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19747 ac_status=$?
19748 grep -v '^ *+' conftest.er1 >conftest.err
19749 rm -f conftest.er1
19750 cat conftest.err >&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 ac_cv_member_struct_msghdr_msg_accrights=yes
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #include <sys/types.h>
19768 #ifdef HAVE_SYS_SOCKET_H
19769 # include <sys/socket.h>
19770 #endif
19771 #ifdef HAVE_SYS_UN_H
19772 # include <sys/un.h>
19773 #endif
19776 main ()
19778 static struct msghdr ac_aggr;
19779 if (sizeof ac_aggr.msg_accrights)
19780 return 0;
19782 return 0;
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790 esac
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 ac_cv_member_struct_msghdr_msg_accrights=yes
19803 else
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19807 ac_cv_member_struct_msghdr_msg_accrights=no
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19816 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19817 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19819 cat >>confdefs.h <<_ACEOF
19820 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19821 _ACEOF
19825 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19826 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19827 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19829 else
19830 cat >conftest.$ac_ext <<_ACEOF
19831 /* confdefs.h. */
19832 _ACEOF
19833 cat confdefs.h >>conftest.$ac_ext
19834 cat >>conftest.$ac_ext <<_ACEOF
19835 /* end confdefs.h. */
19836 #include <sys/types.h>
19837 #ifdef HAVE_SYS_SOCKET_H
19838 # include <sys/socket.h>
19839 #endif
19840 #ifdef HAVE_SYS_UN_H
19841 # include <sys/un.h>
19842 #endif
19845 main ()
19847 static struct sockaddr ac_aggr;
19848 if (ac_aggr.sa_len)
19849 return 0;
19851 return 0;
19853 _ACEOF
19854 rm -f conftest.$ac_objext
19855 if { (ac_try="$ac_compile"
19856 case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19859 esac
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_compile") 2>conftest.er1
19862 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest.$ac_objext; then
19871 ac_cv_member_struct_sockaddr_sa_len=yes
19872 else
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 cat >conftest.$ac_ext <<_ACEOF
19877 /* confdefs.h. */
19878 _ACEOF
19879 cat confdefs.h >>conftest.$ac_ext
19880 cat >>conftest.$ac_ext <<_ACEOF
19881 /* end confdefs.h. */
19882 #include <sys/types.h>
19883 #ifdef HAVE_SYS_SOCKET_H
19884 # include <sys/socket.h>
19885 #endif
19886 #ifdef HAVE_SYS_UN_H
19887 # include <sys/un.h>
19888 #endif
19891 main ()
19893 static struct sockaddr ac_aggr;
19894 if (sizeof ac_aggr.sa_len)
19895 return 0;
19897 return 0;
19899 _ACEOF
19900 rm -f conftest.$ac_objext
19901 if { (ac_try="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19905 esac
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19908 ac_status=$?
19909 grep -v '^ *+' conftest.er1 >conftest.err
19910 rm -f conftest.er1
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19917 ac_cv_member_struct_sockaddr_sa_len=yes
19918 else
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.$ac_ext >&5
19922 ac_cv_member_struct_sockaddr_sa_len=no
19925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19930 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19931 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19932 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19934 cat >>confdefs.h <<_ACEOF
19935 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19936 _ACEOF
19940 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19941 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19942 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 else
19945 cat >conftest.$ac_ext <<_ACEOF
19946 /* confdefs.h. */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #include <sys/types.h>
19952 #ifdef HAVE_SYS_SOCKET_H
19953 # include <sys/socket.h>
19954 #endif
19955 #ifdef HAVE_SYS_UN_H
19956 # include <sys/un.h>
19957 #endif
19960 main ()
19962 static struct sockaddr_un ac_aggr;
19963 if (ac_aggr.sun_len)
19964 return 0;
19966 return 0;
19968 _ACEOF
19969 rm -f conftest.$ac_objext
19970 if { (ac_try="$ac_compile"
19971 case "(($ac_try" in
19972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19973 *) ac_try_echo=$ac_try;;
19974 esac
19975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19976 (eval "$ac_compile") 2>conftest.er1
19977 ac_status=$?
19978 grep -v '^ *+' conftest.er1 >conftest.err
19979 rm -f conftest.er1
19980 cat conftest.err >&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } && {
19983 test -z "$ac_c_werror_flag" ||
19984 test ! -s conftest.err
19985 } && test -s conftest.$ac_objext; then
19986 ac_cv_member_struct_sockaddr_un_sun_len=yes
19987 else
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19991 cat >conftest.$ac_ext <<_ACEOF
19992 /* confdefs.h. */
19993 _ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 #include <sys/types.h>
19998 #ifdef HAVE_SYS_SOCKET_H
19999 # include <sys/socket.h>
20000 #endif
20001 #ifdef HAVE_SYS_UN_H
20002 # include <sys/un.h>
20003 #endif
20006 main ()
20008 static struct sockaddr_un ac_aggr;
20009 if (sizeof ac_aggr.sun_len)
20010 return 0;
20012 return 0;
20014 _ACEOF
20015 rm -f conftest.$ac_objext
20016 if { (ac_try="$ac_compile"
20017 case "(($ac_try" in
20018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20019 *) ac_try_echo=$ac_try;;
20020 esac
20021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20022 (eval "$ac_compile") 2>conftest.er1
20023 ac_status=$?
20024 grep -v '^ *+' conftest.er1 >conftest.err
20025 rm -f conftest.er1
20026 cat conftest.err >&5
20027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); } && {
20029 test -z "$ac_c_werror_flag" ||
20030 test ! -s conftest.err
20031 } && test -s conftest.$ac_objext; then
20032 ac_cv_member_struct_sockaddr_un_sun_len=yes
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20037 ac_cv_member_struct_sockaddr_un_sun_len=no
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20045 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20046 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20047 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20049 cat >>confdefs.h <<_ACEOF
20050 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20051 _ACEOF
20057 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20058 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20059 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 else
20062 cat >conftest.$ac_ext <<_ACEOF
20063 /* confdefs.h. */
20064 _ACEOF
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20068 #include <sys/types.h>
20069 #ifdef HAVE_SCSI_SG_H
20070 #include <scsi/sg.h>
20071 #endif
20074 main ()
20076 static scsireq_t ac_aggr;
20077 if (ac_aggr.cmd)
20078 return 0;
20080 return 0;
20082 _ACEOF
20083 rm -f conftest.$ac_objext
20084 if { (ac_try="$ac_compile"
20085 case "(($ac_try" in
20086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 *) ac_try_echo=$ac_try;;
20088 esac
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_compile") 2>conftest.er1
20091 ac_status=$?
20092 grep -v '^ *+' conftest.er1 >conftest.err
20093 rm -f conftest.er1
20094 cat conftest.err >&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } && {
20097 test -z "$ac_c_werror_flag" ||
20098 test ! -s conftest.err
20099 } && test -s conftest.$ac_objext; then
20100 ac_cv_member_scsireq_t_cmd=yes
20101 else
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20105 cat >conftest.$ac_ext <<_ACEOF
20106 /* confdefs.h. */
20107 _ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 #include <sys/types.h>
20112 #ifdef HAVE_SCSI_SG_H
20113 #include <scsi/sg.h>
20114 #endif
20117 main ()
20119 static scsireq_t ac_aggr;
20120 if (sizeof ac_aggr.cmd)
20121 return 0;
20123 return 0;
20125 _ACEOF
20126 rm -f conftest.$ac_objext
20127 if { (ac_try="$ac_compile"
20128 case "(($ac_try" in
20129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20130 *) ac_try_echo=$ac_try;;
20131 esac
20132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20133 (eval "$ac_compile") 2>conftest.er1
20134 ac_status=$?
20135 grep -v '^ *+' conftest.er1 >conftest.err
20136 rm -f conftest.er1
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } && {
20140 test -z "$ac_c_werror_flag" ||
20141 test ! -s conftest.err
20142 } && test -s conftest.$ac_objext; then
20143 ac_cv_member_scsireq_t_cmd=yes
20144 else
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20148 ac_cv_member_scsireq_t_cmd=no
20151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20157 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20158 if test $ac_cv_member_scsireq_t_cmd = yes; then
20160 cat >>confdefs.h <<_ACEOF
20161 #define HAVE_SCSIREQ_T_CMD 1
20162 _ACEOF
20166 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20167 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20168 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171 cat >conftest.$ac_ext <<_ACEOF
20172 /* confdefs.h. */
20173 _ACEOF
20174 cat confdefs.h >>conftest.$ac_ext
20175 cat >>conftest.$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20177 #include <sys/types.h>
20178 #ifdef HAVE_SCSI_SG_H
20179 #include <scsi/sg.h>
20180 #endif
20183 main ()
20185 static sg_io_hdr_t ac_aggr;
20186 if (ac_aggr.interface_id)
20187 return 0;
20189 return 0;
20191 _ACEOF
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20197 esac
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_compile") 2>conftest.er1
20200 ac_status=$?
20201 grep -v '^ *+' conftest.er1 >conftest.err
20202 rm -f conftest.er1
20203 cat conftest.err >&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); } && {
20206 test -z "$ac_c_werror_flag" ||
20207 test ! -s conftest.err
20208 } && test -s conftest.$ac_objext; then
20209 ac_cv_member_sg_io_hdr_t_interface_id=yes
20210 else
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20214 cat >conftest.$ac_ext <<_ACEOF
20215 /* confdefs.h. */
20216 _ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <sys/types.h>
20221 #ifdef HAVE_SCSI_SG_H
20222 #include <scsi/sg.h>
20223 #endif
20226 main ()
20228 static sg_io_hdr_t ac_aggr;
20229 if (sizeof ac_aggr.interface_id)
20230 return 0;
20232 return 0;
20234 _ACEOF
20235 rm -f conftest.$ac_objext
20236 if { (ac_try="$ac_compile"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20240 esac
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_compile") 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } && {
20249 test -z "$ac_c_werror_flag" ||
20250 test ! -s conftest.err
20251 } && test -s conftest.$ac_objext; then
20252 ac_cv_member_sg_io_hdr_t_interface_id=yes
20253 else
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.$ac_ext >&5
20257 ac_cv_member_sg_io_hdr_t_interface_id=no
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20265 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20266 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20267 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20269 cat >>confdefs.h <<_ACEOF
20270 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20271 _ACEOF
20277 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20278 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20279 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20280 echo $ECHO_N "(cached) $ECHO_C" >&6
20281 else
20282 cat >conftest.$ac_ext <<_ACEOF
20283 /* confdefs.h. */
20284 _ACEOF
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20288 #include <signal.h>
20291 main ()
20293 static siginfo_t ac_aggr;
20294 if (ac_aggr.si_fd)
20295 return 0;
20297 return 0;
20299 _ACEOF
20300 rm -f conftest.$ac_objext
20301 if { (ac_try="$ac_compile"
20302 case "(($ac_try" in
20303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304 *) ac_try_echo=$ac_try;;
20305 esac
20306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20307 (eval "$ac_compile") 2>conftest.er1
20308 ac_status=$?
20309 grep -v '^ *+' conftest.er1 >conftest.err
20310 rm -f conftest.er1
20311 cat conftest.err >&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } && {
20314 test -z "$ac_c_werror_flag" ||
20315 test ! -s conftest.err
20316 } && test -s conftest.$ac_objext; then
20317 ac_cv_member_siginfo_t_si_fd=yes
20318 else
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20322 cat >conftest.$ac_ext <<_ACEOF
20323 /* confdefs.h. */
20324 _ACEOF
20325 cat confdefs.h >>conftest.$ac_ext
20326 cat >>conftest.$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 #include <signal.h>
20331 main ()
20333 static siginfo_t ac_aggr;
20334 if (sizeof ac_aggr.si_fd)
20335 return 0;
20337 return 0;
20339 _ACEOF
20340 rm -f conftest.$ac_objext
20341 if { (ac_try="$ac_compile"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20345 esac
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_compile") 2>conftest.er1
20348 ac_status=$?
20349 grep -v '^ *+' conftest.er1 >conftest.err
20350 rm -f conftest.er1
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && {
20354 test -z "$ac_c_werror_flag" ||
20355 test ! -s conftest.err
20356 } && test -s conftest.$ac_objext; then
20357 ac_cv_member_siginfo_t_si_fd=yes
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 ac_cv_member_siginfo_t_si_fd=no
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20370 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20371 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20372 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20374 cat >>confdefs.h <<_ACEOF
20375 #define HAVE_SIGINFO_T_SI_FD 1
20376 _ACEOF
20382 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20383 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20384 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20385 echo $ECHO_N "(cached) $ECHO_C" >&6
20386 else
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 #include <sys/types.h>
20394 #ifdef HAVE_SYS_MTIO_H
20395 #include <sys/mtio.h>
20396 #endif
20399 main ()
20401 static struct mtget ac_aggr;
20402 if (ac_aggr.mt_blksiz)
20403 return 0;
20405 return 0;
20407 _ACEOF
20408 rm -f conftest.$ac_objext
20409 if { (ac_try="$ac_compile"
20410 case "(($ac_try" in
20411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20412 *) ac_try_echo=$ac_try;;
20413 esac
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_compile") 2>conftest.er1
20416 ac_status=$?
20417 grep -v '^ *+' conftest.er1 >conftest.err
20418 rm -f conftest.er1
20419 cat conftest.err >&5
20420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421 (exit $ac_status); } && {
20422 test -z "$ac_c_werror_flag" ||
20423 test ! -s conftest.err
20424 } && test -s conftest.$ac_objext; then
20425 ac_cv_member_struct_mtget_mt_blksiz=yes
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20430 cat >conftest.$ac_ext <<_ACEOF
20431 /* confdefs.h. */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 #include <sys/types.h>
20437 #ifdef HAVE_SYS_MTIO_H
20438 #include <sys/mtio.h>
20439 #endif
20442 main ()
20444 static struct mtget ac_aggr;
20445 if (sizeof ac_aggr.mt_blksiz)
20446 return 0;
20448 return 0;
20450 _ACEOF
20451 rm -f conftest.$ac_objext
20452 if { (ac_try="$ac_compile"
20453 case "(($ac_try" in
20454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20455 *) ac_try_echo=$ac_try;;
20456 esac
20457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20458 (eval "$ac_compile") 2>conftest.er1
20459 ac_status=$?
20460 grep -v '^ *+' conftest.er1 >conftest.err
20461 rm -f conftest.er1
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } && {
20465 test -z "$ac_c_werror_flag" ||
20466 test ! -s conftest.err
20467 } && test -s conftest.$ac_objext; then
20468 ac_cv_member_struct_mtget_mt_blksiz=yes
20469 else
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20473 ac_cv_member_struct_mtget_mt_blksiz=no
20476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20481 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20482 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20483 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20485 cat >>confdefs.h <<_ACEOF
20486 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20487 _ACEOF
20491 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20492 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20493 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20494 echo $ECHO_N "(cached) $ECHO_C" >&6
20495 else
20496 cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h. */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 #include <sys/types.h>
20503 #ifdef HAVE_SYS_MTIO_H
20504 #include <sys/mtio.h>
20505 #endif
20508 main ()
20510 static struct mtget ac_aggr;
20511 if (ac_aggr.mt_gstat)
20512 return 0;
20514 return 0;
20516 _ACEOF
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20522 esac
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20525 ac_status=$?
20526 grep -v '^ *+' conftest.er1 >conftest.err
20527 rm -f conftest.er1
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20534 ac_cv_member_struct_mtget_mt_gstat=yes
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 cat >conftest.$ac_ext <<_ACEOF
20540 /* confdefs.h. */
20541 _ACEOF
20542 cat confdefs.h >>conftest.$ac_ext
20543 cat >>conftest.$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545 #include <sys/types.h>
20546 #ifdef HAVE_SYS_MTIO_H
20547 #include <sys/mtio.h>
20548 #endif
20551 main ()
20553 static struct mtget ac_aggr;
20554 if (sizeof ac_aggr.mt_gstat)
20555 return 0;
20557 return 0;
20559 _ACEOF
20560 rm -f conftest.$ac_objext
20561 if { (ac_try="$ac_compile"
20562 case "(($ac_try" in
20563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20564 *) ac_try_echo=$ac_try;;
20565 esac
20566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20567 (eval "$ac_compile") 2>conftest.er1
20568 ac_status=$?
20569 grep -v '^ *+' conftest.er1 >conftest.err
20570 rm -f conftest.er1
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } && {
20574 test -z "$ac_c_werror_flag" ||
20575 test ! -s conftest.err
20576 } && test -s conftest.$ac_objext; then
20577 ac_cv_member_struct_mtget_mt_gstat=yes
20578 else
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20582 ac_cv_member_struct_mtget_mt_gstat=no
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20590 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20591 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20592 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20594 cat >>confdefs.h <<_ACEOF
20595 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20596 _ACEOF
20600 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20601 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20602 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20603 echo $ECHO_N "(cached) $ECHO_C" >&6
20604 else
20605 cat >conftest.$ac_ext <<_ACEOF
20606 /* confdefs.h. */
20607 _ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 #include <sys/types.h>
20612 #ifdef HAVE_SYS_MTIO_H
20613 #include <sys/mtio.h>
20614 #endif
20617 main ()
20619 static struct mtget ac_aggr;
20620 if (ac_aggr.mt_blkno)
20621 return 0;
20623 return 0;
20625 _ACEOF
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20630 *) ac_try_echo=$ac_try;;
20631 esac
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633 (eval "$ac_compile") 2>conftest.er1
20634 ac_status=$?
20635 grep -v '^ *+' conftest.er1 >conftest.err
20636 rm -f conftest.er1
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } && {
20640 test -z "$ac_c_werror_flag" ||
20641 test ! -s conftest.err
20642 } && test -s conftest.$ac_objext; then
20643 ac_cv_member_struct_mtget_mt_blkno=yes
20644 else
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20648 cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 #include <sys/types.h>
20655 #ifdef HAVE_SYS_MTIO_H
20656 #include <sys/mtio.h>
20657 #endif
20660 main ()
20662 static struct mtget ac_aggr;
20663 if (sizeof ac_aggr.mt_blkno)
20664 return 0;
20666 return 0;
20668 _ACEOF
20669 rm -f conftest.$ac_objext
20670 if { (ac_try="$ac_compile"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20674 esac
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_compile") 2>conftest.er1
20677 ac_status=$?
20678 grep -v '^ *+' conftest.er1 >conftest.err
20679 rm -f conftest.er1
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && {
20683 test -z "$ac_c_werror_flag" ||
20684 test ! -s conftest.err
20685 } && test -s conftest.$ac_objext; then
20686 ac_cv_member_struct_mtget_mt_blkno=yes
20687 else
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.$ac_ext >&5
20691 ac_cv_member_struct_mtget_mt_blkno=no
20694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20699 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20700 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20701 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20703 cat >>confdefs.h <<_ACEOF
20704 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20705 _ACEOF
20711 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20712 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20713 if test "${ac_cv_member_struct_option_name+set}" = set; then
20714 echo $ECHO_N "(cached) $ECHO_C" >&6
20715 else
20716 cat >conftest.$ac_ext <<_ACEOF
20717 /* confdefs.h. */
20718 _ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 #ifdef HAVE_GETOPT_H
20723 #include <getopt.h>
20724 #endif
20727 main ()
20729 static struct option ac_aggr;
20730 if (ac_aggr.name)
20731 return 0;
20733 return 0;
20735 _ACEOF
20736 rm -f conftest.$ac_objext
20737 if { (ac_try="$ac_compile"
20738 case "(($ac_try" in
20739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20740 *) ac_try_echo=$ac_try;;
20741 esac
20742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743 (eval "$ac_compile") 2>conftest.er1
20744 ac_status=$?
20745 grep -v '^ *+' conftest.er1 >conftest.err
20746 rm -f conftest.er1
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && {
20750 test -z "$ac_c_werror_flag" ||
20751 test ! -s conftest.err
20752 } && test -s conftest.$ac_objext; then
20753 ac_cv_member_struct_option_name=yes
20754 else
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 cat >conftest.$ac_ext <<_ACEOF
20759 /* confdefs.h. */
20760 _ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 #ifdef HAVE_GETOPT_H
20765 #include <getopt.h>
20766 #endif
20769 main ()
20771 static struct option ac_aggr;
20772 if (sizeof ac_aggr.name)
20773 return 0;
20775 return 0;
20777 _ACEOF
20778 rm -f conftest.$ac_objext
20779 if { (ac_try="$ac_compile"
20780 case "(($ac_try" in
20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20783 esac
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_compile") 2>conftest.er1
20786 ac_status=$?
20787 grep -v '^ *+' conftest.er1 >conftest.err
20788 rm -f conftest.er1
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } && {
20792 test -z "$ac_c_werror_flag" ||
20793 test ! -s conftest.err
20794 } && test -s conftest.$ac_objext; then
20795 ac_cv_member_struct_option_name=yes
20796 else
20797 echo "$as_me: failed program was:" >&5
20798 sed 's/^/| /' conftest.$ac_ext >&5
20800 ac_cv_member_struct_option_name=no
20803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20809 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20810 if test $ac_cv_member_struct_option_name = yes; then
20812 cat >>confdefs.h <<_ACEOF
20813 #define HAVE_STRUCT_OPTION_NAME 1
20814 _ACEOF
20820 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20821 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20822 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20823 echo $ECHO_N "(cached) $ECHO_C" >&6
20824 else
20825 cat >conftest.$ac_ext <<_ACEOF
20826 /* confdefs.h. */
20827 _ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831 $ac_includes_default
20833 main ()
20835 static struct stat ac_aggr;
20836 if (ac_aggr.st_blocks)
20837 return 0;
20839 return 0;
20841 _ACEOF
20842 rm -f conftest.$ac_objext
20843 if { (ac_try="$ac_compile"
20844 case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20847 esac
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_compile") 2>conftest.er1
20850 ac_status=$?
20851 grep -v '^ *+' conftest.er1 >conftest.err
20852 rm -f conftest.er1
20853 cat conftest.err >&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } && {
20856 test -z "$ac_c_werror_flag" ||
20857 test ! -s conftest.err
20858 } && test -s conftest.$ac_objext; then
20859 ac_cv_member_struct_stat_st_blocks=yes
20860 else
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20864 cat >conftest.$ac_ext <<_ACEOF
20865 /* confdefs.h. */
20866 _ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20872 main ()
20874 static struct stat ac_aggr;
20875 if (sizeof ac_aggr.st_blocks)
20876 return 0;
20878 return 0;
20880 _ACEOF
20881 rm -f conftest.$ac_objext
20882 if { (ac_try="$ac_compile"
20883 case "(($ac_try" in
20884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20885 *) ac_try_echo=$ac_try;;
20886 esac
20887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20888 (eval "$ac_compile") 2>conftest.er1
20889 ac_status=$?
20890 grep -v '^ *+' conftest.er1 >conftest.err
20891 rm -f conftest.er1
20892 cat conftest.err >&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } && {
20895 test -z "$ac_c_werror_flag" ||
20896 test ! -s conftest.err
20897 } && test -s conftest.$ac_objext; then
20898 ac_cv_member_struct_stat_st_blocks=yes
20899 else
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20903 ac_cv_member_struct_stat_st_blocks=no
20906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20911 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20912 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20913 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20915 cat >>confdefs.h <<_ACEOF
20916 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20917 _ACEOF
20923 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20924 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20925 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20926 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 else
20928 cat >conftest.$ac_ext <<_ACEOF
20929 /* confdefs.h. */
20930 _ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 #ifdef HAVE_SYS_TYPES_H
20935 #include <sys/types.h>
20936 #endif
20937 #ifdef HAVE_NETINET_IN_H
20938 #include <netinet/in.h>
20939 #endif
20942 main ()
20944 static struct sockaddr_in6 ac_aggr;
20945 if (ac_aggr.sin6_scope_id)
20946 return 0;
20948 return 0;
20950 _ACEOF
20951 rm -f conftest.$ac_objext
20952 if { (ac_try="$ac_compile"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20956 esac
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_compile") 2>conftest.er1
20959 ac_status=$?
20960 grep -v '^ *+' conftest.er1 >conftest.err
20961 rm -f conftest.er1
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest.$ac_objext; then
20968 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20969 else
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20973 cat >conftest.$ac_ext <<_ACEOF
20974 /* confdefs.h. */
20975 _ACEOF
20976 cat confdefs.h >>conftest.$ac_ext
20977 cat >>conftest.$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20979 #ifdef HAVE_SYS_TYPES_H
20980 #include <sys/types.h>
20981 #endif
20982 #ifdef HAVE_NETINET_IN_H
20983 #include <netinet/in.h>
20984 #endif
20987 main ()
20989 static struct sockaddr_in6 ac_aggr;
20990 if (sizeof ac_aggr.sin6_scope_id)
20991 return 0;
20993 return 0;
20995 _ACEOF
20996 rm -f conftest.$ac_objext
20997 if { (ac_try="$ac_compile"
20998 case "(($ac_try" in
20999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21000 *) ac_try_echo=$ac_try;;
21001 esac
21002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21003 (eval "$ac_compile") 2>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } && {
21010 test -z "$ac_c_werror_flag" ||
21011 test ! -s conftest.err
21012 } && test -s conftest.$ac_objext; then
21013 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21014 else
21015 echo "$as_me: failed program was:" >&5
21016 sed 's/^/| /' conftest.$ac_ext >&5
21018 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21027 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21028 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21030 cat >>confdefs.h <<_ACEOF
21031 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21032 _ACEOF
21038 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21039 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21040 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21041 echo $ECHO_N "(cached) $ECHO_C" >&6
21042 else
21043 cat >conftest.$ac_ext <<_ACEOF
21044 /* confdefs.h. */
21045 _ACEOF
21046 cat confdefs.h >>conftest.$ac_ext
21047 cat >>conftest.$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21049 #ifdef HAVE_SYS_TYPES_H
21050 #include <sys/types.h>
21051 #endif
21052 #ifdef HAVE_NETINET_IN_H
21053 # include <netinet/in.h>
21054 #endif
21055 #ifdef HAVE_ARPA_NAMESER_H
21056 # include <arpa/nameser.h>
21057 #endif
21060 main ()
21062 static ns_msg ac_aggr;
21063 if (ac_aggr._msg_ptr)
21064 return 0;
21066 return 0;
21068 _ACEOF
21069 rm -f conftest.$ac_objext
21070 if { (ac_try="$ac_compile"
21071 case "(($ac_try" in
21072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073 *) ac_try_echo=$ac_try;;
21074 esac
21075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21076 (eval "$ac_compile") 2>conftest.er1
21077 ac_status=$?
21078 grep -v '^ *+' conftest.er1 >conftest.err
21079 rm -f conftest.er1
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } && {
21083 test -z "$ac_c_werror_flag" ||
21084 test ! -s conftest.err
21085 } && test -s conftest.$ac_objext; then
21086 ac_cv_member_ns_msg__msg_ptr=yes
21087 else
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.$ac_ext >&5
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 #ifdef HAVE_SYS_TYPES_H
21098 #include <sys/types.h>
21099 #endif
21100 #ifdef HAVE_NETINET_IN_H
21101 # include <netinet/in.h>
21102 #endif
21103 #ifdef HAVE_ARPA_NAMESER_H
21104 # include <arpa/nameser.h>
21105 #endif
21108 main ()
21110 static ns_msg ac_aggr;
21111 if (sizeof ac_aggr._msg_ptr)
21112 return 0;
21114 return 0;
21116 _ACEOF
21117 rm -f conftest.$ac_objext
21118 if { (ac_try="$ac_compile"
21119 case "(($ac_try" in
21120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21122 esac
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_compile") 2>conftest.er1
21125 ac_status=$?
21126 grep -v '^ *+' conftest.er1 >conftest.err
21127 rm -f conftest.er1
21128 cat conftest.err >&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } && {
21131 test -z "$ac_c_werror_flag" ||
21132 test ! -s conftest.err
21133 } && test -s conftest.$ac_objext; then
21134 ac_cv_member_ns_msg__msg_ptr=yes
21135 else
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.$ac_ext >&5
21139 ac_cv_member_ns_msg__msg_ptr=no
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21148 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21149 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21151 cat >>confdefs.h <<_ACEOF
21152 #define HAVE_NS_MSG__MSG_PTR 1
21153 _ACEOF
21159 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21160 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21161 if test "${ac_cv_have_timezone+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 else
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 #include <time.h>
21172 main ()
21174 timezone = 1
21176 return 0;
21178 _ACEOF
21179 rm -f conftest.$ac_objext conftest$ac_exeext
21180 if { (ac_try="$ac_link"
21181 case "(($ac_try" in
21182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21183 *) ac_try_echo=$ac_try;;
21184 esac
21185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 (eval "$ac_link") 2>conftest.er1
21187 ac_status=$?
21188 grep -v '^ *+' conftest.er1 >conftest.err
21189 rm -f conftest.er1
21190 cat conftest.err >&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } && {
21193 test -z "$ac_c_werror_flag" ||
21194 test ! -s conftest.err
21195 } && test -s conftest$ac_exeext &&
21196 $as_test_x conftest$ac_exeext; then
21197 ac_cv_have_timezone="yes"
21198 else
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.$ac_ext >&5
21202 ac_cv_have_timezone="no"
21205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21206 conftest$ac_exeext conftest.$ac_ext
21208 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21209 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21210 if test "$ac_cv_have_timezone" = "yes"
21211 then
21213 cat >>confdefs.h <<\_ACEOF
21214 #define HAVE_TIMEZONE 1
21215 _ACEOF
21218 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21219 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21220 if test "${ac_cv_have_daylight+set}" = set; then
21221 echo $ECHO_N "(cached) $ECHO_C" >&6
21222 else
21223 cat >conftest.$ac_ext <<_ACEOF
21224 /* confdefs.h. */
21225 _ACEOF
21226 cat confdefs.h >>conftest.$ac_ext
21227 cat >>conftest.$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21229 #include <time.h>
21231 main ()
21233 daylight = 1
21235 return 0;
21237 _ACEOF
21238 rm -f conftest.$ac_objext conftest$ac_exeext
21239 if { (ac_try="$ac_link"
21240 case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21243 esac
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_link") 2>conftest.er1
21246 ac_status=$?
21247 grep -v '^ *+' conftest.er1 >conftest.err
21248 rm -f conftest.er1
21249 cat conftest.err >&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest$ac_exeext &&
21255 $as_test_x conftest$ac_exeext; then
21256 ac_cv_have_daylight="yes"
21257 else
21258 echo "$as_me: failed program was:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21261 ac_cv_have_daylight="no"
21264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21265 conftest$ac_exeext conftest.$ac_ext
21267 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21268 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21269 if test "$ac_cv_have_daylight" = "yes"
21270 then
21272 cat >>confdefs.h <<\_ACEOF
21273 #define HAVE_DAYLIGHT 1
21274 _ACEOF
21278 { echo "$as_me:$LINENO: checking for isinf" >&5
21279 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21280 if test "${ac_cv_have_isinf+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 else
21283 cat >conftest.$ac_ext <<_ACEOF
21284 /* confdefs.h. */
21285 _ACEOF
21286 cat confdefs.h >>conftest.$ac_ext
21287 cat >>conftest.$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 #include <math.h>
21291 main ()
21293 float f = 0.0; isinf(f)
21295 return 0;
21297 _ACEOF
21298 rm -f conftest.$ac_objext conftest$ac_exeext
21299 if { (ac_try="$ac_link"
21300 case "(($ac_try" in
21301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21302 *) ac_try_echo=$ac_try;;
21303 esac
21304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21305 (eval "$ac_link") 2>conftest.er1
21306 ac_status=$?
21307 grep -v '^ *+' conftest.er1 >conftest.err
21308 rm -f conftest.er1
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } && {
21312 test -z "$ac_c_werror_flag" ||
21313 test ! -s conftest.err
21314 } && test -s conftest$ac_exeext &&
21315 $as_test_x conftest$ac_exeext; then
21316 ac_cv_have_isinf="yes"
21317 else
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.$ac_ext >&5
21321 ac_cv_have_isinf="no"
21324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21325 conftest$ac_exeext conftest.$ac_ext
21327 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21328 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21329 if test "$ac_cv_have_isinf" = "yes"
21330 then
21332 cat >>confdefs.h <<\_ACEOF
21333 #define HAVE_ISINF 1
21334 _ACEOF
21339 case $host_cpu in
21340 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21341 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21342 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21344 else
21345 cat >conftest.$ac_ext <<_ACEOF
21346 /* confdefs.h. */
21347 _ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 #ifndef __i386__
21353 #endif
21354 _ACEOF
21355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21356 $EGREP "yes" >/dev/null 2>&1; then
21357 ac_cv_cpp_def___i386__=yes
21358 else
21359 ac_cv_cpp_def___i386__=no
21361 rm -f conftest*
21364 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21365 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21366 if test $ac_cv_cpp_def___i386__ = yes; then
21367 CFLAGS="$CFLAGS -D__i386__"
21368 LINTFLAGS="$LINTFLAGS -D__i386__"
21371 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21372 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21373 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21374 echo $ECHO_N "(cached) $ECHO_C" >&6
21375 else
21376 cat >conftest.$ac_ext <<_ACEOF
21377 /* confdefs.h. */
21378 _ACEOF
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21382 #ifndef __x86_64__
21384 #endif
21385 _ACEOF
21386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21387 $EGREP "yes" >/dev/null 2>&1; then
21388 ac_cv_cpp_def___x86_64__=yes
21389 else
21390 ac_cv_cpp_def___x86_64__=no
21392 rm -f conftest*
21395 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21396 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21397 if test $ac_cv_cpp_def___x86_64__ = yes; then
21398 CFLAGS="$CFLAGS -D__x86_64__"
21399 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21402 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21403 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21404 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 else
21407 cat >conftest.$ac_ext <<_ACEOF
21408 /* confdefs.h. */
21409 _ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 #ifndef __ALPHA__
21415 #endif
21416 _ACEOF
21417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21418 $EGREP "yes" >/dev/null 2>&1; then
21419 ac_cv_cpp_def___ALPHA__=yes
21420 else
21421 ac_cv_cpp_def___ALPHA__=no
21423 rm -f conftest*
21426 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21427 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21428 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21429 CFLAGS="$CFLAGS -D__ALPHA__"
21430 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21433 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21434 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21435 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21436 echo $ECHO_N "(cached) $ECHO_C" >&6
21437 else
21438 cat >conftest.$ac_ext <<_ACEOF
21439 /* confdefs.h. */
21440 _ACEOF
21441 cat confdefs.h >>conftest.$ac_ext
21442 cat >>conftest.$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21444 #ifndef __sparc__
21446 #endif
21447 _ACEOF
21448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21449 $EGREP "yes" >/dev/null 2>&1; then
21450 ac_cv_cpp_def___sparc__=yes
21451 else
21452 ac_cv_cpp_def___sparc__=no
21454 rm -f conftest*
21457 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21458 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21459 if test $ac_cv_cpp_def___sparc__ = yes; then
21460 CFLAGS="$CFLAGS -D__sparc__"
21461 LINTFLAGS="$LINTFLAGS -D__sparc__"
21464 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21465 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21466 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21467 echo $ECHO_N "(cached) $ECHO_C" >&6
21468 else
21469 cat >conftest.$ac_ext <<_ACEOF
21470 /* confdefs.h. */
21471 _ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 #ifndef __powerpc__
21477 #endif
21478 _ACEOF
21479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21480 $EGREP "yes" >/dev/null 2>&1; then
21481 ac_cv_cpp_def___powerpc__=yes
21482 else
21483 ac_cv_cpp_def___powerpc__=no
21485 rm -f conftest*
21488 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21489 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21490 if test $ac_cv_cpp_def___powerpc__ = yes; then
21491 CFLAGS="$CFLAGS -D__powerpc__"
21492 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21495 esac
21497 case $host_vendor in
21498 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21499 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21500 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 else
21503 cat >conftest.$ac_ext <<_ACEOF
21504 /* confdefs.h. */
21505 _ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 #ifndef __sun__
21511 #endif
21512 _ACEOF
21513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21514 $EGREP "yes" >/dev/null 2>&1; then
21515 ac_cv_cpp_def___sun__=yes
21516 else
21517 ac_cv_cpp_def___sun__=no
21519 rm -f conftest*
21522 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21523 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21524 if test $ac_cv_cpp_def___sun__ = yes; then
21525 CFLAGS="$CFLAGS -D__sun__"
21526 LINTFLAGS="$LINTFLAGS -D__sun__"
21529 esac
21532 DEPENDENCIES="### Dependencies:
21534 .INIT: Makefile
21535 .BEGIN: Makefile
21536 Makefile: dummy
21537 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21539 \$(OBJS): \$(IDL_GEN_HEADERS)
21540 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21541 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21542 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21543 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21549 ac_config_commands="$ac_config_commands include/stamp-h"
21552 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21554 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21556 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21558 ac_config_commands="$ac_config_commands dlls/user32/resources"
21560 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21562 ac_config_commands="$ac_config_commands include/wine"
21565 MAKE_RULES=Make.rules
21568 MAKE_DLL_RULES=dlls/Makedll.rules
21571 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21574 MAKE_TEST_RULES=dlls/Maketest.rules
21577 MAKE_PROG_RULES=programs/Makeprog.rules
21580 ac_config_files="$ac_config_files Make.rules"
21582 ac_config_files="$ac_config_files dlls/Makedll.rules"
21584 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21586 ac_config_files="$ac_config_files dlls/Maketest.rules"
21588 ac_config_files="$ac_config_files programs/Makeprog.rules"
21590 ac_config_files="$ac_config_files Makefile"
21592 ac_config_files="$ac_config_files dlls/Makefile"
21594 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21596 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21598 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21600 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21602 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21604 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21606 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21608 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21610 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21612 ac_config_files="$ac_config_files dlls/atl/Makefile"
21614 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21616 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21618 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21620 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21622 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21624 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21626 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21628 ac_config_files="$ac_config_files dlls/cards/Makefile"
21630 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21632 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21634 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21636 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21638 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21640 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21642 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21644 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21646 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21648 ac_config_files="$ac_config_files dlls/credui/Makefile"
21650 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21652 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21654 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21656 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21658 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21660 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21662 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21664 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21666 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21668 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21670 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21672 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21674 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21676 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21680 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21682 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21684 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21686 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21688 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21690 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21692 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21694 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21696 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21698 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21700 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21702 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21704 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21706 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21708 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21710 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21712 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21714 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21716 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21718 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21720 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21722 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21724 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21726 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21728 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21730 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21732 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21734 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21736 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21738 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21740 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21742 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21744 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21746 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21748 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21750 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21752 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21754 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21756 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21758 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21760 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21762 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21766 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21768 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21770 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21772 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21774 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21776 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21778 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21780 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21782 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21784 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21786 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21788 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21790 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21792 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21794 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21796 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21798 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21800 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21802 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21804 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21806 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21808 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21810 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21812 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21814 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21816 ac_config_files="$ac_config_files dlls/hal/Makefile"
21818 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21820 ac_config_files="$ac_config_files dlls/hid/Makefile"
21822 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21824 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21826 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21828 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21830 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21832 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21834 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21836 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21838 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21840 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21842 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21844 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21846 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21848 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21850 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21852 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21854 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21856 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21858 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21860 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21862 ac_config_files="$ac_config_files dlls/itss/Makefile"
21864 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21866 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21868 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21870 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21872 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21874 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21876 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21878 ac_config_files="$ac_config_files dlls/localui/Makefile"
21880 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21882 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21884 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21886 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21888 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21890 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21892 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21894 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21896 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21898 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21900 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21902 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21904 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21906 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21908 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21910 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21912 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21914 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21916 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21918 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21920 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21922 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21924 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21926 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21928 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21930 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21932 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21934 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21936 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21938 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21940 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/msi/Makefile"
21944 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21946 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21948 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21950 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21952 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21954 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21956 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21958 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21960 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21962 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21964 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21966 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21968 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21970 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21972 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21976 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21978 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21980 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21982 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21984 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21986 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21988 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21990 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21992 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21994 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21996 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21998 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22000 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22002 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22004 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22006 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22008 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22010 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22012 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22014 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22016 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22018 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22020 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22022 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22024 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22026 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22028 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22030 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22032 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22034 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22036 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22038 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22040 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22042 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22044 ac_config_files="$ac_config_files dlls/printui/Makefile"
22046 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22048 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22050 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22052 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22054 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22056 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22058 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22060 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22062 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22064 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22066 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22068 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22070 ac_config_files="$ac_config_files dlls/query/Makefile"
22072 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22074 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22076 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22078 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22080 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22082 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22084 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22086 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22088 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22090 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22092 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22094 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22096 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22098 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22100 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22102 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22104 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22106 ac_config_files="$ac_config_files dlls/security/Makefile"
22108 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22110 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22112 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22114 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22116 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22118 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22120 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22122 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22124 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22126 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22128 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22130 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22132 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22134 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22136 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22138 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22140 ac_config_files="$ac_config_files dlls/slc/Makefile"
22142 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22144 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22146 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22148 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22150 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22152 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22154 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22156 ac_config_files="$ac_config_files dlls/sti/Makefile"
22158 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22160 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22162 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22164 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22166 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22168 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22170 ac_config_files="$ac_config_files dlls/url/Makefile"
22172 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22174 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22176 ac_config_files="$ac_config_files dlls/user32/Makefile"
22178 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22180 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22182 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22184 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22186 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22188 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22190 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22192 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22194 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22196 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22198 ac_config_files="$ac_config_files dlls/version/Makefile"
22200 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22202 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22204 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22206 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22208 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22210 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22212 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22214 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22216 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22218 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22220 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22222 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22224 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22226 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22228 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22230 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22232 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22234 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22236 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22238 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22240 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22242 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22244 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22246 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22248 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22250 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22252 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22254 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22256 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22258 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22260 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22262 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22264 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22266 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22268 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22270 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22272 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22274 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22276 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22278 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22280 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22282 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22284 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22286 ac_config_files="$ac_config_files documentation/Makefile"
22288 ac_config_files="$ac_config_files fonts/Makefile"
22290 ac_config_files="$ac_config_files include/Makefile"
22292 ac_config_files="$ac_config_files libs/Makefile"
22294 ac_config_files="$ac_config_files libs/port/Makefile"
22296 ac_config_files="$ac_config_files libs/wine/Makefile"
22298 ac_config_files="$ac_config_files libs/wpp/Makefile"
22300 ac_config_files="$ac_config_files loader/Makefile"
22302 ac_config_files="$ac_config_files programs/Makefile"
22304 ac_config_files="$ac_config_files programs/clock/Makefile"
22306 ac_config_files="$ac_config_files programs/cmd/Makefile"
22308 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22310 ac_config_files="$ac_config_files programs/control/Makefile"
22312 ac_config_files="$ac_config_files programs/eject/Makefile"
22314 ac_config_files="$ac_config_files programs/expand/Makefile"
22316 ac_config_files="$ac_config_files programs/explorer/Makefile"
22318 ac_config_files="$ac_config_files programs/hh/Makefile"
22320 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22322 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22324 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22326 ac_config_files="$ac_config_files programs/net/Makefile"
22328 ac_config_files="$ac_config_files programs/notepad/Makefile"
22330 ac_config_files="$ac_config_files programs/oleview/Makefile"
22332 ac_config_files="$ac_config_files programs/progman/Makefile"
22334 ac_config_files="$ac_config_files programs/reg/Makefile"
22336 ac_config_files="$ac_config_files programs/regedit/Makefile"
22338 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22340 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22342 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22344 ac_config_files="$ac_config_files programs/secedit/Makefile"
22346 ac_config_files="$ac_config_files programs/services/Makefile"
22348 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22350 ac_config_files="$ac_config_files programs/start/Makefile"
22352 ac_config_files="$ac_config_files programs/svchost/Makefile"
22354 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22356 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22358 ac_config_files="$ac_config_files programs/view/Makefile"
22360 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22362 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22364 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22366 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22368 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22370 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22372 ac_config_files="$ac_config_files programs/winefile/Makefile"
22374 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22376 ac_config_files="$ac_config_files programs/winemine/Makefile"
22378 ac_config_files="$ac_config_files programs/winepath/Makefile"
22380 ac_config_files="$ac_config_files programs/winetest/Makefile"
22382 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22384 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22386 ac_config_files="$ac_config_files programs/winver/Makefile"
22388 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22390 ac_config_files="$ac_config_files programs/write/Makefile"
22392 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22394 ac_config_files="$ac_config_files server/Makefile"
22396 ac_config_files="$ac_config_files tools/Makefile"
22398 ac_config_files="$ac_config_files tools/widl/Makefile"
22400 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22402 ac_config_files="$ac_config_files tools/winedump/Makefile"
22404 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22406 ac_config_files="$ac_config_files tools/wmc/Makefile"
22408 ac_config_files="$ac_config_files tools/wrc/Makefile"
22411 cat >confcache <<\_ACEOF
22412 # This file is a shell script that caches the results of configure
22413 # tests run on this system so they can be shared between configure
22414 # scripts and configure runs, see configure's option --config-cache.
22415 # It is not useful on other systems. If it contains results you don't
22416 # want to keep, you may remove or edit it.
22418 # config.status only pays attention to the cache file if you give it
22419 # the --recheck option to rerun configure.
22421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22423 # following values.
22425 _ACEOF
22427 # The following way of writing the cache mishandles newlines in values,
22428 # but we know of no workaround that is simple, portable, and efficient.
22429 # So, we kill variables containing newlines.
22430 # Ultrix sh set writes to stderr and can't be redirected directly,
22431 # and sets the high bit in the cache file unless we assign to the vars.
22433 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22434 eval ac_val=\$$ac_var
22435 case $ac_val in #(
22436 *${as_nl}*)
22437 case $ac_var in #(
22438 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22439 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22440 esac
22441 case $ac_var in #(
22442 _ | IFS | as_nl) ;; #(
22443 *) $as_unset $ac_var ;;
22444 esac ;;
22445 esac
22446 done
22448 (set) 2>&1 |
22449 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22450 *${as_nl}ac_space=\ *)
22451 # `set' does not quote correctly, so add quotes (double-quote
22452 # substitution turns \\\\ into \\, and sed turns \\ into \).
22453 sed -n \
22454 "s/'/'\\\\''/g;
22455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22456 ;; #(
22458 # `set' quotes correctly as required by POSIX, so do not add quotes.
22459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22461 esac |
22462 sort
22464 sed '
22465 /^ac_cv_env_/b end
22466 t clear
22467 :clear
22468 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22469 t end
22470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22471 :end' >>confcache
22472 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22473 if test -w "$cache_file"; then
22474 test "x$cache_file" != "x/dev/null" &&
22475 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22476 echo "$as_me: updating cache $cache_file" >&6;}
22477 cat confcache >$cache_file
22478 else
22479 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22480 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22483 rm -f confcache
22485 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22486 # Let make expand exec_prefix.
22487 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22489 DEFS=-DHAVE_CONFIG_H
22491 ac_libobjs=
22492 ac_ltlibobjs=
22493 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22494 # 1. Remove the extension, and $U if already installed.
22495 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22496 ac_i=`echo "$ac_i" | sed "$ac_script"`
22497 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22498 # will be set to the directory where LIBOBJS objects are built.
22499 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22500 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22501 done
22502 LIBOBJS=$ac_libobjs
22504 LTLIBOBJS=$ac_ltlibobjs
22508 : ${CONFIG_STATUS=./config.status}
22509 ac_clean_files_save=$ac_clean_files
22510 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22511 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22512 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22513 cat >$CONFIG_STATUS <<_ACEOF
22514 #! $SHELL
22515 # Generated by $as_me.
22516 # Run this file to recreate the current configuration.
22517 # Compiler output produced by configure, useful for debugging
22518 # configure, is in config.log if it exists.
22520 debug=false
22521 ac_cs_recheck=false
22522 ac_cs_silent=false
22523 SHELL=\${CONFIG_SHELL-$SHELL}
22524 _ACEOF
22526 cat >>$CONFIG_STATUS <<\_ACEOF
22527 ## --------------------- ##
22528 ## M4sh Initialization. ##
22529 ## --------------------- ##
22531 # Be more Bourne compatible
22532 DUALCASE=1; export DUALCASE # for MKS sh
22533 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22534 emulate sh
22535 NULLCMD=:
22536 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22537 # is contrary to our usage. Disable this feature.
22538 alias -g '${1+"$@"}'='"$@"'
22539 setopt NO_GLOB_SUBST
22540 else
22541 case `(set -o) 2>/dev/null` in
22542 *posix*) set -o posix ;;
22543 esac
22550 # PATH needs CR
22551 # Avoid depending upon Character Ranges.
22552 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22553 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22554 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22555 as_cr_digits='0123456789'
22556 as_cr_alnum=$as_cr_Letters$as_cr_digits
22558 # The user is always right.
22559 if test "${PATH_SEPARATOR+set}" != set; then
22560 echo "#! /bin/sh" >conf$$.sh
22561 echo "exit 0" >>conf$$.sh
22562 chmod +x conf$$.sh
22563 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22564 PATH_SEPARATOR=';'
22565 else
22566 PATH_SEPARATOR=:
22568 rm -f conf$$.sh
22571 # Support unset when possible.
22572 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22573 as_unset=unset
22574 else
22575 as_unset=false
22579 # IFS
22580 # We need space, tab and new line, in precisely that order. Quoting is
22581 # there to prevent editors from complaining about space-tab.
22582 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22583 # splitting by setting IFS to empty value.)
22584 as_nl='
22586 IFS=" "" $as_nl"
22588 # Find who we are. Look in the path if we contain no directory separator.
22589 case $0 in
22590 *[\\/]* ) as_myself=$0 ;;
22591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22592 for as_dir in $PATH
22594 IFS=$as_save_IFS
22595 test -z "$as_dir" && as_dir=.
22596 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22597 done
22598 IFS=$as_save_IFS
22601 esac
22602 # We did not find ourselves, most probably we were run as `sh COMMAND'
22603 # in which case we are not to be found in the path.
22604 if test "x$as_myself" = x; then
22605 as_myself=$0
22607 if test ! -f "$as_myself"; then
22608 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22609 { (exit 1); exit 1; }
22612 # Work around bugs in pre-3.0 UWIN ksh.
22613 for as_var in ENV MAIL MAILPATH
22614 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22615 done
22616 PS1='$ '
22617 PS2='> '
22618 PS4='+ '
22620 # NLS nuisances.
22621 for as_var in \
22622 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22623 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22624 LC_TELEPHONE LC_TIME
22626 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22627 eval $as_var=C; export $as_var
22628 else
22629 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22631 done
22633 # Required to use basename.
22634 if expr a : '\(a\)' >/dev/null 2>&1 &&
22635 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22636 as_expr=expr
22637 else
22638 as_expr=false
22641 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22642 as_basename=basename
22643 else
22644 as_basename=false
22648 # Name of the executable.
22649 as_me=`$as_basename -- "$0" ||
22650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22651 X"$0" : 'X\(//\)$' \| \
22652 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22653 echo X/"$0" |
22654 sed '/^.*\/\([^/][^/]*\)\/*$/{
22655 s//\1/
22658 /^X\/\(\/\/\)$/{
22659 s//\1/
22662 /^X\/\(\/\).*/{
22663 s//\1/
22666 s/.*/./; q'`
22668 # CDPATH.
22669 $as_unset CDPATH
22673 as_lineno_1=$LINENO
22674 as_lineno_2=$LINENO
22675 test "x$as_lineno_1" != "x$as_lineno_2" &&
22676 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22678 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22679 # uniformly replaced by the line number. The first 'sed' inserts a
22680 # line-number line after each line using $LINENO; the second 'sed'
22681 # does the real work. The second script uses 'N' to pair each
22682 # line-number line with the line containing $LINENO, and appends
22683 # trailing '-' during substitution so that $LINENO is not a special
22684 # case at line end.
22685 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22686 # scripts with optimization help from Paolo Bonzini. Blame Lee
22687 # E. McMahon (1931-1989) for sed's syntax. :-)
22688 sed -n '
22690 /[$]LINENO/=
22691 ' <$as_myself |
22692 sed '
22693 s/[$]LINENO.*/&-/
22694 t lineno
22696 :lineno
22698 :loop
22699 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22700 t loop
22701 s/-\n.*//
22702 ' >$as_me.lineno &&
22703 chmod +x "$as_me.lineno" ||
22704 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22705 { (exit 1); exit 1; }; }
22707 # Don't try to exec as it changes $[0], causing all sort of problems
22708 # (the dirname of $[0] is not the place where we might find the
22709 # original and so on. Autoconf is especially sensitive to this).
22710 . "./$as_me.lineno"
22711 # Exit status is that of the last command.
22712 exit
22716 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22717 as_dirname=dirname
22718 else
22719 as_dirname=false
22722 ECHO_C= ECHO_N= ECHO_T=
22723 case `echo -n x` in
22724 -n*)
22725 case `echo 'x\c'` in
22726 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22727 *) ECHO_C='\c';;
22728 esac;;
22730 ECHO_N='-n';;
22731 esac
22733 if expr a : '\(a\)' >/dev/null 2>&1 &&
22734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22735 as_expr=expr
22736 else
22737 as_expr=false
22740 rm -f conf$$ conf$$.exe conf$$.file
22741 if test -d conf$$.dir; then
22742 rm -f conf$$.dir/conf$$.file
22743 else
22744 rm -f conf$$.dir
22745 mkdir conf$$.dir
22747 echo >conf$$.file
22748 if ln -s conf$$.file conf$$ 2>/dev/null; then
22749 as_ln_s='ln -s'
22750 # ... but there are two gotchas:
22751 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22752 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22753 # In both cases, we have to default to `cp -p'.
22754 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22755 as_ln_s='cp -p'
22756 elif ln conf$$.file conf$$ 2>/dev/null; then
22757 as_ln_s=ln
22758 else
22759 as_ln_s='cp -p'
22761 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22762 rmdir conf$$.dir 2>/dev/null
22764 if mkdir -p . 2>/dev/null; then
22765 as_mkdir_p=:
22766 else
22767 test -d ./-p && rmdir ./-p
22768 as_mkdir_p=false
22771 if test -x / >/dev/null 2>&1; then
22772 as_test_x='test -x'
22773 else
22774 if ls -dL / >/dev/null 2>&1; then
22775 as_ls_L_option=L
22776 else
22777 as_ls_L_option=
22779 as_test_x='
22780 eval sh -c '\''
22781 if test -d "$1"; then
22782 test -d "$1/.";
22783 else
22784 case $1 in
22785 -*)set "./$1";;
22786 esac;
22787 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22788 ???[sx]*):;;*)false;;esac;fi
22789 '\'' sh
22792 as_executable_p=$as_test_x
22794 # Sed expression to map a string onto a valid CPP name.
22795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22797 # Sed expression to map a string onto a valid variable name.
22798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22801 exec 6>&1
22803 # Save the log message, to keep $[0] and so on meaningful, and to
22804 # report actual input values of CONFIG_FILES etc. instead of their
22805 # values after options handling.
22806 ac_log="
22807 This file was extended by Wine $as_me 1.0-rc1, which was
22808 generated by GNU Autoconf 2.61. Invocation command line was
22810 CONFIG_FILES = $CONFIG_FILES
22811 CONFIG_HEADERS = $CONFIG_HEADERS
22812 CONFIG_LINKS = $CONFIG_LINKS
22813 CONFIG_COMMANDS = $CONFIG_COMMANDS
22814 $ $0 $@
22816 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22819 _ACEOF
22821 cat >>$CONFIG_STATUS <<_ACEOF
22822 # Files that config.status was made for.
22823 config_files="$ac_config_files"
22824 config_headers="$ac_config_headers"
22825 config_commands="$ac_config_commands"
22827 _ACEOF
22829 cat >>$CONFIG_STATUS <<\_ACEOF
22830 ac_cs_usage="\
22831 \`$as_me' instantiates files from templates according to the
22832 current configuration.
22834 Usage: $0 [OPTIONS] [FILE]...
22836 -h, --help print this help, then exit
22837 -V, --version print version number and configuration settings, then exit
22838 -q, --quiet do not print progress messages
22839 -d, --debug don't remove temporary files
22840 --recheck update $as_me by reconfiguring in the same conditions
22841 --file=FILE[:TEMPLATE]
22842 instantiate the configuration file FILE
22843 --header=FILE[:TEMPLATE]
22844 instantiate the configuration header FILE
22846 Configuration files:
22847 $config_files
22849 Configuration headers:
22850 $config_headers
22852 Configuration commands:
22853 $config_commands
22855 Report bugs to <bug-autoconf@gnu.org>."
22857 _ACEOF
22858 cat >>$CONFIG_STATUS <<_ACEOF
22859 ac_cs_version="\\
22860 Wine config.status 1.0-rc1
22861 configured by $0, generated by GNU Autoconf 2.61,
22862 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22864 Copyright (C) 2006 Free Software Foundation, Inc.
22865 This config.status script is free software; the Free Software Foundation
22866 gives unlimited permission to copy, distribute and modify it."
22868 ac_pwd='$ac_pwd'
22869 srcdir='$srcdir'
22870 INSTALL='$INSTALL'
22871 _ACEOF
22873 cat >>$CONFIG_STATUS <<\_ACEOF
22874 # If no file are specified by the user, then we need to provide default
22875 # value. By we need to know if files were specified by the user.
22876 ac_need_defaults=:
22877 while test $# != 0
22879 case $1 in
22880 --*=*)
22881 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22882 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22883 ac_shift=:
22886 ac_option=$1
22887 ac_optarg=$2
22888 ac_shift=shift
22890 esac
22892 case $ac_option in
22893 # Handling of the options.
22894 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22895 ac_cs_recheck=: ;;
22896 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22897 echo "$ac_cs_version"; exit ;;
22898 --debug | --debu | --deb | --de | --d | -d )
22899 debug=: ;;
22900 --file | --fil | --fi | --f )
22901 $ac_shift
22902 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22903 ac_need_defaults=false;;
22904 --header | --heade | --head | --hea )
22905 $ac_shift
22906 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22907 ac_need_defaults=false;;
22908 --he | --h)
22909 # Conflict between --help and --header
22910 { echo "$as_me: error: ambiguous option: $1
22911 Try \`$0 --help' for more information." >&2
22912 { (exit 1); exit 1; }; };;
22913 --help | --hel | -h )
22914 echo "$ac_cs_usage"; exit ;;
22915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22916 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22917 ac_cs_silent=: ;;
22919 # This is an error.
22920 -*) { echo "$as_me: error: unrecognized option: $1
22921 Try \`$0 --help' for more information." >&2
22922 { (exit 1); exit 1; }; } ;;
22924 *) ac_config_targets="$ac_config_targets $1"
22925 ac_need_defaults=false ;;
22927 esac
22928 shift
22929 done
22931 ac_configure_extra_args=
22933 if $ac_cs_silent; then
22934 exec 6>/dev/null
22935 ac_configure_extra_args="$ac_configure_extra_args --silent"
22938 _ACEOF
22939 cat >>$CONFIG_STATUS <<_ACEOF
22940 if \$ac_cs_recheck; then
22941 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22942 CONFIG_SHELL=$SHELL
22943 export CONFIG_SHELL
22944 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22947 _ACEOF
22948 cat >>$CONFIG_STATUS <<\_ACEOF
22949 exec 5>>config.log
22951 echo
22952 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22953 ## Running $as_me. ##
22954 _ASBOX
22955 echo "$ac_log"
22956 } >&5
22958 _ACEOF
22959 cat >>$CONFIG_STATUS <<_ACEOF
22960 _ACEOF
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22964 # Handling of arguments.
22965 for ac_config_target in $ac_config_targets
22967 case $ac_config_target in
22968 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22969 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22970 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22971 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22972 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22973 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22974 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22975 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22976 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22977 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22978 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22979 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22980 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22981 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22982 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22983 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22984 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22985 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22986 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22987 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22988 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22989 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22990 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22991 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22992 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22993 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22994 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22995 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22996 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22997 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22998 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22999 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23000 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23001 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23002 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23003 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23004 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23005 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23006 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23007 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23008 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23009 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23010 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23011 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23012 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23013 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23014 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23015 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23016 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23017 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23018 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23019 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23020 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23021 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23022 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23023 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23024 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23025 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23026 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23027 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23028 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23029 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23030 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23031 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23032 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23033 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23034 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23035 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23036 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23037 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23038 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23039 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23040 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23041 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23042 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23043 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23044 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23045 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23046 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23047 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23048 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23049 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23050 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23051 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23052 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23053 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23054 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23055 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23056 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23057 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23058 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23059 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23060 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23061 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23062 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23063 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23064 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23065 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23066 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23067 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23068 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23069 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23070 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23071 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23072 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23073 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23074 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23075 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23076 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23077 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23078 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23079 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23080 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23081 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23082 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23083 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23084 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23085 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23086 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23087 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23088 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23089 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23090 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23091 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23092 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23093 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23094 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23095 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23096 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23097 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23098 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23099 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23100 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23101 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23102 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23103 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23104 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23105 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23106 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23107 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23108 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23109 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23110 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23111 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23112 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23113 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23114 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23115 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23116 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23117 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23118 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23119 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23120 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23121 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23122 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23123 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23124 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23125 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23126 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23127 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23128 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23129 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23130 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23131 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23132 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23133 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23134 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23135 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23136 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23137 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23138 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23139 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23140 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23141 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23142 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23143 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23144 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23145 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23146 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23147 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23148 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23149 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23150 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23151 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23152 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23153 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23154 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23155 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23156 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23157 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23158 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23159 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23160 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23161 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23162 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23163 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23164 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23165 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23166 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23167 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23168 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23169 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23170 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23171 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23172 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23173 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23174 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23175 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23176 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23177 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23178 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23179 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23180 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23181 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23182 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23183 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23184 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23185 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23186 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23187 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23188 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23189 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23190 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23191 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23192 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23193 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23194 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23195 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23196 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23197 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23198 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23199 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23200 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23201 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23202 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23203 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23204 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23205 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23206 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23207 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23208 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23209 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23210 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23211 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23212 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23213 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23214 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23215 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23216 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23217 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23218 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23219 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23220 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23221 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23222 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23223 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23224 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23225 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23226 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23227 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23228 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23229 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23230 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23231 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23232 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23233 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23234 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23235 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23236 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23237 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23238 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23239 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23240 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23241 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23242 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23243 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23244 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23245 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23246 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23247 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23248 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23249 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23250 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23251 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23252 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23253 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23254 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23255 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23256 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23257 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23258 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23259 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23260 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23261 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23262 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23263 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23264 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23265 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23266 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23267 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23268 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23269 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23270 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23271 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23272 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23273 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23274 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23275 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23276 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23277 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23278 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23279 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23280 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23281 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23282 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23283 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23284 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23285 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23286 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23287 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23288 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23289 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23290 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23291 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23292 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23293 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23294 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23295 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23296 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23297 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23298 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23299 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23300 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23301 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23302 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23303 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23304 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23305 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23306 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23307 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23308 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23309 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23310 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23311 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23312 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23313 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23314 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23315 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23316 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23317 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23318 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23319 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23320 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23321 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23322 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23323 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23324 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23325 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23326 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23327 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23328 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23329 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23330 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23331 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23332 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23333 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23334 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23335 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23336 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23337 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23338 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23339 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23340 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23341 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23342 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23343 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23344 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23345 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23346 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23347 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23348 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23349 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23350 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23351 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23352 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23353 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23354 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23355 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23356 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23357 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23358 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23359 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23360 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23361 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23362 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23363 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23364 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23365 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23366 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23367 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23368 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23369 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23370 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23371 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23372 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23373 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23374 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23375 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23376 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23377 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23378 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23379 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23380 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23381 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23382 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23383 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23384 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23385 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23386 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23387 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23388 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23389 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23390 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23392 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23393 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23394 { (exit 1); exit 1; }; };;
23395 esac
23396 done
23399 # If the user did not use the arguments to specify the items to instantiate,
23400 # then the envvar interface is used. Set only those that are not.
23401 # We use the long form for the default assignment because of an extremely
23402 # bizarre bug on SunOS 4.1.3.
23403 if $ac_need_defaults; then
23404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23409 # Have a temporary directory for convenience. Make it in the build tree
23410 # simply because there is no reason against having it here, and in addition,
23411 # creating and moving files from /tmp can sometimes cause problems.
23412 # Hook for its removal unless debugging.
23413 # Note that there is a small window in which the directory will not be cleaned:
23414 # after its creation but before its name has been assigned to `$tmp'.
23415 $debug ||
23417 tmp=
23418 trap 'exit_status=$?
23419 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23421 trap '{ (exit 1); exit 1; }' 1 2 13 15
23423 # Create a (secure) tmp directory for tmp files.
23426 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23427 test -n "$tmp" && test -d "$tmp"
23428 } ||
23430 tmp=./conf$$-$RANDOM
23431 (umask 077 && mkdir "$tmp")
23432 } ||
23434 echo "$me: cannot create a temporary directory in ." >&2
23435 { (exit 1); exit 1; }
23439 # Set up the sed scripts for CONFIG_FILES section.
23442 # No need to generate the scripts if there are no CONFIG_FILES.
23443 # This happens for instance when ./config.status config.h
23444 if test -n "$CONFIG_FILES"; then
23446 _ACEOF
23448 # Create sed commands to just substitute file output variables.
23450 # Remaining file output variables are in a fragment that also has non-file
23451 # output varibles.
23455 ac_delim='%!_!# '
23456 for ac_last_try in false false false false false :; do
23457 cat >conf$$subs.sed <<_ACEOF
23458 SHELL!$SHELL$ac_delim
23459 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23460 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23461 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23462 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23463 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23464 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23465 exec_prefix!$exec_prefix$ac_delim
23466 prefix!$prefix$ac_delim
23467 program_transform_name!$program_transform_name$ac_delim
23468 bindir!$bindir$ac_delim
23469 sbindir!$sbindir$ac_delim
23470 libexecdir!$libexecdir$ac_delim
23471 datarootdir!$datarootdir$ac_delim
23472 datadir!$datadir$ac_delim
23473 sysconfdir!$sysconfdir$ac_delim
23474 sharedstatedir!$sharedstatedir$ac_delim
23475 localstatedir!$localstatedir$ac_delim
23476 includedir!$includedir$ac_delim
23477 oldincludedir!$oldincludedir$ac_delim
23478 docdir!$docdir$ac_delim
23479 infodir!$infodir$ac_delim
23480 htmldir!$htmldir$ac_delim
23481 dvidir!$dvidir$ac_delim
23482 pdfdir!$pdfdir$ac_delim
23483 psdir!$psdir$ac_delim
23484 libdir!$libdir$ac_delim
23485 localedir!$localedir$ac_delim
23486 mandir!$mandir$ac_delim
23487 DEFS!$DEFS$ac_delim
23488 ECHO_C!$ECHO_C$ac_delim
23489 ECHO_N!$ECHO_N$ac_delim
23490 ECHO_T!$ECHO_T$ac_delim
23491 LIBS!$LIBS$ac_delim
23492 build_alias!$build_alias$ac_delim
23493 host_alias!$host_alias$ac_delim
23494 target_alias!$target_alias$ac_delim
23495 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23496 build!$build$ac_delim
23497 build_cpu!$build_cpu$ac_delim
23498 build_vendor!$build_vendor$ac_delim
23499 build_os!$build_os$ac_delim
23500 host!$host$ac_delim
23501 host_cpu!$host_cpu$ac_delim
23502 host_vendor!$host_vendor$ac_delim
23503 host_os!$host_os$ac_delim
23504 WIN16_FILES!$WIN16_FILES$ac_delim
23505 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23506 SET_MAKE!$SET_MAKE$ac_delim
23507 CC!$CC$ac_delim
23508 CFLAGS!$CFLAGS$ac_delim
23509 LDFLAGS!$LDFLAGS$ac_delim
23510 CPPFLAGS!$CPPFLAGS$ac_delim
23511 ac_ct_CC!$ac_ct_CC$ac_delim
23512 EXEEXT!$EXEEXT$ac_delim
23513 OBJEXT!$OBJEXT$ac_delim
23514 CXX!$CXX$ac_delim
23515 CXXFLAGS!$CXXFLAGS$ac_delim
23516 ac_ct_CXX!$ac_ct_CXX$ac_delim
23517 CPPBIN!$CPPBIN$ac_delim
23518 TOOLSDIR!$TOOLSDIR$ac_delim
23519 XMKMF!$XMKMF$ac_delim
23520 CPP!$CPP$ac_delim
23521 X_CFLAGS!$X_CFLAGS$ac_delim
23522 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23523 X_LIBS!$X_LIBS$ac_delim
23524 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23525 FLEX!$FLEX$ac_delim
23526 BISON!$BISON$ac_delim
23527 AS!$AS$ac_delim
23528 ac_ct_AS!$ac_ct_AS$ac_delim
23529 LD!$LD$ac_delim
23530 AR!$AR$ac_delim
23531 ARFLAGS!$ARFLAGS$ac_delim
23532 RANLIB!$RANLIB$ac_delim
23533 STRIP!$STRIP$ac_delim
23534 WINDRES!$WINDRES$ac_delim
23535 LN_S!$LN_S$ac_delim
23536 LN!$LN$ac_delim
23537 GREP!$GREP$ac_delim
23538 EGREP!$EGREP$ac_delim
23539 LDCONFIG!$LDCONFIG$ac_delim
23540 _ACEOF
23542 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23543 break
23544 elif $ac_last_try; then
23545 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23546 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23547 { (exit 1); exit 1; }; }
23548 else
23549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23551 done
23553 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23554 if test -n "$ac_eof"; then
23555 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23556 ac_eof=`expr $ac_eof + 1`
23559 cat >>$CONFIG_STATUS <<_ACEOF
23560 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23561 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23562 /^[ ]*@MAKE_RULES@[ ]*$/{
23563 r $MAKE_RULES
23566 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23567 r $MAKE_DLL_RULES
23570 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23571 r $MAKE_IMPLIB_RULES
23574 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23575 r $MAKE_TEST_RULES
23578 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23579 r $MAKE_PROG_RULES
23582 _ACEOF
23583 sed '
23584 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23585 s/^/s,@/; s/!/@,|#_!!_#|/
23588 s/'"$ac_delim"'$/,g/; t
23589 s/$/\\/; p
23590 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23591 ' >>$CONFIG_STATUS <conf$$subs.sed
23592 rm -f conf$$subs.sed
23593 cat >>$CONFIG_STATUS <<_ACEOF
23594 CEOF$ac_eof
23595 _ACEOF
23598 ac_delim='%!_!# '
23599 for ac_last_try in false false false false false :; do
23600 cat >conf$$subs.sed <<_ACEOF
23601 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23602 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23603 INSTALL_DATA!$INSTALL_DATA$ac_delim
23604 LINT!$LINT$ac_delim
23605 LINTFLAGS!$LINTFLAGS$ac_delim
23606 FONTFORGE!$FONTFORGE$ac_delim
23607 PKG_CONFIG!$PKG_CONFIG$ac_delim
23608 RSVG!$RSVG$ac_delim
23609 ICOTOOL!$ICOTOOL$ac_delim
23610 PRELINK!$PRELINK$ac_delim
23611 LIBPTHREAD!$LIBPTHREAD$ac_delim
23612 XLIB!$XLIB$ac_delim
23613 XFILES!$XFILES$ac_delim
23614 OPENGLFILES!$OPENGLFILES$ac_delim
23615 GLU32FILES!$GLU32FILES$ac_delim
23616 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23617 QUARTZFILES!$QUARTZFILES$ac_delim
23618 DLLEXT!$DLLEXT$ac_delim
23619 DLLFLAGS!$DLLFLAGS$ac_delim
23620 LDSHARED!$LDSHARED$ac_delim
23621 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23622 LIBEXT!$LIBEXT$ac_delim
23623 IMPLIBEXT!$IMPLIBEXT$ac_delim
23624 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23625 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23626 LDD!$LDD$ac_delim
23627 DLLTOOL!$DLLTOOL$ac_delim
23628 DLLWRAP!$DLLWRAP$ac_delim
23629 MINGWAR!$MINGWAR$ac_delim
23630 SECURITYLIB!$SECURITYLIB$ac_delim
23631 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23632 IOKITLIB!$IOKITLIB$ac_delim
23633 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23634 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23635 COREAUDIO!$COREAUDIO$ac_delim
23636 CARBONLIB!$CARBONLIB$ac_delim
23637 CROSSTEST!$CROSSTEST$ac_delim
23638 CROSSCC!$CROSSCC$ac_delim
23639 CROSSWINDRES!$CROSSWINDRES$ac_delim
23640 NASLIBS!$NASLIBS$ac_delim
23641 XML2LIBS!$XML2LIBS$ac_delim
23642 XML2INCL!$XML2INCL$ac_delim
23643 XSLTLIBS!$XSLTLIBS$ac_delim
23644 XSLTINCL!$XSLTINCL$ac_delim
23645 HALINCL!$HALINCL$ac_delim
23646 sane_devel!$sane_devel$ac_delim
23647 SANEINCL!$SANEINCL$ac_delim
23648 gphoto2_devel!$gphoto2_devel$ac_delim
23649 gphoto2port_devel!$gphoto2port_devel$ac_delim
23650 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23651 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23652 RESOLVLIBS!$RESOLVLIBS$ac_delim
23653 LCMSLIBS!$LCMSLIBS$ac_delim
23654 LDAPLIBS!$LDAPLIBS$ac_delim
23655 ft_devel!$ft_devel$ac_delim
23656 FREETYPELIBS!$FREETYPELIBS$ac_delim
23657 FREETYPEINCL!$FREETYPEINCL$ac_delim
23658 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23659 ESDCONFIG!$ESDCONFIG$ac_delim
23660 ESDLIBS!$ESDLIBS$ac_delim
23661 ESDINCL!$ESDINCL$ac_delim
23662 ALSALIBS!$ALSALIBS$ac_delim
23663 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23664 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23665 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23666 BUILTINFLAG!$BUILTINFLAG$ac_delim
23667 LDPATH!$LDPATH$ac_delim
23668 CRTLIBS!$CRTLIBS$ac_delim
23669 SOCKETLIBS!$SOCKETLIBS$ac_delim
23670 MAIN_BINARY!$MAIN_BINARY$ac_delim
23671 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23672 LIBDL!$LIBDL$ac_delim
23673 LIBPOLL!$LIBPOLL$ac_delim
23674 DEPENDENCIES!$DEPENDENCIES$ac_delim
23675 LIBOBJS!$LIBOBJS$ac_delim
23676 LTLIBOBJS!$LTLIBOBJS$ac_delim
23677 _ACEOF
23679 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23680 break
23681 elif $ac_last_try; then
23682 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23683 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23684 { (exit 1); exit 1; }; }
23685 else
23686 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23688 done
23690 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23691 if test -n "$ac_eof"; then
23692 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23693 ac_eof=`expr $ac_eof + 1`
23696 cat >>$CONFIG_STATUS <<_ACEOF
23697 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23699 _ACEOF
23700 sed '
23701 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23702 s/^/s,@/; s/!/@,|#_!!_#|/
23705 s/'"$ac_delim"'$/,g/; t
23706 s/$/\\/; p
23707 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23708 ' >>$CONFIG_STATUS <conf$$subs.sed
23709 rm -f conf$$subs.sed
23710 cat >>$CONFIG_STATUS <<_ACEOF
23711 :end
23712 s/|#_!!_#|//g
23713 CEOF$ac_eof
23714 _ACEOF
23717 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23718 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23719 # trailing colons and then remove the whole line if VPATH becomes empty
23720 # (actually we leave an empty line to preserve line numbers).
23721 if test "x$srcdir" = x.; then
23722 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23723 s/:*\$(srcdir):*/:/
23724 s/:*\${srcdir}:*/:/
23725 s/:*@srcdir@:*/:/
23726 s/^\([^=]*=[ ]*\):*/\1/
23727 s/:*$//
23728 s/^[^=]*=[ ]*$//
23732 cat >>$CONFIG_STATUS <<\_ACEOF
23733 fi # test -n "$CONFIG_FILES"
23736 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23738 case $ac_tag in
23739 :[FHLC]) ac_mode=$ac_tag; continue;;
23740 esac
23741 case $ac_mode$ac_tag in
23742 :[FHL]*:*);;
23743 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23744 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23745 { (exit 1); exit 1; }; };;
23746 :[FH]-) ac_tag=-:-;;
23747 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23748 esac
23749 ac_save_IFS=$IFS
23750 IFS=:
23751 set x $ac_tag
23752 IFS=$ac_save_IFS
23753 shift
23754 ac_file=$1
23755 shift
23757 case $ac_mode in
23758 :L) ac_source=$1;;
23759 :[FH])
23760 ac_file_inputs=
23761 for ac_f
23763 case $ac_f in
23764 -) ac_f="$tmp/stdin";;
23765 *) # Look for the file first in the build tree, then in the source tree
23766 # (if the path is not absolute). The absolute path cannot be DOS-style,
23767 # because $ac_f cannot contain `:'.
23768 test -f "$ac_f" ||
23769 case $ac_f in
23770 [\\/$]*) false;;
23771 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23772 esac ||
23773 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23774 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23775 { (exit 1); exit 1; }; };;
23776 esac
23777 ac_file_inputs="$ac_file_inputs $ac_f"
23778 done
23780 # Let's still pretend it is `configure' which instantiates (i.e., don't
23781 # use $as_me), people would be surprised to read:
23782 # /* config.h. Generated by config.status. */
23783 configure_input="Generated from "`IFS=:
23784 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23785 if test x"$ac_file" != x-; then
23786 configure_input="$ac_file. $configure_input"
23787 { echo "$as_me:$LINENO: creating $ac_file" >&5
23788 echo "$as_me: creating $ac_file" >&6;}
23791 case $ac_tag in
23792 *:-:* | *:-) cat >"$tmp/stdin";;
23793 esac
23795 esac
23797 ac_dir=`$as_dirname -- "$ac_file" ||
23798 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23799 X"$ac_file" : 'X\(//\)[^/]' \| \
23800 X"$ac_file" : 'X\(//\)$' \| \
23801 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23802 echo X"$ac_file" |
23803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23804 s//\1/
23807 /^X\(\/\/\)[^/].*/{
23808 s//\1/
23811 /^X\(\/\/\)$/{
23812 s//\1/
23815 /^X\(\/\).*/{
23816 s//\1/
23819 s/.*/./; q'`
23820 { as_dir="$ac_dir"
23821 case $as_dir in #(
23822 -*) as_dir=./$as_dir;;
23823 esac
23824 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23825 as_dirs=
23826 while :; do
23827 case $as_dir in #(
23828 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23829 *) as_qdir=$as_dir;;
23830 esac
23831 as_dirs="'$as_qdir' $as_dirs"
23832 as_dir=`$as_dirname -- "$as_dir" ||
23833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23834 X"$as_dir" : 'X\(//\)[^/]' \| \
23835 X"$as_dir" : 'X\(//\)$' \| \
23836 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23837 echo X"$as_dir" |
23838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23839 s//\1/
23842 /^X\(\/\/\)[^/].*/{
23843 s//\1/
23846 /^X\(\/\/\)$/{
23847 s//\1/
23850 /^X\(\/\).*/{
23851 s//\1/
23854 s/.*/./; q'`
23855 test -d "$as_dir" && break
23856 done
23857 test -z "$as_dirs" || eval "mkdir $as_dirs"
23858 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23859 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23860 { (exit 1); exit 1; }; }; }
23861 ac_builddir=.
23863 case "$ac_dir" in
23864 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23866 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23867 # A ".." for each directory in $ac_dir_suffix.
23868 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23869 case $ac_top_builddir_sub in
23870 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23871 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23872 esac ;;
23873 esac
23874 ac_abs_top_builddir=$ac_pwd
23875 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23876 # for backward compatibility:
23877 ac_top_builddir=$ac_top_build_prefix
23879 case $srcdir in
23880 .) # We are building in place.
23881 ac_srcdir=.
23882 ac_top_srcdir=$ac_top_builddir_sub
23883 ac_abs_top_srcdir=$ac_pwd ;;
23884 [\\/]* | ?:[\\/]* ) # Absolute name.
23885 ac_srcdir=$srcdir$ac_dir_suffix;
23886 ac_top_srcdir=$srcdir
23887 ac_abs_top_srcdir=$srcdir ;;
23888 *) # Relative name.
23889 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23890 ac_top_srcdir=$ac_top_build_prefix$srcdir
23891 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23892 esac
23893 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23896 case $ac_mode in
23899 # CONFIG_FILE
23902 case $INSTALL in
23903 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23904 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23905 esac
23906 _ACEOF
23908 cat >>$CONFIG_STATUS <<\_ACEOF
23909 # If the template does not know about datarootdir, expand it.
23910 # FIXME: This hack should be removed a few years after 2.60.
23911 ac_datarootdir_hack=; ac_datarootdir_seen=
23913 case `sed -n '/datarootdir/ {
23917 /@datadir@/p
23918 /@docdir@/p
23919 /@infodir@/p
23920 /@localedir@/p
23921 /@mandir@/p
23922 ' $ac_file_inputs` in
23923 *datarootdir*) ac_datarootdir_seen=yes;;
23924 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23925 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23926 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23927 _ACEOF
23928 cat >>$CONFIG_STATUS <<_ACEOF
23929 ac_datarootdir_hack='
23930 s&@datadir@&$datadir&g
23931 s&@docdir@&$docdir&g
23932 s&@infodir@&$infodir&g
23933 s&@localedir@&$localedir&g
23934 s&@mandir@&$mandir&g
23935 s&\\\${datarootdir}&$datarootdir&g' ;;
23936 esac
23937 _ACEOF
23939 # Neutralize VPATH when `$srcdir' = `.'.
23940 # Shell code in configure.ac might set extrasub.
23941 # FIXME: do we really want to maintain this feature?
23942 cat >>$CONFIG_STATUS <<_ACEOF
23943 sed "$ac_vpsub
23944 $extrasub
23945 _ACEOF
23946 cat >>$CONFIG_STATUS <<\_ACEOF
23948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23949 s&@configure_input@&$configure_input&;t t
23950 s&@top_builddir@&$ac_top_builddir_sub&;t t
23951 s&@srcdir@&$ac_srcdir&;t t
23952 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23953 s&@top_srcdir@&$ac_top_srcdir&;t t
23954 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23955 s&@builddir@&$ac_builddir&;t t
23956 s&@abs_builddir@&$ac_abs_builddir&;t t
23957 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23958 s&@INSTALL@&$ac_INSTALL&;t t
23959 $ac_datarootdir_hack
23960 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23962 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23963 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23964 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23965 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23966 which seems to be undefined. Please make sure it is defined." >&5
23967 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23968 which seems to be undefined. Please make sure it is defined." >&2;}
23970 rm -f "$tmp/stdin"
23971 case $ac_file in
23972 -) cat "$tmp/out"; rm -f "$tmp/out";;
23973 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23974 esac
23978 # CONFIG_HEADER
23980 _ACEOF
23982 # Transform confdefs.h into a sed script `conftest.defines', that
23983 # substitutes the proper values into config.h.in to produce config.h.
23984 rm -f conftest.defines conftest.tail
23985 # First, append a space to every undef/define line, to ease matching.
23986 echo 's/$/ /' >conftest.defines
23987 # Then, protect against being on the right side of a sed subst, or in
23988 # an unquoted here document, in config.status. If some macros were
23989 # called several times there might be several #defines for the same
23990 # symbol, which is useless. But do not sort them, since the last
23991 # AC_DEFINE must be honored.
23992 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23993 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23994 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23995 # PARAMS is the parameter list in the macro definition--in most cases, it's
23996 # just an empty string.
23997 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23998 ac_dB='\\)[ (].*,\\1define\\2'
23999 ac_dC=' '
24000 ac_dD=' ,'
24002 uniq confdefs.h |
24003 sed -n '
24004 t rset
24005 :rset
24006 s/^[ ]*#[ ]*define[ ][ ]*//
24007 t ok
24010 s/[\\&,]/\\&/g
24011 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24012 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24013 ' >>conftest.defines
24015 # Remove the space that was appended to ease matching.
24016 # Then replace #undef with comments. This is necessary, for
24017 # example, in the case of _POSIX_SOURCE, which is predefined and required
24018 # on some systems where configure will not decide to define it.
24019 # (The regexp can be short, since the line contains either #define or #undef.)
24020 echo 's/ $//
24021 s,^[ #]*u.*,/* & */,' >>conftest.defines
24023 # Break up conftest.defines:
24024 ac_max_sed_lines=50
24026 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24027 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24028 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24029 # et cetera.
24030 ac_in='$ac_file_inputs'
24031 ac_out='"$tmp/out1"'
24032 ac_nxt='"$tmp/out2"'
24034 while :
24036 # Write a here document:
24037 cat >>$CONFIG_STATUS <<_ACEOF
24038 # First, check the format of the line:
24039 cat >"\$tmp/defines.sed" <<\\CEOF
24040 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24041 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24043 :def
24044 _ACEOF
24045 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24046 echo 'CEOF
24047 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24048 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24049 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24050 grep . conftest.tail >/dev/null || break
24051 rm -f conftest.defines
24052 mv conftest.tail conftest.defines
24053 done
24054 rm -f conftest.defines conftest.tail
24056 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24057 cat >>$CONFIG_STATUS <<\_ACEOF
24058 if test x"$ac_file" != x-; then
24059 echo "/* $configure_input */" >"$tmp/config.h"
24060 cat "$ac_result" >>"$tmp/config.h"
24061 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24062 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24063 echo "$as_me: $ac_file is unchanged" >&6;}
24064 else
24065 rm -f $ac_file
24066 mv "$tmp/config.h" $ac_file
24068 else
24069 echo "/* $configure_input */"
24070 cat "$ac_result"
24072 rm -f "$tmp/out12"
24075 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24076 echo "$as_me: executing $ac_file commands" >&6;}
24078 esac
24081 case $ac_file$ac_mode in
24082 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24083 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24084 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24085 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24086 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24087 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24088 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24089 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24090 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24091 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24092 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24093 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24094 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24096 esac
24097 done # for ac_tag
24100 { (exit 0); exit 0; }
24101 _ACEOF
24102 chmod +x $CONFIG_STATUS
24103 ac_clean_files=$ac_clean_files_save
24106 # configure is writing to config.log, and then calls config.status.
24107 # config.status does its own redirection, appending to config.log.
24108 # Unfortunately, on DOS this fails, as config.log is still kept open
24109 # by configure, so config.status won't be able to write to it; its
24110 # output is simply discarded. So we exec the FD to /dev/null,
24111 # effectively closing config.log, so it can be properly (re)opened and
24112 # appended to by config.status. When coming back to configure, we
24113 # need to make the FD available again.
24114 if test "$no_create" != yes; then
24115 ac_cs_success=:
24116 ac_config_status_args=
24117 test "$silent" = yes &&
24118 ac_config_status_args="$ac_config_status_args --quiet"
24119 exec 5>/dev/null
24120 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24121 exec 5>>config.log
24122 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24123 # would make configure fail if this is the last instruction.
24124 $ac_cs_success || { (exit 1); exit 1; }
24128 if test "$no_create" = "yes"
24129 then
24130 exit 0
24133 ac_save_IFS="$IFS"
24134 IFS="|"
24135 if test "x$wine_notices != "x; then
24136 echo >&6
24137 for msg in $wine_notices; do
24138 if test -n "$msg"; then
24139 { echo "$as_me:$LINENO: $msg" >&5
24140 echo "$as_me: $msg" >&6;}
24142 done
24144 for msg in $wine_warnings; do
24145 if test -n "$msg"; then
24146 echo >&2
24147 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24148 echo "$as_me: WARNING: $msg" >&2;}
24150 done
24151 IFS="$ac_save_IFS"
24153 echo "
24154 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24155 " >&6