rpcrt4: Check there is enough space in the buffer and that the size doesn't cause...
[wine.git] / configure
blob176b5b6e3ab56233a18d76ee149e7d32753fd1ce
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.49.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.49'
578 PACKAGE_STRING='Wine 0.9.49'
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 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 SECURITYLIB
726 COREFOUNDATIONLIB
727 IOKITLIB
728 LDEXECFLAGS
729 DISKARBITRATIONLIB
730 COREAUDIO
731 CARBONLIB
732 CROSSTEST
733 CROSSCC
734 CROSSWINDRES
735 NASLIBS
736 XML2LIBS
737 XML2INCL
738 XSLTLIBS
739 XSLTINCL
740 HALINCL
741 sane_devel
742 SANEINCL
743 gphoto2_devel
744 gphoto2port_devel
745 GPHOTO2LIBS
746 GPHOTO2INCL
747 RESOLVLIBS
748 LCMSLIBS
749 LDAPLIBS
750 ft_devel
751 FREETYPELIBS
752 FREETYPEINCL
753 FONTSSUBDIRS
754 ESDCONFIG
755 ESDLIBS
756 ESDINCL
757 ALSALIBS
758 AUDIOIOLIBS
759 FONTCONFIGINCL
760 EXTRACFLAGS
761 BUILTINFLAG
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.49 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.49:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1390 CPP C preprocessor
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <wine-devel@winehq.org>.
1396 _ACEOF
1397 ac_status=$?
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1404 ac_builddir=.
1406 case "$ac_dir" in
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 esac ;;
1416 esac
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1422 case $srcdir in
1423 .) # We are building in place.
1424 ac_srcdir=.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1431 *) # Relative name.
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 esac
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1446 else
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 fi || ac_status=$?
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1450 done
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1455 cat <<\_ACEOF
1456 Wine configure 0.9.49
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.49, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1473 $ $0 $@
1475 _ACEOF
1476 exec 5>>config.log
1478 cat <<_ASUNAME
1479 ## --------- ##
1480 ## Platform. ##
1481 ## --------- ##
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 _ASUNAME
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503 for as_dir in $PATH
1505 IFS=$as_save_IFS
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1508 done
1509 IFS=$as_save_IFS
1511 } >&5
1513 cat >&5 <<_ACEOF
1516 ## ----------- ##
1517 ## Core tests. ##
1518 ## ----------- ##
1520 _ACEOF
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1528 ac_configure_args=
1529 ac_configure_args0=
1530 ac_configure_args1=
1531 ac_must_keep_next=false
1532 for ac_pass in 1 2
1534 for ac_arg
1536 case $ac_arg in
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1540 continue ;;
1541 *\'*)
1542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 esac
1544 case $ac_pass in
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1550 else
1551 case $ac_arg in
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 esac
1560 -* ) ac_must_keep_next=true ;;
1561 esac
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1565 esac
1566 done
1567 done
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1579 echo
1581 cat <<\_ASBOX
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1585 _ASBOX
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1600 esac ;;
1601 esac
1602 done
1603 (set) 2>&1 |
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1606 sed -n \
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609 ;; #(
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 esac |
1614 sort
1616 echo
1618 cat <<\_ASBOX
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1622 _ASBOX
1623 echo
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1627 case $ac_val in
1628 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 esac
1630 echo "$ac_var='\''$ac_val'\''"
1631 done | sort
1632 echo
1634 if test -n "$ac_subst_files"; then
1635 cat <<\_ASBOX
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1639 _ASBOX
1640 echo
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1644 case $ac_val in
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 esac
1647 echo "$ac_var='\''$ac_val'\''"
1648 done | sort
1649 echo
1652 if test -s confdefs.h; then
1653 cat <<\_ASBOX
1654 ## ----------- ##
1655 ## confdefs.h. ##
1656 ## ----------- ##
1657 _ASBOX
1658 echo
1659 cat confdefs.h
1660 echo
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1665 } >&5
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 exit $exit_status
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1672 done
1673 ac_signal=0
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 _ACEOF
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 _ACEOF
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 else
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1715 shift
1716 for ac_site_file
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file"
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1752 set,)
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1756 ,set)
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,);;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1770 fi;;
1771 esac
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1774 case $ac_new_val in
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1777 esac
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 esac
1783 done
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1816 ac_ext=c
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 ac_config_headers="$ac_config_headers include/config.h"
1826 ac_aux_dir=
1827 for ac_dir in tools "$srcdir"/tools; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1841 done
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1910 *-*-*) ;;
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1914 esac
1915 build=$ac_cv_build
1916 ac_save_IFS=$IFS; IFS='-'
1917 set x $ac_cv_build
1918 shift
1919 build_cpu=$1
1920 build_vendor=$2
1921 shift; shift
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1924 build_os=$*
1925 IFS=$ac_save_IFS
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test "x$host_alias" = x; then
1935 ac_cv_host=$ac_cv_build
1936 else
1937 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1946 case $ac_cv_host in
1947 *-*-*) ;;
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1951 esac
1952 host=$ac_cv_host
1953 ac_save_IFS=$IFS; IFS='-'
1954 set x $ac_cv_host
1955 shift
1956 host_cpu=$1
1957 host_vendor=$2
1958 shift; shift
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1961 host_os=$*
1962 IFS=$ac_save_IFS
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1966 case $host in
1967 x86_64*linux*)
1968 if test "x$enable_win64" != "xyes"
1969 then
1970 test -n "$CC" || CC="gcc -m32"
1971 test -n "$CXX"|| CXX="g++ -m32"
1972 test -n "$LD" || LD="ld -m elf_i386"
1973 test -n "$AS" || AS="as --32"
1974 host_cpu="i386"
1977 esac
1979 case $host_cpu in
1980 *i[3456789]86*)
1981 if test "x$enable_win16" != "xno"
1982 then
1983 enable_win16="yes"
1986 esac
1988 WIN16_FILES="\$(WIN16_FILES)"
1990 WIN16_INSTALL="\$(WIN16_INSTALL)"
1992 if test "x$enable_win16" != "xyes"
1993 then
1994 WIN16_FILES=""
1995 WIN16_INSTALL=""
1998 case "$srcdir" in
1999 .) ;;
2000 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2001 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&5
2003 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2004 You need to run 'make distclean' in the source tree first." >&2;}
2005 { (exit 1); exit 1; }; }
2006 fi ;;
2007 esac
2010 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2011 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2012 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2013 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 cat >conftest.make <<\_ACEOF
2017 SHELL = /bin/sh
2018 all:
2019 @echo '@@@%%%=$(MAKE)=@@@%%%'
2020 _ACEOF
2021 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2022 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2023 *@@@%%%=?*=@@@%%%*)
2024 eval ac_cv_prog_make_${ac_make}_set=yes;;
2026 eval ac_cv_prog_make_${ac_make}_set=no;;
2027 esac
2028 rm -f conftest.make
2030 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2031 { echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6; }
2033 SET_MAKE=
2034 else
2035 { echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6; }
2037 SET_MAKE="MAKE=${MAKE-make}"
2040 ac_ext=c
2041 ac_cpp='$CPP $CPPFLAGS'
2042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2045 if test -n "$ac_tool_prefix"; then
2046 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2047 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2050 if test "${ac_cv_prog_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 else
2053 if test -n "$CC"; then
2054 ac_cv_prog_CC="$CC" # Let the user override the test.
2055 else
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 for as_dir in $PATH
2059 IFS=$as_save_IFS
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 break 2
2067 done
2068 done
2069 IFS=$as_save_IFS
2073 CC=$ac_cv_prog_CC
2074 if test -n "$CC"; then
2075 { echo "$as_me:$LINENO: result: $CC" >&5
2076 echo "${ECHO_T}$CC" >&6; }
2077 else
2078 { echo "$as_me:$LINENO: result: no" >&5
2079 echo "${ECHO_T}no" >&6; }
2084 if test -z "$ac_cv_prog_CC"; then
2085 ac_ct_CC=$CC
2086 # Extract the first word of "gcc", so it can be a program name with args.
2087 set dummy gcc; ac_word=$2
2088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2090 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 else
2093 if test -n "$ac_ct_CC"; then
2094 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095 else
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2099 IFS=$as_save_IFS
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103 ac_cv_prog_ac_ct_CC="gcc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105 break 2
2107 done
2108 done
2109 IFS=$as_save_IFS
2113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2114 if test -n "$ac_ct_CC"; then
2115 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2116 echo "${ECHO_T}$ac_ct_CC" >&6; }
2117 else
2118 { echo "$as_me:$LINENO: result: no" >&5
2119 echo "${ECHO_T}no" >&6; }
2122 if test "x$ac_ct_CC" = x; then
2123 CC=""
2124 else
2125 case $cross_compiling:$ac_tool_warned in
2126 yes:)
2127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2128 whose name does not start with the host triplet. If you think this
2129 configuration is useful to you, please write to autoconf@gnu.org." >&5
2130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2131 whose name does not start with the host triplet. If you think this
2132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2133 ac_tool_warned=yes ;;
2134 esac
2135 CC=$ac_ct_CC
2137 else
2138 CC="$ac_cv_prog_CC"
2141 if test -z "$CC"; then
2142 if test -n "$ac_tool_prefix"; then
2143 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2144 set dummy ${ac_tool_prefix}cc; ac_word=$2
2145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2147 if test "${ac_cv_prog_CC+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 else
2150 if test -n "$CC"; then
2151 ac_cv_prog_CC="$CC" # Let the user override the test.
2152 else
2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 for as_dir in $PATH
2156 IFS=$as_save_IFS
2157 test -z "$as_dir" && as_dir=.
2158 for ac_exec_ext in '' $ac_executable_extensions; do
2159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2160 ac_cv_prog_CC="${ac_tool_prefix}cc"
2161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 break 2
2164 done
2165 done
2166 IFS=$as_save_IFS
2170 CC=$ac_cv_prog_CC
2171 if test -n "$CC"; then
2172 { echo "$as_me:$LINENO: result: $CC" >&5
2173 echo "${ECHO_T}$CC" >&6; }
2174 else
2175 { echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6; }
2182 if test -z "$CC"; then
2183 # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc; ac_word=$2
2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC="$CC" # Let the user override the test.
2192 else
2193 ac_prog_rejected=no
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202 ac_prog_rejected=yes
2203 continue
2205 ac_cv_prog_CC="cc"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2209 done
2210 done
2211 IFS=$as_save_IFS
2213 if test $ac_prog_rejected = yes; then
2214 # We found a bogon in the path, so make sure we never use it.
2215 set dummy $ac_cv_prog_CC
2216 shift
2217 if test $# != 0; then
2218 # We chose a different compiler from the bogus one.
2219 # However, it has the same basename, so the bogon will be chosen
2220 # first if we set CC to just the basename; use the full file name.
2221 shift
2222 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2227 CC=$ac_cv_prog_CC
2228 if test -n "$CC"; then
2229 { echo "$as_me:$LINENO: result: $CC" >&5
2230 echo "${ECHO_T}$CC" >&6; }
2231 else
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2238 if test -z "$CC"; then
2239 if test -n "$ac_tool_prefix"; then
2240 for ac_prog in cl.exe
2242 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2243 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2255 IFS=$as_save_IFS
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2259 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 break 2
2263 done
2264 done
2265 IFS=$as_save_IFS
2269 CC=$ac_cv_prog_CC
2270 if test -n "$CC"; then
2271 { echo "$as_me:$LINENO: result: $CC" >&5
2272 echo "${ECHO_T}$CC" >&6; }
2273 else
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2279 test -n "$CC" && break
2280 done
2282 if test -z "$CC"; then
2283 ac_ct_CC=$CC
2284 for ac_prog in cl.exe
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy $ac_prog; ac_word=$2
2288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2290 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 else
2293 if test -n "$ac_ct_CC"; then
2294 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2295 else
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 for as_dir in $PATH
2299 IFS=$as_save_IFS
2300 test -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_ac_ct_CC="$ac_prog"
2304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 break 2
2307 done
2308 done
2309 IFS=$as_save_IFS
2313 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2314 if test -n "$ac_ct_CC"; then
2315 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2316 echo "${ECHO_T}$ac_ct_CC" >&6; }
2317 else
2318 { echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6; }
2323 test -n "$ac_ct_CC" && break
2324 done
2326 if test "x$ac_ct_CC" = x; then
2327 CC=""
2328 else
2329 case $cross_compiling:$ac_tool_warned in
2330 yes:)
2331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2332 whose name does not start with the host triplet. If you think this
2333 configuration is useful to you, please write to autoconf@gnu.org." >&5
2334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2335 whose name does not start with the host triplet. If you think this
2336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2337 ac_tool_warned=yes ;;
2338 esac
2339 CC=$ac_ct_CC
2346 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&5
2348 echo "$as_me: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&2;}
2350 { (exit 1); exit 1; }; }
2352 # Provide some information about the compiler.
2353 echo "$as_me:$LINENO: checking for C compiler version" >&5
2354 ac_compiler=`set X $ac_compile; echo $2`
2355 { (ac_try="$ac_compiler --version >&5"
2356 case "(($ac_try" in
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2359 esac
2360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2361 (eval "$ac_compiler --version >&5") 2>&5
2362 ac_status=$?
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }
2365 { (ac_try="$ac_compiler -v >&5"
2366 case "(($ac_try" in
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2369 esac
2370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2371 (eval "$ac_compiler -v >&5") 2>&5
2372 ac_status=$?
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }
2375 { (ac_try="$ac_compiler -V >&5"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler -V >&5") 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2386 cat >conftest.$ac_ext <<_ACEOF
2387 /* confdefs.h. */
2388 _ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2394 main ()
2398 return 0;
2400 _ACEOF
2401 ac_clean_files_save=$ac_clean_files
2402 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2403 # Try to create an executable without -o first, disregard a.out.
2404 # It will help us diagnose broken compilers, and finding out an intuition
2405 # of exeext.
2406 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2407 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2408 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2410 # List of possible output files, starting from the most likely.
2411 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2412 # only as a last resort. b.out is created by i960 compilers.
2413 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2415 # The IRIX 6 linker writes into existing files which may not be
2416 # executable, retaining their permissions. Remove them first so a
2417 # subsequent execution test works.
2418 ac_rmfiles=
2419 for ac_file in $ac_files
2421 case $ac_file in
2422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2423 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2424 esac
2425 done
2426 rm -f $ac_rmfiles
2428 if { (ac_try="$ac_link_default"
2429 case "(($ac_try" in
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2432 esac
2433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2434 (eval "$ac_link_default") 2>&5
2435 ac_status=$?
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; then
2438 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2440 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2441 # so that the user can short-circuit this test for compilers unknown to
2442 # Autoconf.
2443 for ac_file in $ac_files ''
2445 test -f "$ac_file" || continue
2446 case $ac_file in
2447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2449 [ab].out )
2450 # We found the default executable, but exeext='' is most
2451 # certainly right.
2452 break;;
2453 *.* )
2454 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2455 then :; else
2456 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 # We set ac_cv_exeext here because the later test for it is not
2459 # safe: cross compilers may not add the suffix if given an `-o'
2460 # argument, so we may need to know it at that point already.
2461 # Even if this section looks crufty: it has the advantage of
2462 # actually working.
2463 break;;
2465 break;;
2466 esac
2467 done
2468 test "$ac_cv_exeext" = no && ac_cv_exeext=
2470 else
2471 ac_file=''
2474 { echo "$as_me:$LINENO: result: $ac_file" >&5
2475 echo "${ECHO_T}$ac_file" >&6; }
2476 if test -z "$ac_file"; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2480 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&5
2482 echo "$as_me: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&2;}
2484 { (exit 77); exit 77; }; }
2487 ac_exeext=$ac_cv_exeext
2489 # Check that the compiler produces executables we can run. If not, either
2490 # the compiler is broken, or we cross compile.
2491 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2492 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2493 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2494 # If not cross compiling, check that we can run a simple program.
2495 if test "$cross_compiling" != yes; then
2496 if { ac_try='./$ac_file'
2497 { (case "(($ac_try" in
2498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2499 *) ac_try_echo=$ac_try;;
2500 esac
2501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2502 (eval "$ac_try") 2>&5
2503 ac_status=$?
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; }; then
2506 cross_compiling=no
2507 else
2508 if test "$cross_compiling" = maybe; then
2509 cross_compiling=yes
2510 else
2511 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2512 If you meant to cross compile, use \`--host'.
2513 See \`config.log' for more details." >&5
2514 echo "$as_me: error: cannot run C compiled programs.
2515 If you meant to cross compile, use \`--host'.
2516 See \`config.log' for more details." >&2;}
2517 { (exit 1); exit 1; }; }
2521 { echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6; }
2524 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2525 ac_clean_files=$ac_clean_files_save
2526 # Check that the compiler produces executables we can run. If not, either
2527 # the compiler is broken, or we cross compile.
2528 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2529 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2530 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2531 echo "${ECHO_T}$cross_compiling" >&6; }
2533 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2534 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2535 if { (ac_try="$ac_link"
2536 case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2541 (eval "$ac_link") 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550 test -f "$ac_file" || continue
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2553 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 break;;
2555 * ) break;;
2556 esac
2557 done
2558 else
2559 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&5
2561 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&2;}
2563 { (exit 1); exit 1; }; }
2566 rm -f conftest$ac_cv_exeext
2567 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2568 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2570 rm -f conftest.$ac_ext
2571 EXEEXT=$ac_cv_exeext
2572 ac_exeext=$EXEEXT
2573 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2575 if test "${ac_cv_objext+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 cat >conftest.$ac_ext <<_ACEOF
2579 /* confdefs.h. */
2580 _ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2586 main ()
2590 return 0;
2592 _ACEOF
2593 rm -f conftest.o conftest.obj
2594 if { (ac_try="$ac_compile"
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_compile") 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; then
2604 for ac_file in conftest.o conftest.obj conftest.*; do
2605 test -f "$ac_file" || continue;
2606 case $ac_file in
2607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2608 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2609 break;;
2610 esac
2611 done
2612 else
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2616 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&5
2618 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log' for more details." >&2;}
2620 { (exit 1); exit 1; }; }
2623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2625 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2626 echo "${ECHO_T}$ac_cv_objext" >&6; }
2627 OBJEXT=$ac_cv_objext
2628 ac_objext=$OBJEXT
2629 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2630 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2631 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2632 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 else
2634 cat >conftest.$ac_ext <<_ACEOF
2635 /* confdefs.h. */
2636 _ACEOF
2637 cat confdefs.h >>conftest.$ac_ext
2638 cat >>conftest.$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2642 main ()
2644 #ifndef __GNUC__
2645 choke me
2646 #endif
2649 return 0;
2651 _ACEOF
2652 rm -f conftest.$ac_objext
2653 if { (ac_try="$ac_compile"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_compile") 2>conftest.er1
2660 ac_status=$?
2661 grep -v '^ *+' conftest.er1 >conftest.err
2662 rm -f conftest.er1
2663 cat conftest.err >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } && {
2666 test -z "$ac_c_werror_flag" ||
2667 test ! -s conftest.err
2668 } && test -s conftest.$ac_objext; then
2669 ac_compiler_gnu=yes
2670 else
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2674 ac_compiler_gnu=no
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2687 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2693 ac_cv_prog_cc_g=no
2694 CFLAGS="-g"
2695 cat >conftest.$ac_ext <<_ACEOF
2696 /* confdefs.h. */
2697 _ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2703 main ()
2707 return 0;
2709 _ACEOF
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2712 case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2718 ac_status=$?
2719 grep -v '^ *+' conftest.er1 >conftest.err
2720 rm -f conftest.er1
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } && {
2724 test -z "$ac_c_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest.$ac_objext; then
2727 ac_cv_prog_cc_g=yes
2728 else
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 CFLAGS=""
2733 cat >conftest.$ac_ext <<_ACEOF
2734 /* confdefs.h. */
2735 _ACEOF
2736 cat confdefs.h >>conftest.$ac_ext
2737 cat >>conftest.$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2741 main ()
2745 return 0;
2747 _ACEOF
2748 rm -f conftest.$ac_objext
2749 if { (ac_try="$ac_compile"
2750 case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2753 esac
2754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755 (eval "$ac_compile") 2>conftest.er1
2756 ac_status=$?
2757 grep -v '^ *+' conftest.er1 >conftest.err
2758 rm -f conftest.er1
2759 cat conftest.err >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } && {
2762 test -z "$ac_c_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest.$ac_objext; then
2766 else
2767 echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2770 ac_c_werror_flag=$ac_save_c_werror_flag
2771 CFLAGS="-g"
2772 cat >conftest.$ac_ext <<_ACEOF
2773 /* confdefs.h. */
2774 _ACEOF
2775 cat confdefs.h >>conftest.$ac_ext
2776 cat >>conftest.$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2780 main ()
2784 return 0;
2786 _ACEOF
2787 rm -f conftest.$ac_objext
2788 if { (ac_try="$ac_compile"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_compile") 2>conftest.er1
2795 ac_status=$?
2796 grep -v '^ *+' conftest.er1 >conftest.err
2797 rm -f conftest.er1
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); } && {
2801 test -z "$ac_c_werror_flag" ||
2802 test ! -s conftest.err
2803 } && test -s conftest.$ac_objext; then
2804 ac_cv_prog_cc_g=yes
2805 else
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 ac_c_werror_flag=$ac_save_c_werror_flag
2821 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2822 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2823 if test "$ac_test_CFLAGS" = set; then
2824 CFLAGS=$ac_save_CFLAGS
2825 elif test $ac_cv_prog_cc_g = yes; then
2826 if test "$GCC" = yes; then
2827 CFLAGS="-g -O2"
2828 else
2829 CFLAGS="-g"
2831 else
2832 if test "$GCC" = yes; then
2833 CFLAGS="-O2"
2834 else
2835 CFLAGS=
2838 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2839 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2840 if test "${ac_cv_prog_cc_c89+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 else
2843 ac_cv_prog_cc_c89=no
2844 ac_save_CC=$CC
2845 cat >conftest.$ac_ext <<_ACEOF
2846 /* confdefs.h. */
2847 _ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2851 #include <stdarg.h>
2852 #include <stdio.h>
2853 #include <sys/types.h>
2854 #include <sys/stat.h>
2855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2856 struct buf { int x; };
2857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2858 static char *e (p, i)
2859 char **p;
2860 int i;
2862 return p[i];
2864 static char *f (char * (*g) (char **, int), char **p, ...)
2866 char *s;
2867 va_list v;
2868 va_start (v,p);
2869 s = g (p, va_arg (v,int));
2870 va_end (v);
2871 return s;
2874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2875 function prototypes and stuff, but not '\xHH' hex character constants.
2876 These don't provoke an error unfortunately, instead are silently treated
2877 as 'x'. The following induces an error, until -std is added to get
2878 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2879 array size at least. It's necessary to write '\x00'==0 to get something
2880 that's true only with -std. */
2881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2884 inside strings and character constants. */
2885 #define FOO(x) 'x'
2886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2888 int test (int i, double x);
2889 struct s1 {int (*f) (int a);};
2890 struct s2 {int (*f) (double a);};
2891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2892 int argc;
2893 char **argv;
2895 main ()
2897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2899 return 0;
2901 _ACEOF
2902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2903 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2905 CC="$ac_save_CC $ac_arg"
2906 rm -f conftest.$ac_objext
2907 if { (ac_try="$ac_compile"
2908 case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2911 esac
2912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_compile") 2>conftest.er1
2914 ac_status=$?
2915 grep -v '^ *+' conftest.er1 >conftest.err
2916 rm -f conftest.er1
2917 cat conftest.err >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } && {
2920 test -z "$ac_c_werror_flag" ||
2921 test ! -s conftest.err
2922 } && test -s conftest.$ac_objext; then
2923 ac_cv_prog_cc_c89=$ac_arg
2924 else
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2931 rm -f core conftest.err conftest.$ac_objext
2932 test "x$ac_cv_prog_cc_c89" != "xno" && break
2933 done
2934 rm -f conftest.$ac_ext
2935 CC=$ac_save_CC
2938 # AC_CACHE_VAL
2939 case "x$ac_cv_prog_cc_c89" in
2941 { echo "$as_me:$LINENO: result: none needed" >&5
2942 echo "${ECHO_T}none needed" >&6; } ;;
2943 xno)
2944 { echo "$as_me:$LINENO: result: unsupported" >&5
2945 echo "${ECHO_T}unsupported" >&6; } ;;
2947 CC="$CC $ac_cv_prog_cc_c89"
2948 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2949 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2950 esac
2953 ac_ext=c
2954 ac_cpp='$CPP $CPPFLAGS'
2955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 ac_ext=cpp
2960 ac_cpp='$CXXCPP $CPPFLAGS'
2961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2964 if test -z "$CXX"; then
2965 if test -n "$CCC"; then
2966 CXX=$CCC
2967 else
2968 if test -n "$ac_tool_prefix"; then
2969 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2975 if test "${ac_cv_prog_CXX+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 else
2978 if test -n "$CXX"; then
2979 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2980 else
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2990 break 2
2992 done
2993 done
2994 IFS=$as_save_IFS
2998 CXX=$ac_cv_prog_CXX
2999 if test -n "$CXX"; then
3000 { echo "$as_me:$LINENO: result: $CXX" >&5
3001 echo "${ECHO_T}$CXX" >&6; }
3002 else
3003 { echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6; }
3008 test -n "$CXX" && break
3009 done
3011 if test -z "$CXX"; then
3012 ac_ct_CXX=$CXX
3013 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3015 # Extract the first word of "$ac_prog", so it can be a program name with args.
3016 set dummy $ac_prog; ac_word=$2
3017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3019 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 else
3022 if test -n "$ac_ct_CXX"; then
3023 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3024 else
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3026 for as_dir in $PATH
3028 IFS=$as_save_IFS
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3032 ac_cv_prog_ac_ct_CXX="$ac_prog"
3033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 break 2
3036 done
3037 done
3038 IFS=$as_save_IFS
3042 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3043 if test -n "$ac_ct_CXX"; then
3044 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3045 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3046 else
3047 { echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6; }
3052 test -n "$ac_ct_CXX" && break
3053 done
3055 if test "x$ac_ct_CXX" = x; then
3056 CXX="g++"
3057 else
3058 case $cross_compiling:$ac_tool_warned in
3059 yes:)
3060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3061 whose name does not start with the host triplet. If you think this
3062 configuration is useful to you, please write to autoconf@gnu.org." >&5
3063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3064 whose name does not start with the host triplet. If you think this
3065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3066 ac_tool_warned=yes ;;
3067 esac
3068 CXX=$ac_ct_CXX
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3076 ac_compiler=`set X $ac_compile; echo $2`
3077 { (ac_try="$ac_compiler --version >&5"
3078 case "(($ac_try" in
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3081 esac
3082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3083 (eval "$ac_compiler --version >&5") 2>&5
3084 ac_status=$?
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); }
3087 { (ac_try="$ac_compiler -v >&5"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3093 (eval "$ac_compiler -v >&5") 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }
3097 { (ac_try="$ac_compiler -V >&5"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler -V >&5") 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3108 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3109 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3110 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 else
3113 cat >conftest.$ac_ext <<_ACEOF
3114 /* confdefs.h. */
3115 _ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3121 main ()
3123 #ifndef __GNUC__
3124 choke me
3125 #endif
3128 return 0;
3130 _ACEOF
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3133 case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_cxx_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3148 ac_compiler_gnu=yes
3149 else
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3153 ac_compiler_gnu=no
3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3160 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3161 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3162 GXX=`test $ac_compiler_gnu = yes && echo yes`
3163 ac_test_CXXFLAGS=${CXXFLAGS+set}
3164 ac_save_CXXFLAGS=$CXXFLAGS
3165 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3166 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3167 if test "${ac_cv_prog_cxx_g+set}" = set; then
3168 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 else
3170 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3171 ac_cxx_werror_flag=yes
3172 ac_cv_prog_cxx_g=no
3173 CXXFLAGS="-g"
3174 cat >conftest.$ac_ext <<_ACEOF
3175 /* confdefs.h. */
3176 _ACEOF
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3182 main ()
3186 return 0;
3188 _ACEOF
3189 rm -f conftest.$ac_objext
3190 if { (ac_try="$ac_compile"
3191 case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3194 esac
3195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3196 (eval "$ac_compile") 2>conftest.er1
3197 ac_status=$?
3198 grep -v '^ *+' conftest.er1 >conftest.err
3199 rm -f conftest.er1
3200 cat conftest.err >&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } && {
3203 test -z "$ac_cxx_werror_flag" ||
3204 test ! -s conftest.err
3205 } && test -s conftest.$ac_objext; then
3206 ac_cv_prog_cxx_g=yes
3207 else
3208 echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3211 CXXFLAGS=""
3212 cat >conftest.$ac_ext <<_ACEOF
3213 /* confdefs.h. */
3214 _ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3220 main ()
3224 return 0;
3226 _ACEOF
3227 rm -f conftest.$ac_objext
3228 if { (ac_try="$ac_compile"
3229 case "(($ac_try" in
3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3231 *) ac_try_echo=$ac_try;;
3232 esac
3233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compile") 2>conftest.er1
3235 ac_status=$?
3236 grep -v '^ *+' conftest.er1 >conftest.err
3237 rm -f conftest.er1
3238 cat conftest.err >&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } && {
3241 test -z "$ac_cxx_werror_flag" ||
3242 test ! -s conftest.err
3243 } && test -s conftest.$ac_objext; then
3245 else
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3250 CXXFLAGS="-g"
3251 cat >conftest.$ac_ext <<_ACEOF
3252 /* confdefs.h. */
3253 _ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3259 main ()
3263 return 0;
3265 _ACEOF
3266 rm -f conftest.$ac_objext
3267 if { (ac_try="$ac_compile"
3268 case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3271 esac
3272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3273 (eval "$ac_compile") 2>conftest.er1
3274 ac_status=$?
3275 grep -v '^ *+' conftest.er1 >conftest.err
3276 rm -f conftest.er1
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } && {
3280 test -z "$ac_cxx_werror_flag" ||
3281 test ! -s conftest.err
3282 } && test -s conftest.$ac_objext; then
3283 ac_cv_prog_cxx_g=yes
3284 else
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3300 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3301 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3302 if test "$ac_test_CXXFLAGS" = set; then
3303 CXXFLAGS=$ac_save_CXXFLAGS
3304 elif test $ac_cv_prog_cxx_g = yes; then
3305 if test "$GXX" = yes; then
3306 CXXFLAGS="-g -O2"
3307 else
3308 CXXFLAGS="-g"
3310 else
3311 if test "$GXX" = yes; then
3312 CXXFLAGS="-O2"
3313 else
3314 CXXFLAGS=
3317 ac_ext=c
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3323 if test -n "$ac_tool_prefix"; then
3324 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3325 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3328 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 else
3331 if test -n "$CPPBIN"; then
3332 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3337 IFS=$as_save_IFS
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 break 2
3345 done
3346 done
3347 IFS=$as_save_IFS
3351 CPPBIN=$ac_cv_prog_CPPBIN
3352 if test -n "$CPPBIN"; then
3353 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3354 echo "${ECHO_T}$CPPBIN" >&6; }
3355 else
3356 { echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6; }
3362 if test -z "$ac_cv_prog_CPPBIN"; then
3363 ac_ct_CPPBIN=$CPPBIN
3364 # Extract the first word of "cpp", so it can be a program name with args.
3365 set dummy cpp; ac_word=$2
3366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3368 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 else
3371 if test -n "$ac_ct_CPPBIN"; then
3372 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3373 else
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH
3377 IFS=$as_save_IFS
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381 ac_cv_prog_ac_ct_CPPBIN="cpp"
3382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 break 2
3385 done
3386 done
3387 IFS=$as_save_IFS
3391 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3392 if test -n "$ac_ct_CPPBIN"; then
3393 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3394 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3395 else
3396 { echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6; }
3400 if test "x$ac_ct_CPPBIN" = x; then
3401 CPPBIN="cpp"
3402 else
3403 case $cross_compiling:$ac_tool_warned in
3404 yes:)
3405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3406 whose name does not start with the host triplet. If you think this
3407 configuration is useful to you, please write to autoconf@gnu.org." >&5
3408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3409 whose name does not start with the host triplet. If you think this
3410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3411 ac_tool_warned=yes ;;
3412 esac
3413 CPPBIN=$ac_ct_CPPBIN
3415 else
3416 CPPBIN="$ac_cv_prog_CPPBIN"
3420 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3421 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3422 if test "${wine_cv_toolsdir+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 else
3425 if test -z "$with_wine_tools"; then
3426 if test "$cross_compiling" = "yes"; then
3427 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3428 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3429 { (exit 1); exit 1; }; }
3430 else
3431 wine_cv_toolsdir="\$(TOPOBJDIR)"
3433 elif test -d "$with_wine_tools/tools/winebuild"; then
3434 case $with_wine_tools in
3435 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3436 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3437 esac
3438 else
3439 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3440 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3441 { (exit 1); exit 1; }; }
3444 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3445 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3446 TOOLSDIR=$wine_cv_toolsdir
3450 ac_ext=c
3451 ac_cpp='$CPP $CPPFLAGS'
3452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3456 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3457 # On Suns, sometimes $CPP names a directory.
3458 if test -n "$CPP" && test -d "$CPP"; then
3459 CPP=
3461 if test -z "$CPP"; then
3462 if test "${ac_cv_prog_CPP+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 else
3465 # Double quotes because CPP needs to be expanded
3466 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3468 ac_preproc_ok=false
3469 for ac_c_preproc_warn_flag in '' yes
3471 # Use a header file that comes with gcc, so configuring glibc
3472 # with a fresh cross-compiler works.
3473 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3474 # <limits.h> exists even on freestanding compilers.
3475 # On the NeXT, cc -E runs the code through the compiler's parser,
3476 # not just through cpp. "Syntax error" is here to catch this case.
3477 cat >conftest.$ac_ext <<_ACEOF
3478 /* confdefs.h. */
3479 _ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3483 #ifdef __STDC__
3484 # include <limits.h>
3485 #else
3486 # include <assert.h>
3487 #endif
3488 Syntax error
3489 _ACEOF
3490 if { (ac_try="$ac_cpp conftest.$ac_ext"
3491 case "(($ac_try" in
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3494 esac
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3497 ac_status=$?
3498 grep -v '^ *+' conftest.er1 >conftest.err
3499 rm -f conftest.er1
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } >/dev/null && {
3503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3504 test ! -s conftest.err
3505 }; then
3507 else
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 # Broken: fails on valid input.
3512 continue
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat >conftest.$ac_ext <<_ACEOF
3520 /* confdefs.h. */
3521 _ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3526 _ACEOF
3527 if { (ac_try="$ac_cpp conftest.$ac_ext"
3528 case "(($ac_try" in
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3531 esac
3532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3534 ac_status=$?
3535 grep -v '^ *+' conftest.er1 >conftest.err
3536 rm -f conftest.er1
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } >/dev/null && {
3540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3542 }; then
3543 # Broken: success on invalid input.
3544 continue
3545 else
3546 echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.$ac_ext >&5
3549 # Passes both tests.
3550 ac_preproc_ok=:
3551 break
3554 rm -f conftest.err conftest.$ac_ext
3556 done
3557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3558 rm -f conftest.err conftest.$ac_ext
3559 if $ac_preproc_ok; then
3560 break
3563 done
3564 ac_cv_prog_CPP=$CPP
3567 CPP=$ac_cv_prog_CPP
3568 else
3569 ac_cv_prog_CPP=$CPP
3571 { echo "$as_me:$LINENO: result: $CPP" >&5
3572 echo "${ECHO_T}$CPP" >&6; }
3573 ac_preproc_ok=false
3574 for ac_c_preproc_warn_flag in '' yes
3576 # Use a header file that comes with gcc, so configuring glibc
3577 # with a fresh cross-compiler works.
3578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3579 # <limits.h> exists even on freestanding compilers.
3580 # On the NeXT, cc -E runs the code through the compiler's parser,
3581 # not just through cpp. "Syntax error" is here to catch this case.
3582 cat >conftest.$ac_ext <<_ACEOF
3583 /* confdefs.h. */
3584 _ACEOF
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3587 /* end confdefs.h. */
3588 #ifdef __STDC__
3589 # include <limits.h>
3590 #else
3591 # include <assert.h>
3592 #endif
3593 Syntax error
3594 _ACEOF
3595 if { (ac_try="$ac_cpp conftest.$ac_ext"
3596 case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3599 esac
3600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3602 ac_status=$?
3603 grep -v '^ *+' conftest.er1 >conftest.err
3604 rm -f conftest.er1
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } >/dev/null && {
3608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3609 test ! -s conftest.err
3610 }; then
3612 else
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3616 # Broken: fails on valid input.
3617 continue
3620 rm -f conftest.err conftest.$ac_ext
3622 # OK, works on sane cases. Now check whether nonexistent headers
3623 # can be detected and how.
3624 cat >conftest.$ac_ext <<_ACEOF
3625 /* confdefs.h. */
3626 _ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 #include <ac_nonexistent.h>
3631 _ACEOF
3632 if { (ac_try="$ac_cpp conftest.$ac_ext"
3633 case "(($ac_try" in
3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635 *) ac_try_echo=$ac_try;;
3636 esac
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3639 ac_status=$?
3640 grep -v '^ *+' conftest.er1 >conftest.err
3641 rm -f conftest.er1
3642 cat conftest.err >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } >/dev/null && {
3645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3647 }; then
3648 # Broken: success on invalid input.
3649 continue
3650 else
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Passes both tests.
3655 ac_preproc_ok=:
3656 break
3659 rm -f conftest.err conftest.$ac_ext
3661 done
3662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3663 rm -f conftest.err conftest.$ac_ext
3664 if $ac_preproc_ok; then
3666 else
3667 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&5
3669 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3670 See \`config.log' for more details." >&2;}
3671 { (exit 1); exit 1; }; }
3674 ac_ext=c
3675 ac_cpp='$CPP $CPPFLAGS'
3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 { echo "$as_me:$LINENO: checking for X" >&5
3682 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3685 # Check whether --with-x was given.
3686 if test "${with_x+set}" = set; then
3687 withval=$with_x;
3690 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3691 if test "x$with_x" = xno; then
3692 # The user explicitly disabled X.
3693 have_x=disabled
3694 else
3695 case $x_includes,$x_libraries in #(
3696 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3697 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3698 { (exit 1); exit 1; }; };; #(
3699 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 else
3702 # One or both of the vars are not set, and there is no cached value.
3703 ac_x_includes=no ac_x_libraries=no
3704 rm -f -r conftest.dir
3705 if mkdir conftest.dir; then
3706 cd conftest.dir
3707 cat >Imakefile <<'_ACEOF'
3708 incroot:
3709 @echo incroot='${INCROOT}'
3710 usrlibdir:
3711 @echo usrlibdir='${USRLIBDIR}'
3712 libdir:
3713 @echo libdir='${LIBDIR}'
3714 _ACEOF
3715 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3716 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3717 for ac_var in incroot usrlibdir libdir; do
3718 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3719 done
3720 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3721 for ac_extension in a so sl; do
3722 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3723 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3724 ac_im_usrlibdir=$ac_im_libdir; break
3726 done
3727 # Screen out bogus values from the imake configuration. They are
3728 # bogus both because they are the default anyway, and because
3729 # using them would break gcc on systems where it needs fixed includes.
3730 case $ac_im_incroot in
3731 /usr/include) ac_x_includes= ;;
3732 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3733 esac
3734 case $ac_im_usrlibdir in
3735 /usr/lib | /lib) ;;
3736 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3737 esac
3739 cd ..
3740 rm -f -r conftest.dir
3743 # Standard set of common directories for X headers.
3744 # Check X11 before X11Rn because it is often a symlink to the current release.
3745 ac_x_header_dirs='
3746 /usr/X11/include
3747 /usr/X11R6/include
3748 /usr/X11R5/include
3749 /usr/X11R4/include
3751 /usr/include/X11
3752 /usr/include/X11R6
3753 /usr/include/X11R5
3754 /usr/include/X11R4
3756 /usr/local/X11/include
3757 /usr/local/X11R6/include
3758 /usr/local/X11R5/include
3759 /usr/local/X11R4/include
3761 /usr/local/include/X11
3762 /usr/local/include/X11R6
3763 /usr/local/include/X11R5
3764 /usr/local/include/X11R4
3766 /usr/X386/include
3767 /usr/x386/include
3768 /usr/XFree86/include/X11
3770 /usr/include
3771 /usr/local/include
3772 /usr/unsupported/include
3773 /usr/athena/include
3774 /usr/local/x11r5/include
3775 /usr/lpp/Xamples/include
3777 /usr/openwin/include
3778 /usr/openwin/share/include'
3780 if test "$ac_x_includes" = no; then
3781 # Guess where to find include files, by looking for Xlib.h.
3782 # First, try using that file with no special directory specified.
3783 cat >conftest.$ac_ext <<_ACEOF
3784 /* confdefs.h. */
3785 _ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <X11/Xlib.h>
3790 _ACEOF
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3795 esac
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null && {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3806 }; then
3807 # We can compile using X headers with no special include directory.
3808 ac_x_includes=
3809 else
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 for ac_dir in $ac_x_header_dirs; do
3814 if test -r "$ac_dir/X11/Xlib.h"; then
3815 ac_x_includes=$ac_dir
3816 break
3818 done
3821 rm -f conftest.err conftest.$ac_ext
3822 fi # $ac_x_includes = no
3824 if test "$ac_x_libraries" = no; then
3825 # Check for the libraries.
3826 # See if we find them without any special options.
3827 # Don't add to $LIBS permanently.
3828 ac_save_LIBS=$LIBS
3829 LIBS="-lX11 $LIBS"
3830 cat >conftest.$ac_ext <<_ACEOF
3831 /* confdefs.h. */
3832 _ACEOF
3833 cat confdefs.h >>conftest.$ac_ext
3834 cat >>conftest.$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 #include <X11/Xlib.h>
3838 main ()
3840 XrmInitialize ()
3842 return 0;
3844 _ACEOF
3845 rm -f conftest.$ac_objext conftest$ac_exeext
3846 if { (ac_try="$ac_link"
3847 case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850 esac
3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_link") 2>conftest.er1
3853 ac_status=$?
3854 grep -v '^ *+' conftest.er1 >conftest.err
3855 rm -f conftest.er1
3856 cat conftest.err >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } && {
3859 test -z "$ac_c_werror_flag" ||
3860 test ! -s conftest.err
3861 } && test -s conftest$ac_exeext &&
3862 $as_test_x conftest$ac_exeext; then
3863 LIBS=$ac_save_LIBS
3864 # We can link X programs with no special library path.
3865 ac_x_libraries=
3866 else
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3870 LIBS=$ac_save_LIBS
3871 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3873 # Don't even attempt the hair of trying to link an X program!
3874 for ac_extension in a so sl; do
3875 if test -r "$ac_dir/libX11.$ac_extension"; then
3876 ac_x_libraries=$ac_dir
3877 break 2
3879 done
3880 done
3883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3884 conftest$ac_exeext conftest.$ac_ext
3885 fi # $ac_x_libraries = no
3887 case $ac_x_includes,$ac_x_libraries in #(
3888 no,* | *,no | *\'*)
3889 # Didn't find X, or a directory has "'" in its name.
3890 ac_cv_have_x="have_x=no";; #(
3892 # Record where we found X for the cache.
3893 ac_cv_have_x="have_x=yes\
3894 ac_x_includes='$ac_x_includes'\
3895 ac_x_libraries='$ac_x_libraries'"
3896 esac
3898 ;; #(
3899 *) have_x=yes;;
3900 esac
3901 eval "$ac_cv_have_x"
3902 fi # $with_x != no
3904 if test "$have_x" != yes; then
3905 { echo "$as_me:$LINENO: result: $have_x" >&5
3906 echo "${ECHO_T}$have_x" >&6; }
3907 no_x=yes
3908 else
3909 # If each of the values was on the command line, it overrides each guess.
3910 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3911 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3912 # Update the cache value to reflect the command line values.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$x_includes'\
3915 ac_x_libraries='$x_libraries'"
3916 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3917 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3920 if test "$no_x" = yes; then
3921 # Not all programs may use this symbol, but it does not hurt to define it.
3923 cat >>confdefs.h <<\_ACEOF
3924 #define X_DISPLAY_MISSING 1
3925 _ACEOF
3927 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3928 else
3929 if test -n "$x_includes"; then
3930 X_CFLAGS="$X_CFLAGS -I$x_includes"
3933 # It would also be nice to do this for all -L options, not just this one.
3934 if test -n "$x_libraries"; then
3935 X_LIBS="$X_LIBS -L$x_libraries"
3936 # For Solaris; some versions of Sun CC require a space after -R and
3937 # others require no space. Words are not sufficient . . . .
3938 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3939 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3940 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3941 ac_xsave_c_werror_flag=$ac_c_werror_flag
3942 ac_c_werror_flag=yes
3943 cat >conftest.$ac_ext <<_ACEOF
3944 /* confdefs.h. */
3945 _ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3951 main ()
3955 return 0;
3957 _ACEOF
3958 rm -f conftest.$ac_objext conftest$ac_exeext
3959 if { (ac_try="$ac_link"
3960 case "(($ac_try" in
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3963 esac
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_link") 2>conftest.er1
3966 ac_status=$?
3967 grep -v '^ *+' conftest.er1 >conftest.err
3968 rm -f conftest.er1
3969 cat conftest.err >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } && {
3972 test -z "$ac_c_werror_flag" ||
3973 test ! -s conftest.err
3974 } && test -s conftest$ac_exeext &&
3975 $as_test_x conftest$ac_exeext; then
3976 { echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6; }
3978 X_LIBS="$X_LIBS -R$x_libraries"
3979 else
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 LIBS="$ac_xsave_LIBS -R $x_libraries"
3984 cat >conftest.$ac_ext <<_ACEOF
3985 /* confdefs.h. */
3986 _ACEOF
3987 cat confdefs.h >>conftest.$ac_ext
3988 cat >>conftest.$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3992 main ()
3996 return 0;
3998 _ACEOF
3999 rm -f conftest.$ac_objext conftest$ac_exeext
4000 if { (ac_try="$ac_link"
4001 case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004 esac
4005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4006 (eval "$ac_link") 2>conftest.er1
4007 ac_status=$?
4008 grep -v '^ *+' conftest.er1 >conftest.err
4009 rm -f conftest.er1
4010 cat conftest.err >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } && {
4013 test -z "$ac_c_werror_flag" ||
4014 test ! -s conftest.err
4015 } && test -s conftest$ac_exeext &&
4016 $as_test_x conftest$ac_exeext; then
4017 { echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6; }
4019 X_LIBS="$X_LIBS -R $x_libraries"
4020 else
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 { echo "$as_me:$LINENO: result: neither works" >&5
4025 echo "${ECHO_T}neither works" >&6; }
4028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4029 conftest$ac_exeext conftest.$ac_ext
4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4033 conftest$ac_exeext conftest.$ac_ext
4034 ac_c_werror_flag=$ac_xsave_c_werror_flag
4035 LIBS=$ac_xsave_LIBS
4038 # Check for system-dependent libraries X programs must link with.
4039 # Do this before checking for the system-independent R6 libraries
4040 # (-lICE), since we may need -lsocket or whatever for X linking.
4042 if test "$ISC" = yes; then
4043 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4044 else
4045 # Martyn Johnson says this is needed for Ultrix, if the X
4046 # libraries were built with DECnet support. And Karl Berry says
4047 # the Alpha needs dnet_stub (dnet does not exist).
4048 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4049 cat >conftest.$ac_ext <<_ACEOF
4050 /* confdefs.h. */
4051 _ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4056 /* Override any GCC internal prototype to avoid an error.
4057 Use char because int might match the return type of a GCC
4058 builtin and then its argument prototype would still apply. */
4059 #ifdef __cplusplus
4060 extern "C"
4061 #endif
4062 char XOpenDisplay ();
4064 main ()
4066 return XOpenDisplay ();
4068 return 0;
4070 _ACEOF
4071 rm -f conftest.$ac_objext conftest$ac_exeext
4072 if { (ac_try="$ac_link"
4073 case "(($ac_try" in
4074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4076 esac
4077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4078 (eval "$ac_link") 2>conftest.er1
4079 ac_status=$?
4080 grep -v '^ *+' conftest.er1 >conftest.err
4081 rm -f conftest.er1
4082 cat conftest.err >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); } && {
4085 test -z "$ac_c_werror_flag" ||
4086 test ! -s conftest.err
4087 } && test -s conftest$ac_exeext &&
4088 $as_test_x conftest$ac_exeext; then
4090 else
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4094 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4095 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4096 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 else
4099 ac_check_lib_save_LIBS=$LIBS
4100 LIBS="-ldnet $LIBS"
4101 cat >conftest.$ac_ext <<_ACEOF
4102 /* confdefs.h. */
4103 _ACEOF
4104 cat confdefs.h >>conftest.$ac_ext
4105 cat >>conftest.$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4108 /* Override any GCC internal prototype to avoid an error.
4109 Use char because int might match the return type of a GCC
4110 builtin and then its argument prototype would still apply. */
4111 #ifdef __cplusplus
4112 extern "C"
4113 #endif
4114 char dnet_ntoa ();
4116 main ()
4118 return dnet_ntoa ();
4120 return 0;
4122 _ACEOF
4123 rm -f conftest.$ac_objext conftest$ac_exeext
4124 if { (ac_try="$ac_link"
4125 case "(($ac_try" in
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4128 esac
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130 (eval "$ac_link") 2>conftest.er1
4131 ac_status=$?
4132 grep -v '^ *+' conftest.er1 >conftest.err
4133 rm -f conftest.er1
4134 cat conftest.err >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } && {
4137 test -z "$ac_c_werror_flag" ||
4138 test ! -s conftest.err
4139 } && test -s conftest$ac_exeext &&
4140 $as_test_x conftest$ac_exeext; then
4141 ac_cv_lib_dnet_dnet_ntoa=yes
4142 else
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 ac_cv_lib_dnet_dnet_ntoa=no
4149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4150 conftest$ac_exeext conftest.$ac_ext
4151 LIBS=$ac_check_lib_save_LIBS
4153 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4154 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4155 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4156 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4159 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4160 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4161 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4162 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 else
4165 ac_check_lib_save_LIBS=$LIBS
4166 LIBS="-ldnet_stub $LIBS"
4167 cat >conftest.$ac_ext <<_ACEOF
4168 /* confdefs.h. */
4169 _ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4174 /* Override any GCC internal prototype to avoid an error.
4175 Use char because int might match the return type of a GCC
4176 builtin and then its argument prototype would still apply. */
4177 #ifdef __cplusplus
4178 extern "C"
4179 #endif
4180 char dnet_ntoa ();
4182 main ()
4184 return dnet_ntoa ();
4186 return 0;
4188 _ACEOF
4189 rm -f conftest.$ac_objext conftest$ac_exeext
4190 if { (ac_try="$ac_link"
4191 case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4194 esac
4195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4196 (eval "$ac_link") 2>conftest.er1
4197 ac_status=$?
4198 grep -v '^ *+' conftest.er1 >conftest.err
4199 rm -f conftest.er1
4200 cat conftest.err >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); } && {
4203 test -z "$ac_c_werror_flag" ||
4204 test ! -s conftest.err
4205 } && test -s conftest$ac_exeext &&
4206 $as_test_x conftest$ac_exeext; then
4207 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4208 else
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.$ac_ext >&5
4212 ac_cv_lib_dnet_stub_dnet_ntoa=no
4215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4216 conftest$ac_exeext conftest.$ac_ext
4217 LIBS=$ac_check_lib_save_LIBS
4219 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4220 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4221 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4222 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4229 conftest$ac_exeext conftest.$ac_ext
4230 LIBS="$ac_xsave_LIBS"
4232 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4233 # to get the SysV transport functions.
4234 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4235 # needs -lnsl.
4236 # The nsl library prevents programs from opening the X display
4237 # on Irix 5.2, according to T.E. Dickey.
4238 # The functions gethostbyname, getservbyname, and inet_addr are
4239 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4240 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4241 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4242 if test "${ac_cv_func_gethostbyname+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 else
4245 cat >conftest.$ac_ext <<_ACEOF
4246 /* confdefs.h. */
4247 _ACEOF
4248 cat confdefs.h >>conftest.$ac_ext
4249 cat >>conftest.$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4251 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4253 #define gethostbyname innocuous_gethostbyname
4255 /* System header to define __stub macros and hopefully few prototypes,
4256 which can conflict with char gethostbyname (); below.
4257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4258 <limits.h> exists even on freestanding compilers. */
4260 #ifdef __STDC__
4261 # include <limits.h>
4262 #else
4263 # include <assert.h>
4264 #endif
4266 #undef gethostbyname
4268 /* Override any GCC internal prototype to avoid an error.
4269 Use char because int might match the return type of a GCC
4270 builtin and then its argument prototype would still apply. */
4271 #ifdef __cplusplus
4272 extern "C"
4273 #endif
4274 char gethostbyname ();
4275 /* The GNU C library defines this for functions which it implements
4276 to always fail with ENOSYS. Some functions are actually named
4277 something starting with __ and the normal name is an alias. */
4278 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4279 choke me
4280 #endif
4283 main ()
4285 return gethostbyname ();
4287 return 0;
4289 _ACEOF
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (ac_try="$ac_link"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4298 ac_status=$?
4299 grep -v '^ *+' conftest.er1 >conftest.err
4300 rm -f conftest.er1
4301 cat conftest.err >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } && {
4304 test -z "$ac_c_werror_flag" ||
4305 test ! -s conftest.err
4306 } && test -s conftest$ac_exeext &&
4307 $as_test_x conftest$ac_exeext; then
4308 ac_cv_func_gethostbyname=yes
4309 else
4310 echo "$as_me: failed program was:" >&5
4311 sed 's/^/| /' conftest.$ac_ext >&5
4313 ac_cv_func_gethostbyname=no
4316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4317 conftest$ac_exeext conftest.$ac_ext
4319 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4320 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4322 if test $ac_cv_func_gethostbyname = no; then
4323 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4324 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4325 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 else
4328 ac_check_lib_save_LIBS=$LIBS
4329 LIBS="-lnsl $LIBS"
4330 cat >conftest.$ac_ext <<_ACEOF
4331 /* confdefs.h. */
4332 _ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4337 /* Override any GCC internal prototype to avoid an error.
4338 Use char because int might match the return type of a GCC
4339 builtin and then its argument prototype would still apply. */
4340 #ifdef __cplusplus
4341 extern "C"
4342 #endif
4343 char gethostbyname ();
4345 main ()
4347 return gethostbyname ();
4349 return 0;
4351 _ACEOF
4352 rm -f conftest.$ac_objext conftest$ac_exeext
4353 if { (ac_try="$ac_link"
4354 case "(($ac_try" in
4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356 *) ac_try_echo=$ac_try;;
4357 esac
4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359 (eval "$ac_link") 2>conftest.er1
4360 ac_status=$?
4361 grep -v '^ *+' conftest.er1 >conftest.err
4362 rm -f conftest.er1
4363 cat conftest.err >&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } && {
4366 test -z "$ac_c_werror_flag" ||
4367 test ! -s conftest.err
4368 } && test -s conftest$ac_exeext &&
4369 $as_test_x conftest$ac_exeext; then
4370 ac_cv_lib_nsl_gethostbyname=yes
4371 else
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 ac_cv_lib_nsl_gethostbyname=no
4378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4379 conftest$ac_exeext conftest.$ac_ext
4380 LIBS=$ac_check_lib_save_LIBS
4382 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4383 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4384 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4385 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4388 if test $ac_cv_lib_nsl_gethostbyname = no; then
4389 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4390 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4391 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 else
4394 ac_check_lib_save_LIBS=$LIBS
4395 LIBS="-lbsd $LIBS"
4396 cat >conftest.$ac_ext <<_ACEOF
4397 /* confdefs.h. */
4398 _ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4403 /* Override any GCC internal prototype to avoid an error.
4404 Use char because int might match the return type of a GCC
4405 builtin and then its argument prototype would still apply. */
4406 #ifdef __cplusplus
4407 extern "C"
4408 #endif
4409 char gethostbyname ();
4411 main ()
4413 return gethostbyname ();
4415 return 0;
4417 _ACEOF
4418 rm -f conftest.$ac_objext conftest$ac_exeext
4419 if { (ac_try="$ac_link"
4420 case "(($ac_try" in
4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422 *) ac_try_echo=$ac_try;;
4423 esac
4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425 (eval "$ac_link") 2>conftest.er1
4426 ac_status=$?
4427 grep -v '^ *+' conftest.er1 >conftest.err
4428 rm -f conftest.er1
4429 cat conftest.err >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); } && {
4432 test -z "$ac_c_werror_flag" ||
4433 test ! -s conftest.err
4434 } && test -s conftest$ac_exeext &&
4435 $as_test_x conftest$ac_exeext; then
4436 ac_cv_lib_bsd_gethostbyname=yes
4437 else
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.$ac_ext >&5
4441 ac_cv_lib_bsd_gethostbyname=no
4444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4445 conftest$ac_exeext conftest.$ac_ext
4446 LIBS=$ac_check_lib_save_LIBS
4448 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4449 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4450 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4451 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4457 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4458 # socket/setsockopt and other routines are undefined under SCO ODT
4459 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4460 # on later versions), says Simon Leinen: it contains gethostby*
4461 # variants that don't use the name server (or something). -lsocket
4462 # must be given before -lnsl if both are needed. We assume that
4463 # if connect needs -lnsl, so does gethostbyname.
4464 { echo "$as_me:$LINENO: checking for connect" >&5
4465 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4466 if test "${ac_cv_func_connect+set}" = set; then
4467 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 else
4469 cat >conftest.$ac_ext <<_ACEOF
4470 /* confdefs.h. */
4471 _ACEOF
4472 cat confdefs.h >>conftest.$ac_ext
4473 cat >>conftest.$ac_ext <<_ACEOF
4474 /* end confdefs.h. */
4475 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4477 #define connect innocuous_connect
4479 /* System header to define __stub macros and hopefully few prototypes,
4480 which can conflict with char connect (); below.
4481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482 <limits.h> exists even on freestanding compilers. */
4484 #ifdef __STDC__
4485 # include <limits.h>
4486 #else
4487 # include <assert.h>
4488 #endif
4490 #undef connect
4492 /* Override any GCC internal prototype to avoid an error.
4493 Use char because int might match the return type of a GCC
4494 builtin and then its argument prototype would still apply. */
4495 #ifdef __cplusplus
4496 extern "C"
4497 #endif
4498 char connect ();
4499 /* The GNU C library defines this for functions which it implements
4500 to always fail with ENOSYS. Some functions are actually named
4501 something starting with __ and the normal name is an alias. */
4502 #if defined __stub_connect || defined __stub___connect
4503 choke me
4504 #endif
4507 main ()
4509 return connect ();
4511 return 0;
4513 _ACEOF
4514 rm -f conftest.$ac_objext conftest$ac_exeext
4515 if { (ac_try="$ac_link"
4516 case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4519 esac
4520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521 (eval "$ac_link") 2>conftest.er1
4522 ac_status=$?
4523 grep -v '^ *+' conftest.er1 >conftest.err
4524 rm -f conftest.er1
4525 cat conftest.err >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && {
4528 test -z "$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4530 } && test -s conftest$ac_exeext &&
4531 $as_test_x conftest$ac_exeext; then
4532 ac_cv_func_connect=yes
4533 else
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 ac_cv_func_connect=no
4540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4541 conftest$ac_exeext conftest.$ac_ext
4543 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4544 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4546 if test $ac_cv_func_connect = no; then
4547 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4548 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4549 if test "${ac_cv_lib_socket_connect+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4552 ac_check_lib_save_LIBS=$LIBS
4553 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4554 cat >conftest.$ac_ext <<_ACEOF
4555 /* confdefs.h. */
4556 _ACEOF
4557 cat confdefs.h >>conftest.$ac_ext
4558 cat >>conftest.$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4561 /* Override any GCC internal prototype to avoid an error.
4562 Use char because int might match the return type of a GCC
4563 builtin and then its argument prototype would still apply. */
4564 #ifdef __cplusplus
4565 extern "C"
4566 #endif
4567 char connect ();
4569 main ()
4571 return connect ();
4573 return 0;
4575 _ACEOF
4576 rm -f conftest.$ac_objext conftest$ac_exeext
4577 if { (ac_try="$ac_link"
4578 case "(($ac_try" in
4579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4581 esac
4582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4583 (eval "$ac_link") 2>conftest.er1
4584 ac_status=$?
4585 grep -v '^ *+' conftest.er1 >conftest.err
4586 rm -f conftest.er1
4587 cat conftest.err >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } && {
4590 test -z "$ac_c_werror_flag" ||
4591 test ! -s conftest.err
4592 } && test -s conftest$ac_exeext &&
4593 $as_test_x conftest$ac_exeext; then
4594 ac_cv_lib_socket_connect=yes
4595 else
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 ac_cv_lib_socket_connect=no
4602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4603 conftest$ac_exeext conftest.$ac_ext
4604 LIBS=$ac_check_lib_save_LIBS
4606 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4608 if test $ac_cv_lib_socket_connect = yes; then
4609 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4614 # Guillermo Gomez says -lposix is necessary on A/UX.
4615 { echo "$as_me:$LINENO: checking for remove" >&5
4616 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4617 if test "${ac_cv_func_remove+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 else
4620 cat >conftest.$ac_ext <<_ACEOF
4621 /* confdefs.h. */
4622 _ACEOF
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4626 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4628 #define remove innocuous_remove
4630 /* System header to define __stub macros and hopefully few prototypes,
4631 which can conflict with char remove (); below.
4632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4633 <limits.h> exists even on freestanding compilers. */
4635 #ifdef __STDC__
4636 # include <limits.h>
4637 #else
4638 # include <assert.h>
4639 #endif
4641 #undef remove
4643 /* Override any GCC internal prototype to avoid an error.
4644 Use char because int might match the return type of a GCC
4645 builtin and then its argument prototype would still apply. */
4646 #ifdef __cplusplus
4647 extern "C"
4648 #endif
4649 char remove ();
4650 /* The GNU C library defines this for functions which it implements
4651 to always fail with ENOSYS. Some functions are actually named
4652 something starting with __ and the normal name is an alias. */
4653 #if defined __stub_remove || defined __stub___remove
4654 choke me
4655 #endif
4658 main ()
4660 return remove ();
4662 return 0;
4664 _ACEOF
4665 rm -f conftest.$ac_objext conftest$ac_exeext
4666 if { (ac_try="$ac_link"
4667 case "(($ac_try" in
4668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4670 esac
4671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4672 (eval "$ac_link") 2>conftest.er1
4673 ac_status=$?
4674 grep -v '^ *+' conftest.er1 >conftest.err
4675 rm -f conftest.er1
4676 cat conftest.err >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } && {
4679 test -z "$ac_c_werror_flag" ||
4680 test ! -s conftest.err
4681 } && test -s conftest$ac_exeext &&
4682 $as_test_x conftest$ac_exeext; then
4683 ac_cv_func_remove=yes
4684 else
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 ac_cv_func_remove=no
4691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4692 conftest$ac_exeext conftest.$ac_ext
4694 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4695 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4697 if test $ac_cv_func_remove = no; then
4698 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4699 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4700 if test "${ac_cv_lib_posix_remove+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 else
4703 ac_check_lib_save_LIBS=$LIBS
4704 LIBS="-lposix $LIBS"
4705 cat >conftest.$ac_ext <<_ACEOF
4706 /* confdefs.h. */
4707 _ACEOF
4708 cat confdefs.h >>conftest.$ac_ext
4709 cat >>conftest.$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4712 /* Override any GCC internal prototype to avoid an error.
4713 Use char because int might match the return type of a GCC
4714 builtin and then its argument prototype would still apply. */
4715 #ifdef __cplusplus
4716 extern "C"
4717 #endif
4718 char remove ();
4720 main ()
4722 return remove ();
4724 return 0;
4726 _ACEOF
4727 rm -f conftest.$ac_objext conftest$ac_exeext
4728 if { (ac_try="$ac_link"
4729 case "(($ac_try" in
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4732 esac
4733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4734 (eval "$ac_link") 2>conftest.er1
4735 ac_status=$?
4736 grep -v '^ *+' conftest.er1 >conftest.err
4737 rm -f conftest.er1
4738 cat conftest.err >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } && {
4741 test -z "$ac_c_werror_flag" ||
4742 test ! -s conftest.err
4743 } && test -s conftest$ac_exeext &&
4744 $as_test_x conftest$ac_exeext; then
4745 ac_cv_lib_posix_remove=yes
4746 else
4747 echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.$ac_ext >&5
4750 ac_cv_lib_posix_remove=no
4753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4754 conftest$ac_exeext conftest.$ac_ext
4755 LIBS=$ac_check_lib_save_LIBS
4757 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4758 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4759 if test $ac_cv_lib_posix_remove = yes; then
4760 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4765 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4766 { echo "$as_me:$LINENO: checking for shmat" >&5
4767 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4768 if test "${ac_cv_func_shmat+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 else
4771 cat >conftest.$ac_ext <<_ACEOF
4772 /* confdefs.h. */
4773 _ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>conftest.$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4777 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4779 #define shmat innocuous_shmat
4781 /* System header to define __stub macros and hopefully few prototypes,
4782 which can conflict with char shmat (); below.
4783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4784 <limits.h> exists even on freestanding compilers. */
4786 #ifdef __STDC__
4787 # include <limits.h>
4788 #else
4789 # include <assert.h>
4790 #endif
4792 #undef shmat
4794 /* Override any GCC internal prototype to avoid an error.
4795 Use char because int might match the return type of a GCC
4796 builtin and then its argument prototype would still apply. */
4797 #ifdef __cplusplus
4798 extern "C"
4799 #endif
4800 char shmat ();
4801 /* The GNU C library defines this for functions which it implements
4802 to always fail with ENOSYS. Some functions are actually named
4803 something starting with __ and the normal name is an alias. */
4804 #if defined __stub_shmat || defined __stub___shmat
4805 choke me
4806 #endif
4809 main ()
4811 return shmat ();
4813 return 0;
4815 _ACEOF
4816 rm -f conftest.$ac_objext conftest$ac_exeext
4817 if { (ac_try="$ac_link"
4818 case "(($ac_try" in
4819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4820 *) ac_try_echo=$ac_try;;
4821 esac
4822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4823 (eval "$ac_link") 2>conftest.er1
4824 ac_status=$?
4825 grep -v '^ *+' conftest.er1 >conftest.err
4826 rm -f conftest.er1
4827 cat conftest.err >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } && {
4830 test -z "$ac_c_werror_flag" ||
4831 test ! -s conftest.err
4832 } && test -s conftest$ac_exeext &&
4833 $as_test_x conftest$ac_exeext; then
4834 ac_cv_func_shmat=yes
4835 else
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4839 ac_cv_func_shmat=no
4842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4843 conftest$ac_exeext conftest.$ac_ext
4845 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4846 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4848 if test $ac_cv_func_shmat = no; then
4849 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4850 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4851 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 else
4854 ac_check_lib_save_LIBS=$LIBS
4855 LIBS="-lipc $LIBS"
4856 cat >conftest.$ac_ext <<_ACEOF
4857 /* confdefs.h. */
4858 _ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4863 /* Override any GCC internal prototype to avoid an error.
4864 Use char because int might match the return type of a GCC
4865 builtin and then its argument prototype would still apply. */
4866 #ifdef __cplusplus
4867 extern "C"
4868 #endif
4869 char shmat ();
4871 main ()
4873 return shmat ();
4875 return 0;
4877 _ACEOF
4878 rm -f conftest.$ac_objext conftest$ac_exeext
4879 if { (ac_try="$ac_link"
4880 case "(($ac_try" in
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4883 esac
4884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4885 (eval "$ac_link") 2>conftest.er1
4886 ac_status=$?
4887 grep -v '^ *+' conftest.er1 >conftest.err
4888 rm -f conftest.er1
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } && {
4892 test -z "$ac_c_werror_flag" ||
4893 test ! -s conftest.err
4894 } && test -s conftest$ac_exeext &&
4895 $as_test_x conftest$ac_exeext; then
4896 ac_cv_lib_ipc_shmat=yes
4897 else
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 ac_cv_lib_ipc_shmat=no
4904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4905 conftest$ac_exeext conftest.$ac_ext
4906 LIBS=$ac_check_lib_save_LIBS
4908 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4909 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4910 if test $ac_cv_lib_ipc_shmat = yes; then
4911 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4917 # Check for libraries that X11R6 Xt/Xaw programs need.
4918 ac_save_LDFLAGS=$LDFLAGS
4919 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4920 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4921 # check for ICE first), but we must link in the order -lSM -lICE or
4922 # we get undefined symbols. So assume we have SM if we have ICE.
4923 # These have to be linked with before -lX11, unlike the other
4924 # libraries we check for below, so use a different variable.
4925 # John Interrante, Karl Berry
4926 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4927 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4928 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 else
4931 ac_check_lib_save_LIBS=$LIBS
4932 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4933 cat >conftest.$ac_ext <<_ACEOF
4934 /* confdefs.h. */
4935 _ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 /* Override any GCC internal prototype to avoid an error.
4941 Use char because int might match the return type of a GCC
4942 builtin and then its argument prototype would still apply. */
4943 #ifdef __cplusplus
4944 extern "C"
4945 #endif
4946 char IceConnectionNumber ();
4948 main ()
4950 return IceConnectionNumber ();
4952 return 0;
4954 _ACEOF
4955 rm -f conftest.$ac_objext conftest$ac_exeext
4956 if { (ac_try="$ac_link"
4957 case "(($ac_try" in
4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4959 *) ac_try_echo=$ac_try;;
4960 esac
4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4962 (eval "$ac_link") 2>conftest.er1
4963 ac_status=$?
4964 grep -v '^ *+' conftest.er1 >conftest.err
4965 rm -f conftest.er1
4966 cat conftest.err >&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } && {
4969 test -z "$ac_c_werror_flag" ||
4970 test ! -s conftest.err
4971 } && test -s conftest$ac_exeext &&
4972 $as_test_x conftest$ac_exeext; then
4973 ac_cv_lib_ICE_IceConnectionNumber=yes
4974 else
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4978 ac_cv_lib_ICE_IceConnectionNumber=no
4981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4982 conftest$ac_exeext conftest.$ac_ext
4983 LIBS=$ac_check_lib_save_LIBS
4985 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4986 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4987 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4988 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4991 LDFLAGS=$ac_save_LDFLAGS
4996 for ac_prog in flex
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy $ac_prog; ac_word=$2
5000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5002 if test "${ac_cv_prog_FLEX+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 else
5005 if test -n "$FLEX"; then
5006 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5007 else
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $PATH
5011 IFS=$as_save_IFS
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_FLEX="$ac_prog"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 break 2
5019 done
5020 done
5021 IFS=$as_save_IFS
5025 FLEX=$ac_cv_prog_FLEX
5026 if test -n "$FLEX"; then
5027 { echo "$as_me:$LINENO: result: $FLEX" >&5
5028 echo "${ECHO_T}$FLEX" >&6; }
5029 else
5030 { echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6; }
5035 test -n "$FLEX" && break
5036 done
5037 test -n "$FLEX" || FLEX="none"
5039 if test "$FLEX" = "none"
5040 then
5041 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5042 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5043 { (exit 1); exit 1; }; }
5046 for ac_prog in bison
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy $ac_prog; ac_word=$2
5050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5052 if test "${ac_cv_prog_BISON+set}" = set; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 else
5055 if test -n "$BISON"; then
5056 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_BISON="$ac_prog"
5066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 BISON=$ac_cv_prog_BISON
5076 if test -n "$BISON"; then
5077 { echo "$as_me:$LINENO: result: $BISON" >&5
5078 echo "${ECHO_T}$BISON" >&6; }
5079 else
5080 { echo "$as_me:$LINENO: result: no" >&5
5081 echo "${ECHO_T}no" >&6; }
5085 test -n "$BISON" && break
5086 done
5087 test -n "$BISON" || BISON="none"
5089 if test "$BISON" = "none"
5090 then
5091 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5092 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5093 { (exit 1); exit 1; }; }
5096 if test -n "$ac_tool_prefix"; then
5097 for ac_prog in gas as
5099 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5100 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5103 if test "${ac_cv_prog_AS+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 else
5106 if test -n "$AS"; then
5107 ac_cv_prog_AS="$AS" # Let the user override the test.
5108 else
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH
5112 IFS=$as_save_IFS
5113 test -z "$as_dir" && as_dir=.
5114 for ac_exec_ext in '' $ac_executable_extensions; do
5115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 break 2
5120 done
5121 done
5122 IFS=$as_save_IFS
5126 AS=$ac_cv_prog_AS
5127 if test -n "$AS"; then
5128 { echo "$as_me:$LINENO: result: $AS" >&5
5129 echo "${ECHO_T}$AS" >&6; }
5130 else
5131 { echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6; }
5136 test -n "$AS" && break
5137 done
5139 if test -z "$AS"; then
5140 ac_ct_AS=$AS
5141 for ac_prog in gas as
5143 # Extract the first word of "$ac_prog", so it can be a program name with args.
5144 set dummy $ac_prog; ac_word=$2
5145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5147 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 else
5150 if test -n "$ac_ct_AS"; then
5151 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AS="$ac_prog"
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5171 if test -n "$ac_ct_AS"; then
5172 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5173 echo "${ECHO_T}$ac_ct_AS" >&6; }
5174 else
5175 { echo "$as_me:$LINENO: result: no" >&5
5176 echo "${ECHO_T}no" >&6; }
5180 test -n "$ac_ct_AS" && break
5181 done
5183 if test "x$ac_ct_AS" = x; then
5184 AS="as"
5185 else
5186 case $cross_compiling:$ac_tool_warned in
5187 yes:)
5188 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5189 whose name does not start with the host triplet. If you think this
5190 configuration is useful to you, please write to autoconf@gnu.org." >&5
5191 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5192 whose name does not start with the host triplet. If you think this
5193 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5194 ac_tool_warned=yes ;;
5195 esac
5196 AS=$ac_ct_AS
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5202 set dummy ${ac_tool_prefix}ld; ac_word=$2
5203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5205 if test "${ac_cv_prog_LD+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 else
5208 if test -n "$LD"; then
5209 ac_cv_prog_LD="$LD" # Let the user override the test.
5210 else
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH
5214 IFS=$as_save_IFS
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_LD="${ac_tool_prefix}ld"
5219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 break 2
5222 done
5223 done
5224 IFS=$as_save_IFS
5228 LD=$ac_cv_prog_LD
5229 if test -n "$LD"; then
5230 { echo "$as_me:$LINENO: result: $LD" >&5
5231 echo "${ECHO_T}$LD" >&6; }
5232 else
5233 { echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6; }
5239 if test -z "$ac_cv_prog_LD"; then
5240 ac_ct_LD=$LD
5241 # Extract the first word of "ld", so it can be a program name with args.
5242 set dummy ld; ac_word=$2
5243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5245 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 if test -n "$ac_ct_LD"; then
5249 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_ac_ct_LD="ld"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5264 IFS=$as_save_IFS
5268 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5269 if test -n "$ac_ct_LD"; then
5270 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5271 echo "${ECHO_T}$ac_ct_LD" >&6; }
5272 else
5273 { echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6; }
5277 if test "x$ac_ct_LD" = x; then
5278 LD="ld"
5279 else
5280 case $cross_compiling:$ac_tool_warned in
5281 yes:)
5282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5283 whose name does not start with the host triplet. If you think this
5284 configuration is useful to you, please write to autoconf@gnu.org." >&5
5285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5286 whose name does not start with the host triplet. If you think this
5287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5288 ac_tool_warned=yes ;;
5289 esac
5290 LD=$ac_ct_LD
5292 else
5293 LD="$ac_cv_prog_LD"
5296 if test -n "$ac_tool_prefix"; then
5297 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5298 set dummy ${ac_tool_prefix}ar; ac_word=$2
5299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5301 if test "${ac_cv_prog_AR+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 else
5304 if test -n "$AR"; then
5305 ac_cv_prog_AR="$AR" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5314 ac_cv_prog_AR="${ac_tool_prefix}ar"
5315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 break 2
5318 done
5319 done
5320 IFS=$as_save_IFS
5324 AR=$ac_cv_prog_AR
5325 if test -n "$AR"; then
5326 { echo "$as_me:$LINENO: result: $AR" >&5
5327 echo "${ECHO_T}$AR" >&6; }
5328 else
5329 { echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6; }
5335 if test -z "$ac_cv_prog_AR"; then
5336 ac_ct_AR=$AR
5337 # Extract the first word of "ar", so it can be a program name with args.
5338 set dummy ar; ac_word=$2
5339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 else
5344 if test -n "$ac_ct_AR"; then
5345 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5346 else
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348 for as_dir in $PATH
5350 IFS=$as_save_IFS
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_ac_ct_AR="ar"
5355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 break 2
5358 done
5359 done
5360 IFS=$as_save_IFS
5364 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5365 if test -n "$ac_ct_AR"; then
5366 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5367 echo "${ECHO_T}$ac_ct_AR" >&6; }
5368 else
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5373 if test "x$ac_ct_AR" = x; then
5374 AR="ar"
5375 else
5376 case $cross_compiling:$ac_tool_warned in
5377 yes:)
5378 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5379 whose name does not start with the host triplet. If you think this
5380 configuration is useful to you, please write to autoconf@gnu.org." >&5
5381 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5382 whose name does not start with the host triplet. If you think this
5383 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5384 ac_tool_warned=yes ;;
5385 esac
5386 AR=$ac_ct_AR
5388 else
5389 AR="$ac_cv_prog_AR"
5392 if test -n "$ac_tool_prefix"; then
5393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5394 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5397 if test "${ac_cv_prog_RANLIB+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 else
5400 if test -n "$RANLIB"; then
5401 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5402 else
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH
5406 IFS=$as_save_IFS
5407 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 break 2
5414 done
5415 done
5416 IFS=$as_save_IFS
5420 RANLIB=$ac_cv_prog_RANLIB
5421 if test -n "$RANLIB"; then
5422 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5423 echo "${ECHO_T}$RANLIB" >&6; }
5424 else
5425 { echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6; }
5431 if test -z "$ac_cv_prog_RANLIB"; then
5432 ac_ct_RANLIB=$RANLIB
5433 # Extract the first word of "ranlib", so it can be a program name with args.
5434 set dummy ranlib; ac_word=$2
5435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 else
5440 if test -n "$ac_ct_RANLIB"; then
5441 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_ac_ct_RANLIB="ranlib"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5461 if test -n "$ac_ct_RANLIB"; then
5462 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5463 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5464 else
5465 { echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6; }
5469 if test "x$ac_ct_RANLIB" = x; then
5470 RANLIB=":"
5471 else
5472 case $cross_compiling:$ac_tool_warned in
5473 yes:)
5474 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5475 whose name does not start with the host triplet. If you think this
5476 configuration is useful to you, please write to autoconf@gnu.org." >&5
5477 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5478 whose name does not start with the host triplet. If you think this
5479 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5480 ac_tool_warned=yes ;;
5481 esac
5482 RANLIB=$ac_ct_RANLIB
5484 else
5485 RANLIB="$ac_cv_prog_RANLIB"
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5490 set dummy ${ac_tool_prefix}strip; ac_word=$2
5491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5493 if test "${ac_cv_prog_STRIP+set}" = set; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 else
5496 if test -n "$STRIP"; then
5497 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 IFS=$as_save_IFS
5516 STRIP=$ac_cv_prog_STRIP
5517 if test -n "$STRIP"; then
5518 { echo "$as_me:$LINENO: result: $STRIP" >&5
5519 echo "${ECHO_T}$STRIP" >&6; }
5520 else
5521 { echo "$as_me:$LINENO: result: no" >&5
5522 echo "${ECHO_T}no" >&6; }
5527 if test -z "$ac_cv_prog_STRIP"; then
5528 ac_ct_STRIP=$STRIP
5529 # Extract the first word of "strip", so it can be a program name with args.
5530 set dummy strip; ac_word=$2
5531 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5533 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 if test -n "$ac_ct_STRIP"; then
5537 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_ac_ct_STRIP="strip"
5547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5550 done
5551 done
5552 IFS=$as_save_IFS
5556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5557 if test -n "$ac_ct_STRIP"; then
5558 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5559 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5560 else
5561 { echo "$as_me:$LINENO: result: no" >&5
5562 echo "${ECHO_T}no" >&6; }
5565 if test "x$ac_ct_STRIP" = x; then
5566 STRIP="strip"
5567 else
5568 case $cross_compiling:$ac_tool_warned in
5569 yes:)
5570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5571 whose name does not start with the host triplet. If you think this
5572 configuration is useful to you, please write to autoconf@gnu.org." >&5
5573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5574 whose name does not start with the host triplet. If you think this
5575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5576 ac_tool_warned=yes ;;
5577 esac
5578 STRIP=$ac_ct_STRIP
5580 else
5581 STRIP="$ac_cv_prog_STRIP"
5584 if test -n "$ac_tool_prefix"; then
5585 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5586 set dummy ${ac_tool_prefix}windres; ac_word=$2
5587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5589 if test "${ac_cv_prog_WINDRES+set}" = set; then
5590 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 else
5592 if test -n "$WINDRES"; then
5593 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5594 else
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 for as_dir in $PATH
5598 IFS=$as_save_IFS
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 break 2
5606 done
5607 done
5608 IFS=$as_save_IFS
5612 WINDRES=$ac_cv_prog_WINDRES
5613 if test -n "$WINDRES"; then
5614 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5615 echo "${ECHO_T}$WINDRES" >&6; }
5616 else
5617 { echo "$as_me:$LINENO: result: no" >&5
5618 echo "${ECHO_T}no" >&6; }
5623 if test -z "$ac_cv_prog_WINDRES"; then
5624 ac_ct_WINDRES=$WINDRES
5625 # Extract the first word of "windres", so it can be a program name with args.
5626 set dummy windres; ac_word=$2
5627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5629 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 else
5632 if test -n "$ac_ct_WINDRES"; then
5633 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5638 IFS=$as_save_IFS
5639 test -z "$as_dir" && as_dir=.
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_ac_ct_WINDRES="windres"
5643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5653 if test -n "$ac_ct_WINDRES"; then
5654 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5655 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5656 else
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5661 if test "x$ac_ct_WINDRES" = x; then
5662 WINDRES="false"
5663 else
5664 case $cross_compiling:$ac_tool_warned in
5665 yes:)
5666 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5667 whose name does not start with the host triplet. If you think this
5668 configuration is useful to you, please write to autoconf@gnu.org." >&5
5669 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5670 whose name does not start with the host triplet. If you think this
5671 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5672 ac_tool_warned=yes ;;
5673 esac
5674 WINDRES=$ac_ct_WINDRES
5676 else
5677 WINDRES="$ac_cv_prog_WINDRES"
5680 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5681 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5682 LN_S=$as_ln_s
5683 if test "$LN_S" = "ln -s"; then
5684 { echo "$as_me:$LINENO: result: yes" >&5
5685 echo "${ECHO_T}yes" >&6; }
5686 else
5687 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5688 echo "${ECHO_T}no, using $LN_S" >&6; }
5691 { echo "$as_me:$LINENO: checking whether ln works" >&5
5692 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5693 rm -f conf$$ conf$$.file
5694 echo >conf$$.file
5695 if ln conf$$.file conf$$ 2>/dev/null; then
5696 LN=ln
5698 { echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6; }
5700 else
5701 LN="cp -p"
5703 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5704 echo "${ECHO_T}no, using $LN" >&6; }
5706 rm -f conf$$ conf$$.file
5707 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5708 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5709 if test "${ac_cv_path_GREP+set}" = set; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 else
5712 # Extract the first word of "grep ggrep" to use in msg output
5713 if test -z "$GREP"; then
5714 set dummy grep ggrep; ac_prog_name=$2
5715 if test "${ac_cv_path_GREP+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 else
5718 ac_path_GREP_found=false
5719 # Loop through the user's path and test for each of PROGNAME-LIST
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_prog in grep ggrep; do
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5728 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5729 # Check for GNU ac_path_GREP and select it if it is found.
5730 # Check for GNU $ac_path_GREP
5731 case `"$ac_path_GREP" --version 2>&1` in
5732 *GNU*)
5733 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5735 ac_count=0
5736 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5737 while :
5739 cat "conftest.in" "conftest.in" >"conftest.tmp"
5740 mv "conftest.tmp" "conftest.in"
5741 cp "conftest.in" "conftest.nl"
5742 echo 'GREP' >> "conftest.nl"
5743 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5744 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5745 ac_count=`expr $ac_count + 1`
5746 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5747 # Best one so far, save it but keep looking for a better one
5748 ac_cv_path_GREP="$ac_path_GREP"
5749 ac_path_GREP_max=$ac_count
5751 # 10*(2^10) chars as input seems more than enough
5752 test $ac_count -gt 10 && break
5753 done
5754 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5755 esac
5758 $ac_path_GREP_found && break 3
5759 done
5760 done
5762 done
5763 IFS=$as_save_IFS
5768 GREP="$ac_cv_path_GREP"
5769 if test -z "$GREP"; then
5770 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5771 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5772 { (exit 1); exit 1; }; }
5775 else
5776 ac_cv_path_GREP=$GREP
5781 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5782 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5783 GREP="$ac_cv_path_GREP"
5786 { echo "$as_me:$LINENO: checking for egrep" >&5
5787 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5788 if test "${ac_cv_path_EGREP+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 else
5791 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5792 then ac_cv_path_EGREP="$GREP -E"
5793 else
5794 # Extract the first word of "egrep" to use in msg output
5795 if test -z "$EGREP"; then
5796 set dummy egrep; ac_prog_name=$2
5797 if test "${ac_cv_path_EGREP+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 else
5800 ac_path_EGREP_found=false
5801 # Loop through the user's path and test for each of PROGNAME-LIST
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5805 IFS=$as_save_IFS
5806 test -z "$as_dir" && as_dir=.
5807 for ac_prog in egrep; do
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5811 # Check for GNU ac_path_EGREP and select it if it is found.
5812 # Check for GNU $ac_path_EGREP
5813 case `"$ac_path_EGREP" --version 2>&1` in
5814 *GNU*)
5815 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5817 ac_count=0
5818 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5819 while :
5821 cat "conftest.in" "conftest.in" >"conftest.tmp"
5822 mv "conftest.tmp" "conftest.in"
5823 cp "conftest.in" "conftest.nl"
5824 echo 'EGREP' >> "conftest.nl"
5825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5826 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5827 ac_count=`expr $ac_count + 1`
5828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5829 # Best one so far, save it but keep looking for a better one
5830 ac_cv_path_EGREP="$ac_path_EGREP"
5831 ac_path_EGREP_max=$ac_count
5833 # 10*(2^10) chars as input seems more than enough
5834 test $ac_count -gt 10 && break
5835 done
5836 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5837 esac
5840 $ac_path_EGREP_found && break 3
5841 done
5842 done
5844 done
5845 IFS=$as_save_IFS
5850 EGREP="$ac_cv_path_EGREP"
5851 if test -z "$EGREP"; then
5852 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5853 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5854 { (exit 1); exit 1; }; }
5857 else
5858 ac_cv_path_EGREP=$EGREP
5864 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5865 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5866 EGREP="$ac_cv_path_EGREP"
5869 # Extract the first word of "ldconfig", so it can be a program name with args.
5870 set dummy ldconfig; ac_word=$2
5871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5873 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 else
5876 case $LDCONFIG in
5877 [\\/]* | ?:[\\/]*)
5878 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in /sbin /usr/sbin $PATH
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5892 done
5893 done
5894 IFS=$as_save_IFS
5896 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5898 esac
5900 LDCONFIG=$ac_cv_path_LDCONFIG
5901 if test -n "$LDCONFIG"; then
5902 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5903 echo "${ECHO_T}$LDCONFIG" >&6; }
5904 else
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5910 # Find a good install program. We prefer a C program (faster),
5911 # so one script is as good as another. But avoid the broken or
5912 # incompatible versions:
5913 # SysV /etc/install, /usr/sbin/install
5914 # SunOS /usr/etc/install
5915 # IRIX /sbin/install
5916 # AIX /bin/install
5917 # AmigaOS /C/install, which installs bootblocks on floppy discs
5918 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5919 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5920 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5921 # OS/2's system install, which has a completely different semantic
5922 # ./install, which can be erroneously created by make from ./install.sh.
5923 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5924 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5925 if test -z "$INSTALL"; then
5926 if test "${ac_cv_path_install+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 else
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 # Account for people who put trailing slashes in PATH elements.
5935 case $as_dir/ in
5936 ./ | .// | /cC/* | \
5937 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5938 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5939 /usr/ucb/* ) ;;
5941 # OSF1 and SCO ODT 3.0 have their own names for install.
5942 # Don't use installbsd from OSF since it installs stuff as root
5943 # by default.
5944 for ac_prog in ginstall scoinst install; do
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5947 if test $ac_prog = install &&
5948 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5949 # AIX install. It has an incompatible calling convention.
5951 elif test $ac_prog = install &&
5952 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5953 # program-specific install script used by HP pwplus--don't use.
5955 else
5956 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5957 break 3
5960 done
5961 done
5963 esac
5964 done
5965 IFS=$as_save_IFS
5969 if test "${ac_cv_path_install+set}" = set; then
5970 INSTALL=$ac_cv_path_install
5971 else
5972 # As a last resort, use the slow shell script. Don't cache a
5973 # value for INSTALL within a source directory, because that will
5974 # break other packages using the cache if that directory is
5975 # removed, or if the value is a relative name.
5976 INSTALL=$ac_install_sh
5979 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5980 echo "${ECHO_T}$INSTALL" >&6; }
5982 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5983 # It thinks the first close brace ends the variable substitution.
5984 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5986 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5988 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5990 case "$INSTALL" in
5991 [\\/$]* | ?:[\\/]* ) ;;
5992 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5993 esac
5995 for ac_prog in lclint lint
5997 # Extract the first word of "$ac_prog", so it can be a program name with args.
5998 set dummy $ac_prog; ac_word=$2
5999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6001 if test "${ac_cv_prog_LINT+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 else
6004 if test -n "$LINT"; then
6005 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6014 ac_cv_prog_LINT="$ac_prog"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 LINT=$ac_cv_prog_LINT
6025 if test -n "$LINT"; then
6026 { echo "$as_me:$LINENO: result: $LINT" >&5
6027 echo "${ECHO_T}$LINT" >&6; }
6028 else
6029 { echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6; }
6034 test -n "$LINT" && break
6035 done
6037 if test "$LINT" = "lint"
6038 then
6039 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6044 for ac_prog in fontforge
6046 # Extract the first word of "$ac_prog", so it can be a program name with args.
6047 set dummy $ac_prog; ac_word=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 else
6053 if test -n "$FONTFORGE"; then
6054 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_FONTFORGE="$ac_prog"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 FONTFORGE=$ac_cv_prog_FONTFORGE
6074 if test -n "$FONTFORGE"; then
6075 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6076 echo "${ECHO_T}$FONTFORGE" >&6; }
6077 else
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6083 test -n "$FONTFORGE" && break
6084 done
6085 test -n "$FONTFORGE" || FONTFORGE="false"
6087 for ac_prog in pkg-config
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy $ac_prog; ac_word=$2
6091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6093 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 else
6096 if test -n "$PKG_CONFIG"; then
6097 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_PKG_CONFIG="$ac_prog"
6107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6117 if test -n "$PKG_CONFIG"; then
6118 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6119 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6120 else
6121 { echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6; }
6126 test -n "$PKG_CONFIG" && break
6127 done
6128 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6131 case $host_cpu in
6132 *i[3456789]86*)
6133 # Extract the first word of "prelink", so it can be a program name with args.
6134 set dummy prelink; ac_word=$2
6135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6137 if test "${ac_cv_path_PRELINK+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 else
6140 case $PRELINK in
6141 [\\/]* | ?:[\\/]*)
6142 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in /sbin /usr/sbin $PATH
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6152 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 break 2
6156 done
6157 done
6158 IFS=$as_save_IFS
6160 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6162 esac
6164 PRELINK=$ac_cv_path_PRELINK
6165 if test -n "$PRELINK"; then
6166 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6167 echo "${ECHO_T}$PRELINK" >&6; }
6168 else
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6175 esac
6179 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6180 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6181 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 else
6184 ac_check_lib_save_LIBS=$LIBS
6185 LIBS="-li386 $LIBS"
6186 cat >conftest.$ac_ext <<_ACEOF
6187 /* confdefs.h. */
6188 _ACEOF
6189 cat confdefs.h >>conftest.$ac_ext
6190 cat >>conftest.$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6193 /* Override any GCC internal prototype to avoid an error.
6194 Use char because int might match the return type of a GCC
6195 builtin and then its argument prototype would still apply. */
6196 #ifdef __cplusplus
6197 extern "C"
6198 #endif
6199 char i386_set_ldt ();
6201 main ()
6203 return i386_set_ldt ();
6205 return 0;
6207 _ACEOF
6208 rm -f conftest.$ac_objext conftest$ac_exeext
6209 if { (ac_try="$ac_link"
6210 case "(($ac_try" in
6211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6212 *) ac_try_echo=$ac_try;;
6213 esac
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_link") 2>conftest.er1
6216 ac_status=$?
6217 grep -v '^ *+' conftest.er1 >conftest.err
6218 rm -f conftest.er1
6219 cat conftest.err >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); } && {
6222 test -z "$ac_c_werror_flag" ||
6223 test ! -s conftest.err
6224 } && test -s conftest$ac_exeext &&
6225 $as_test_x conftest$ac_exeext; then
6226 ac_cv_lib_i386_i386_set_ldt=yes
6227 else
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6231 ac_cv_lib_i386_i386_set_ldt=no
6234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6235 conftest$ac_exeext conftest.$ac_ext
6236 LIBS=$ac_check_lib_save_LIBS
6238 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6239 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6240 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6241 cat >>confdefs.h <<_ACEOF
6242 #define HAVE_LIBI386 1
6243 _ACEOF
6245 LIBS="-li386 $LIBS"
6250 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6251 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6252 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 else
6255 ac_check_lib_save_LIBS=$LIBS
6256 LIBS="-lossaudio $LIBS"
6257 cat >conftest.$ac_ext <<_ACEOF
6258 /* confdefs.h. */
6259 _ACEOF
6260 cat confdefs.h >>conftest.$ac_ext
6261 cat >>conftest.$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6264 /* Override any GCC internal prototype to avoid an error.
6265 Use char because int might match the return type of a GCC
6266 builtin and then its argument prototype would still apply. */
6267 #ifdef __cplusplus
6268 extern "C"
6269 #endif
6270 char _oss_ioctl ();
6272 main ()
6274 return _oss_ioctl ();
6276 return 0;
6278 _ACEOF
6279 rm -f conftest.$ac_objext conftest$ac_exeext
6280 if { (ac_try="$ac_link"
6281 case "(($ac_try" in
6282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6283 *) ac_try_echo=$ac_try;;
6284 esac
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_link") 2>conftest.er1
6287 ac_status=$?
6288 grep -v '^ *+' conftest.er1 >conftest.err
6289 rm -f conftest.er1
6290 cat conftest.err >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } && {
6293 test -z "$ac_c_werror_flag" ||
6294 test ! -s conftest.err
6295 } && test -s conftest$ac_exeext &&
6296 $as_test_x conftest$ac_exeext; then
6297 ac_cv_lib_ossaudio__oss_ioctl=yes
6298 else
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.$ac_ext >&5
6302 ac_cv_lib_ossaudio__oss_ioctl=no
6305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6306 conftest$ac_exeext conftest.$ac_ext
6307 LIBS=$ac_check_lib_save_LIBS
6309 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6310 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6311 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6312 cat >>confdefs.h <<_ACEOF
6313 #define HAVE_LIBOSSAUDIO 1
6314 _ACEOF
6316 LIBS="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6321 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lpthread $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h. */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char pthread_create ();
6342 main ()
6344 return pthread_create ();
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_pthread_pthread_create=yes
6368 else
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_pthread_pthread_create=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6380 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6381 if test $ac_cv_lib_pthread_pthread_create = yes; then
6382 LIBPTHREAD="-lpthread"
6387 XLIB=""
6389 XFILES=""
6391 OPENGLFILES=""
6393 GLU32FILES=""
6395 OPENGL_LIBS=""
6397 QUARTZFILES=""
6401 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6402 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6403 if test "${ac_cv_header_stdc+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6405 else
6406 cat >conftest.$ac_ext <<_ACEOF
6407 /* confdefs.h. */
6408 _ACEOF
6409 cat confdefs.h >>conftest.$ac_ext
6410 cat >>conftest.$ac_ext <<_ACEOF
6411 /* end confdefs.h. */
6412 #include <stdlib.h>
6413 #include <stdarg.h>
6414 #include <string.h>
6415 #include <float.h>
6418 main ()
6422 return 0;
6424 _ACEOF
6425 rm -f conftest.$ac_objext
6426 if { (ac_try="$ac_compile"
6427 case "(($ac_try" in
6428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6429 *) ac_try_echo=$ac_try;;
6430 esac
6431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6432 (eval "$ac_compile") 2>conftest.er1
6433 ac_status=$?
6434 grep -v '^ *+' conftest.er1 >conftest.err
6435 rm -f conftest.er1
6436 cat conftest.err >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } && {
6439 test -z "$ac_c_werror_flag" ||
6440 test ! -s conftest.err
6441 } && test -s conftest.$ac_objext; then
6442 ac_cv_header_stdc=yes
6443 else
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6447 ac_cv_header_stdc=no
6450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6452 if test $ac_cv_header_stdc = yes; then
6453 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6454 cat >conftest.$ac_ext <<_ACEOF
6455 /* confdefs.h. */
6456 _ACEOF
6457 cat confdefs.h >>conftest.$ac_ext
6458 cat >>conftest.$ac_ext <<_ACEOF
6459 /* end confdefs.h. */
6460 #include <string.h>
6462 _ACEOF
6463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6464 $EGREP "memchr" >/dev/null 2>&1; then
6466 else
6467 ac_cv_header_stdc=no
6469 rm -f conftest*
6473 if test $ac_cv_header_stdc = yes; then
6474 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <stdlib.h>
6483 _ACEOF
6484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6485 $EGREP "free" >/dev/null 2>&1; then
6487 else
6488 ac_cv_header_stdc=no
6490 rm -f conftest*
6494 if test $ac_cv_header_stdc = yes; then
6495 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6496 if test "$cross_compiling" = yes; then
6498 else
6499 cat >conftest.$ac_ext <<_ACEOF
6500 /* confdefs.h. */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6505 #include <ctype.h>
6506 #include <stdlib.h>
6507 #if ((' ' & 0x0FF) == 0x020)
6508 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6509 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6510 #else
6511 # define ISLOWER(c) \
6512 (('a' <= (c) && (c) <= 'i') \
6513 || ('j' <= (c) && (c) <= 'r') \
6514 || ('s' <= (c) && (c) <= 'z'))
6515 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6516 #endif
6518 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6520 main ()
6522 int i;
6523 for (i = 0; i < 256; i++)
6524 if (XOR (islower (i), ISLOWER (i))
6525 || toupper (i) != TOUPPER (i))
6526 return 2;
6527 return 0;
6529 _ACEOF
6530 rm -f conftest$ac_exeext
6531 if { (ac_try="$ac_link"
6532 case "(($ac_try" in
6533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6534 *) ac_try_echo=$ac_try;;
6535 esac
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_link") 2>&5
6538 ac_status=$?
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6541 { (case "(($ac_try" in
6542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6543 *) ac_try_echo=$ac_try;;
6544 esac
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6546 (eval "$ac_try") 2>&5
6547 ac_status=$?
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6551 else
6552 echo "$as_me: program exited with status $ac_status" >&5
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6556 ( exit $ac_status )
6557 ac_cv_header_stdc=no
6559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6565 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6566 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6567 if test $ac_cv_header_stdc = yes; then
6569 cat >>confdefs.h <<\_ACEOF
6570 #define STDC_HEADERS 1
6571 _ACEOF
6575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6585 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6586 inttypes.h stdint.h unistd.h
6588 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 else
6594 cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h. */
6596 _ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6602 #include <$ac_header>
6603 _ACEOF
6604 rm -f conftest.$ac_objext
6605 if { (ac_try="$ac_compile"
6606 case "(($ac_try" in
6607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6609 esac
6610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6611 (eval "$ac_compile") 2>conftest.er1
6612 ac_status=$?
6613 grep -v '^ *+' conftest.er1 >conftest.err
6614 rm -f conftest.er1
6615 cat conftest.err >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } && {
6618 test -z "$ac_c_werror_flag" ||
6619 test ! -s conftest.err
6620 } && test -s conftest.$ac_objext; then
6621 eval "$as_ac_Header=yes"
6622 else
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 eval "$as_ac_Header=no"
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631 ac_res=`eval echo '${'$as_ac_Header'}'`
6632 { echo "$as_me:$LINENO: result: $ac_res" >&5
6633 echo "${ECHO_T}$ac_res" >&6; }
6634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6635 cat >>confdefs.h <<_ACEOF
6636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6637 _ACEOF
6641 done
6754 for ac_header in \
6755 AudioUnit/AudioUnit.h \
6756 Carbon/Carbon.h \
6757 CoreAudio/CoreAudio.h \
6758 DiskArbitration/DiskArbitration.h \
6759 IOKit/IOKitLib.h \
6760 alsa/asoundlib.h \
6761 arpa/inet.h \
6762 arpa/nameser.h \
6763 asm/types.h \
6764 capi20.h \
6765 cups/cups.h \
6766 curses.h \
6767 direct.h \
6768 dlfcn.h \
6769 elf.h \
6770 float.h \
6771 fontconfig/fontconfig.h \
6772 getopt.h \
6773 ieeefp.h \
6774 io.h \
6775 jack/jack.h \
6776 jpeglib.h \
6777 lber.h \
6778 lcms.h \
6779 lcms/lcms.h \
6780 ldap.h \
6781 libaudioio.h \
6782 link.h \
6783 linux/cdrom.h \
6784 linux/compiler.h \
6785 linux/hdreg.h \
6786 linux/input.h \
6787 linux/ioctl.h \
6788 linux/joystick.h \
6789 linux/major.h \
6790 linux/param.h \
6791 linux/serial.h \
6792 linux/ucdrom.h \
6793 mach/mach.h \
6794 mach/machine.h \
6795 machine/cpu.h \
6796 machine/limits.h \
6797 machine/soundcard.h \
6798 mntent.h \
6799 ncurses.h \
6800 netdb.h \
6801 netinet/in.h \
6802 netinet/in_systm.h \
6803 netinet/tcp.h \
6804 netinet/tcp_fsm.h \
6805 openssl/err.h \
6806 openssl/ssl.h \
6807 png.h \
6808 poll.h \
6809 process.h \
6810 pthread.h \
6811 pwd.h \
6812 regex.h \
6813 sched.h \
6814 scsi/scsi.h \
6815 scsi/scsi_ioctl.h \
6816 scsi/sg.h \
6817 soundcard.h \
6818 stdint.h \
6819 strings.h \
6820 sys/asoundlib.h \
6821 sys/cdio.h \
6822 sys/elf32.h \
6823 sys/epoll.h \
6824 sys/errno.h \
6825 sys/event.h \
6826 sys/exec_elf.h \
6827 sys/filio.h \
6828 sys/ioctl.h \
6829 sys/ipc.h \
6830 sys/limits.h \
6831 sys/link.h \
6832 sys/lwp.h \
6833 sys/mman.h \
6834 sys/modem.h \
6835 sys/msg.h \
6836 sys/mtio.h \
6837 sys/param.h \
6838 sys/poll.h \
6839 sys/prctl.h \
6840 sys/ptrace.h \
6841 sys/reg.h \
6842 sys/resource.h \
6843 sys/scsiio.h \
6844 sys/shm.h \
6845 sys/signal.h \
6846 sys/socket.h \
6847 sys/socketvar.h \
6848 sys/sockio.h \
6849 sys/soundcard.h \
6850 sys/statvfs.h \
6851 sys/strtio.h \
6852 sys/syscall.h \
6853 sys/sysctl.h \
6854 sys/time.h \
6855 sys/times.h \
6856 sys/uio.h \
6857 sys/un.h \
6858 sys/vm86.h \
6859 sys/wait.h \
6860 syscall.h \
6861 termios.h \
6862 unistd.h \
6863 utime.h \
6864 valgrind/memcheck.h
6867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 ac_res=`eval echo '${'$as_ac_Header'}'`
6875 { echo "$as_me:$LINENO: result: $ac_res" >&5
6876 echo "${ECHO_T}$ac_res" >&6; }
6877 else
6878 # Is the header compilable?
6879 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6880 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6881 cat >conftest.$ac_ext <<_ACEOF
6882 /* confdefs.h. */
6883 _ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6887 $ac_includes_default
6888 #include <$ac_header>
6889 _ACEOF
6890 rm -f conftest.$ac_objext
6891 if { (ac_try="$ac_compile"
6892 case "(($ac_try" in
6893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 *) ac_try_echo=$ac_try;;
6895 esac
6896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 (eval "$ac_compile") 2>conftest.er1
6898 ac_status=$?
6899 grep -v '^ *+' conftest.er1 >conftest.err
6900 rm -f conftest.er1
6901 cat conftest.err >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } && {
6904 test -z "$ac_c_werror_flag" ||
6905 test ! -s conftest.err
6906 } && test -s conftest.$ac_objext; then
6907 ac_header_compiler=yes
6908 else
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 ac_header_compiler=no
6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6916 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6917 echo "${ECHO_T}$ac_header_compiler" >&6; }
6919 # Is the header present?
6920 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6922 cat >conftest.$ac_ext <<_ACEOF
6923 /* confdefs.h. */
6924 _ACEOF
6925 cat confdefs.h >>conftest.$ac_ext
6926 cat >>conftest.$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6928 #include <$ac_header>
6929 _ACEOF
6930 if { (ac_try="$ac_cpp conftest.$ac_ext"
6931 case "(($ac_try" in
6932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6933 *) ac_try_echo=$ac_try;;
6934 esac
6935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6936 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6937 ac_status=$?
6938 grep -v '^ *+' conftest.er1 >conftest.err
6939 rm -f conftest.er1
6940 cat conftest.err >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); } >/dev/null && {
6943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6944 test ! -s conftest.err
6945 }; then
6946 ac_header_preproc=yes
6947 else
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6951 ac_header_preproc=no
6954 rm -f conftest.err conftest.$ac_ext
6955 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6956 echo "${ECHO_T}$ac_header_preproc" >&6; }
6958 # So? What about this header?
6959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6960 yes:no: )
6961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6965 ac_header_preproc=yes
6967 no:yes:* )
6968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6972 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6974 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6975 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6980 ( cat <<\_ASBOX
6981 ## ------------------------------------ ##
6982 ## Report this to wine-devel@winehq.org ##
6983 ## ------------------------------------ ##
6984 _ASBOX
6985 ) | sed "s/^/$as_me: WARNING: /" >&2
6987 esac
6988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6991 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 else
6993 eval "$as_ac_Header=\$ac_header_preproc"
6995 ac_res=`eval echo '${'$as_ac_Header'}'`
6996 { echo "$as_me:$LINENO: result: $ac_res" >&5
6997 echo "${ECHO_T}$ac_res" >&6; }
7000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7001 cat >>confdefs.h <<_ACEOF
7002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7003 _ACEOF
7007 done
7009 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7010 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7011 if test "${ac_cv_header_stat_broken+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else
7014 cat >conftest.$ac_ext <<_ACEOF
7015 /* confdefs.h. */
7016 _ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 #include <sys/stat.h>
7023 #if defined S_ISBLK && defined S_IFDIR
7024 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7025 #endif
7027 #if defined S_ISBLK && defined S_IFCHR
7028 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7029 #endif
7031 #if defined S_ISLNK && defined S_IFREG
7032 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7033 #endif
7035 #if defined S_ISSOCK && defined S_IFREG
7036 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7037 #endif
7039 _ACEOF
7040 rm -f conftest.$ac_objext
7041 if { (ac_try="$ac_compile"
7042 case "(($ac_try" in
7043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7044 *) ac_try_echo=$ac_try;;
7045 esac
7046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047 (eval "$ac_compile") 2>conftest.er1
7048 ac_status=$?
7049 grep -v '^ *+' conftest.er1 >conftest.err
7050 rm -f conftest.er1
7051 cat conftest.err >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } && {
7054 test -z "$ac_c_werror_flag" ||
7055 test ! -s conftest.err
7056 } && test -s conftest.$ac_objext; then
7057 ac_cv_header_stat_broken=no
7058 else
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.$ac_ext >&5
7062 ac_cv_header_stat_broken=yes
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7068 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7069 if test $ac_cv_header_stat_broken = yes; then
7071 cat >>confdefs.h <<\_ACEOF
7072 #define STAT_MACROS_BROKEN 1
7073 _ACEOF
7083 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7089 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 else
7091 cat >conftest.$ac_ext <<_ACEOF
7092 /* confdefs.h. */
7093 _ACEOF
7094 cat confdefs.h >>conftest.$ac_ext
7095 cat >>conftest.$ac_ext <<_ACEOF
7096 /* end confdefs.h. */
7097 #include <sys/types.h>
7098 #if HAVE_SYS_PARAM_H
7099 # include <sys/param.h>
7100 #endif
7102 #include <$ac_header>
7103 _ACEOF
7104 rm -f conftest.$ac_objext
7105 if { (ac_try="$ac_compile"
7106 case "(($ac_try" in
7107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7108 *) ac_try_echo=$ac_try;;
7109 esac
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7112 ac_status=$?
7113 grep -v '^ *+' conftest.er1 >conftest.err
7114 rm -f conftest.er1
7115 cat conftest.err >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.$ac_objext; then
7121 eval "$as_ac_Header=yes"
7122 else
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7126 eval "$as_ac_Header=no"
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7131 ac_res=`eval echo '${'$as_ac_Header'}'`
7132 { echo "$as_me:$LINENO: result: $ac_res" >&5
7133 echo "${ECHO_T}$ac_res" >&6; }
7134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7135 cat >>confdefs.h <<_ACEOF
7136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7137 _ACEOF
7141 done
7152 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
7154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 else
7160 cat >conftest.$ac_ext <<_ACEOF
7161 /* confdefs.h. */
7162 _ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #if HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7169 #endif
7170 #if HAVE_SYS_SOCKETVAR_H
7171 # include <sys/socketvar.h>
7172 #endif
7173 #if HAVE_NETINET_IN_H
7174 # include <netinet/in.h>
7175 #endif
7177 #include <$ac_header>
7178 _ACEOF
7179 rm -f conftest.$ac_objext
7180 if { (ac_try="$ac_compile"
7181 case "(($ac_try" in
7182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7183 *) ac_try_echo=$ac_try;;
7184 esac
7185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7186 (eval "$ac_compile") 2>conftest.er1
7187 ac_status=$?
7188 grep -v '^ *+' conftest.er1 >conftest.err
7189 rm -f conftest.er1
7190 cat conftest.err >&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } && {
7193 test -z "$ac_c_werror_flag" ||
7194 test ! -s conftest.err
7195 } && test -s conftest.$ac_objext; then
7196 eval "$as_ac_Header=yes"
7197 else
7198 echo "$as_me: failed program was:" >&5
7199 sed 's/^/| /' conftest.$ac_ext >&5
7201 eval "$as_ac_Header=no"
7204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7206 ac_res=`eval echo '${'$as_ac_Header'}'`
7207 { echo "$as_me:$LINENO: result: $ac_res" >&5
7208 echo "${ECHO_T}$ac_res" >&6; }
7209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7210 cat >>confdefs.h <<_ACEOF
7211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7212 _ACEOF
7216 done
7220 for ac_header in netinet/tcp_var.h
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7238 #if HAVE_SYS_SOCKETVAR_H
7239 # include <sys/socketvar.h>
7240 #endif
7241 #if HAVE_NETINET_IN_H
7242 # include <netinet/in.h>
7243 #endif
7244 #ifdef HAVE_NETINET_TCP_H
7245 # include <netinet/tcp.h>
7246 #endif
7248 #include <$ac_header>
7249 _ACEOF
7250 rm -f conftest.$ac_objext
7251 if { (ac_try="$ac_compile"
7252 case "(($ac_try" in
7253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7254 *) ac_try_echo=$ac_try;;
7255 esac
7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257 (eval "$ac_compile") 2>conftest.er1
7258 ac_status=$?
7259 grep -v '^ *+' conftest.er1 >conftest.err
7260 rm -f conftest.er1
7261 cat conftest.err >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); } && {
7264 test -z "$ac_c_werror_flag" ||
7265 test ! -s conftest.err
7266 } && test -s conftest.$ac_objext; then
7267 eval "$as_ac_Header=yes"
7268 else
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 eval "$as_ac_Header=no"
7275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7277 ac_res=`eval echo '${'$as_ac_Header'}'`
7278 { echo "$as_me:$LINENO: result: $ac_res" >&5
7279 echo "${ECHO_T}$ac_res" >&6; }
7280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7281 cat >>confdefs.h <<_ACEOF
7282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7283 _ACEOF
7287 done
7291 for ac_header in linux/ipx.h
7293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7294 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7297 echo $ECHO_N "(cached) $ECHO_C" >&6
7298 else
7299 cat >conftest.$ac_ext <<_ACEOF
7300 /* confdefs.h. */
7301 _ACEOF
7302 cat confdefs.h >>conftest.$ac_ext
7303 cat >>conftest.$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7305 #include <sys/types.h>
7306 #ifdef HAVE_ASM_TYPES_H
7307 # include <asm/types.h>
7308 #endif
7309 #if HAVE_SYS_SOCKET_H
7310 # include <sys/socket.h>
7311 #endif
7313 #include <$ac_header>
7314 _ACEOF
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7317 case "(($ac_try" in
7318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7319 *) ac_try_echo=$ac_try;;
7320 esac
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7323 ac_status=$?
7324 grep -v '^ *+' conftest.er1 >conftest.err
7325 rm -f conftest.er1
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.$ac_objext; then
7332 eval "$as_ac_Header=yes"
7333 else
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.$ac_ext >&5
7337 eval "$as_ac_Header=no"
7340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7342 ac_res=`eval echo '${'$as_ac_Header'}'`
7343 { echo "$as_me:$LINENO: result: $ac_res" >&5
7344 echo "${ECHO_T}$ac_res" >&6; }
7345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7346 cat >>confdefs.h <<_ACEOF
7347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 _ACEOF
7352 done
7356 for ac_header in resolv.h
7358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7362 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 else
7364 cat >conftest.$ac_ext <<_ACEOF
7365 /* confdefs.h. */
7366 _ACEOF
7367 cat confdefs.h >>conftest.$ac_ext
7368 cat >>conftest.$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 #include <sys/types.h>
7371 #if HAVE_SYS_SOCKET_H
7372 # include <sys/socket.h>
7373 #endif
7374 #if HAVE_NETINET_IN_H
7375 # include <netinet/in.h>
7376 #endif
7377 #if HAVE_ARPA_NAMESER_H
7378 # include <arpa/nameser.h>
7379 #endif
7381 #include <$ac_header>
7382 _ACEOF
7383 rm -f conftest.$ac_objext
7384 if { (ac_try="$ac_compile"
7385 case "(($ac_try" in
7386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7387 *) ac_try_echo=$ac_try;;
7388 esac
7389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7390 (eval "$ac_compile") 2>conftest.er1
7391 ac_status=$?
7392 grep -v '^ *+' conftest.er1 >conftest.err
7393 rm -f conftest.er1
7394 cat conftest.err >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } && {
7397 test -z "$ac_c_werror_flag" ||
7398 test ! -s conftest.err
7399 } && test -s conftest.$ac_objext; then
7400 eval "$as_ac_Header=yes"
7401 else
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7405 eval "$as_ac_Header=no"
7408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410 ac_res=`eval echo '${'$as_ac_Header'}'`
7411 { echo "$as_me:$LINENO: result: $ac_res" >&5
7412 echo "${ECHO_T}$ac_res" >&6; }
7413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7414 cat >>confdefs.h <<_ACEOF
7415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7416 _ACEOF
7420 done
7424 for ac_header in ucontext.h
7426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 else
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <signal.h>
7440 #include <$ac_header>
7441 _ACEOF
7442 rm -f conftest.$ac_objext
7443 if { (ac_try="$ac_compile"
7444 case "(($ac_try" in
7445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7446 *) ac_try_echo=$ac_try;;
7447 esac
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_compile") 2>conftest.er1
7450 ac_status=$?
7451 grep -v '^ *+' conftest.er1 >conftest.err
7452 rm -f conftest.er1
7453 cat conftest.err >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest.$ac_objext; then
7459 eval "$as_ac_Header=yes"
7460 else
7461 echo "$as_me: failed program was:" >&5
7462 sed 's/^/| /' conftest.$ac_ext >&5
7464 eval "$as_ac_Header=no"
7467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7469 ac_res=`eval echo '${'$as_ac_Header'}'`
7470 { echo "$as_me:$LINENO: result: $ac_res" >&5
7471 echo "${ECHO_T}$ac_res" >&6; }
7472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7473 cat >>confdefs.h <<_ACEOF
7474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 _ACEOF
7479 done
7483 for ac_header in sys/thr.h
7485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7489 echo $ECHO_N "(cached) $ECHO_C" >&6
7490 else
7491 cat >conftest.$ac_ext <<_ACEOF
7492 /* confdefs.h. */
7493 _ACEOF
7494 cat confdefs.h >>conftest.$ac_ext
7495 cat >>conftest.$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 #include <sys/types.h>
7498 #if HAVE_UCONTEXT_H
7499 #include <ucontext.h>
7500 #endif
7502 #include <$ac_header>
7503 _ACEOF
7504 rm -f conftest.$ac_objext
7505 if { (ac_try="$ac_compile"
7506 case "(($ac_try" in
7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7509 esac
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compile") 2>conftest.er1
7512 ac_status=$?
7513 grep -v '^ *+' conftest.er1 >conftest.err
7514 rm -f conftest.er1
7515 cat conftest.err >&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } && {
7518 test -z "$ac_c_werror_flag" ||
7519 test ! -s conftest.err
7520 } && test -s conftest.$ac_objext; then
7521 eval "$as_ac_Header=yes"
7522 else
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.$ac_ext >&5
7526 eval "$as_ac_Header=no"
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 ac_res=`eval echo '${'$as_ac_Header'}'`
7532 { echo "$as_me:$LINENO: result: $ac_res" >&5
7533 echo "${ECHO_T}$ac_res" >&6; }
7534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7535 cat >>confdefs.h <<_ACEOF
7536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7537 _ACEOF
7541 done
7545 for ac_header in pthread_np.h
7547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7551 echo $ECHO_N "(cached) $ECHO_C" >&6
7552 else
7553 cat >conftest.$ac_ext <<_ACEOF
7554 /* confdefs.h. */
7555 _ACEOF
7556 cat confdefs.h >>conftest.$ac_ext
7557 cat >>conftest.$ac_ext <<_ACEOF
7558 /* end confdefs.h. */
7559 #ifdef HAVE_PTHREAD_H
7560 #include <pthread.h>
7561 #endif
7563 #include <$ac_header>
7564 _ACEOF
7565 rm -f conftest.$ac_objext
7566 if { (ac_try="$ac_compile"
7567 case "(($ac_try" in
7568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7569 *) ac_try_echo=$ac_try;;
7570 esac
7571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7572 (eval "$ac_compile") 2>conftest.er1
7573 ac_status=$?
7574 grep -v '^ *+' conftest.er1 >conftest.err
7575 rm -f conftest.er1
7576 cat conftest.err >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } && {
7579 test -z "$ac_c_werror_flag" ||
7580 test ! -s conftest.err
7581 } && test -s conftest.$ac_objext; then
7582 eval "$as_ac_Header=yes"
7583 else
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.$ac_ext >&5
7587 eval "$as_ac_Header=no"
7590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7592 ac_res=`eval echo '${'$as_ac_Header'}'`
7593 { echo "$as_me:$LINENO: result: $ac_res" >&5
7594 echo "${ECHO_T}$ac_res" >&6; }
7595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7596 cat >>confdefs.h <<_ACEOF
7597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 _ACEOF
7602 done
7606 for ac_header in linux/videodev.h
7608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 else
7614 cat >conftest.$ac_ext <<_ACEOF
7615 /* confdefs.h. */
7616 _ACEOF
7617 cat confdefs.h >>conftest.$ac_ext
7618 cat >>conftest.$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 #ifdef HAVE_SYS_TIME_H
7621 #include <sys/time.h>
7622 #endif
7623 #include <sys/types.h>
7624 #ifdef HAVE_ASM_TYPES_H
7625 #include <asm/types.h>
7626 #endif
7628 #include <$ac_header>
7629 _ACEOF
7630 rm -f conftest.$ac_objext
7631 if { (ac_try="$ac_compile"
7632 case "(($ac_try" in
7633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7635 esac
7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7637 (eval "$ac_compile") 2>conftest.er1
7638 ac_status=$?
7639 grep -v '^ *+' conftest.er1 >conftest.err
7640 rm -f conftest.er1
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } && {
7644 test -z "$ac_c_werror_flag" ||
7645 test ! -s conftest.err
7646 } && test -s conftest.$ac_objext; then
7647 eval "$as_ac_Header=yes"
7648 else
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657 ac_res=`eval echo '${'$as_ac_Header'}'`
7658 { echo "$as_me:$LINENO: result: $ac_res" >&5
7659 echo "${ECHO_T}$ac_res" >&6; }
7660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7661 cat >>confdefs.h <<_ACEOF
7662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7663 _ACEOF
7667 done
7671 for ac_header in linux/capi.h
7673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7678 else
7679 cat >conftest.$ac_ext <<_ACEOF
7680 /* confdefs.h. */
7681 _ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7685 #define __user
7687 #include <$ac_header>
7688 _ACEOF
7689 rm -f conftest.$ac_objext
7690 if { (ac_try="$ac_compile"
7691 case "(($ac_try" in
7692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7693 *) ac_try_echo=$ac_try;;
7694 esac
7695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7696 (eval "$ac_compile") 2>conftest.er1
7697 ac_status=$?
7698 grep -v '^ *+' conftest.er1 >conftest.err
7699 rm -f conftest.er1
7700 cat conftest.err >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } && {
7703 test -z "$ac_c_werror_flag" ||
7704 test ! -s conftest.err
7705 } && test -s conftest.$ac_objext; then
7706 eval "$as_ac_Header=yes"
7707 else
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.$ac_ext >&5
7711 eval "$as_ac_Header=no"
7714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7716 ac_res=`eval echo '${'$as_ac_Header'}'`
7717 { echo "$as_me:$LINENO: result: $ac_res" >&5
7718 echo "${ECHO_T}$ac_res" >&6; }
7719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7720 cat >>confdefs.h <<_ACEOF
7721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7722 _ACEOF
7726 done
7730 DLLEXT=""
7732 DLLFLAGS="-D_REENTRANT"
7734 LDSHARED=""
7736 LDDLLFLAGS=""
7738 LIBEXT="so"
7740 IMPLIBEXT="def"
7742 LDRPATH_INSTALL=""
7744 LDRPATH_LOCAL=""
7746 # Extract the first word of "ldd", so it can be a program name with args.
7747 set dummy ldd; ac_word=$2
7748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7750 if test "${ac_cv_path_LDD+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7752 else
7753 case $LDD in
7754 [\\/]* | ?:[\\/]*)
7755 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7759 as_dummy="/sbin:/usr/sbin:$PATH"
7760 for as_dir in $as_dummy
7762 IFS=$as_save_IFS
7763 test -z "$as_dir" && as_dir=.
7764 for ac_exec_ext in '' $ac_executable_extensions; do
7765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7766 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7768 break 2
7770 done
7771 done
7772 IFS=$as_save_IFS
7774 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7776 esac
7778 LDD=$ac_cv_path_LDD
7779 if test -n "$LDD"; then
7780 { echo "$as_me:$LINENO: result: $LDD" >&5
7781 echo "${ECHO_T}$LDD" >&6; }
7782 else
7783 { echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6; }
7789 case $host_os in
7790 cygwin*|mingw32*)
7791 if test -n "$ac_tool_prefix"; then
7792 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7793 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7796 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 else
7799 if test -n "$DLLTOOL"; then
7800 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7801 else
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 for as_dir in $PATH
7805 IFS=$as_save_IFS
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7811 break 2
7813 done
7814 done
7815 IFS=$as_save_IFS
7819 DLLTOOL=$ac_cv_prog_DLLTOOL
7820 if test -n "$DLLTOOL"; then
7821 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7822 echo "${ECHO_T}$DLLTOOL" >&6; }
7823 else
7824 { echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6; }
7830 if test -z "$ac_cv_prog_DLLTOOL"; then
7831 ac_ct_DLLTOOL=$DLLTOOL
7832 # Extract the first word of "dlltool", so it can be a program name with args.
7833 set dummy dlltool; ac_word=$2
7834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7836 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 else
7839 if test -n "$ac_ct_DLLTOOL"; then
7840 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7841 else
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7843 for as_dir in $PATH
7845 IFS=$as_save_IFS
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7849 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7851 break 2
7853 done
7854 done
7855 IFS=$as_save_IFS
7859 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7860 if test -n "$ac_ct_DLLTOOL"; then
7861 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7862 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7863 else
7864 { echo "$as_me:$LINENO: result: no" >&5
7865 echo "${ECHO_T}no" >&6; }
7868 if test "x$ac_ct_DLLTOOL" = x; then
7869 DLLTOOL="false"
7870 else
7871 case $cross_compiling:$ac_tool_warned in
7872 yes:)
7873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7874 whose name does not start with the host triplet. If you think this
7875 configuration is useful to you, please write to autoconf@gnu.org." >&5
7876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7877 whose name does not start with the host triplet. If you think this
7878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7879 ac_tool_warned=yes ;;
7880 esac
7881 DLLTOOL=$ac_ct_DLLTOOL
7883 else
7884 DLLTOOL="$ac_cv_prog_DLLTOOL"
7887 if test -n "$ac_tool_prefix"; then
7888 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7889 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7892 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 else
7895 if test -n "$DLLWRAP"; then
7896 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7897 else
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 for as_dir in $PATH
7901 IFS=$as_save_IFS
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7907 break 2
7909 done
7910 done
7911 IFS=$as_save_IFS
7915 DLLWRAP=$ac_cv_prog_DLLWRAP
7916 if test -n "$DLLWRAP"; then
7917 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7918 echo "${ECHO_T}$DLLWRAP" >&6; }
7919 else
7920 { echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6; }
7926 if test -z "$ac_cv_prog_DLLWRAP"; then
7927 ac_ct_DLLWRAP=$DLLWRAP
7928 # Extract the first word of "dllwrap", so it can be a program name with args.
7929 set dummy dllwrap; ac_word=$2
7930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7932 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7934 else
7935 if test -n "$ac_ct_DLLWRAP"; then
7936 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7937 else
7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 for as_dir in $PATH
7941 IFS=$as_save_IFS
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 break 2
7949 done
7950 done
7951 IFS=$as_save_IFS
7955 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7956 if test -n "$ac_ct_DLLWRAP"; then
7957 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7958 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7959 else
7960 { echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6; }
7964 if test "x$ac_ct_DLLWRAP" = x; then
7965 DLLWRAP="false"
7966 else
7967 case $cross_compiling:$ac_tool_warned in
7968 yes:)
7969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7970 whose name does not start with the host triplet. If you think this
7971 configuration is useful to you, please write to autoconf@gnu.org." >&5
7972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7973 whose name does not start with the host triplet. If you think this
7974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7975 ac_tool_warned=yes ;;
7976 esac
7977 DLLWRAP=$ac_ct_DLLWRAP
7979 else
7980 DLLWRAP="$ac_cv_prog_DLLWRAP"
7983 if test -n "$ac_tool_prefix"; then
7984 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7985 set dummy ${ac_tool_prefix}ar; ac_word=$2
7986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7988 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7989 echo $ECHO_N "(cached) $ECHO_C" >&6
7990 else
7991 if test -n "$MINGWAR"; then
7992 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7993 else
7994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 for as_dir in $PATH
7997 IFS=$as_save_IFS
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 break 2
8005 done
8006 done
8007 IFS=$as_save_IFS
8011 MINGWAR=$ac_cv_prog_MINGWAR
8012 if test -n "$MINGWAR"; then
8013 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8014 echo "${ECHO_T}$MINGWAR" >&6; }
8015 else
8016 { echo "$as_me:$LINENO: result: no" >&5
8017 echo "${ECHO_T}no" >&6; }
8022 if test -z "$ac_cv_prog_MINGWAR"; then
8023 ac_ct_MINGWAR=$MINGWAR
8024 # Extract the first word of "ar", so it can be a program name with args.
8025 set dummy ar; ac_word=$2
8026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8028 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8030 else
8031 if test -n "$ac_ct_MINGWAR"; then
8032 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8033 else
8034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 for as_dir in $PATH
8037 IFS=$as_save_IFS
8038 test -z "$as_dir" && as_dir=.
8039 for ac_exec_ext in '' $ac_executable_extensions; do
8040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8041 ac_cv_prog_ac_ct_MINGWAR="ar"
8042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 break 2
8045 done
8046 done
8047 IFS=$as_save_IFS
8051 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8052 if test -n "$ac_ct_MINGWAR"; then
8053 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8054 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8055 else
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8060 if test "x$ac_ct_MINGWAR" = x; then
8061 MINGWAR="false"
8062 else
8063 case $cross_compiling:$ac_tool_warned in
8064 yes:)
8065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8066 whose name does not start with the host triplet. If you think this
8067 configuration is useful to you, please write to autoconf@gnu.org." >&5
8068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8069 whose name does not start with the host triplet. If you think this
8070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8071 ac_tool_warned=yes ;;
8072 esac
8073 MINGWAR=$ac_ct_MINGWAR
8075 else
8076 MINGWAR="$ac_cv_prog_MINGWAR"
8079 if test "$DLLWRAP" = "false"; then
8080 LIBEXT="a"
8081 else
8082 LIBEXT="dll"
8084 IMPLIBEXT="a"
8085 WIN16_FILES=""
8086 WIN16_INSTALL=""
8088 darwin*|macosx*)
8089 DLLEXT=".so"
8090 LIBEXT="dylib"
8091 DLLFLAGS="$DLLFLAGS -fPIC"
8092 LDDLLFLAGS="-bundle -multiply_defined suppress"
8093 LIBWINE_LDFLAGS="-multiply_defined suppress"
8094 LDSHARED="\$(CC) -dynamiclib"
8095 STRIP="$STRIP -x"
8096 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8097 SECURITYLIB="-framework Security -framework CoreFoundation"
8099 COREFOUNDATIONLIB="-framework CoreFoundation"
8101 IOKITLIB="-framework IOKit -framework CoreFoundation"
8103 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8105 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8106 then
8107 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8110 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8111 then
8112 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8115 case $host_cpu in
8116 *powerpc*)
8117 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8118 esac
8119 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8120 then
8121 CARBONLIB="-framework Carbon"
8123 QUARTZFILES='$(QUARTZFILES)'
8127 DLLFLAGS="$DLLFLAGS -fPIC"
8128 DLLEXT=".so"
8129 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8130 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8131 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 else
8134 ac_wine_try_cflags_saved=$CFLAGS
8135 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8136 cat >conftest.$ac_ext <<_ACEOF
8137 void myfunc() {}
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (ac_try="$ac_link"
8141 case "(($ac_try" in
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8144 esac
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_link") 2>conftest.er1
8147 ac_status=$?
8148 grep -v '^ *+' conftest.er1 >conftest.err
8149 rm -f conftest.er1
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } && {
8153 test -z "$ac_c_werror_flag" ||
8154 test ! -s conftest.err
8155 } && test -s conftest$ac_exeext &&
8156 $as_test_x conftest$ac_exeext; then
8157 ac_cv_c_dll_gnuelf="yes"
8158 else
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.$ac_ext >&5
8162 ac_cv_c_dll_gnuelf="no"
8165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8166 conftest$ac_exeext conftest.$ac_ext
8167 CFLAGS=$ac_wine_try_cflags_saved
8169 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8170 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8171 if test "$ac_cv_c_dll_gnuelf" = "yes"
8172 then
8173 LDSHARED="\$(CC) -shared"
8174 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8175 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8176 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8177 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 else
8180 ac_wine_try_cflags_saved=$CFLAGS
8181 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8182 cat >conftest.$ac_ext <<_ACEOF
8183 /* confdefs.h. */
8184 _ACEOF
8185 cat confdefs.h >>conftest.$ac_ext
8186 cat >>conftest.$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8190 main ()
8194 return 0;
8196 _ACEOF
8197 rm -f conftest.$ac_objext conftest$ac_exeext
8198 if { (ac_try="$ac_link"
8199 case "(($ac_try" in
8200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8201 *) ac_try_echo=$ac_try;;
8202 esac
8203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8204 (eval "$ac_link") 2>conftest.er1
8205 ac_status=$?
8206 grep -v '^ *+' conftest.er1 >conftest.err
8207 rm -f conftest.er1
8208 cat conftest.err >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } && {
8211 test -z "$ac_c_werror_flag" ||
8212 test ! -s conftest.err
8213 } && test -s conftest$ac_exeext &&
8214 $as_test_x conftest$ac_exeext; then
8215 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8216 else
8217 echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.$ac_ext >&5
8220 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8224 conftest$ac_exeext conftest.$ac_ext
8225 CFLAGS=$ac_wine_try_cflags_saved
8227 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8228 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8229 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8230 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8231 else
8232 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8233 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8234 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 else
8237 ac_wine_try_cflags_saved=$CFLAGS
8238 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8239 cat >conftest.$ac_ext <<_ACEOF
8240 /* confdefs.h. */
8241 _ACEOF
8242 cat confdefs.h >>conftest.$ac_ext
8243 cat >>conftest.$ac_ext <<_ACEOF
8244 /* end confdefs.h. */
8247 main ()
8251 return 0;
8253 _ACEOF
8254 rm -f conftest.$ac_objext conftest$ac_exeext
8255 if { (ac_try="$ac_link"
8256 case "(($ac_try" in
8257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8258 *) ac_try_echo=$ac_try;;
8259 esac
8260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8261 (eval "$ac_link") 2>conftest.er1
8262 ac_status=$?
8263 grep -v '^ *+' conftest.er1 >conftest.err
8264 rm -f conftest.er1
8265 cat conftest.err >&5
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); } && {
8268 test -z "$ac_c_werror_flag" ||
8269 test ! -s conftest.err
8270 } && test -s conftest$ac_exeext &&
8271 $as_test_x conftest$ac_exeext; then
8272 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8273 else
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8285 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8286 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8287 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8293 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8294 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8295 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8297 else
8298 ac_wine_try_cflags_saved=$CFLAGS
8299 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8300 cat >conftest.$ac_ext <<_ACEOF
8301 /* confdefs.h. */
8302 _ACEOF
8303 cat confdefs.h >>conftest.$ac_ext
8304 cat >>conftest.$ac_ext <<_ACEOF
8305 /* end confdefs.h. */
8308 main ()
8312 return 0;
8314 _ACEOF
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (ac_try="$ac_link"
8317 case "(($ac_try" in
8318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319 *) ac_try_echo=$ac_try;;
8320 esac
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_link") 2>conftest.er1
8323 ac_status=$?
8324 grep -v '^ *+' conftest.er1 >conftest.err
8325 rm -f conftest.er1
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } && {
8329 test -z "$ac_c_werror_flag" ||
8330 test ! -s conftest.err
8331 } && test -s conftest$ac_exeext &&
8332 $as_test_x conftest$ac_exeext; then
8333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8334 else
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8342 conftest$ac_exeext conftest.$ac_ext
8343 CFLAGS=$ac_wine_try_cflags_saved
8345 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8346 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8347 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8348 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8352 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8353 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8354 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8356 else
8357 ac_wine_try_cflags_saved=$CFLAGS
8358 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8359 cat >conftest.$ac_ext <<_ACEOF
8360 /* confdefs.h. */
8361 _ACEOF
8362 cat confdefs.h >>conftest.$ac_ext
8363 cat >>conftest.$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8367 main ()
8371 return 0;
8373 _ACEOF
8374 rm -f conftest.$ac_objext conftest$ac_exeext
8375 if { (ac_try="$ac_link"
8376 case "(($ac_try" in
8377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8378 *) ac_try_echo=$ac_try;;
8379 esac
8380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8381 (eval "$ac_link") 2>conftest.er1
8382 ac_status=$?
8383 grep -v '^ *+' conftest.er1 >conftest.err
8384 rm -f conftest.er1
8385 cat conftest.err >&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } && {
8388 test -z "$ac_c_werror_flag" ||
8389 test ! -s conftest.err
8390 } && test -s conftest$ac_exeext &&
8391 $as_test_x conftest$ac_exeext; then
8392 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8393 else
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8401 conftest$ac_exeext conftest.$ac_ext
8402 CFLAGS=$ac_wine_try_cflags_saved
8404 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8405 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8406 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8407 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8411 echo '{ global: *; };' >conftest.map
8412 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8413 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8414 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8415 echo $ECHO_N "(cached) $ECHO_C" >&6
8416 else
8417 ac_wine_try_cflags_saved=$CFLAGS
8418 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8419 cat >conftest.$ac_ext <<_ACEOF
8420 /* confdefs.h. */
8421 _ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8427 main ()
8431 return 0;
8433 _ACEOF
8434 rm -f conftest.$ac_objext conftest$ac_exeext
8435 if { (ac_try="$ac_link"
8436 case "(($ac_try" in
8437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8438 *) ac_try_echo=$ac_try;;
8439 esac
8440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441 (eval "$ac_link") 2>conftest.er1
8442 ac_status=$?
8443 grep -v '^ *+' conftest.er1 >conftest.err
8444 rm -f conftest.er1
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } && {
8448 test -z "$ac_c_werror_flag" ||
8449 test ! -s conftest.err
8450 } && test -s conftest$ac_exeext &&
8451 $as_test_x conftest$ac_exeext; then
8452 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8453 else
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8465 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8466 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8467 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8470 rm -f conftest.map
8472 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8473 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8474 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8475 echo $ECHO_N "(cached) $ECHO_C" >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8479 cat >conftest.$ac_ext <<_ACEOF
8480 /* confdefs.h. */
8481 _ACEOF
8482 cat confdefs.h >>conftest.$ac_ext
8483 cat >>conftest.$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8487 main ()
8491 return 0;
8493 _ACEOF
8494 rm -f conftest.$ac_objext conftest$ac_exeext
8495 if { (ac_try="$ac_link"
8496 case "(($ac_try" in
8497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8499 esac
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_link") 2>conftest.er1
8502 ac_status=$?
8503 grep -v '^ *+' conftest.er1 >conftest.err
8504 rm -f conftest.er1
8505 cat conftest.err >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } && {
8508 test -z "$ac_c_werror_flag" ||
8509 test ! -s conftest.err
8510 } && test -s conftest$ac_exeext &&
8511 $as_test_x conftest$ac_exeext; then
8512 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8513 else
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8525 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8526 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8527 LDEXECFLAGS="-Wl,--export-dynamic"
8532 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8533 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8534 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8537 else
8538 ac_wine_try_cflags_saved=$CFLAGS
8539 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8540 cat >conftest.$ac_ext <<_ACEOF
8541 /* confdefs.h. */
8542 _ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h. */
8548 main ()
8552 return 0;
8554 _ACEOF
8555 rm -f conftest.$ac_objext conftest$ac_exeext
8556 if { (ac_try="$ac_link"
8557 case "(($ac_try" in
8558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559 *) ac_try_echo=$ac_try;;
8560 esac
8561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 (eval "$ac_link") 2>conftest.er1
8563 ac_status=$?
8564 grep -v '^ *+' conftest.er1 >conftest.err
8565 rm -f conftest.er1
8566 cat conftest.err >&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } && {
8569 test -z "$ac_c_werror_flag" ||
8570 test ! -s conftest.err
8571 } && test -s conftest$ac_exeext &&
8572 $as_test_x conftest$ac_exeext; then
8573 eval "$as_ac_var=yes"
8574 else
8575 echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.$ac_ext >&5
8578 eval "$as_ac_var=no"
8581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8582 conftest$ac_exeext conftest.$ac_ext
8583 CFLAGS=$ac_wine_try_cflags_saved
8585 ac_res=`eval echo '${'$as_ac_var'}'`
8586 { echo "$as_me:$LINENO: result: $ac_res" >&5
8587 echo "${ECHO_T}$ac_res" >&6; }
8588 if test `eval echo '${'$as_ac_var'}'` = yes; then
8589 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8590 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8591 else
8592 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8593 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8594 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8595 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8596 echo $ECHO_N "(cached) $ECHO_C" >&6
8597 else
8598 ac_wine_try_cflags_saved=$CFLAGS
8599 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8600 cat >conftest.$ac_ext <<_ACEOF
8601 /* confdefs.h. */
8602 _ACEOF
8603 cat confdefs.h >>conftest.$ac_ext
8604 cat >>conftest.$ac_ext <<_ACEOF
8605 /* end confdefs.h. */
8608 main ()
8612 return 0;
8614 _ACEOF
8615 rm -f conftest.$ac_objext conftest$ac_exeext
8616 if { (ac_try="$ac_link"
8617 case "(($ac_try" in
8618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8619 *) ac_try_echo=$ac_try;;
8620 esac
8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8622 (eval "$ac_link") 2>conftest.er1
8623 ac_status=$?
8624 grep -v '^ *+' conftest.er1 >conftest.err
8625 rm -f conftest.er1
8626 cat conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && {
8629 test -z "$ac_c_werror_flag" ||
8630 test ! -s conftest.err
8631 } && test -s conftest$ac_exeext &&
8632 $as_test_x conftest$ac_exeext; then
8633 eval "$as_ac_var=yes"
8634 else
8635 echo "$as_me: failed program was:" >&5
8636 sed 's/^/| /' conftest.$ac_ext >&5
8638 eval "$as_ac_var=no"
8641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 ac_res=`eval echo '${'$as_ac_var'}'`
8646 { echo "$as_me:$LINENO: result: $ac_res" >&5
8647 echo "${ECHO_T}$ac_res" >&6; }
8648 if test `eval echo '${'$as_ac_var'}'` = yes; then
8649 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8650 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8656 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8657 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8658 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8660 else
8661 ac_wine_try_cflags_saved=$CFLAGS
8662 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8663 cat >conftest.$ac_ext <<_ACEOF
8664 /* confdefs.h. */
8665 _ACEOF
8666 cat confdefs.h >>conftest.$ac_ext
8667 cat >>conftest.$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8671 main ()
8675 return 0;
8677 _ACEOF
8678 rm -f conftest.$ac_objext conftest$ac_exeext
8679 if { (ac_try="$ac_link"
8680 case "(($ac_try" in
8681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8682 *) ac_try_echo=$ac_try;;
8683 esac
8684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8685 (eval "$ac_link") 2>conftest.er1
8686 ac_status=$?
8687 grep -v '^ *+' conftest.er1 >conftest.err
8688 rm -f conftest.er1
8689 cat conftest.err >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); } && {
8692 test -z "$ac_c_werror_flag" ||
8693 test ! -s conftest.err
8694 } && test -s conftest$ac_exeext &&
8695 $as_test_x conftest$ac_exeext; then
8696 ac_cv_cflags__Wl___enable_new_dtags=yes
8697 else
8698 echo "$as_me: failed program was:" >&5
8699 sed 's/^/| /' conftest.$ac_ext >&5
8701 ac_cv_cflags__Wl___enable_new_dtags=no
8704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8709 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8710 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8711 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8715 case $host_cpu in
8716 *i[3456789]86* | x86_64)
8717 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8718 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8719 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8720 echo $ECHO_N "(cached) $ECHO_C" >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8724 cat >conftest.$ac_ext <<_ACEOF
8725 /* confdefs.h. */
8726 _ACEOF
8727 cat confdefs.h >>conftest.$ac_ext
8728 cat >>conftest.$ac_ext <<_ACEOF
8729 /* end confdefs.h. */
8732 main ()
8736 return 0;
8738 _ACEOF
8739 rm -f conftest.$ac_objext conftest$ac_exeext
8740 if { (ac_try="$ac_link"
8741 case "(($ac_try" in
8742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743 *) ac_try_echo=$ac_try;;
8744 esac
8745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746 (eval "$ac_link") 2>conftest.er1
8747 ac_status=$?
8748 grep -v '^ *+' conftest.er1 >conftest.err
8749 rm -f conftest.er1
8750 cat conftest.err >&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } && {
8753 test -z "$ac_c_werror_flag" ||
8754 test ! -s conftest.err
8755 } && test -s conftest$ac_exeext &&
8756 $as_test_x conftest$ac_exeext; then
8757 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8758 else
8759 echo "$as_me: failed program was:" >&5
8760 sed 's/^/| /' conftest.$ac_ext >&5
8762 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8770 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8771 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8772 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8776 esac
8778 else
8779 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8780 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8781 if test "${ac_cv_c_dll_unixware+set}" = set; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 else
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8786 cat >conftest.$ac_ext <<_ACEOF
8787 void myfunc() {}
8788 _ACEOF
8789 rm -f conftest.$ac_objext conftest$ac_exeext
8790 if { (ac_try="$ac_link"
8791 case "(($ac_try" in
8792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8794 esac
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_link") 2>conftest.er1
8797 ac_status=$?
8798 grep -v '^ *+' conftest.er1 >conftest.err
8799 rm -f conftest.er1
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } && {
8803 test -z "$ac_c_werror_flag" ||
8804 test ! -s conftest.err
8805 } && test -s conftest$ac_exeext &&
8806 $as_test_x conftest$ac_exeext; then
8807 ac_cv_c_dll_unixware="yes"
8808 else
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8812 ac_cv_c_dll_unixware="no"
8815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8816 conftest$ac_exeext conftest.$ac_ext
8817 CFLAGS=$ac_wine_try_cflags_saved
8819 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8820 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8821 if test "$ac_cv_c_dll_unixware" = "yes"
8822 then
8823 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8824 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8826 else
8827 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8828 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8829 if test "${ac_cv_c_dll_hpux+set}" = set; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -shared"
8834 cat >conftest.$ac_ext <<_ACEOF
8835 void myfunc() {}
8836 _ACEOF
8837 rm -f conftest.$ac_objext conftest$ac_exeext
8838 if { (ac_try="$ac_link"
8839 case "(($ac_try" in
8840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8841 *) ac_try_echo=$ac_try;;
8842 esac
8843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8844 (eval "$ac_link") 2>conftest.er1
8845 ac_status=$?
8846 grep -v '^ *+' conftest.er1 >conftest.err
8847 rm -f conftest.er1
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } && {
8851 test -z "$ac_c_werror_flag" ||
8852 test ! -s conftest.err
8853 } && test -s conftest$ac_exeext &&
8854 $as_test_x conftest$ac_exeext; then
8855 ac_cv_c_dll_hpux="yes"
8856 else
8857 echo "$as_me: failed program was:" >&5
8858 sed 's/^/| /' conftest.$ac_ext >&5
8860 ac_cv_c_dll_hpux="no"
8863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8868 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8869 if test "$ac_cv_c_dll_hpux" = "yes"
8870 then
8871 LIBEXT="sl"
8872 DLLEXT=".sl"
8873 LDDLLFLAGS="-shared -fPIC"
8874 LDSHARED="\$(CC) -shared"
8879 CROSSTEST=""
8881 if test "$cross_compiling" = "no"
8882 then
8883 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8885 # Extract the first word of "$ac_prog", so it can be a program name with args.
8886 set dummy $ac_prog; ac_word=$2
8887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8889 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8891 else
8892 if test -n "$CROSSCC"; then
8893 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8894 else
8895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8896 for as_dir in $PATH
8898 IFS=$as_save_IFS
8899 test -z "$as_dir" && as_dir=.
8900 for ac_exec_ext in '' $ac_executable_extensions; do
8901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8902 ac_cv_prog_CROSSCC="$ac_prog"
8903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8904 break 2
8906 done
8907 done
8908 IFS=$as_save_IFS
8912 CROSSCC=$ac_cv_prog_CROSSCC
8913 if test -n "$CROSSCC"; then
8914 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8915 echo "${ECHO_T}$CROSSCC" >&6; }
8916 else
8917 { echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6; }
8922 test -n "$CROSSCC" && break
8923 done
8924 test -n "$CROSSCC" || CROSSCC="false"
8926 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8928 # Extract the first word of "$ac_prog", so it can be a program name with args.
8929 set dummy $ac_prog; ac_word=$2
8930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8932 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 else
8935 if test -n "$DLLTOOL"; then
8936 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8937 else
8938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8939 for as_dir in $PATH
8941 IFS=$as_save_IFS
8942 test -z "$as_dir" && as_dir=.
8943 for ac_exec_ext in '' $ac_executable_extensions; do
8944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8945 ac_cv_prog_DLLTOOL="$ac_prog"
8946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8947 break 2
8949 done
8950 done
8951 IFS=$as_save_IFS
8955 DLLTOOL=$ac_cv_prog_DLLTOOL
8956 if test -n "$DLLTOOL"; then
8957 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8958 echo "${ECHO_T}$DLLTOOL" >&6; }
8959 else
8960 { echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6; }
8965 test -n "$DLLTOOL" && break
8966 done
8967 test -n "$DLLTOOL" || DLLTOOL="false"
8969 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8971 # Extract the first word of "$ac_prog", so it can be a program name with args.
8972 set dummy $ac_prog; ac_word=$2
8973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8975 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8977 else
8978 if test -n "$CROSSWINDRES"; then
8979 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8980 else
8981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8982 for as_dir in $PATH
8984 IFS=$as_save_IFS
8985 test -z "$as_dir" && as_dir=.
8986 for ac_exec_ext in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_prog_CROSSWINDRES="$ac_prog"
8989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8990 break 2
8992 done
8993 done
8994 IFS=$as_save_IFS
8998 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8999 if test -n "$CROSSWINDRES"; then
9000 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9001 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9002 else
9003 { echo "$as_me:$LINENO: result: no" >&5
9004 echo "${ECHO_T}no" >&6; }
9008 test -n "$CROSSWINDRES" && break
9009 done
9010 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9012 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9014 # Extract the first word of "$ac_prog", so it can be a program name with args.
9015 set dummy $ac_prog; ac_word=$2
9016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9018 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 else
9021 if test -n "$MINGWAR"; then
9022 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9023 else
9024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9025 for as_dir in $PATH
9027 IFS=$as_save_IFS
9028 test -z "$as_dir" && as_dir=.
9029 for ac_exec_ext in '' $ac_executable_extensions; do
9030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9031 ac_cv_prog_MINGWAR="$ac_prog"
9032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 break 2
9035 done
9036 done
9037 IFS=$as_save_IFS
9041 MINGWAR=$ac_cv_prog_MINGWAR
9042 if test -n "$MINGWAR"; then
9043 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9044 echo "${ECHO_T}$MINGWAR" >&6; }
9045 else
9046 { echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6; }
9051 test -n "$MINGWAR" && break
9052 done
9053 test -n "$MINGWAR" || MINGWAR="false"
9055 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9058 esac
9060 if test "$LIBEXT" = "a"; then
9061 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9062 It is currently not possible to build Wine without shared library
9063 (.so) support to allow transparent switch between .so and .dll files.
9064 If you are using Linux, you will need a newer binutils.
9065 " >&5
9066 echo "$as_me: error: could not find a way to build shared libraries.
9067 It is currently not possible to build Wine without shared library
9068 (.so) support to allow transparent switch between .so and .dll files.
9069 If you are using Linux, you will need a newer binutils.
9070 " >&2;}
9071 { (exit 1); exit 1; }; }
9075 if test "$have_x" = "yes"
9076 then
9077 XLIB="-lXext -lX11"
9078 ac_save_CPPFLAGS="$CPPFLAGS"
9079 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9081 { echo "$as_me:$LINENO: checking for -lX11" >&5
9082 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9083 if test "${ac_cv_lib_soname_X11+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9085 else
9086 ac_check_soname_save_LIBS=$LIBS
9087 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9088 cat >conftest.$ac_ext <<_ACEOF
9089 /* confdefs.h. */
9090 _ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9098 #ifdef __cplusplus
9099 extern "C"
9100 #endif
9101 char XCreateWindow ();
9103 main ()
9105 return XCreateWindow ();
9107 return 0;
9109 _ACEOF
9110 rm -f conftest.$ac_objext conftest$ac_exeext
9111 if { (ac_try="$ac_link"
9112 case "(($ac_try" in
9113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9114 *) ac_try_echo=$ac_try;;
9115 esac
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_link") 2>conftest.er1
9118 ac_status=$?
9119 grep -v '^ *+' conftest.er1 >conftest.err
9120 rm -f conftest.er1
9121 cat conftest.err >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest$ac_exeext &&
9127 $as_test_x conftest$ac_exeext; then
9128 case "$LIBEXT" in
9129 dll) ;;
9130 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'` ;;
9131 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9132 esac
9133 else
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.$ac_ext >&5
9140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9141 conftest$ac_exeext conftest.$ac_ext
9142 LIBS=$ac_check_soname_save_LIBS
9144 if test "x$ac_cv_lib_soname_X11" = "x"; then
9145 { echo "$as_me:$LINENO: result: not found" >&5
9146 echo "${ECHO_T}not found" >&6; }
9148 else
9149 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9150 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9152 cat >>confdefs.h <<_ACEOF
9153 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9154 _ACEOF
9159 { echo "$as_me:$LINENO: checking for -lXext" >&5
9160 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9161 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9163 else
9164 ac_check_soname_save_LIBS=$LIBS
9165 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9166 cat >conftest.$ac_ext <<_ACEOF
9167 /* confdefs.h. */
9168 _ACEOF
9169 cat confdefs.h >>conftest.$ac_ext
9170 cat >>conftest.$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char XextCreateExtension ();
9181 main ()
9183 return XextCreateExtension ();
9185 return 0;
9187 _ACEOF
9188 rm -f conftest.$ac_objext conftest$ac_exeext
9189 if { (ac_try="$ac_link"
9190 case "(($ac_try" in
9191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9192 *) ac_try_echo=$ac_try;;
9193 esac
9194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9195 (eval "$ac_link") 2>conftest.er1
9196 ac_status=$?
9197 grep -v '^ *+' conftest.er1 >conftest.err
9198 rm -f conftest.er1
9199 cat conftest.err >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); } && {
9202 test -z "$ac_c_werror_flag" ||
9203 test ! -s conftest.err
9204 } && test -s conftest$ac_exeext &&
9205 $as_test_x conftest$ac_exeext; then
9206 case "$LIBEXT" in
9207 dll) ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9210 esac
9211 else
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.$ac_ext >&5
9218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9223 { echo "$as_me:$LINENO: result: not found" >&5
9224 echo "${ECHO_T}not found" >&6; }
9226 else
9227 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9228 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9232 _ACEOF
9250 for ac_header in X11/Xlib.h \
9251 X11/XKBlib.h \
9252 X11/Xutil.h \
9253 X11/Xcursor/Xcursor.h \
9254 X11/extensions/shape.h \
9255 X11/extensions/XInput.h \
9256 X11/extensions/XShm.h \
9257 X11/extensions/Xcomposite.h \
9258 X11/extensions/Xinerama.h \
9259 X11/extensions/Xrandr.h \
9260 X11/extensions/Xrender.h \
9261 X11/extensions/xf86vmode.h
9263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9264 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else
9269 cat >conftest.$ac_ext <<_ACEOF
9270 /* confdefs.h. */
9271 _ACEOF
9272 cat confdefs.h >>conftest.$ac_ext
9273 cat >>conftest.$ac_ext <<_ACEOF
9274 /* end confdefs.h. */
9275 #ifdef HAVE_X11_XLIB_H
9276 # include <X11/Xlib.h>
9277 #endif
9278 #ifdef HAVE_X11_XUTIL_H
9279 # include <X11/Xutil.h>
9280 #endif
9282 #include <$ac_header>
9283 _ACEOF
9284 rm -f conftest.$ac_objext
9285 if { (ac_try="$ac_compile"
9286 case "(($ac_try" in
9287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9288 *) ac_try_echo=$ac_try;;
9289 esac
9290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9291 (eval "$ac_compile") 2>conftest.er1
9292 ac_status=$?
9293 grep -v '^ *+' conftest.er1 >conftest.err
9294 rm -f conftest.er1
9295 cat conftest.err >&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); } && {
9298 test -z "$ac_c_werror_flag" ||
9299 test ! -s conftest.err
9300 } && test -s conftest.$ac_objext; then
9301 eval "$as_ac_Header=yes"
9302 else
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.$ac_ext >&5
9306 eval "$as_ac_Header=no"
9309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9311 ac_res=`eval echo '${'$as_ac_Header'}'`
9312 { echo "$as_me:$LINENO: result: $ac_res" >&5
9313 echo "${ECHO_T}$ac_res" >&6; }
9314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9315 cat >>confdefs.h <<_ACEOF
9316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9317 _ACEOF
9321 done
9324 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9325 then
9326 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9327 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9328 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 else
9331 ac_check_lib_save_LIBS=$LIBS
9332 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9333 cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h. */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9343 #ifdef __cplusplus
9344 extern "C"
9345 #endif
9346 char XkbQueryExtension ();
9348 main ()
9350 return XkbQueryExtension ();
9352 return 0;
9354 _ACEOF
9355 rm -f conftest.$ac_objext conftest$ac_exeext
9356 if { (ac_try="$ac_link"
9357 case "(($ac_try" in
9358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9359 *) ac_try_echo=$ac_try;;
9360 esac
9361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9362 (eval "$ac_link") 2>conftest.er1
9363 ac_status=$?
9364 grep -v '^ *+' conftest.er1 >conftest.err
9365 rm -f conftest.er1
9366 cat conftest.err >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); } && {
9369 test -z "$ac_c_werror_flag" ||
9370 test ! -s conftest.err
9371 } && test -s conftest$ac_exeext &&
9372 $as_test_x conftest$ac_exeext; then
9373 ac_cv_lib_X11_XkbQueryExtension=yes
9374 else
9375 echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.$ac_ext >&5
9378 ac_cv_lib_X11_XkbQueryExtension=no
9381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9386 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9387 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9389 cat >>confdefs.h <<\_ACEOF
9390 #define HAVE_XKB 1
9391 _ACEOF
9397 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9398 then
9399 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9400 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9401 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9403 else
9404 ac_check_soname_save_LIBS=$LIBS
9405 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9406 cat >conftest.$ac_ext <<_ACEOF
9407 /* confdefs.h. */
9408 _ACEOF
9409 cat confdefs.h >>conftest.$ac_ext
9410 cat >>conftest.$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char XcursorImageLoadCursor ();
9421 main ()
9423 return XcursorImageLoadCursor ();
9425 return 0;
9427 _ACEOF
9428 rm -f conftest.$ac_objext conftest$ac_exeext
9429 if { (ac_try="$ac_link"
9430 case "(($ac_try" in
9431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9432 *) ac_try_echo=$ac_try;;
9433 esac
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435 (eval "$ac_link") 2>conftest.er1
9436 ac_status=$?
9437 grep -v '^ *+' conftest.er1 >conftest.err
9438 rm -f conftest.er1
9439 cat conftest.err >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } && {
9442 test -z "$ac_c_werror_flag" ||
9443 test ! -s conftest.err
9444 } && test -s conftest$ac_exeext &&
9445 $as_test_x conftest$ac_exeext; then
9446 case "$LIBEXT" in
9447 dll) ;;
9448 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'` ;;
9449 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9450 esac
9451 else
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.$ac_ext >&5
9458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9459 conftest$ac_exeext conftest.$ac_ext
9460 LIBS=$ac_check_soname_save_LIBS
9462 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9463 { echo "$as_me:$LINENO: result: not found" >&5
9464 echo "${ECHO_T}not found" >&6; }
9466 else
9467 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9468 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9470 cat >>confdefs.h <<_ACEOF
9471 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9472 _ACEOF
9479 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9480 then
9481 { echo "$as_me:$LINENO: checking for -lXi" >&5
9482 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9483 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 else
9486 ac_check_soname_save_LIBS=$LIBS
9487 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9488 cat >conftest.$ac_ext <<_ACEOF
9489 /* confdefs.h. */
9490 _ACEOF
9491 cat confdefs.h >>conftest.$ac_ext
9492 cat >>conftest.$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9498 #ifdef __cplusplus
9499 extern "C"
9500 #endif
9501 char XOpenDevice ();
9503 main ()
9505 return XOpenDevice ();
9507 return 0;
9509 _ACEOF
9510 rm -f conftest.$ac_objext conftest$ac_exeext
9511 if { (ac_try="$ac_link"
9512 case "(($ac_try" in
9513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9515 esac
9516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 (eval "$ac_link") 2>conftest.er1
9518 ac_status=$?
9519 grep -v '^ *+' conftest.er1 >conftest.err
9520 rm -f conftest.er1
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } && {
9524 test -z "$ac_c_werror_flag" ||
9525 test ! -s conftest.err
9526 } && test -s conftest$ac_exeext &&
9527 $as_test_x conftest$ac_exeext; then
9528 case "$LIBEXT" in
9529 dll) ;;
9530 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'` ;;
9531 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9532 esac
9533 else
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.$ac_ext >&5
9540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_soname_save_LIBS
9544 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9545 { echo "$as_me:$LINENO: result: not found" >&5
9546 echo "${ECHO_T}not found" >&6; }
9548 else
9549 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9550 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9552 cat >>confdefs.h <<_ACEOF
9553 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9554 _ACEOF
9561 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9562 then
9563 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9564 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9565 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9566 echo $ECHO_N "(cached) $ECHO_C" >&6
9567 else
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9570 cat >conftest.$ac_ext <<_ACEOF
9571 /* confdefs.h. */
9572 _ACEOF
9573 cat confdefs.h >>conftest.$ac_ext
9574 cat >>conftest.$ac_ext <<_ACEOF
9575 /* end confdefs.h. */
9577 /* Override any GCC internal prototype to avoid an error.
9578 Use char because int might match the return type of a GCC
9579 builtin and then its argument prototype would still apply. */
9580 #ifdef __cplusplus
9581 extern "C"
9582 #endif
9583 char XShmQueryExtension ();
9585 main ()
9587 return XShmQueryExtension ();
9589 return 0;
9591 _ACEOF
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (ac_try="$ac_link"
9594 case "(($ac_try" in
9595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9596 *) ac_try_echo=$ac_try;;
9597 esac
9598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9599 (eval "$ac_link") 2>conftest.er1
9600 ac_status=$?
9601 grep -v '^ *+' conftest.er1 >conftest.err
9602 rm -f conftest.er1
9603 cat conftest.err >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } && {
9606 test -z "$ac_c_werror_flag" ||
9607 test ! -s conftest.err
9608 } && test -s conftest$ac_exeext &&
9609 $as_test_x conftest$ac_exeext; then
9610 ac_cv_lib_Xext_XShmQueryExtension=yes
9611 else
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.$ac_ext >&5
9615 ac_cv_lib_Xext_XShmQueryExtension=no
9618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9619 conftest$ac_exeext conftest.$ac_ext
9620 LIBS=$ac_check_lib_save_LIBS
9622 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9623 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9624 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9626 cat >>confdefs.h <<\_ACEOF
9627 #define HAVE_LIBXXSHM 1
9628 _ACEOF
9633 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9634 wine_notices="$wine_notices|XShm development files not found.
9635 Wine will be built without XShm support. (winex11.drv)"
9639 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9640 then
9641 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9642 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9643 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 else
9646 ac_check_lib_save_LIBS=$LIBS
9647 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9648 cat >conftest.$ac_ext <<_ACEOF
9649 /* confdefs.h. */
9650 _ACEOF
9651 cat confdefs.h >>conftest.$ac_ext
9652 cat >>conftest.$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char XShapeQueryExtension ();
9663 main ()
9665 return XShapeQueryExtension ();
9667 return 0;
9669 _ACEOF
9670 rm -f conftest.$ac_objext conftest$ac_exeext
9671 if { (ac_try="$ac_link"
9672 case "(($ac_try" in
9673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9674 *) ac_try_echo=$ac_try;;
9675 esac
9676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9677 (eval "$ac_link") 2>conftest.er1
9678 ac_status=$?
9679 grep -v '^ *+' conftest.er1 >conftest.err
9680 rm -f conftest.er1
9681 cat conftest.err >&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } && {
9684 test -z "$ac_c_werror_flag" ||
9685 test ! -s conftest.err
9686 } && test -s conftest$ac_exeext &&
9687 $as_test_x conftest$ac_exeext; then
9688 ac_cv_lib_Xext_XShapeQueryExtension=yes
9689 else
9690 echo "$as_me: failed program was:" >&5
9691 sed 's/^/| /' conftest.$ac_ext >&5
9693 ac_cv_lib_Xext_XShapeQueryExtension=no
9696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9700 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9701 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9702 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9704 cat >>confdefs.h <<\_ACEOF
9705 #define HAVE_LIBXSHAPE 1
9706 _ACEOF
9711 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9712 wine_notices="$wine_notices|XShape development files not found.
9713 Wine will be built without XShape support. (winex11.drv)"
9717 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9718 then
9719 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9720 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9721 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9723 else
9724 ac_check_lib_save_LIBS=$LIBS
9725 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9726 cat >conftest.$ac_ext <<_ACEOF
9727 /* confdefs.h. */
9728 _ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9736 #ifdef __cplusplus
9737 extern "C"
9738 #endif
9739 char XF86VidModeQueryExtension ();
9741 main ()
9743 return XF86VidModeQueryExtension ();
9745 return 0;
9747 _ACEOF
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (ac_try="$ac_link"
9750 case "(($ac_try" in
9751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9753 esac
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755 (eval "$ac_link") 2>conftest.er1
9756 ac_status=$?
9757 grep -v '^ *+' conftest.er1 >conftest.err
9758 rm -f conftest.er1
9759 cat conftest.err >&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } && {
9762 test -z "$ac_c_werror_flag" ||
9763 test ! -s conftest.err
9764 } && test -s conftest$ac_exeext &&
9765 $as_test_x conftest$ac_exeext; then
9766 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9767 else
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.$ac_ext >&5
9771 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9775 conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_lib_save_LIBS
9778 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9779 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9780 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9782 cat >>confdefs.h <<\_ACEOF
9783 #define HAVE_LIBXXF86VM 1
9784 _ACEOF
9786 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9791 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9792 wine_notices="$wine_notices|Xxf86vm development files not found.
9793 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9797 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"
9798 then
9799 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9800 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9801 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9803 else
9804 ac_check_soname_save_LIBS=$LIBS
9805 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9806 cat >conftest.$ac_ext <<_ACEOF
9807 /* confdefs.h. */
9808 _ACEOF
9809 cat confdefs.h >>conftest.$ac_ext
9810 cat >>conftest.$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9813 /* Override any GCC internal prototype to avoid an error.
9814 Use char because int might match the return type of a GCC
9815 builtin and then its argument prototype would still apply. */
9816 #ifdef __cplusplus
9817 extern "C"
9818 #endif
9819 char XRenderQueryExtension ();
9821 main ()
9823 return XRenderQueryExtension ();
9825 return 0;
9827 _ACEOF
9828 rm -f conftest.$ac_objext conftest$ac_exeext
9829 if { (ac_try="$ac_link"
9830 case "(($ac_try" in
9831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9832 *) ac_try_echo=$ac_try;;
9833 esac
9834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9835 (eval "$ac_link") 2>conftest.er1
9836 ac_status=$?
9837 grep -v '^ *+' conftest.er1 >conftest.err
9838 rm -f conftest.er1
9839 cat conftest.err >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } && {
9842 test -z "$ac_c_werror_flag" ||
9843 test ! -s conftest.err
9844 } && test -s conftest$ac_exeext &&
9845 $as_test_x conftest$ac_exeext; then
9846 case "$LIBEXT" in
9847 dll) ;;
9848 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'` ;;
9849 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9850 esac
9851 else
9852 echo "$as_me: failed program was:" >&5
9853 sed 's/^/| /' conftest.$ac_ext >&5
9858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LIBS=$ac_check_soname_save_LIBS
9862 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9863 { echo "$as_me:$LINENO: result: not found" >&5
9864 echo "${ECHO_T}not found" >&6; }
9866 else
9867 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9868 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9870 cat >>confdefs.h <<_ACEOF
9871 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9872 _ACEOF
9874 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9875 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9876 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9877 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 else
9879 ac_check_lib_save_LIBS=$LIBS
9880 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9881 cat >conftest.$ac_ext <<_ACEOF
9882 /* confdefs.h. */
9883 _ACEOF
9884 cat confdefs.h >>conftest.$ac_ext
9885 cat >>conftest.$ac_ext <<_ACEOF
9886 /* end confdefs.h. */
9888 /* Override any GCC internal prototype to avoid an error.
9889 Use char because int might match the return type of a GCC
9890 builtin and then its argument prototype would still apply. */
9891 #ifdef __cplusplus
9892 extern "C"
9893 #endif
9894 char XRenderSetPictureTransform ();
9896 main ()
9898 return XRenderSetPictureTransform ();
9900 return 0;
9902 _ACEOF
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (ac_try="$ac_link"
9905 case "(($ac_try" in
9906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9907 *) ac_try_echo=$ac_try;;
9908 esac
9909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9910 (eval "$ac_link") 2>conftest.er1
9911 ac_status=$?
9912 grep -v '^ *+' conftest.er1 >conftest.err
9913 rm -f conftest.er1
9914 cat conftest.err >&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } && {
9917 test -z "$ac_c_werror_flag" ||
9918 test ! -s conftest.err
9919 } && test -s conftest$ac_exeext &&
9920 $as_test_x conftest$ac_exeext; then
9921 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9922 else
9923 echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9930 conftest$ac_exeext conftest.$ac_ext
9931 LIBS=$ac_check_lib_save_LIBS
9933 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9934 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9935 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9937 cat >>confdefs.h <<\_ACEOF
9938 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9939 _ACEOF
9947 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9948 wine_notices="$wine_notices|XRender development files not found.
9949 Wine will be built without XRender support. (winex11.drv)"
9953 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9954 then
9955 cat >conftest.$ac_ext <<_ACEOF
9956 /* confdefs.h. */
9957 _ACEOF
9958 cat confdefs.h >>conftest.$ac_ext
9959 cat >>conftest.$ac_ext <<_ACEOF
9960 /* end confdefs.h. */
9961 #include <X11/Xlib.h>
9962 #include <X11/extensions/Xrandr.h>
9964 main ()
9966 static typeof(XRRSetScreenConfigAndRate) * func;
9968 return 0;
9970 _ACEOF
9971 rm -f conftest.$ac_objext
9972 if { (ac_try="$ac_compile"
9973 case "(($ac_try" in
9974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975 *) ac_try_echo=$ac_try;;
9976 esac
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978 (eval "$ac_compile") 2>conftest.er1
9979 ac_status=$?
9980 grep -v '^ *+' conftest.er1 >conftest.err
9981 rm -f conftest.er1
9982 cat conftest.err >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest.$ac_objext; then
9988 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9989 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9990 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9991 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 else
9993 ac_check_soname_save_LIBS=$LIBS
9994 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9995 cat >conftest.$ac_ext <<_ACEOF
9996 /* confdefs.h. */
9997 _ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 char XRRQueryExtension ();
10010 main ()
10012 return XRRQueryExtension ();
10014 return 0;
10016 _ACEOF
10017 rm -f conftest.$ac_objext conftest$ac_exeext
10018 if { (ac_try="$ac_link"
10019 case "(($ac_try" in
10020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10021 *) ac_try_echo=$ac_try;;
10022 esac
10023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10024 (eval "$ac_link") 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } && {
10031 test -z "$ac_c_werror_flag" ||
10032 test ! -s conftest.err
10033 } && test -s conftest$ac_exeext &&
10034 $as_test_x conftest$ac_exeext; then
10035 case "$LIBEXT" in
10036 dll) ;;
10037 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'` ;;
10038 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10039 esac
10040 else
10041 echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.$ac_ext >&5
10047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_soname_save_LIBS
10051 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10052 { echo "$as_me:$LINENO: result: not found" >&5
10053 echo "${ECHO_T}not found" >&6; }
10055 else
10056 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10057 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10059 cat >>confdefs.h <<_ACEOF
10060 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10061 _ACEOF
10066 else
10067 echo "$as_me: failed program was:" >&5
10068 sed 's/^/| /' conftest.$ac_ext >&5
10073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10076 wine_notices="$wine_notices|XRandr development files not found.
10077 Wine will be built without XRandr support. (winex11.drv)"
10081 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10082 then
10083 cat >conftest.$ac_ext <<_ACEOF
10084 /* confdefs.h. */
10085 _ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10089 #include <X11/Xlib.h>
10090 #include <X11/extensions/Xinerama.h>
10092 main ()
10094 static typeof(XineramaQueryScreens) * func;
10096 return 0;
10098 _ACEOF
10099 rm -f conftest.$ac_objext
10100 if { (ac_try="$ac_compile"
10101 case "(($ac_try" in
10102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10103 *) ac_try_echo=$ac_try;;
10104 esac
10105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10106 (eval "$ac_compile") 2>conftest.er1
10107 ac_status=$?
10108 grep -v '^ *+' conftest.er1 >conftest.err
10109 rm -f conftest.er1
10110 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } && {
10113 test -z "$ac_c_werror_flag" ||
10114 test ! -s conftest.err
10115 } && test -s conftest.$ac_objext; then
10116 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10117 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10118 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 else
10121 ac_check_soname_save_LIBS=$LIBS
10122 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10123 cat >conftest.$ac_ext <<_ACEOF
10124 /* confdefs.h. */
10125 _ACEOF
10126 cat confdefs.h >>conftest.$ac_ext
10127 cat >>conftest.$ac_ext <<_ACEOF
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10133 #ifdef __cplusplus
10134 extern "C"
10135 #endif
10136 char XineramaQueryScreens ();
10138 main ()
10140 return XineramaQueryScreens ();
10142 return 0;
10144 _ACEOF
10145 rm -f conftest.$ac_objext conftest$ac_exeext
10146 if { (ac_try="$ac_link"
10147 case "(($ac_try" in
10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149 *) ac_try_echo=$ac_try;;
10150 esac
10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10152 (eval "$ac_link") 2>conftest.er1
10153 ac_status=$?
10154 grep -v '^ *+' conftest.er1 >conftest.err
10155 rm -f conftest.er1
10156 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } && {
10159 test -z "$ac_c_werror_flag" ||
10160 test ! -s conftest.err
10161 } && test -s conftest$ac_exeext &&
10162 $as_test_x conftest$ac_exeext; then
10163 case "$LIBEXT" in
10164 dll) ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10167 esac
10168 else
10169 echo "$as_me: failed program was:" >&5
10170 sed 's/^/| /' conftest.$ac_ext >&5
10175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_soname_save_LIBS
10179 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10180 { echo "$as_me:$LINENO: result: not found" >&5
10181 echo "${ECHO_T}not found" >&6; }
10183 else
10184 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10185 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10187 cat >>confdefs.h <<_ACEOF
10188 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10189 _ACEOF
10194 else
10195 echo "$as_me: failed program was:" >&5
10196 sed 's/^/| /' conftest.$ac_ext >&5
10201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10204 wine_notices="$wine_notices|Xinerama development files not found.
10205 Wine will be built without Xinerama support. (winex11.drv)"
10209 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10210 then
10211 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10212 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10213 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6
10215 else
10216 ac_check_soname_save_LIBS=$LIBS
10217 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10218 cat >conftest.$ac_ext <<_ACEOF
10219 /* confdefs.h. */
10220 _ACEOF
10221 cat confdefs.h >>conftest.$ac_ext
10222 cat >>conftest.$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228 #ifdef __cplusplus
10229 extern "C"
10230 #endif
10231 char XCompositeRedirectWindow ();
10233 main ()
10235 return XCompositeRedirectWindow ();
10237 return 0;
10239 _ACEOF
10240 rm -f conftest.$ac_objext conftest$ac_exeext
10241 if { (ac_try="$ac_link"
10242 case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10245 esac
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_link") 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && {
10254 test -z "$ac_c_werror_flag" ||
10255 test ! -s conftest.err
10256 } && test -s conftest$ac_exeext &&
10257 $as_test_x conftest$ac_exeext; then
10258 case "$LIBEXT" in
10259 dll) ;;
10260 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'` ;;
10261 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10262 esac
10263 else
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.$ac_ext >&5
10270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10271 conftest$ac_exeext conftest.$ac_ext
10272 LIBS=$ac_check_soname_save_LIBS
10274 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10275 { echo "$as_me:$LINENO: result: not found" >&5
10276 echo "${ECHO_T}not found" >&6; }
10278 else
10279 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10280 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10282 cat >>confdefs.h <<_ACEOF
10283 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10284 _ACEOF
10290 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10291 wine_notices="$wine_notices|XComposite development files not found.
10292 Wine will be built without XComposite support. (winex11.drv)"
10297 if test "x$with_opengl" != "xno"
10298 then
10303 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10308 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 else
10311 cat >conftest.$ac_ext <<_ACEOF
10312 /* confdefs.h. */
10313 _ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317 #ifdef HAVE_GL_GLX_H
10318 # include <GL/glx.h>
10319 #endif
10321 #include <$ac_header>
10322 _ACEOF
10323 rm -f conftest.$ac_objext
10324 if { (ac_try="$ac_compile"
10325 case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10327 *) ac_try_echo=$ac_try;;
10328 esac
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_compile") 2>conftest.er1
10331 ac_status=$?
10332 grep -v '^ *+' conftest.er1 >conftest.err
10333 rm -f conftest.er1
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest.$ac_objext; then
10340 eval "$as_ac_Header=yes"
10341 else
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.$ac_ext >&5
10345 eval "$as_ac_Header=no"
10348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10350 ac_res=`eval echo '${'$as_ac_Header'}'`
10351 { echo "$as_me:$LINENO: result: $ac_res" >&5
10352 echo "${ECHO_T}$ac_res" >&6; }
10353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10354 cat >>confdefs.h <<_ACEOF
10355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10356 _ACEOF
10360 done
10362 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10363 then
10364 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10365 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10366 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 else
10369 cat >conftest.$ac_ext <<_ACEOF
10370 /* confdefs.h. */
10371 _ACEOF
10372 cat confdefs.h >>conftest.$ac_ext
10373 cat >>conftest.$ac_ext <<_ACEOF
10374 /* end confdefs.h. */
10375 #include <GL/gl.h>
10377 main ()
10379 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10381 return 0;
10383 _ACEOF
10384 rm -f conftest.$ac_objext
10385 if { (ac_try="$ac_compile"
10386 case "(($ac_try" in
10387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10388 *) ac_try_echo=$ac_try;;
10389 esac
10390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10391 (eval "$ac_compile") 2>conftest.er1
10392 ac_status=$?
10393 grep -v '^ *+' conftest.er1 >conftest.err
10394 rm -f conftest.er1
10395 cat conftest.err >&5
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } && {
10398 test -z "$ac_c_werror_flag" ||
10399 test ! -s conftest.err
10400 } && test -s conftest.$ac_objext; then
10401 wine_cv_opengl_header_version_OK="yes"
10402 else
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 wine_cv_opengl_header_version_OK="no"
10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10412 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10414 if test "$wine_cv_opengl_header_version_OK" = "yes"
10415 then
10416 { echo "$as_me:$LINENO: checking for -lGL" >&5
10417 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10418 if test "${ac_cv_lib_soname_GL+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6
10420 else
10421 ac_check_soname_save_LIBS=$LIBS
10422 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10423 cat >conftest.$ac_ext <<_ACEOF
10424 /* confdefs.h. */
10425 _ACEOF
10426 cat confdefs.h >>conftest.$ac_ext
10427 cat >>conftest.$ac_ext <<_ACEOF
10428 /* end confdefs.h. */
10430 /* Override any GCC internal prototype to avoid an error.
10431 Use char because int might match the return type of a GCC
10432 builtin and then its argument prototype would still apply. */
10433 #ifdef __cplusplus
10434 extern "C"
10435 #endif
10436 char glXCreateContext ();
10438 main ()
10440 return glXCreateContext ();
10442 return 0;
10444 _ACEOF
10445 rm -f conftest.$ac_objext conftest$ac_exeext
10446 if { (ac_try="$ac_link"
10447 case "(($ac_try" in
10448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10449 *) ac_try_echo=$ac_try;;
10450 esac
10451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10452 (eval "$ac_link") 2>conftest.er1
10453 ac_status=$?
10454 grep -v '^ *+' conftest.er1 >conftest.err
10455 rm -f conftest.er1
10456 cat conftest.err >&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } && {
10459 test -z "$ac_c_werror_flag" ||
10460 test ! -s conftest.err
10461 } && test -s conftest$ac_exeext &&
10462 $as_test_x conftest$ac_exeext; then
10463 case "$LIBEXT" in
10464 dll) ;;
10465 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'` ;;
10466 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10467 esac
10468 else
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.$ac_ext >&5
10475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_soname_save_LIBS
10479 if test "x$ac_cv_lib_soname_GL" = "x"; then
10480 { echo "$as_me:$LINENO: result: not found" >&5
10481 echo "${ECHO_T}not found" >&6; }
10482 if test -f /usr/X11R6/lib/libGL.a
10483 then
10484 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10485 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10486 else
10487 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10488 Wine will be built without OpenGL or Direct3D support."
10490 else
10491 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10492 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10494 cat >>confdefs.h <<_ACEOF
10495 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10496 _ACEOF
10498 OPENGL_LIBS="-lGL"
10499 OPENGLFILES='$(OPENGLFILES)'
10501 cat >>confdefs.h <<\_ACEOF
10502 #define HAVE_OPENGL 1
10503 _ACEOF
10508 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10509 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10510 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 else
10513 ac_check_lib_save_LIBS=$LIBS
10514 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10515 cat >conftest.$ac_ext <<_ACEOF
10516 /* confdefs.h. */
10517 _ACEOF
10518 cat confdefs.h >>conftest.$ac_ext
10519 cat >>conftest.$ac_ext <<_ACEOF
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char gluLookAt ();
10530 main ()
10532 return gluLookAt ();
10534 return 0;
10536 _ACEOF
10537 rm -f conftest.$ac_objext conftest$ac_exeext
10538 if { (ac_try="$ac_link"
10539 case "(($ac_try" in
10540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10541 *) ac_try_echo=$ac_try;;
10542 esac
10543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10544 (eval "$ac_link") 2>conftest.er1
10545 ac_status=$?
10546 grep -v '^ *+' conftest.er1 >conftest.err
10547 rm -f conftest.er1
10548 cat conftest.err >&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); } && {
10551 test -z "$ac_c_werror_flag" ||
10552 test ! -s conftest.err
10553 } && test -s conftest$ac_exeext &&
10554 $as_test_x conftest$ac_exeext; then
10555 ac_cv_lib_GLU_gluLookAt=yes
10556 else
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10560 ac_cv_lib_GLU_gluLookAt=no
10563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10564 conftest$ac_exeext conftest.$ac_ext
10565 LIBS=$ac_check_lib_save_LIBS
10567 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10568 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10569 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10570 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10571 GLU32FILES='$(GLU32FILES)'
10575 else
10576 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10577 Wine will be built without OpenGL or Direct3D support."
10579 else
10580 wine_warnings="$wine_warnings|OpenGL development headers not found.
10581 Wine will be built without OpenGL or Direct3D support."
10585 NASLIBS=""
10588 for ac_header in audio/audiolib.h
10590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10592 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10595 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 ac_res=`eval echo '${'$as_ac_Header'}'`
10598 { echo "$as_me:$LINENO: result: $ac_res" >&5
10599 echo "${ECHO_T}$ac_res" >&6; }
10600 else
10601 # Is the header compilable?
10602 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10604 cat >conftest.$ac_ext <<_ACEOF
10605 /* confdefs.h. */
10606 _ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h. */
10610 $ac_includes_default
10611 #include <$ac_header>
10612 _ACEOF
10613 rm -f conftest.$ac_objext
10614 if { (ac_try="$ac_compile"
10615 case "(($ac_try" in
10616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10617 *) ac_try_echo=$ac_try;;
10618 esac
10619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10620 (eval "$ac_compile") 2>conftest.er1
10621 ac_status=$?
10622 grep -v '^ *+' conftest.er1 >conftest.err
10623 rm -f conftest.er1
10624 cat conftest.err >&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); } && {
10627 test -z "$ac_c_werror_flag" ||
10628 test ! -s conftest.err
10629 } && test -s conftest.$ac_objext; then
10630 ac_header_compiler=yes
10631 else
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10635 ac_header_compiler=no
10638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10639 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10640 echo "${ECHO_T}$ac_header_compiler" >&6; }
10642 # Is the header present?
10643 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10645 cat >conftest.$ac_ext <<_ACEOF
10646 /* confdefs.h. */
10647 _ACEOF
10648 cat confdefs.h >>conftest.$ac_ext
10649 cat >>conftest.$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10651 #include <$ac_header>
10652 _ACEOF
10653 if { (ac_try="$ac_cpp conftest.$ac_ext"
10654 case "(($ac_try" in
10655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10656 *) ac_try_echo=$ac_try;;
10657 esac
10658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10660 ac_status=$?
10661 grep -v '^ *+' conftest.er1 >conftest.err
10662 rm -f conftest.er1
10663 cat conftest.err >&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); } >/dev/null && {
10666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10667 test ! -s conftest.err
10668 }; then
10669 ac_header_preproc=yes
10670 else
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10674 ac_header_preproc=no
10677 rm -f conftest.err conftest.$ac_ext
10678 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10679 echo "${ECHO_T}$ac_header_preproc" >&6; }
10681 # So? What about this header?
10682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10683 yes:no: )
10684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10687 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10688 ac_header_preproc=yes
10690 no:yes:* )
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10696 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10698 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10702 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10703 ( cat <<\_ASBOX
10704 ## ------------------------------------ ##
10705 ## Report this to wine-devel@winehq.org ##
10706 ## ------------------------------------ ##
10707 _ASBOX
10708 ) | sed "s/^/$as_me: WARNING: /" >&2
10710 esac
10711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 else
10716 eval "$as_ac_Header=\$ac_header_preproc"
10718 ac_res=`eval echo '${'$as_ac_Header'}'`
10719 { echo "$as_me:$LINENO: result: $ac_res" >&5
10720 echo "${ECHO_T}$ac_res" >&6; }
10723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10724 cat >>confdefs.h <<_ACEOF
10725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10726 _ACEOF
10728 for ac_header in audio/soundlib.h
10730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 else
10736 cat >conftest.$ac_ext <<_ACEOF
10737 /* confdefs.h. */
10738 _ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 #include <audio/audiolib.h>
10744 #include <$ac_header>
10745 _ACEOF
10746 rm -f conftest.$ac_objext
10747 if { (ac_try="$ac_compile"
10748 case "(($ac_try" in
10749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10750 *) ac_try_echo=$ac_try;;
10751 esac
10752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10753 (eval "$ac_compile") 2>conftest.er1
10754 ac_status=$?
10755 grep -v '^ *+' conftest.er1 >conftest.err
10756 rm -f conftest.er1
10757 cat conftest.err >&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } && {
10760 test -z "$ac_c_werror_flag" ||
10761 test ! -s conftest.err
10762 } && test -s conftest.$ac_objext; then
10763 eval "$as_ac_Header=yes"
10764 else
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10768 eval "$as_ac_Header=no"
10771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10773 ac_res=`eval echo '${'$as_ac_Header'}'`
10774 { echo "$as_me:$LINENO: result: $ac_res" >&5
10775 echo "${ECHO_T}$ac_res" >&6; }
10776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10777 cat >>confdefs.h <<_ACEOF
10778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10779 _ACEOF
10783 done
10785 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10786 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10787 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10792 cat >conftest.$ac_ext <<_ACEOF
10793 /* confdefs.h. */
10794 _ACEOF
10795 cat confdefs.h >>conftest.$ac_ext
10796 cat >>conftest.$ac_ext <<_ACEOF
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char AuCreateFlow ();
10807 main ()
10809 return AuCreateFlow ();
10811 return 0;
10813 _ACEOF
10814 rm -f conftest.$ac_objext conftest$ac_exeext
10815 if { (ac_try="$ac_link"
10816 case "(($ac_try" in
10817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10818 *) ac_try_echo=$ac_try;;
10819 esac
10820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10821 (eval "$ac_link") 2>conftest.er1
10822 ac_status=$?
10823 grep -v '^ *+' conftest.er1 >conftest.err
10824 rm -f conftest.er1
10825 cat conftest.err >&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); } && {
10828 test -z "$ac_c_werror_flag" ||
10829 test ! -s conftest.err
10830 } && test -s conftest$ac_exeext &&
10831 $as_test_x conftest$ac_exeext; then
10832 ac_cv_lib_audio_AuCreateFlow=yes
10833 else
10834 echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5
10837 ac_cv_lib_audio_AuCreateFlow=no
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_lib_save_LIBS
10844 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10845 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10846 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10848 cat >>confdefs.h <<\_ACEOF
10849 #define HAVE_NAS 1
10850 _ACEOF
10852 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10853 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10854 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10855 echo $ECHO_N "(cached) $ECHO_C" >&6
10856 else
10857 ac_check_lib_save_LIBS=$LIBS
10858 LIBS="-lXau $X_LIBS $LIBS"
10859 cat >conftest.$ac_ext <<_ACEOF
10860 /* confdefs.h. */
10861 _ACEOF
10862 cat confdefs.h >>conftest.$ac_ext
10863 cat >>conftest.$ac_ext <<_ACEOF
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10869 #ifdef __cplusplus
10870 extern "C"
10871 #endif
10872 char XauGetBestAuthByAddr ();
10874 main ()
10876 return XauGetBestAuthByAddr ();
10878 return 0;
10880 _ACEOF
10881 rm -f conftest.$ac_objext conftest$ac_exeext
10882 if { (ac_try="$ac_link"
10883 case "(($ac_try" in
10884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10885 *) ac_try_echo=$ac_try;;
10886 esac
10887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10888 (eval "$ac_link") 2>conftest.er1
10889 ac_status=$?
10890 grep -v '^ *+' conftest.er1 >conftest.err
10891 rm -f conftest.er1
10892 cat conftest.err >&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } && {
10895 test -z "$ac_c_werror_flag" ||
10896 test ! -s conftest.err
10897 } && test -s conftest$ac_exeext &&
10898 $as_test_x conftest$ac_exeext; then
10899 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10900 else
10901 echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.$ac_ext >&5
10904 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_lib_save_LIBS
10911 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10912 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10913 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10914 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10915 else
10916 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10924 done
10927 CPPFLAGS="$ac_save_CPPFLAGS"
10928 XFILES='$(XFILES)'
10929 else
10930 XLIB=""
10931 X_CFLAGS=""
10932 X_LIBS=""
10933 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10934 without X support, which probably isn't what you want. You will need to install
10935 development packages of Xlib/Xfree86 at the very least."
10939 XML2LIBS=""
10941 XML2INCL=""
10943 XSLTLIBS=""
10945 XSLTINCL=""
10947 ac_save_CPPFLAGS="$CPPFLAGS"
10948 if test "$PKG_CONFIG" != "false"
10949 then
10950 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10951 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10952 else
10953 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10954 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10956 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10958 for ac_header in libxml/parser.h
10960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10965 echo $ECHO_N "(cached) $ECHO_C" >&6
10967 ac_res=`eval echo '${'$as_ac_Header'}'`
10968 { echo "$as_me:$LINENO: result: $ac_res" >&5
10969 echo "${ECHO_T}$ac_res" >&6; }
10970 else
10971 # Is the header compilable?
10972 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10974 cat >conftest.$ac_ext <<_ACEOF
10975 /* confdefs.h. */
10976 _ACEOF
10977 cat confdefs.h >>conftest.$ac_ext
10978 cat >>conftest.$ac_ext <<_ACEOF
10979 /* end confdefs.h. */
10980 $ac_includes_default
10981 #include <$ac_header>
10982 _ACEOF
10983 rm -f conftest.$ac_objext
10984 if { (ac_try="$ac_compile"
10985 case "(($ac_try" in
10986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10987 *) ac_try_echo=$ac_try;;
10988 esac
10989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10990 (eval "$ac_compile") 2>conftest.er1
10991 ac_status=$?
10992 grep -v '^ *+' conftest.er1 >conftest.err
10993 rm -f conftest.er1
10994 cat conftest.err >&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); } && {
10997 test -z "$ac_c_werror_flag" ||
10998 test ! -s conftest.err
10999 } && test -s conftest.$ac_objext; then
11000 ac_header_compiler=yes
11001 else
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11005 ac_header_compiler=no
11008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11009 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11010 echo "${ECHO_T}$ac_header_compiler" >&6; }
11012 # Is the header present?
11013 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11015 cat >conftest.$ac_ext <<_ACEOF
11016 /* confdefs.h. */
11017 _ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11021 #include <$ac_header>
11022 _ACEOF
11023 if { (ac_try="$ac_cpp conftest.$ac_ext"
11024 case "(($ac_try" in
11025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11026 *) ac_try_echo=$ac_try;;
11027 esac
11028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11030 ac_status=$?
11031 grep -v '^ *+' conftest.er1 >conftest.err
11032 rm -f conftest.er1
11033 cat conftest.err >&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } >/dev/null && {
11036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11037 test ! -s conftest.err
11038 }; then
11039 ac_header_preproc=yes
11040 else
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11044 ac_header_preproc=no
11047 rm -f conftest.err conftest.$ac_ext
11048 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11049 echo "${ECHO_T}$ac_header_preproc" >&6; }
11051 # So? What about this header?
11052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11053 yes:no: )
11054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11058 ac_header_preproc=yes
11060 no:yes:* )
11061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11073 ( cat <<\_ASBOX
11074 ## ------------------------------------ ##
11075 ## Report this to wine-devel@winehq.org ##
11076 ## ------------------------------------ ##
11077 _ASBOX
11078 ) | sed "s/^/$as_me: WARNING: /" >&2
11080 esac
11081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 else
11086 eval "$as_ac_Header=\$ac_header_preproc"
11088 ac_res=`eval echo '${'$as_ac_Header'}'`
11089 { echo "$as_me:$LINENO: result: $ac_res" >&5
11090 echo "${ECHO_T}$ac_res" >&6; }
11093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11094 cat >>confdefs.h <<_ACEOF
11095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11096 _ACEOF
11097 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11098 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11099 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11100 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lxml2 $ac_xml_libs $LIBS"
11104 cat >conftest.$ac_ext <<_ACEOF
11105 /* confdefs.h. */
11106 _ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char xmlParseMemory ();
11119 main ()
11121 return xmlParseMemory ();
11123 return 0;
11125 _ACEOF
11126 rm -f conftest.$ac_objext conftest$ac_exeext
11127 if { (ac_try="$ac_link"
11128 case "(($ac_try" in
11129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11131 esac
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_link") 2>conftest.er1
11134 ac_status=$?
11135 grep -v '^ *+' conftest.er1 >conftest.err
11136 rm -f conftest.er1
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } && {
11140 test -z "$ac_c_werror_flag" ||
11141 test ! -s conftest.err
11142 } && test -s conftest$ac_exeext &&
11143 $as_test_x conftest$ac_exeext; then
11144 ac_cv_lib_xml2_xmlParseMemory=yes
11145 else
11146 echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.$ac_ext >&5
11149 ac_cv_lib_xml2_xmlParseMemory=no
11152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11157 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11158 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11160 cat >>confdefs.h <<\_ACEOF
11161 #define HAVE_LIBXML2 1
11162 _ACEOF
11164 XML2LIBS="$ac_xml_libs"
11165 XML2INCL="$ac_xml_cflags"
11168 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11169 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11170 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 else
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-lxml2 $ac_xml_libs $LIBS"
11175 cat >conftest.$ac_ext <<_ACEOF
11176 /* confdefs.h. */
11177 _ACEOF
11178 cat confdefs.h >>conftest.$ac_ext
11179 cat >>conftest.$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char xmlReadMemory ();
11190 main ()
11192 return xmlReadMemory ();
11194 return 0;
11196 _ACEOF
11197 rm -f conftest.$ac_objext conftest$ac_exeext
11198 if { (ac_try="$ac_link"
11199 case "(($ac_try" in
11200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11201 *) ac_try_echo=$ac_try;;
11202 esac
11203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11204 (eval "$ac_link") 2>conftest.er1
11205 ac_status=$?
11206 grep -v '^ *+' conftest.er1 >conftest.err
11207 rm -f conftest.er1
11208 cat conftest.err >&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } && {
11211 test -z "$ac_c_werror_flag" ||
11212 test ! -s conftest.err
11213 } && test -s conftest$ac_exeext &&
11214 $as_test_x conftest$ac_exeext; then
11215 ac_cv_lib_xml2_xmlReadMemory=yes
11216 else
11217 echo "$as_me: failed program was:" >&5
11218 sed 's/^/| /' conftest.$ac_ext >&5
11220 ac_cv_lib_xml2_xmlReadMemory=no
11223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11228 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11229 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11231 cat >>confdefs.h <<\_ACEOF
11232 #define HAVE_XMLREADMEMORY 1
11233 _ACEOF
11237 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11238 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11239 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else
11242 ac_check_lib_save_LIBS=$LIBS
11243 LIBS="-lxml2 $ac_xml_libs $LIBS"
11244 cat >conftest.$ac_ext <<_ACEOF
11245 /* confdefs.h. */
11246 _ACEOF
11247 cat confdefs.h >>conftest.$ac_ext
11248 cat >>conftest.$ac_ext <<_ACEOF
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char xmlNewDocPI ();
11259 main ()
11261 return xmlNewDocPI ();
11263 return 0;
11265 _ACEOF
11266 rm -f conftest.$ac_objext conftest$ac_exeext
11267 if { (ac_try="$ac_link"
11268 case "(($ac_try" in
11269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11270 *) ac_try_echo=$ac_try;;
11271 esac
11272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11273 (eval "$ac_link") 2>conftest.er1
11274 ac_status=$?
11275 grep -v '^ *+' conftest.er1 >conftest.err
11276 rm -f conftest.er1
11277 cat conftest.err >&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } && {
11280 test -z "$ac_c_werror_flag" ||
11281 test ! -s conftest.err
11282 } && test -s conftest$ac_exeext &&
11283 $as_test_x conftest$ac_exeext; then
11284 ac_cv_lib_xml2_xmlNewDocPI=yes
11285 else
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.$ac_ext >&5
11289 ac_cv_lib_xml2_xmlNewDocPI=no
11292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11296 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11297 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11298 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11300 cat >>confdefs.h <<\_ACEOF
11301 #define HAVE_XMLNEWDOCPI 1
11302 _ACEOF
11309 done
11311 CPPFLAGS="$ac_save_CPPFLAGS"
11312 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11313 wine_notices="$wine_notices|libxml2 development files not found.
11314 Wine will be built without XML support. (msxml.dll)"
11318 if test "$PKG_CONFIG" != "false"
11319 then
11320 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11321 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11322 else
11323 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11324 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11326 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11329 for ac_header in libxslt/pattern.h libxslt/transform.h
11331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11336 else
11337 cat >conftest.$ac_ext <<_ACEOF
11338 /* confdefs.h. */
11339 _ACEOF
11340 cat confdefs.h >>conftest.$ac_ext
11341 cat >>conftest.$ac_ext <<_ACEOF
11342 /* end confdefs.h. */
11343 #ifdef HAVE_LIBXSLT_PATTERN_H
11344 # include <libxslt/pattern.h>
11345 #endif
11347 #include <$ac_header>
11348 _ACEOF
11349 rm -f conftest.$ac_objext
11350 if { (ac_try="$ac_compile"
11351 case "(($ac_try" in
11352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11353 *) ac_try_echo=$ac_try;;
11354 esac
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_compile") 2>conftest.er1
11357 ac_status=$?
11358 grep -v '^ *+' conftest.er1 >conftest.err
11359 rm -f conftest.er1
11360 cat conftest.err >&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest.$ac_objext; then
11366 eval "$as_ac_Header=yes"
11367 else
11368 echo "$as_me: failed program was:" >&5
11369 sed 's/^/| /' conftest.$ac_ext >&5
11371 eval "$as_ac_Header=no"
11374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11376 ac_res=`eval echo '${'$as_ac_Header'}'`
11377 { echo "$as_me:$LINENO: result: $ac_res" >&5
11378 echo "${ECHO_T}$ac_res" >&6; }
11379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11380 cat >>confdefs.h <<_ACEOF
11381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11382 _ACEOF
11383 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11384 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11385 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11386 echo $ECHO_N "(cached) $ECHO_C" >&6
11387 else
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-lxslt $ac_xslt_libs $LIBS"
11390 cat >conftest.$ac_ext <<_ACEOF
11391 /* confdefs.h. */
11392 _ACEOF
11393 cat confdefs.h >>conftest.$ac_ext
11394 cat >>conftest.$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char xsltCompilePattern ();
11405 main ()
11407 return xsltCompilePattern ();
11409 return 0;
11411 _ACEOF
11412 rm -f conftest.$ac_objext conftest$ac_exeext
11413 if { (ac_try="$ac_link"
11414 case "(($ac_try" in
11415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11416 *) ac_try_echo=$ac_try;;
11417 esac
11418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11419 (eval "$ac_link") 2>conftest.er1
11420 ac_status=$?
11421 grep -v '^ *+' conftest.er1 >conftest.err
11422 rm -f conftest.er1
11423 cat conftest.err >&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); } && {
11426 test -z "$ac_c_werror_flag" ||
11427 test ! -s conftest.err
11428 } && test -s conftest$ac_exeext &&
11429 $as_test_x conftest$ac_exeext; then
11430 ac_cv_lib_xslt_xsltCompilePattern=yes
11431 else
11432 echo "$as_me: failed program was:" >&5
11433 sed 's/^/| /' conftest.$ac_ext >&5
11435 ac_cv_lib_xslt_xsltCompilePattern=no
11438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11439 conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_lib_save_LIBS
11442 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11443 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11444 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11446 cat >>confdefs.h <<\_ACEOF
11447 #define HAVE_LIBXSLT 1
11448 _ACEOF
11450 XSLTLIBS="$ac_xslt_libs"
11451 XSLTINCL="$ac_xslt_cflags"
11457 done
11459 CPPFLAGS="$ac_save_CPPFLAGS"
11460 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11461 wine_notices="$wine_notices|libxslt development files not found.
11462 Wine will be built without xslt support. (msxml.dll)"
11466 HALINCL=""
11468 if test "$PKG_CONFIG" != "false"
11469 then
11470 ac_save_CPPFLAGS="$CPPFLAGS"
11471 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11472 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11473 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11476 for ac_header in dbus/dbus.h hal/libhal.h
11478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 ac_res=`eval echo '${'$as_ac_Header'}'`
11486 { echo "$as_me:$LINENO: result: $ac_res" >&5
11487 echo "${ECHO_T}$ac_res" >&6; }
11488 else
11489 # Is the header compilable?
11490 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11492 cat >conftest.$ac_ext <<_ACEOF
11493 /* confdefs.h. */
11494 _ACEOF
11495 cat confdefs.h >>conftest.$ac_ext
11496 cat >>conftest.$ac_ext <<_ACEOF
11497 /* end confdefs.h. */
11498 $ac_includes_default
11499 #include <$ac_header>
11500 _ACEOF
11501 rm -f conftest.$ac_objext
11502 if { (ac_try="$ac_compile"
11503 case "(($ac_try" in
11504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11505 *) ac_try_echo=$ac_try;;
11506 esac
11507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11508 (eval "$ac_compile") 2>conftest.er1
11509 ac_status=$?
11510 grep -v '^ *+' conftest.er1 >conftest.err
11511 rm -f conftest.er1
11512 cat conftest.err >&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); } && {
11515 test -z "$ac_c_werror_flag" ||
11516 test ! -s conftest.err
11517 } && test -s conftest.$ac_objext; then
11518 ac_header_compiler=yes
11519 else
11520 echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.$ac_ext >&5
11523 ac_header_compiler=no
11526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11528 echo "${ECHO_T}$ac_header_compiler" >&6; }
11530 # Is the header present?
11531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11533 cat >conftest.$ac_ext <<_ACEOF
11534 /* confdefs.h. */
11535 _ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 #include <$ac_header>
11540 _ACEOF
11541 if { (ac_try="$ac_cpp conftest.$ac_ext"
11542 case "(($ac_try" in
11543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11544 *) ac_try_echo=$ac_try;;
11545 esac
11546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11548 ac_status=$?
11549 grep -v '^ *+' conftest.er1 >conftest.err
11550 rm -f conftest.er1
11551 cat conftest.err >&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } >/dev/null && {
11554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11555 test ! -s conftest.err
11556 }; then
11557 ac_header_preproc=yes
11558 else
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 ac_header_preproc=no
11565 rm -f conftest.err conftest.$ac_ext
11566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11567 echo "${ECHO_T}$ac_header_preproc" >&6; }
11569 # So? What about this header?
11570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11571 yes:no: )
11572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11576 ac_header_preproc=yes
11578 no:yes:* )
11579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11591 ( cat <<\_ASBOX
11592 ## ------------------------------------ ##
11593 ## Report this to wine-devel@winehq.org ##
11594 ## ------------------------------------ ##
11595 _ASBOX
11596 ) | sed "s/^/$as_me: WARNING: /" >&2
11598 esac
11599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 else
11604 eval "$as_ac_Header=\$ac_header_preproc"
11606 ac_res=`eval echo '${'$as_ac_Header'}'`
11607 { echo "$as_me:$LINENO: result: $ac_res" >&5
11608 echo "${ECHO_T}$ac_res" >&6; }
11611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11612 cat >>confdefs.h <<_ACEOF
11613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11614 _ACEOF
11618 done
11620 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11621 then
11622 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11623 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11624 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 else
11627 ac_check_lib_save_LIBS=$LIBS
11628 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11629 cat >conftest.$ac_ext <<_ACEOF
11630 /* confdefs.h. */
11631 _ACEOF
11632 cat confdefs.h >>conftest.$ac_ext
11633 cat >>conftest.$ac_ext <<_ACEOF
11634 /* end confdefs.h. */
11636 /* Override any GCC internal prototype to avoid an error.
11637 Use char because int might match the return type of a GCC
11638 builtin and then its argument prototype would still apply. */
11639 #ifdef __cplusplus
11640 extern "C"
11641 #endif
11642 char dbus_connection_close ();
11644 main ()
11646 return dbus_connection_close ();
11648 return 0;
11650 _ACEOF
11651 rm -f conftest.$ac_objext conftest$ac_exeext
11652 if { (ac_try="$ac_link"
11653 case "(($ac_try" in
11654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11655 *) ac_try_echo=$ac_try;;
11656 esac
11657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11658 (eval "$ac_link") 2>conftest.er1
11659 ac_status=$?
11660 grep -v '^ *+' conftest.er1 >conftest.err
11661 rm -f conftest.er1
11662 cat conftest.err >&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } && {
11665 test -z "$ac_c_werror_flag" ||
11666 test ! -s conftest.err
11667 } && test -s conftest$ac_exeext &&
11668 $as_test_x conftest$ac_exeext; then
11669 ac_cv_lib_dbus_1_dbus_connection_close=yes
11670 else
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11674 ac_cv_lib_dbus_1_dbus_connection_close=no
11677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11678 conftest$ac_exeext conftest.$ac_ext
11679 LIBS=$ac_check_lib_save_LIBS
11681 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11682 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11683 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11684 { echo "$as_me:$LINENO: checking for -lhal" >&5
11685 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11686 if test "${ac_cv_lib_soname_hal+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 else
11689 ac_check_soname_save_LIBS=$LIBS
11690 LIBS="-lhal $ac_hal_libs $LIBS"
11691 cat >conftest.$ac_ext <<_ACEOF
11692 /* confdefs.h. */
11693 _ACEOF
11694 cat confdefs.h >>conftest.$ac_ext
11695 cat >>conftest.$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11698 /* Override any GCC internal prototype to avoid an error.
11699 Use char because int might match the return type of a GCC
11700 builtin and then its argument prototype would still apply. */
11701 #ifdef __cplusplus
11702 extern "C"
11703 #endif
11704 char libhal_ctx_new ();
11706 main ()
11708 return libhal_ctx_new ();
11710 return 0;
11712 _ACEOF
11713 rm -f conftest.$ac_objext conftest$ac_exeext
11714 if { (ac_try="$ac_link"
11715 case "(($ac_try" in
11716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11717 *) ac_try_echo=$ac_try;;
11718 esac
11719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11720 (eval "$ac_link") 2>conftest.er1
11721 ac_status=$?
11722 grep -v '^ *+' conftest.er1 >conftest.err
11723 rm -f conftest.er1
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } && {
11727 test -z "$ac_c_werror_flag" ||
11728 test ! -s conftest.err
11729 } && test -s conftest$ac_exeext &&
11730 $as_test_x conftest$ac_exeext; then
11731 case "$LIBEXT" in
11732 dll) ;;
11733 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'` ;;
11734 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11735 esac
11736 else
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.$ac_ext >&5
11743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_soname_save_LIBS
11747 if test "x$ac_cv_lib_soname_hal" = "x"; then
11748 { echo "$as_me:$LINENO: result: not found" >&5
11749 echo "${ECHO_T}not found" >&6; }
11751 else
11752 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11753 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11755 cat >>confdefs.h <<_ACEOF
11756 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11757 _ACEOF
11759 HALINCL="$ac_hal_cflags"
11765 CPPFLAGS="$ac_save_CPPFLAGS"
11767 if test "x$ac_cv_lib_soname_hal" = "x"; then
11768 wine_notices="$wine_notices|libhal development files not found.
11769 Wine will be built without dynamic device support. (explorer.exe)"
11773 CURSESLIBS=""
11774 if test "$ac_cv_header_ncurses_h" = "yes"
11775 then
11776 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11777 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11778 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 else
11781 ac_check_soname_save_LIBS=$LIBS
11782 LIBS="-lncurses $LIBS"
11783 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */
11785 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11790 /* Override any GCC internal prototype to avoid an error.
11791 Use char because int might match the return type of a GCC
11792 builtin and then its argument prototype would still apply. */
11793 #ifdef __cplusplus
11794 extern "C"
11795 #endif
11796 char waddch ();
11798 main ()
11800 return waddch ();
11802 return 0;
11804 _ACEOF
11805 rm -f conftest.$ac_objext conftest$ac_exeext
11806 if { (ac_try="$ac_link"
11807 case "(($ac_try" in
11808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11809 *) ac_try_echo=$ac_try;;
11810 esac
11811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11812 (eval "$ac_link") 2>conftest.er1
11813 ac_status=$?
11814 grep -v '^ *+' conftest.er1 >conftest.err
11815 rm -f conftest.er1
11816 cat conftest.err >&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } && {
11819 test -z "$ac_c_werror_flag" ||
11820 test ! -s conftest.err
11821 } && test -s conftest$ac_exeext &&
11822 $as_test_x conftest$ac_exeext; then
11823 case "$LIBEXT" in
11824 dll) ;;
11825 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'` ;;
11826 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11827 esac
11828 else
11829 echo "$as_me: failed program was:" >&5
11830 sed 's/^/| /' conftest.$ac_ext >&5
11835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11836 conftest$ac_exeext conftest.$ac_ext
11837 LIBS=$ac_check_soname_save_LIBS
11839 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11840 { echo "$as_me:$LINENO: result: not found" >&5
11841 echo "${ECHO_T}not found" >&6; }
11843 else
11844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11845 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11847 cat >>confdefs.h <<_ACEOF
11848 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11849 _ACEOF
11851 CURSESLIBS="-lncurses"
11854 elif test "$ac_cv_header_curses_h" = "yes"
11855 then
11856 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11857 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11858 if test "${ac_cv_lib_soname_curses+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 else
11861 ac_check_soname_save_LIBS=$LIBS
11862 LIBS="-lcurses $LIBS"
11863 cat >conftest.$ac_ext <<_ACEOF
11864 /* confdefs.h. */
11865 _ACEOF
11866 cat confdefs.h >>conftest.$ac_ext
11867 cat >>conftest.$ac_ext <<_ACEOF
11868 /* end confdefs.h. */
11870 /* Override any GCC internal prototype to avoid an error.
11871 Use char because int might match the return type of a GCC
11872 builtin and then its argument prototype would still apply. */
11873 #ifdef __cplusplus
11874 extern "C"
11875 #endif
11876 char waddch ();
11878 main ()
11880 return waddch ();
11882 return 0;
11884 _ACEOF
11885 rm -f conftest.$ac_objext conftest$ac_exeext
11886 if { (ac_try="$ac_link"
11887 case "(($ac_try" in
11888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11890 esac
11891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_link") 2>conftest.er1
11893 ac_status=$?
11894 grep -v '^ *+' conftest.er1 >conftest.err
11895 rm -f conftest.er1
11896 cat conftest.err >&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } && {
11899 test -z "$ac_c_werror_flag" ||
11900 test ! -s conftest.err
11901 } && test -s conftest$ac_exeext &&
11902 $as_test_x conftest$ac_exeext; then
11903 case "$LIBEXT" in
11904 dll) ;;
11905 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'` ;;
11906 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11907 esac
11908 else
11909 echo "$as_me: failed program was:" >&5
11910 sed 's/^/| /' conftest.$ac_ext >&5
11915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11916 conftest$ac_exeext conftest.$ac_ext
11917 LIBS=$ac_check_soname_save_LIBS
11919 if test "x$ac_cv_lib_soname_curses" = "x"; then
11920 { echo "$as_me:$LINENO: result: not found" >&5
11921 echo "${ECHO_T}not found" >&6; }
11923 else
11924 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11925 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11927 cat >>confdefs.h <<_ACEOF
11928 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11929 _ACEOF
11931 CURSESLIBS="-lcurses"
11935 ac_save_LIBS="$LIBS"
11936 LIBS="$LIBS $CURSESLIBS"
11938 for ac_func in mousemask
11940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 else
11946 cat >conftest.$ac_ext <<_ACEOF
11947 /* confdefs.h. */
11948 _ACEOF
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11954 #define $ac_func innocuous_$ac_func
11956 /* System header to define __stub macros and hopefully few prototypes,
11957 which can conflict with char $ac_func (); below.
11958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11959 <limits.h> exists even on freestanding compilers. */
11961 #ifdef __STDC__
11962 # include <limits.h>
11963 #else
11964 # include <assert.h>
11965 #endif
11967 #undef $ac_func
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char $ac_func ();
11976 /* The GNU C library defines this for functions which it implements
11977 to always fail with ENOSYS. Some functions are actually named
11978 something starting with __ and the normal name is an alias. */
11979 #if defined __stub_$ac_func || defined __stub___$ac_func
11980 choke me
11981 #endif
11984 main ()
11986 return $ac_func ();
11988 return 0;
11990 _ACEOF
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (ac_try="$ac_link"
11993 case "(($ac_try" in
11994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11995 *) ac_try_echo=$ac_try;;
11996 esac
11997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11998 (eval "$ac_link") 2>conftest.er1
11999 ac_status=$?
12000 grep -v '^ *+' conftest.er1 >conftest.err
12001 rm -f conftest.er1
12002 cat conftest.err >&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); } && {
12005 test -z "$ac_c_werror_flag" ||
12006 test ! -s conftest.err
12007 } && test -s conftest$ac_exeext &&
12008 $as_test_x conftest$ac_exeext; then
12009 eval "$as_ac_var=yes"
12010 else
12011 echo "$as_me: failed program was:" >&5
12012 sed 's/^/| /' conftest.$ac_ext >&5
12014 eval "$as_ac_var=no"
12017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12018 conftest$ac_exeext conftest.$ac_ext
12020 ac_res=`eval echo '${'$as_ac_var'}'`
12021 { echo "$as_me:$LINENO: result: $ac_res" >&5
12022 echo "${ECHO_T}$ac_res" >&6; }
12023 if test `eval echo '${'$as_ac_var'}'` = yes; then
12024 cat >>confdefs.h <<_ACEOF
12025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12026 _ACEOF
12029 done
12031 LIBS="$ac_save_LIBS"
12032 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12033 wine_notices="$wine_notices|lib(n)curses development files not found.
12034 Wine will be built without (n)curses support. (wineconsole.exe)"
12038 # Extract the first word of "sane-config", so it can be a program name with args.
12039 set dummy sane-config; ac_word=$2
12040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12042 if test "${ac_cv_prog_sane_devel+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12044 else
12045 if test -n "$sane_devel"; then
12046 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12047 else
12048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12049 for as_dir in $PATH
12051 IFS=$as_save_IFS
12052 test -z "$as_dir" && as_dir=.
12053 for ac_exec_ext in '' $ac_executable_extensions; do
12054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12055 ac_cv_prog_sane_devel="sane-config"
12056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12057 break 2
12059 done
12060 done
12061 IFS=$as_save_IFS
12063 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12066 sane_devel=$ac_cv_prog_sane_devel
12067 if test -n "$sane_devel"; then
12068 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12069 echo "${ECHO_T}$sane_devel" >&6; }
12070 else
12071 { echo "$as_me:$LINENO: result: no" >&5
12072 echo "${ECHO_T}no" >&6; }
12076 if test "$sane_devel" != "no"
12077 then
12078 ac_sane_incl="`$sane_devel --cflags`"
12079 ac_save_CPPFLAGS="$CPPFLAGS"
12080 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12081 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12082 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12083 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12084 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12085 echo $ECHO_N "(cached) $ECHO_C" >&6
12087 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12088 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12089 else
12090 # Is the header compilable?
12091 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12092 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12093 cat >conftest.$ac_ext <<_ACEOF
12094 /* confdefs.h. */
12095 _ACEOF
12096 cat confdefs.h >>conftest.$ac_ext
12097 cat >>conftest.$ac_ext <<_ACEOF
12098 /* end confdefs.h. */
12099 $ac_includes_default
12100 #include <sane/sane.h>
12101 _ACEOF
12102 rm -f conftest.$ac_objext
12103 if { (ac_try="$ac_compile"
12104 case "(($ac_try" in
12105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12106 *) ac_try_echo=$ac_try;;
12107 esac
12108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12109 (eval "$ac_compile") 2>conftest.er1
12110 ac_status=$?
12111 grep -v '^ *+' conftest.er1 >conftest.err
12112 rm -f conftest.er1
12113 cat conftest.err >&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); } && {
12116 test -z "$ac_c_werror_flag" ||
12117 test ! -s conftest.err
12118 } && test -s conftest.$ac_objext; then
12119 ac_header_compiler=yes
12120 else
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 ac_header_compiler=no
12127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12128 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12129 echo "${ECHO_T}$ac_header_compiler" >&6; }
12131 # Is the header present?
12132 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12133 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12134 cat >conftest.$ac_ext <<_ACEOF
12135 /* confdefs.h. */
12136 _ACEOF
12137 cat confdefs.h >>conftest.$ac_ext
12138 cat >>conftest.$ac_ext <<_ACEOF
12139 /* end confdefs.h. */
12140 #include <sane/sane.h>
12141 _ACEOF
12142 if { (ac_try="$ac_cpp conftest.$ac_ext"
12143 case "(($ac_try" in
12144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12145 *) ac_try_echo=$ac_try;;
12146 esac
12147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12149 ac_status=$?
12150 grep -v '^ *+' conftest.er1 >conftest.err
12151 rm -f conftest.er1
12152 cat conftest.err >&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); } >/dev/null && {
12155 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12156 test ! -s conftest.err
12157 }; then
12158 ac_header_preproc=yes
12159 else
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.$ac_ext >&5
12163 ac_header_preproc=no
12166 rm -f conftest.err conftest.$ac_ext
12167 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12168 echo "${ECHO_T}$ac_header_preproc" >&6; }
12170 # So? What about this header?
12171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12172 yes:no: )
12173 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12174 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12175 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12176 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12177 ac_header_preproc=yes
12179 no:yes:* )
12180 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12181 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12182 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12183 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12185 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12186 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12187 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12188 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12189 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12191 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12192 ( cat <<\_ASBOX
12193 ## ------------------------------------ ##
12194 ## Report this to wine-devel@winehq.org ##
12195 ## ------------------------------------ ##
12196 _ASBOX
12197 ) | sed "s/^/$as_me: WARNING: /" >&2
12199 esac
12200 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12201 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12202 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12203 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 else
12205 ac_cv_header_sane_sane_h=$ac_header_preproc
12207 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12208 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12211 if test $ac_cv_header_sane_sane_h = yes; then
12212 { echo "$as_me:$LINENO: checking for -lsane" >&5
12213 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12214 if test "${ac_cv_lib_soname_sane+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 else
12217 ac_check_soname_save_LIBS=$LIBS
12218 LIBS="-lsane $LIBS"
12219 cat >conftest.$ac_ext <<_ACEOF
12220 /* confdefs.h. */
12221 _ACEOF
12222 cat confdefs.h >>conftest.$ac_ext
12223 cat >>conftest.$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char sane_init ();
12234 main ()
12236 return sane_init ();
12238 return 0;
12240 _ACEOF
12241 rm -f conftest.$ac_objext conftest$ac_exeext
12242 if { (ac_try="$ac_link"
12243 case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12246 esac
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_link") 2>conftest.er1
12249 ac_status=$?
12250 grep -v '^ *+' conftest.er1 >conftest.err
12251 rm -f conftest.er1
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } && {
12255 test -z "$ac_c_werror_flag" ||
12256 test ! -s conftest.err
12257 } && test -s conftest$ac_exeext &&
12258 $as_test_x conftest$ac_exeext; then
12259 case "$LIBEXT" in
12260 dll) ;;
12261 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'` ;;
12262 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12263 esac
12264 else
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if test "x$ac_cv_lib_soname_sane" = "x"; then
12276 { echo "$as_me:$LINENO: result: not found" >&5
12277 echo "${ECHO_T}not found" >&6; }
12279 else
12280 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12281 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12285 _ACEOF
12287 SANEINCL="$ac_sane_incl"
12294 CPPFLAGS="$ac_save_CPPFLAGS"
12296 if test "x$ac_cv_lib_soname_sane" = "x"; then
12297 wine_notices="$wine_notices|libsane development files not found.
12298 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12302 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12303 set dummy gphoto2-config; ac_word=$2
12304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12306 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 else
12309 if test -n "$gphoto2_devel"; then
12310 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12311 else
12312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12313 for as_dir in $PATH
12315 IFS=$as_save_IFS
12316 test -z "$as_dir" && as_dir=.
12317 for ac_exec_ext in '' $ac_executable_extensions; do
12318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12319 ac_cv_prog_gphoto2_devel="gphoto2-config"
12320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12321 break 2
12323 done
12324 done
12325 IFS=$as_save_IFS
12327 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12330 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12331 if test -n "$gphoto2_devel"; then
12332 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12333 echo "${ECHO_T}$gphoto2_devel" >&6; }
12334 else
12335 { echo "$as_me:$LINENO: result: no" >&5
12336 echo "${ECHO_T}no" >&6; }
12340 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12341 set dummy gphoto2-port-config; ac_word=$2
12342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12344 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12346 else
12347 if test -n "$gphoto2port_devel"; then
12348 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12349 else
12350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12351 for as_dir in $PATH
12353 IFS=$as_save_IFS
12354 test -z "$as_dir" && as_dir=.
12355 for ac_exec_ext in '' $ac_executable_extensions; do
12356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12357 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12359 break 2
12361 done
12362 done
12363 IFS=$as_save_IFS
12365 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12368 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12369 if test -n "$gphoto2port_devel"; then
12370 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12371 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12372 else
12373 { echo "$as_me:$LINENO: result: no" >&5
12374 echo "${ECHO_T}no" >&6; }
12378 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12379 then
12380 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12381 ac_gphoto2_libs=""
12382 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12384 case "$i" in
12385 -L/usr/lib|-L/usr/lib64) ;;
12386 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12387 esac
12388 done
12389 ac_save_CPPFLAGS="$CPPFLAGS"
12390 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12391 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12392 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12393 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12394 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12398 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12399 else
12400 # Is the header compilable?
12401 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12402 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12403 cat >conftest.$ac_ext <<_ACEOF
12404 /* confdefs.h. */
12405 _ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12409 $ac_includes_default
12410 #include <gphoto2-camera.h>
12411 _ACEOF
12412 rm -f conftest.$ac_objext
12413 if { (ac_try="$ac_compile"
12414 case "(($ac_try" in
12415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12416 *) ac_try_echo=$ac_try;;
12417 esac
12418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12419 (eval "$ac_compile") 2>conftest.er1
12420 ac_status=$?
12421 grep -v '^ *+' conftest.er1 >conftest.err
12422 rm -f conftest.er1
12423 cat conftest.err >&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } && {
12426 test -z "$ac_c_werror_flag" ||
12427 test ! -s conftest.err
12428 } && test -s conftest.$ac_objext; then
12429 ac_header_compiler=yes
12430 else
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12434 ac_header_compiler=no
12437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12438 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12439 echo "${ECHO_T}$ac_header_compiler" >&6; }
12441 # Is the header present?
12442 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12443 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12444 cat >conftest.$ac_ext <<_ACEOF
12445 /* confdefs.h. */
12446 _ACEOF
12447 cat confdefs.h >>conftest.$ac_ext
12448 cat >>conftest.$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450 #include <gphoto2-camera.h>
12451 _ACEOF
12452 if { (ac_try="$ac_cpp conftest.$ac_ext"
12453 case "(($ac_try" in
12454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12455 *) ac_try_echo=$ac_try;;
12456 esac
12457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12459 ac_status=$?
12460 grep -v '^ *+' conftest.er1 >conftest.err
12461 rm -f conftest.er1
12462 cat conftest.err >&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } >/dev/null && {
12465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12466 test ! -s conftest.err
12467 }; then
12468 ac_header_preproc=yes
12469 else
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_header_preproc=no
12476 rm -f conftest.err conftest.$ac_ext
12477 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12478 echo "${ECHO_T}$ac_header_preproc" >&6; }
12480 # So? What about this header?
12481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12482 yes:no: )
12483 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12484 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12485 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12486 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12487 ac_header_preproc=yes
12489 no:yes:* )
12490 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12491 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12492 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12493 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12494 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12495 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12496 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12497 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12499 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12501 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12502 ( cat <<\_ASBOX
12503 ## ------------------------------------ ##
12504 ## Report this to wine-devel@winehq.org ##
12505 ## ------------------------------------ ##
12506 _ASBOX
12507 ) | sed "s/^/$as_me: WARNING: /" >&2
12509 esac
12510 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12511 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12512 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12514 else
12515 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12517 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12518 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12521 if test $ac_cv_header_gphoto2_camera_h = yes; then
12522 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12523 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12524 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12525 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 else
12527 ac_check_lib_save_LIBS=$LIBS
12528 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12529 cat >conftest.$ac_ext <<_ACEOF
12530 /* confdefs.h. */
12531 _ACEOF
12532 cat confdefs.h >>conftest.$ac_ext
12533 cat >>conftest.$ac_ext <<_ACEOF
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12539 #ifdef __cplusplus
12540 extern "C"
12541 #endif
12542 char gp_camera_new ();
12544 main ()
12546 return gp_camera_new ();
12548 return 0;
12550 _ACEOF
12551 rm -f conftest.$ac_objext conftest$ac_exeext
12552 if { (ac_try="$ac_link"
12553 case "(($ac_try" in
12554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12555 *) ac_try_echo=$ac_try;;
12556 esac
12557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12558 (eval "$ac_link") 2>conftest.er1
12559 ac_status=$?
12560 grep -v '^ *+' conftest.er1 >conftest.err
12561 rm -f conftest.er1
12562 cat conftest.err >&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } && {
12565 test -z "$ac_c_werror_flag" ||
12566 test ! -s conftest.err
12567 } && test -s conftest$ac_exeext &&
12568 $as_test_x conftest$ac_exeext; then
12569 ac_cv_lib_gphoto2_gp_camera_new=yes
12570 else
12571 echo "$as_me: failed program was:" >&5
12572 sed 's/^/| /' conftest.$ac_ext >&5
12574 ac_cv_lib_gphoto2_gp_camera_new=no
12577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12578 conftest$ac_exeext conftest.$ac_ext
12579 LIBS=$ac_check_lib_save_LIBS
12581 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12582 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12583 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12585 cat >>confdefs.h <<\_ACEOF
12586 #define HAVE_GPHOTO2 1
12587 _ACEOF
12589 GPHOTO2LIBS="$ac_gphoto2_libs"
12591 GPHOTO2INCL="$ac_gphoto2_incl"
12598 CPPFLAGS="$ac_save_CPPFLAGS"
12600 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12601 wine_notices="$wine_notices|libgphoto2 development files not found.
12602 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12607 RESOLVLIBS=""
12609 if test "$ac_cv_header_resolv_h" = "yes"
12610 then
12611 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12612 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12613 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12614 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 else
12616 ac_check_lib_save_LIBS=$LIBS
12617 LIBS="-lresolv $LIBS"
12618 cat >conftest.$ac_ext <<_ACEOF
12619 /* confdefs.h. */
12620 _ACEOF
12621 cat confdefs.h >>conftest.$ac_ext
12622 cat >>conftest.$ac_ext <<_ACEOF
12623 /* end confdefs.h. */
12625 /* Override any GCC internal prototype to avoid an error.
12626 Use char because int might match the return type of a GCC
12627 builtin and then its argument prototype would still apply. */
12628 #ifdef __cplusplus
12629 extern "C"
12630 #endif
12631 char res_query ();
12633 main ()
12635 return res_query ();
12637 return 0;
12639 _ACEOF
12640 rm -f conftest.$ac_objext conftest$ac_exeext
12641 if { (ac_try="$ac_link"
12642 case "(($ac_try" in
12643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12644 *) ac_try_echo=$ac_try;;
12645 esac
12646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12647 (eval "$ac_link") 2>conftest.er1
12648 ac_status=$?
12649 grep -v '^ *+' conftest.er1 >conftest.err
12650 rm -f conftest.er1
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } && {
12654 test -z "$ac_c_werror_flag" ||
12655 test ! -s conftest.err
12656 } && test -s conftest$ac_exeext &&
12657 $as_test_x conftest$ac_exeext; then
12658 ac_cv_lib_resolv_res_query=yes
12659 else
12660 echo "$as_me: failed program was:" >&5
12661 sed 's/^/| /' conftest.$ac_ext >&5
12663 ac_cv_lib_resolv_res_query=no
12666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12667 conftest$ac_exeext conftest.$ac_ext
12668 LIBS=$ac_check_lib_save_LIBS
12670 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12671 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12672 if test $ac_cv_lib_resolv_res_query = yes; then
12674 cat >>confdefs.h <<\_ACEOF
12675 #define HAVE_RESOLV 1
12676 _ACEOF
12678 RESOLVLIBS="-lresolv"
12683 LCMSLIBS=""
12685 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12686 then
12687 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12688 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12689 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12691 else
12692 ac_check_lib_save_LIBS=$LIBS
12693 LIBS="-llcms $LIBS"
12694 cat >conftest.$ac_ext <<_ACEOF
12695 /* confdefs.h. */
12696 _ACEOF
12697 cat confdefs.h >>conftest.$ac_ext
12698 cat >>conftest.$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12704 #ifdef __cplusplus
12705 extern "C"
12706 #endif
12707 char cmsOpenProfileFromFile ();
12709 main ()
12711 return cmsOpenProfileFromFile ();
12713 return 0;
12715 _ACEOF
12716 rm -f conftest.$ac_objext conftest$ac_exeext
12717 if { (ac_try="$ac_link"
12718 case "(($ac_try" in
12719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12720 *) ac_try_echo=$ac_try;;
12721 esac
12722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12723 (eval "$ac_link") 2>conftest.er1
12724 ac_status=$?
12725 grep -v '^ *+' conftest.er1 >conftest.err
12726 rm -f conftest.er1
12727 cat conftest.err >&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); } && {
12730 test -z "$ac_c_werror_flag" ||
12731 test ! -s conftest.err
12732 } && test -s conftest$ac_exeext &&
12733 $as_test_x conftest$ac_exeext; then
12734 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12735 else
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.$ac_ext >&5
12739 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12743 conftest$ac_exeext conftest.$ac_ext
12744 LIBS=$ac_check_lib_save_LIBS
12746 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12747 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12748 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12750 cat >>confdefs.h <<\_ACEOF
12751 #define HAVE_LCMS 1
12752 _ACEOF
12754 LCMSLIBS="-llcms"
12758 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12759 wine_notices="$wine_notices|liblcms development files not found.
12760 Wine will be built without Color Management support. (mscms.dll)"
12764 LDAPLIBS=""
12766 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12767 then
12768 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12769 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12770 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12771 echo $ECHO_N "(cached) $ECHO_C" >&6
12772 else
12773 ac_check_lib_save_LIBS=$LIBS
12774 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12775 cat >conftest.$ac_ext <<_ACEOF
12776 /* confdefs.h. */
12777 _ACEOF
12778 cat confdefs.h >>conftest.$ac_ext
12779 cat >>conftest.$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12782 /* Override any GCC internal prototype to avoid an error.
12783 Use char because int might match the return type of a GCC
12784 builtin and then its argument prototype would still apply. */
12785 #ifdef __cplusplus
12786 extern "C"
12787 #endif
12788 char ldap_initialize ();
12790 main ()
12792 return ldap_initialize ();
12794 return 0;
12796 _ACEOF
12797 rm -f conftest.$ac_objext conftest$ac_exeext
12798 if { (ac_try="$ac_link"
12799 case "(($ac_try" in
12800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12801 *) ac_try_echo=$ac_try;;
12802 esac
12803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12804 (eval "$ac_link") 2>conftest.er1
12805 ac_status=$?
12806 grep -v '^ *+' conftest.er1 >conftest.err
12807 rm -f conftest.er1
12808 cat conftest.err >&5
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); } && {
12811 test -z "$ac_c_werror_flag" ||
12812 test ! -s conftest.err
12813 } && test -s conftest$ac_exeext &&
12814 $as_test_x conftest$ac_exeext; then
12815 ac_cv_lib_ldap_r_ldap_initialize=yes
12816 else
12817 echo "$as_me: failed program was:" >&5
12818 sed 's/^/| /' conftest.$ac_ext >&5
12820 ac_cv_lib_ldap_r_ldap_initialize=no
12823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_lib_save_LIBS
12827 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12828 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12829 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12830 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12831 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12832 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12833 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 else
12835 ac_check_lib_save_LIBS=$LIBS
12836 LIBS="-llber $LIBPTHREAD $LIBS"
12837 cat >conftest.$ac_ext <<_ACEOF
12838 /* confdefs.h. */
12839 _ACEOF
12840 cat confdefs.h >>conftest.$ac_ext
12841 cat >>conftest.$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12847 #ifdef __cplusplus
12848 extern "C"
12849 #endif
12850 char ber_init ();
12852 main ()
12854 return ber_init ();
12856 return 0;
12858 _ACEOF
12859 rm -f conftest.$ac_objext conftest$ac_exeext
12860 if { (ac_try="$ac_link"
12861 case "(($ac_try" in
12862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12863 *) ac_try_echo=$ac_try;;
12864 esac
12865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12866 (eval "$ac_link") 2>conftest.er1
12867 ac_status=$?
12868 grep -v '^ *+' conftest.er1 >conftest.err
12869 rm -f conftest.er1
12870 cat conftest.err >&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } && {
12873 test -z "$ac_c_werror_flag" ||
12874 test ! -s conftest.err
12875 } && test -s conftest$ac_exeext &&
12876 $as_test_x conftest$ac_exeext; then
12877 ac_cv_lib_lber_ber_init=yes
12878 else
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.$ac_ext >&5
12882 ac_cv_lib_lber_ber_init=no
12885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_lib_save_LIBS
12889 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12890 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12891 if test $ac_cv_lib_lber_ber_init = yes; then
12893 cat >>confdefs.h <<\_ACEOF
12894 #define HAVE_LDAP 1
12895 _ACEOF
12897 LDAPLIBS="-lldap_r -llber"
12902 ac_wine_check_funcs_save_LIBS="$LIBS"
12903 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12912 for ac_func in \
12913 ldap_count_references \
12914 ldap_first_reference \
12915 ldap_next_reference \
12916 ldap_parse_reference \
12917 ldap_parse_sort_control \
12918 ldap_parse_sortresponse_control \
12919 ldap_parse_vlv_control \
12920 ldap_parse_vlvresponse_control
12922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 else
12928 cat >conftest.$ac_ext <<_ACEOF
12929 /* confdefs.h. */
12930 _ACEOF
12931 cat confdefs.h >>conftest.$ac_ext
12932 cat >>conftest.$ac_ext <<_ACEOF
12933 /* end confdefs.h. */
12934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12936 #define $ac_func innocuous_$ac_func
12938 /* System header to define __stub macros and hopefully few prototypes,
12939 which can conflict with char $ac_func (); below.
12940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12941 <limits.h> exists even on freestanding compilers. */
12943 #ifdef __STDC__
12944 # include <limits.h>
12945 #else
12946 # include <assert.h>
12947 #endif
12949 #undef $ac_func
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char $ac_func ();
12958 /* The GNU C library defines this for functions which it implements
12959 to always fail with ENOSYS. Some functions are actually named
12960 something starting with __ and the normal name is an alias. */
12961 #if defined __stub_$ac_func || defined __stub___$ac_func
12962 choke me
12963 #endif
12966 main ()
12968 return $ac_func ();
12970 return 0;
12972 _ACEOF
12973 rm -f conftest.$ac_objext conftest$ac_exeext
12974 if { (ac_try="$ac_link"
12975 case "(($ac_try" in
12976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12977 *) ac_try_echo=$ac_try;;
12978 esac
12979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12980 (eval "$ac_link") 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } && {
12987 test -z "$ac_c_werror_flag" ||
12988 test ! -s conftest.err
12989 } && test -s conftest$ac_exeext &&
12990 $as_test_x conftest$ac_exeext; then
12991 eval "$as_ac_var=yes"
12992 else
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12996 eval "$as_ac_var=no"
12999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13000 conftest$ac_exeext conftest.$ac_ext
13002 ac_res=`eval echo '${'$as_ac_var'}'`
13003 { echo "$as_me:$LINENO: result: $ac_res" >&5
13004 echo "${ECHO_T}$ac_res" >&6; }
13005 if test `eval echo '${'$as_ac_var'}'` = yes; then
13006 cat >>confdefs.h <<_ACEOF
13007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13008 _ACEOF
13011 done
13013 LIBS="$ac_wine_check_funcs_save_LIBS"
13015 if test "x$LDAPLIBS" = "x"; then
13016 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13017 Wine will be built without LDAP support. (wldap32.dll)"
13021 for ac_prog in freetype-config freetype2-config
13023 # Extract the first word of "$ac_prog", so it can be a program name with args.
13024 set dummy $ac_prog; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_ft_devel+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030 if test -n "$ft_devel"; then
13031 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13032 else
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13036 IFS=$as_save_IFS
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_ft_devel="$ac_prog"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 break 2
13044 done
13045 done
13046 IFS=$as_save_IFS
13050 ft_devel=$ac_cv_prog_ft_devel
13051 if test -n "$ft_devel"; then
13052 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13053 echo "${ECHO_T}$ft_devel" >&6; }
13054 else
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13060 test -n "$ft_devel" && break
13061 done
13062 test -n "$ft_devel" || ft_devel="false"
13064 if test "$ft_devel" != "false"
13065 then
13066 ac_freetype_libs=`$ft_devel --libs`
13067 ac_freetype_incl=`$ft_devel --cflags`
13068 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13069 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13070 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 else
13073 ac_check_soname_save_LIBS=$LIBS
13074 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13075 cat >conftest.$ac_ext <<_ACEOF
13076 /* confdefs.h. */
13077 _ACEOF
13078 cat confdefs.h >>conftest.$ac_ext
13079 cat >>conftest.$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13085 #ifdef __cplusplus
13086 extern "C"
13087 #endif
13088 char FT_Init_FreeType ();
13090 main ()
13092 return FT_Init_FreeType ();
13094 return 0;
13096 _ACEOF
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13102 esac
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext &&
13114 $as_test_x conftest$ac_exeext; then
13115 case "$LIBEXT" in
13116 dll) ;;
13117 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'` ;;
13118 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13119 esac
13120 else
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.$ac_ext >&5
13127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS=$ac_check_soname_save_LIBS
13131 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13132 { echo "$as_me:$LINENO: result: not found" >&5
13133 echo "${ECHO_T}not found" >&6; }
13134 ft_lib=no
13135 else
13136 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13137 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13139 cat >>confdefs.h <<_ACEOF
13140 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13141 _ACEOF
13143 ft_lib=yes
13146 if test "$ft_lib" = "yes"
13147 then
13148 ac_save_CPPFLAGS="$CPPFLAGS"
13149 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13162 for ac_header in ft2build.h \
13163 freetype/freetype.h \
13164 freetype/ftglyph.h \
13165 freetype/fttypes.h \
13166 freetype/tttables.h \
13167 freetype/ftnames.h \
13168 freetype/ftsnames.h \
13169 freetype/ttnameid.h \
13170 freetype/ftoutln.h \
13171 freetype/ftwinfnt.h \
13172 freetype/ftmodapi.h \
13173 freetype/internal/sfnt.h
13175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 else
13181 cat >conftest.$ac_ext <<_ACEOF
13182 /* confdefs.h. */
13183 _ACEOF
13184 cat confdefs.h >>conftest.$ac_ext
13185 cat >>conftest.$ac_ext <<_ACEOF
13186 /* end confdefs.h. */
13187 #if HAVE_FT2BUILD_H
13188 #include <ft2build.h>
13189 #endif
13191 #include <$ac_header>
13192 _ACEOF
13193 rm -f conftest.$ac_objext
13194 if { (ac_try="$ac_compile"
13195 case "(($ac_try" in
13196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13197 *) ac_try_echo=$ac_try;;
13198 esac
13199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13200 (eval "$ac_compile") 2>conftest.er1
13201 ac_status=$?
13202 grep -v '^ *+' conftest.er1 >conftest.err
13203 rm -f conftest.er1
13204 cat conftest.err >&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } && {
13207 test -z "$ac_c_werror_flag" ||
13208 test ! -s conftest.err
13209 } && test -s conftest.$ac_objext; then
13210 eval "$as_ac_Header=yes"
13211 else
13212 echo "$as_me: failed program was:" >&5
13213 sed 's/^/| /' conftest.$ac_ext >&5
13215 eval "$as_ac_Header=no"
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13220 ac_res=`eval echo '${'$as_ac_Header'}'`
13221 { echo "$as_me:$LINENO: result: $ac_res" >&5
13222 echo "${ECHO_T}$ac_res" >&6; }
13223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13224 cat >>confdefs.h <<_ACEOF
13225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13226 _ACEOF
13230 done
13232 cat >conftest.$ac_ext <<_ACEOF
13233 /* confdefs.h. */
13234 _ACEOF
13235 cat confdefs.h >>conftest.$ac_ext
13236 cat >>conftest.$ac_ext <<_ACEOF
13237 /* end confdefs.h. */
13238 #include <ft2build.h>
13239 #include <freetype/fttrigon.h>
13240 _ACEOF
13241 if { (ac_try="$ac_cpp conftest.$ac_ext"
13242 case "(($ac_try" in
13243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13244 *) ac_try_echo=$ac_try;;
13245 esac
13246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13248 ac_status=$?
13249 grep -v '^ *+' conftest.er1 >conftest.err
13250 rm -f conftest.er1
13251 cat conftest.err >&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); } >/dev/null && {
13254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13255 test ! -s conftest.err
13256 }; then
13258 cat >>confdefs.h <<\_ACEOF
13259 #define HAVE_FREETYPE_FTTRIGON_H 1
13260 _ACEOF
13262 wine_cv_fttrigon=yes
13263 else
13264 echo "$as_me: failed program was:" >&5
13265 sed 's/^/| /' conftest.$ac_ext >&5
13267 wine_cv_fttrigon=no
13270 rm -f conftest.err conftest.$ac_ext
13271 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13272 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13273 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 else
13276 cat >conftest.$ac_ext <<_ACEOF
13277 /* confdefs.h. */
13278 _ACEOF
13279 cat confdefs.h >>conftest.$ac_ext
13280 cat >>conftest.$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 #include <freetype/ftmodapi.h>
13284 typedef FT_TrueTypeEngineType ac__type_new_;
13286 main ()
13288 if ((ac__type_new_ *) 0)
13289 return 0;
13290 if (sizeof (ac__type_new_))
13291 return 0;
13293 return 0;
13295 _ACEOF
13296 rm -f conftest.$ac_objext
13297 if { (ac_try="$ac_compile"
13298 case "(($ac_try" in
13299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13300 *) ac_try_echo=$ac_try;;
13301 esac
13302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13303 (eval "$ac_compile") 2>conftest.er1
13304 ac_status=$?
13305 grep -v '^ *+' conftest.er1 >conftest.err
13306 rm -f conftest.er1
13307 cat conftest.err >&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } && {
13310 test -z "$ac_c_werror_flag" ||
13311 test ! -s conftest.err
13312 } && test -s conftest.$ac_objext; then
13313 ac_cv_type_FT_TrueTypeEngineType=yes
13314 else
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.$ac_ext >&5
13318 ac_cv_type_FT_TrueTypeEngineType=no
13321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13323 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13324 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13325 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13327 cat >>confdefs.h <<_ACEOF
13328 #define HAVE_FT_TRUETYPEENGINETYPE 1
13329 _ACEOF
13334 ac_save_CFLAGS="$CFLAGS"
13335 CFLAGS="$CFLAGS $ac_freetype_libs"
13337 for ac_func in FT_Load_Sfnt_Table
13339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13353 #define $ac_func innocuous_$ac_func
13355 /* System header to define __stub macros and hopefully few prototypes,
13356 which can conflict with char $ac_func (); below.
13357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13358 <limits.h> exists even on freestanding compilers. */
13360 #ifdef __STDC__
13361 # include <limits.h>
13362 #else
13363 # include <assert.h>
13364 #endif
13366 #undef $ac_func
13368 /* Override any GCC internal prototype to avoid an error.
13369 Use char because int might match the return type of a GCC
13370 builtin and then its argument prototype would still apply. */
13371 #ifdef __cplusplus
13372 extern "C"
13373 #endif
13374 char $ac_func ();
13375 /* The GNU C library defines this for functions which it implements
13376 to always fail with ENOSYS. Some functions are actually named
13377 something starting with __ and the normal name is an alias. */
13378 #if defined __stub_$ac_func || defined __stub___$ac_func
13379 choke me
13380 #endif
13383 main ()
13385 return $ac_func ();
13387 return 0;
13389 _ACEOF
13390 rm -f conftest.$ac_objext conftest$ac_exeext
13391 if { (ac_try="$ac_link"
13392 case "(($ac_try" in
13393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13394 *) ac_try_echo=$ac_try;;
13395 esac
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_link") 2>conftest.er1
13398 ac_status=$?
13399 grep -v '^ *+' conftest.er1 >conftest.err
13400 rm -f conftest.er1
13401 cat conftest.err >&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && {
13404 test -z "$ac_c_werror_flag" ||
13405 test ! -s conftest.err
13406 } && test -s conftest$ac_exeext &&
13407 $as_test_x conftest$ac_exeext; then
13408 eval "$as_ac_var=yes"
13409 else
13410 echo "$as_me: failed program was:" >&5
13411 sed 's/^/| /' conftest.$ac_ext >&5
13413 eval "$as_ac_var=no"
13416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13417 conftest$ac_exeext conftest.$ac_ext
13419 ac_res=`eval echo '${'$as_ac_var'}'`
13420 { echo "$as_me:$LINENO: result: $ac_res" >&5
13421 echo "${ECHO_T}$ac_res" >&6; }
13422 if test `eval echo '${'$as_ac_var'}'` = yes; then
13423 cat >>confdefs.h <<_ACEOF
13424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13425 _ACEOF
13428 done
13430 CFLAGS="$ac_save_CFLAGS"
13431 CPPFLAGS="$ac_save_CPPFLAGS"
13432 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13433 then
13435 cat >>confdefs.h <<\_ACEOF
13436 #define HAVE_FREETYPE 1
13437 _ACEOF
13439 FREETYPELIBS="$ac_freetype_libs"
13441 FREETYPEINCL="$ac_freetype_incl"
13447 if test "$FONTFORGE" = "false"
13448 then
13449 wine_warnings="$wine_warnings|FontForge is missing.
13450 Fonts will not be built. Dialog text may be invisible or unaligned."
13451 elif test "x$FREETYPELIBS" = "x"
13452 then
13453 wine_warnings="$wine_warnings|FreeType development files not found.
13454 Fonts will not be built. Dialog text may be invisible or unaligned."
13455 else
13456 FONTSSUBDIRS="fonts"
13460 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13461 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13462 if test "${ac_cv_c_ppdev+set}" = set; then
13463 echo $ECHO_N "(cached) $ECHO_C" >&6
13464 else
13465 cat >conftest.$ac_ext <<_ACEOF
13466 /* confdefs.h. */
13467 _ACEOF
13468 cat confdefs.h >>conftest.$ac_ext
13469 cat >>conftest.$ac_ext <<_ACEOF
13470 /* end confdefs.h. */
13471 #include <linux/ppdev.h>
13473 main ()
13475 ioctl (1,PPCLAIM,0)
13477 return 0;
13479 _ACEOF
13480 rm -f conftest.$ac_objext
13481 if { (ac_try="$ac_compile"
13482 case "(($ac_try" in
13483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13484 *) ac_try_echo=$ac_try;;
13485 esac
13486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13487 (eval "$ac_compile") 2>conftest.er1
13488 ac_status=$?
13489 grep -v '^ *+' conftest.er1 >conftest.err
13490 rm -f conftest.er1
13491 cat conftest.err >&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } && {
13494 test -z "$ac_c_werror_flag" ||
13495 test ! -s conftest.err
13496 } && test -s conftest.$ac_objext; then
13497 ac_cv_c_ppdev="yes"
13498 else
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.$ac_ext >&5
13502 ac_cv_c_ppdev="no"
13505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13507 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13508 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13509 if test "$ac_cv_c_ppdev" = "yes"
13510 then
13512 cat >>confdefs.h <<\_ACEOF
13513 #define HAVE_PPDEV 1
13514 _ACEOF
13518 { echo "$as_me:$LINENO: checking for va_copy" >&5
13519 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13520 if test "${ac_cv_c_va_copy+set}" = set; then
13521 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 else
13523 cat >conftest.$ac_ext <<_ACEOF
13524 /* confdefs.h. */
13525 _ACEOF
13526 cat confdefs.h >>conftest.$ac_ext
13527 cat >>conftest.$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 #include <stdarg.h>
13531 main ()
13533 va_list ap1, ap2; va_copy(ap1,ap2);
13535 return 0;
13537 _ACEOF
13538 rm -f conftest.$ac_objext conftest$ac_exeext
13539 if { (ac_try="$ac_link"
13540 case "(($ac_try" in
13541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13542 *) ac_try_echo=$ac_try;;
13543 esac
13544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13545 (eval "$ac_link") 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } && {
13552 test -z "$ac_c_werror_flag" ||
13553 test ! -s conftest.err
13554 } && test -s conftest$ac_exeext &&
13555 $as_test_x conftest$ac_exeext; then
13556 ac_cv_c_va_copy="yes"
13557 else
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.$ac_ext >&5
13561 ac_cv_c_va_copy="no"
13564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13565 conftest$ac_exeext conftest.$ac_ext
13568 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13569 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13570 if test "$ac_cv_c_va_copy" = "yes"
13571 then
13573 cat >>confdefs.h <<\_ACEOF
13574 #define HAVE_VA_COPY 1
13575 _ACEOF
13578 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13579 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13580 if test "${ac_cv_c___va_copy+set}" = set; then
13581 echo $ECHO_N "(cached) $ECHO_C" >&6
13582 else
13583 cat >conftest.$ac_ext <<_ACEOF
13584 /* confdefs.h. */
13585 _ACEOF
13586 cat confdefs.h >>conftest.$ac_ext
13587 cat >>conftest.$ac_ext <<_ACEOF
13588 /* end confdefs.h. */
13589 #include <stdarg.h>
13591 main ()
13593 va_list ap1, ap2; __va_copy(ap1,ap2);
13595 return 0;
13597 _ACEOF
13598 rm -f conftest.$ac_objext conftest$ac_exeext
13599 if { (ac_try="$ac_link"
13600 case "(($ac_try" in
13601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13602 *) ac_try_echo=$ac_try;;
13603 esac
13604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13605 (eval "$ac_link") 2>conftest.er1
13606 ac_status=$?
13607 grep -v '^ *+' conftest.er1 >conftest.err
13608 rm -f conftest.er1
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } && {
13612 test -z "$ac_c_werror_flag" ||
13613 test ! -s conftest.err
13614 } && test -s conftest$ac_exeext &&
13615 $as_test_x conftest$ac_exeext; then
13616 ac_cv_c___va_copy="yes"
13617 else
13618 echo "$as_me: failed program was:" >&5
13619 sed 's/^/| /' conftest.$ac_ext >&5
13621 ac_cv_c___va_copy="no"
13624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13625 conftest$ac_exeext conftest.$ac_ext
13628 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13629 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13630 if test "$ac_cv_c___va_copy" = "yes"
13631 then
13633 cat >>confdefs.h <<\_ACEOF
13634 #define HAVE___VA_COPY 1
13635 _ACEOF
13639 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13640 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13641 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 else
13644 cat >conftest.$ac_ext <<_ACEOF
13645 /* confdefs.h. */
13646 _ACEOF
13647 cat confdefs.h >>conftest.$ac_ext
13648 cat >>conftest.$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13650 #include <setjmp.h>
13652 main ()
13654 sigjmp_buf buf;
13655 sigsetjmp( buf, 1 );
13656 siglongjmp( buf, 1 );
13658 return 0;
13660 _ACEOF
13661 rm -f conftest.$ac_objext conftest$ac_exeext
13662 if { (ac_try="$ac_link"
13663 case "(($ac_try" in
13664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13665 *) ac_try_echo=$ac_try;;
13666 esac
13667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13668 (eval "$ac_link") 2>conftest.er1
13669 ac_status=$?
13670 grep -v '^ *+' conftest.er1 >conftest.err
13671 rm -f conftest.er1
13672 cat conftest.err >&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } && {
13675 test -z "$ac_c_werror_flag" ||
13676 test ! -s conftest.err
13677 } && test -s conftest$ac_exeext &&
13678 $as_test_x conftest$ac_exeext; then
13679 ac_cv_c_sigsetjmp="yes"
13680 else
13681 echo "$as_me: failed program was:" >&5
13682 sed 's/^/| /' conftest.$ac_ext >&5
13684 ac_cv_c_sigsetjmp="no"
13687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13688 conftest$ac_exeext conftest.$ac_ext
13691 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13692 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13693 if test "$ac_cv_c_sigsetjmp" = "yes"
13694 then
13696 cat >>confdefs.h <<\_ACEOF
13697 #define HAVE_SIGSETJMP 1
13698 _ACEOF
13702 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13703 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13704 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 else
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #define _GNU_SOURCE
13714 #include <pthread.h>
13716 typedef pthread_rwlock_t ac__type_new_;
13718 main ()
13720 if ((ac__type_new_ *) 0)
13721 return 0;
13722 if (sizeof (ac__type_new_))
13723 return 0;
13725 return 0;
13727 _ACEOF
13728 rm -f conftest.$ac_objext
13729 if { (ac_try="$ac_compile"
13730 case "(($ac_try" in
13731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13732 *) ac_try_echo=$ac_try;;
13733 esac
13734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13735 (eval "$ac_compile") 2>conftest.er1
13736 ac_status=$?
13737 grep -v '^ *+' conftest.er1 >conftest.err
13738 rm -f conftest.er1
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } && {
13742 test -z "$ac_c_werror_flag" ||
13743 test ! -s conftest.err
13744 } && test -s conftest.$ac_objext; then
13745 ac_cv_type_pthread_rwlock_t=yes
13746 else
13747 echo "$as_me: failed program was:" >&5
13748 sed 's/^/| /' conftest.$ac_ext >&5
13750 ac_cv_type_pthread_rwlock_t=no
13753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13755 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13756 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13757 if test $ac_cv_type_pthread_rwlock_t = yes; then
13759 cat >>confdefs.h <<_ACEOF
13760 #define HAVE_PTHREAD_RWLOCK_T 1
13761 _ACEOF
13765 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13766 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13767 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13769 else
13770 cat >conftest.$ac_ext <<_ACEOF
13771 /* confdefs.h. */
13772 _ACEOF
13773 cat confdefs.h >>conftest.$ac_ext
13774 cat >>conftest.$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 #define _GNU_SOURCE
13777 #include <pthread.h>
13779 typedef pthread_rwlockattr_t ac__type_new_;
13781 main ()
13783 if ((ac__type_new_ *) 0)
13784 return 0;
13785 if (sizeof (ac__type_new_))
13786 return 0;
13788 return 0;
13790 _ACEOF
13791 rm -f conftest.$ac_objext
13792 if { (ac_try="$ac_compile"
13793 case "(($ac_try" in
13794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13795 *) ac_try_echo=$ac_try;;
13796 esac
13797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13798 (eval "$ac_compile") 2>conftest.er1
13799 ac_status=$?
13800 grep -v '^ *+' conftest.er1 >conftest.err
13801 rm -f conftest.er1
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } && {
13805 test -z "$ac_c_werror_flag" ||
13806 test ! -s conftest.err
13807 } && test -s conftest.$ac_objext; then
13808 ac_cv_type_pthread_rwlockattr_t=yes
13809 else
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13813 ac_cv_type_pthread_rwlockattr_t=no
13816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13818 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13819 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13820 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13822 cat >>confdefs.h <<_ACEOF
13823 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13824 _ACEOF
13830 ac_wine_check_funcs_save_LIBS="$LIBS"
13831 LIBS="$LIBS $LIBPTHREAD"
13836 for ac_func in \
13837 pthread_attr_get_np \
13838 pthread_getattr_np \
13839 pthread_get_stackaddr_np \
13840 pthread_get_stacksize_np
13842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848 cat >conftest.$ac_ext <<_ACEOF
13849 /* confdefs.h. */
13850 _ACEOF
13851 cat confdefs.h >>conftest.$ac_ext
13852 cat >>conftest.$ac_ext <<_ACEOF
13853 /* end confdefs.h. */
13854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13856 #define $ac_func innocuous_$ac_func
13858 /* System header to define __stub macros and hopefully few prototypes,
13859 which can conflict with char $ac_func (); below.
13860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13861 <limits.h> exists even on freestanding compilers. */
13863 #ifdef __STDC__
13864 # include <limits.h>
13865 #else
13866 # include <assert.h>
13867 #endif
13869 #undef $ac_func
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 #ifdef __cplusplus
13875 extern "C"
13876 #endif
13877 char $ac_func ();
13878 /* The GNU C library defines this for functions which it implements
13879 to always fail with ENOSYS. Some functions are actually named
13880 something starting with __ and the normal name is an alias. */
13881 #if defined __stub_$ac_func || defined __stub___$ac_func
13882 choke me
13883 #endif
13886 main ()
13888 return $ac_func ();
13890 return 0;
13892 _ACEOF
13893 rm -f conftest.$ac_objext conftest$ac_exeext
13894 if { (ac_try="$ac_link"
13895 case "(($ac_try" in
13896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13897 *) ac_try_echo=$ac_try;;
13898 esac
13899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13900 (eval "$ac_link") 2>conftest.er1
13901 ac_status=$?
13902 grep -v '^ *+' conftest.er1 >conftest.err
13903 rm -f conftest.er1
13904 cat conftest.err >&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } && {
13907 test -z "$ac_c_werror_flag" ||
13908 test ! -s conftest.err
13909 } && test -s conftest$ac_exeext &&
13910 $as_test_x conftest$ac_exeext; then
13911 eval "$as_ac_var=yes"
13912 else
13913 echo "$as_me: failed program was:" >&5
13914 sed 's/^/| /' conftest.$ac_ext >&5
13916 eval "$as_ac_var=no"
13919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13920 conftest$ac_exeext conftest.$ac_ext
13922 ac_res=`eval echo '${'$as_ac_var'}'`
13923 { echo "$as_me:$LINENO: result: $ac_res" >&5
13924 echo "${ECHO_T}$ac_res" >&6; }
13925 if test `eval echo '${'$as_ac_var'}'` = yes; then
13926 cat >>confdefs.h <<_ACEOF
13927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13928 _ACEOF
13931 done
13933 LIBS="$ac_wine_check_funcs_save_LIBS"
13935 # Extract the first word of "esd-config", so it can be a program name with args.
13936 set dummy esd-config; ac_word=$2
13937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13939 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 else
13942 case $ESDCONFIG in
13943 [\\/]* | ?:[\\/]*)
13944 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13948 for as_dir in $PATH
13950 IFS=$as_save_IFS
13951 test -z "$as_dir" && as_dir=.
13952 for ac_exec_ext in '' $ac_executable_extensions; do
13953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13954 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13956 break 2
13958 done
13959 done
13960 IFS=$as_save_IFS
13963 esac
13965 ESDCONFIG=$ac_cv_path_ESDCONFIG
13966 if test -n "$ESDCONFIG"; then
13967 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13968 echo "${ECHO_T}$ESDCONFIG" >&6; }
13969 else
13970 { echo "$as_me:$LINENO: result: no" >&5
13971 echo "${ECHO_T}no" >&6; }
13975 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13976 then
13977 ESD_CFLAGS=""
13978 for i in `$ESDCONFIG --cflags`
13980 case "$i" in
13981 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13982 esac
13983 done
13984 ESD_LIBS=`$ESDCONFIG --libs`
13985 save_CFLAGS="$CFLAGS"
13986 CFLAGS="$CFLAGS $ESD_CFLAGS"
13987 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13988 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13989 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 else
13992 ac_check_lib_save_LIBS=$LIBS
13993 LIBS="-lesd $LIBS"
13994 cat >conftest.$ac_ext <<_ACEOF
13995 /* confdefs.h. */
13996 _ACEOF
13997 cat confdefs.h >>conftest.$ac_ext
13998 cat >>conftest.$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14004 #ifdef __cplusplus
14005 extern "C"
14006 #endif
14007 char esd_open_sound ();
14009 main ()
14011 return esd_open_sound ();
14013 return 0;
14015 _ACEOF
14016 rm -f conftest.$ac_objext conftest$ac_exeext
14017 if { (ac_try="$ac_link"
14018 case "(($ac_try" in
14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 *) ac_try_echo=$ac_try;;
14021 esac
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_link") 2>conftest.er1
14024 ac_status=$?
14025 grep -v '^ *+' conftest.er1 >conftest.err
14026 rm -f conftest.er1
14027 cat conftest.err >&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } && {
14030 test -z "$ac_c_werror_flag" ||
14031 test ! -s conftest.err
14032 } && test -s conftest$ac_exeext &&
14033 $as_test_x conftest$ac_exeext; then
14034 ac_cv_lib_esd_esd_open_sound=yes
14035 else
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 ac_cv_lib_esd_esd_open_sound=no
14042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14043 conftest$ac_exeext conftest.$ac_ext
14044 LIBS=$ac_check_lib_save_LIBS
14046 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14047 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14048 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14049 ESDLIBS=$ESD_LIBS
14051 ESDINCL=$ESD_CFLAGS
14054 cat >>confdefs.h <<\_ACEOF
14055 #define HAVE_ESD 1
14056 _ACEOF
14060 CFLAGS="$save_CFLAGS"
14063 ALSALIBS=""
14065 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14066 then
14067 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14068 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14069 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 else
14072 ac_check_lib_save_LIBS=$LIBS
14073 LIBS="-lasound $LIBS"
14074 cat >conftest.$ac_ext <<_ACEOF
14075 /* confdefs.h. */
14076 _ACEOF
14077 cat confdefs.h >>conftest.$ac_ext
14078 cat >>conftest.$ac_ext <<_ACEOF
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 #ifdef __cplusplus
14085 extern "C"
14086 #endif
14087 char snd_pcm_hw_params_get_access ();
14089 main ()
14091 return snd_pcm_hw_params_get_access ();
14093 return 0;
14095 _ACEOF
14096 rm -f conftest.$ac_objext conftest$ac_exeext
14097 if { (ac_try="$ac_link"
14098 case "(($ac_try" in
14099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14100 *) ac_try_echo=$ac_try;;
14101 esac
14102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14103 (eval "$ac_link") 2>conftest.er1
14104 ac_status=$?
14105 grep -v '^ *+' conftest.er1 >conftest.err
14106 rm -f conftest.er1
14107 cat conftest.err >&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); } && {
14110 test -z "$ac_c_werror_flag" ||
14111 test ! -s conftest.err
14112 } && test -s conftest$ac_exeext &&
14113 $as_test_x conftest$ac_exeext; then
14114 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14115 else
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.$ac_ext >&5
14119 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_lib_save_LIBS
14126 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14127 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14128 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14129 cat >conftest.$ac_ext <<_ACEOF
14130 /* confdefs.h. */
14131 _ACEOF
14132 cat confdefs.h >>conftest.$ac_ext
14133 cat >>conftest.$ac_ext <<_ACEOF
14134 /* end confdefs.h. */
14135 #ifdef HAVE_ALSA_ASOUNDLIB_H
14136 #include <alsa/asoundlib.h>
14137 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14138 #include <sys/asoundlib.h>
14139 #endif
14141 main ()
14143 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14145 return 0;
14147 _ACEOF
14148 rm -f conftest.$ac_objext
14149 if { (ac_try="$ac_compile"
14150 case "(($ac_try" in
14151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14152 *) ac_try_echo=$ac_try;;
14153 esac
14154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14155 (eval "$ac_compile") 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } && {
14162 test -z "$ac_c_werror_flag" ||
14163 test ! -s conftest.err
14164 } && test -s conftest.$ac_objext; then
14166 cat >>confdefs.h <<\_ACEOF
14167 #define HAVE_ALSA 1
14168 _ACEOF
14170 ALSALIBS="-lasound"
14171 else
14172 echo "$as_me: failed program was:" >&5
14173 sed 's/^/| /' conftest.$ac_ext >&5
14178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14183 AUDIOIOLIBS=""
14185 if test "$ac_cv_header_libaudioio_h" = "yes"
14186 then
14187 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14188 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14189 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 ac_check_lib_save_LIBS=$LIBS
14193 LIBS="-laudioio $LIBS"
14194 cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h. */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14204 #ifdef __cplusplus
14205 extern "C"
14206 #endif
14207 char AudioIOGetVersion ();
14209 main ()
14211 return AudioIOGetVersion ();
14213 return 0;
14215 _ACEOF
14216 rm -f conftest.$ac_objext conftest$ac_exeext
14217 if { (ac_try="$ac_link"
14218 case "(($ac_try" in
14219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14221 esac
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_link") 2>conftest.er1
14224 ac_status=$?
14225 grep -v '^ *+' conftest.er1 >conftest.err
14226 rm -f conftest.er1
14227 cat conftest.err >&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } && {
14230 test -z "$ac_c_werror_flag" ||
14231 test ! -s conftest.err
14232 } && test -s conftest$ac_exeext &&
14233 $as_test_x conftest$ac_exeext; then
14234 ac_cv_lib_audioio_AudioIOGetVersion=yes
14235 else
14236 echo "$as_me: failed program was:" >&5
14237 sed 's/^/| /' conftest.$ac_ext >&5
14239 ac_cv_lib_audioio_AudioIOGetVersion=no
14242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14247 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14248 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14249 AUDIOIOLIBS="-laudioio"
14251 cat >>confdefs.h <<\_ACEOF
14252 #define HAVE_LIBAUDIOIO 1
14253 _ACEOF
14260 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14261 then
14262 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14263 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14264 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 else
14267 ac_check_soname_save_LIBS=$LIBS
14268 LIBS="-lcapi20 $LIBS"
14269 cat >conftest.$ac_ext <<_ACEOF
14270 /* confdefs.h. */
14271 _ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14276 /* Override any GCC internal prototype to avoid an error.
14277 Use char because int might match the return type of a GCC
14278 builtin and then its argument prototype would still apply. */
14279 #ifdef __cplusplus
14280 extern "C"
14281 #endif
14282 char capi20_register ();
14284 main ()
14286 return capi20_register ();
14288 return 0;
14290 _ACEOF
14291 rm -f conftest.$ac_objext conftest$ac_exeext
14292 if { (ac_try="$ac_link"
14293 case "(($ac_try" in
14294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14295 *) ac_try_echo=$ac_try;;
14296 esac
14297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14298 (eval "$ac_link") 2>conftest.er1
14299 ac_status=$?
14300 grep -v '^ *+' conftest.er1 >conftest.err
14301 rm -f conftest.er1
14302 cat conftest.err >&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } && {
14305 test -z "$ac_c_werror_flag" ||
14306 test ! -s conftest.err
14307 } && test -s conftest$ac_exeext &&
14308 $as_test_x conftest$ac_exeext; then
14309 case "$LIBEXT" in
14310 dll) ;;
14311 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'` ;;
14312 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14313 esac
14314 else
14315 echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5
14321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14322 conftest$ac_exeext conftest.$ac_ext
14323 LIBS=$ac_check_soname_save_LIBS
14325 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14326 { echo "$as_me:$LINENO: result: not found" >&5
14327 echo "${ECHO_T}not found" >&6; }
14329 else
14330 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14331 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14333 cat >>confdefs.h <<_ACEOF
14334 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14335 _ACEOF
14341 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14342 wine_notices="$wine_notices|libcapi20 development files not found.
14343 Wine will be built without ISDN support. (capi2032.dll)"
14347 if test "$ac_cv_header_cups_cups_h" = "yes"
14348 then
14349 { echo "$as_me:$LINENO: checking for -lcups" >&5
14350 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14351 if test "${ac_cv_lib_soname_cups+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 else
14354 ac_check_soname_save_LIBS=$LIBS
14355 LIBS="-lcups $LIBS"
14356 cat >conftest.$ac_ext <<_ACEOF
14357 /* confdefs.h. */
14358 _ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14366 #ifdef __cplusplus
14367 extern "C"
14368 #endif
14369 char cupsGetDefault ();
14371 main ()
14373 return cupsGetDefault ();
14375 return 0;
14377 _ACEOF
14378 rm -f conftest.$ac_objext conftest$ac_exeext
14379 if { (ac_try="$ac_link"
14380 case "(($ac_try" in
14381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14382 *) ac_try_echo=$ac_try;;
14383 esac
14384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14385 (eval "$ac_link") 2>conftest.er1
14386 ac_status=$?
14387 grep -v '^ *+' conftest.er1 >conftest.err
14388 rm -f conftest.er1
14389 cat conftest.err >&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); } && {
14392 test -z "$ac_c_werror_flag" ||
14393 test ! -s conftest.err
14394 } && test -s conftest$ac_exeext &&
14395 $as_test_x conftest$ac_exeext; then
14396 case "$LIBEXT" in
14397 dll) ;;
14398 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'` ;;
14399 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14400 esac
14401 else
14402 echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14409 conftest$ac_exeext conftest.$ac_ext
14410 LIBS=$ac_check_soname_save_LIBS
14412 if test "x$ac_cv_lib_soname_cups" = "x"; then
14413 { echo "$as_me:$LINENO: result: not found" >&5
14414 echo "${ECHO_T}not found" >&6; }
14416 else
14417 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14418 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14420 cat >>confdefs.h <<_ACEOF
14421 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14422 _ACEOF
14428 if test "x$ac_cv_lib_soname_cups" = "x"; then
14429 wine_notices="$wine_notices|libcups development files not found.
14430 Wine will be built without CUPS support."
14434 if test "$ac_cv_header_jack_jack_h" = "yes"
14435 then
14436 { echo "$as_me:$LINENO: checking for -ljack" >&5
14437 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14438 if test "${ac_cv_lib_soname_jack+set}" = set; then
14439 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 else
14441 ac_check_soname_save_LIBS=$LIBS
14442 LIBS="-ljack $LIBS"
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14450 /* Override any GCC internal prototype to avoid an error.
14451 Use char because int might match the return type of a GCC
14452 builtin and then its argument prototype would still apply. */
14453 #ifdef __cplusplus
14454 extern "C"
14455 #endif
14456 char jack_client_new ();
14458 main ()
14460 return jack_client_new ();
14462 return 0;
14464 _ACEOF
14465 rm -f conftest.$ac_objext conftest$ac_exeext
14466 if { (ac_try="$ac_link"
14467 case "(($ac_try" in
14468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14469 *) ac_try_echo=$ac_try;;
14470 esac
14471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14472 (eval "$ac_link") 2>conftest.er1
14473 ac_status=$?
14474 grep -v '^ *+' conftest.er1 >conftest.err
14475 rm -f conftest.er1
14476 cat conftest.err >&5
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } && {
14479 test -z "$ac_c_werror_flag" ||
14480 test ! -s conftest.err
14481 } && test -s conftest$ac_exeext &&
14482 $as_test_x conftest$ac_exeext; then
14483 case "$LIBEXT" in
14484 dll) ;;
14485 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'` ;;
14486 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14487 esac
14488 else
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.$ac_ext >&5
14495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14496 conftest$ac_exeext conftest.$ac_ext
14497 LIBS=$ac_check_soname_save_LIBS
14499 if test "x$ac_cv_lib_soname_jack" = "x"; then
14500 { echo "$as_me:$LINENO: result: not found" >&5
14501 echo "${ECHO_T}not found" >&6; }
14503 else
14504 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14505 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14507 cat >>confdefs.h <<_ACEOF
14508 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14509 _ACEOF
14516 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14517 then
14518 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14519 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14520 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 else
14523 ac_check_soname_save_LIBS=$LIBS
14524 LIBS="-lfontconfig $LIBS"
14525 cat >conftest.$ac_ext <<_ACEOF
14526 /* confdefs.h. */
14527 _ACEOF
14528 cat confdefs.h >>conftest.$ac_ext
14529 cat >>conftest.$ac_ext <<_ACEOF
14530 /* end confdefs.h. */
14532 /* Override any GCC internal prototype to avoid an error.
14533 Use char because int might match the return type of a GCC
14534 builtin and then its argument prototype would still apply. */
14535 #ifdef __cplusplus
14536 extern "C"
14537 #endif
14538 char FcInit ();
14540 main ()
14542 return FcInit ();
14544 return 0;
14546 _ACEOF
14547 rm -f conftest.$ac_objext conftest$ac_exeext
14548 if { (ac_try="$ac_link"
14549 case "(($ac_try" in
14550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14551 *) ac_try_echo=$ac_try;;
14552 esac
14553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14554 (eval "$ac_link") 2>conftest.er1
14555 ac_status=$?
14556 grep -v '^ *+' conftest.er1 >conftest.err
14557 rm -f conftest.er1
14558 cat conftest.err >&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } && {
14561 test -z "$ac_c_werror_flag" ||
14562 test ! -s conftest.err
14563 } && test -s conftest$ac_exeext &&
14564 $as_test_x conftest$ac_exeext; then
14565 case "$LIBEXT" in
14566 dll) ;;
14567 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'` ;;
14568 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14569 esac
14570 else
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14578 conftest$ac_exeext conftest.$ac_ext
14579 LIBS=$ac_check_soname_save_LIBS
14581 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14582 { echo "$as_me:$LINENO: result: not found" >&5
14583 echo "${ECHO_T}not found" >&6; }
14585 else
14586 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14587 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14589 cat >>confdefs.h <<_ACEOF
14590 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14591 _ACEOF
14596 elif test -n "$X_CFLAGS"
14597 then
14598 ac_save_CPPFLAGS="$CPPFLAGS"
14599 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14600 $as_unset ac_cv_header_fontconfig_fontconfig_h
14602 for ac_header in fontconfig/fontconfig.h
14604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 ac_res=`eval echo '${'$as_ac_Header'}'`
14612 { echo "$as_me:$LINENO: result: $ac_res" >&5
14613 echo "${ECHO_T}$ac_res" >&6; }
14614 else
14615 # Is the header compilable?
14616 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14618 cat >conftest.$ac_ext <<_ACEOF
14619 /* confdefs.h. */
14620 _ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14624 $ac_includes_default
14625 #include <$ac_header>
14626 _ACEOF
14627 rm -f conftest.$ac_objext
14628 if { (ac_try="$ac_compile"
14629 case "(($ac_try" in
14630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14631 *) ac_try_echo=$ac_try;;
14632 esac
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_compile") 2>conftest.er1
14635 ac_status=$?
14636 grep -v '^ *+' conftest.er1 >conftest.err
14637 rm -f conftest.er1
14638 cat conftest.err >&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } && {
14641 test -z "$ac_c_werror_flag" ||
14642 test ! -s conftest.err
14643 } && test -s conftest.$ac_objext; then
14644 ac_header_compiler=yes
14645 else
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14649 ac_header_compiler=no
14652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14654 echo "${ECHO_T}$ac_header_compiler" >&6; }
14656 # Is the header present?
14657 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14658 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14659 cat >conftest.$ac_ext <<_ACEOF
14660 /* confdefs.h. */
14661 _ACEOF
14662 cat confdefs.h >>conftest.$ac_ext
14663 cat >>conftest.$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14665 #include <$ac_header>
14666 _ACEOF
14667 if { (ac_try="$ac_cpp conftest.$ac_ext"
14668 case "(($ac_try" in
14669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14670 *) ac_try_echo=$ac_try;;
14671 esac
14672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14674 ac_status=$?
14675 grep -v '^ *+' conftest.er1 >conftest.err
14676 rm -f conftest.er1
14677 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } >/dev/null && {
14680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14681 test ! -s conftest.err
14682 }; then
14683 ac_header_preproc=yes
14684 else
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14688 ac_header_preproc=no
14691 rm -f conftest.err conftest.$ac_ext
14692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14693 echo "${ECHO_T}$ac_header_preproc" >&6; }
14695 # So? What about this header?
14696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14697 yes:no: )
14698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14702 ac_header_preproc=yes
14704 no:yes:* )
14705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14717 ( cat <<\_ASBOX
14718 ## ------------------------------------ ##
14719 ## Report this to wine-devel@winehq.org ##
14720 ## ------------------------------------ ##
14721 _ASBOX
14722 ) | sed "s/^/$as_me: WARNING: /" >&2
14724 esac
14725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14729 else
14730 eval "$as_ac_Header=\$ac_header_preproc"
14732 ac_res=`eval echo '${'$as_ac_Header'}'`
14733 { echo "$as_me:$LINENO: result: $ac_res" >&5
14734 echo "${ECHO_T}$ac_res" >&6; }
14737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14738 cat >>confdefs.h <<_ACEOF
14739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14740 _ACEOF
14744 done
14746 CPPFLAGS="$ac_save_CPPFLAGS"
14747 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14748 then
14749 FONTCONFIGINCL="$X_CFLAGS"
14751 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14752 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14753 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14755 else
14756 ac_check_soname_save_LIBS=$LIBS
14757 LIBS="-lfontconfig $X_LIBS $LIBS"
14758 cat >conftest.$ac_ext <<_ACEOF
14759 /* confdefs.h. */
14760 _ACEOF
14761 cat confdefs.h >>conftest.$ac_ext
14762 cat >>conftest.$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14768 #ifdef __cplusplus
14769 extern "C"
14770 #endif
14771 char FcInit ();
14773 main ()
14775 return FcInit ();
14777 return 0;
14779 _ACEOF
14780 rm -f conftest.$ac_objext conftest$ac_exeext
14781 if { (ac_try="$ac_link"
14782 case "(($ac_try" in
14783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14784 *) ac_try_echo=$ac_try;;
14785 esac
14786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14787 (eval "$ac_link") 2>conftest.er1
14788 ac_status=$?
14789 grep -v '^ *+' conftest.er1 >conftest.err
14790 rm -f conftest.er1
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } && {
14794 test -z "$ac_c_werror_flag" ||
14795 test ! -s conftest.err
14796 } && test -s conftest$ac_exeext &&
14797 $as_test_x conftest$ac_exeext; then
14798 case "$LIBEXT" in
14799 dll) ;;
14800 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'` ;;
14801 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14802 esac
14803 else
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.$ac_ext >&5
14810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14811 conftest$ac_exeext conftest.$ac_ext
14812 LIBS=$ac_check_soname_save_LIBS
14814 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14815 { echo "$as_me:$LINENO: result: not found" >&5
14816 echo "${ECHO_T}not found" >&6; }
14818 else
14819 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14820 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14822 cat >>confdefs.h <<_ACEOF
14823 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14824 _ACEOF
14831 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14832 wine_notices="$wine_notices|fontconfig development files not found.
14833 Wine will be built without fontconfig support."
14837 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14838 then
14839 { echo "$as_me:$LINENO: checking for -lssl" >&5
14840 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14841 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14842 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 else
14844 ac_check_soname_save_LIBS=$LIBS
14845 LIBS="-lssl $LIBS"
14846 cat >conftest.$ac_ext <<_ACEOF
14847 /* confdefs.h. */
14848 _ACEOF
14849 cat confdefs.h >>conftest.$ac_ext
14850 cat >>conftest.$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14856 #ifdef __cplusplus
14857 extern "C"
14858 #endif
14859 char SSL_library_init ();
14861 main ()
14863 return SSL_library_init ();
14865 return 0;
14867 _ACEOF
14868 rm -f conftest.$ac_objext conftest$ac_exeext
14869 if { (ac_try="$ac_link"
14870 case "(($ac_try" in
14871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14872 *) ac_try_echo=$ac_try;;
14873 esac
14874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14875 (eval "$ac_link") 2>conftest.er1
14876 ac_status=$?
14877 grep -v '^ *+' conftest.er1 >conftest.err
14878 rm -f conftest.er1
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } && {
14882 test -z "$ac_c_werror_flag" ||
14883 test ! -s conftest.err
14884 } && test -s conftest$ac_exeext &&
14885 $as_test_x conftest$ac_exeext; then
14886 case "$LIBEXT" in
14887 dll) ;;
14888 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'` ;;
14889 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14890 esac
14891 else
14892 echo "$as_me: failed program was:" >&5
14893 sed 's/^/| /' conftest.$ac_ext >&5
14898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14899 conftest$ac_exeext conftest.$ac_ext
14900 LIBS=$ac_check_soname_save_LIBS
14902 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14903 { echo "$as_me:$LINENO: result: not found" >&5
14904 echo "${ECHO_T}not found" >&6; }
14906 else
14907 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14908 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14910 cat >>confdefs.h <<_ACEOF
14911 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14912 _ACEOF
14917 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14918 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14919 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14921 else
14922 ac_check_soname_save_LIBS=$LIBS
14923 LIBS="-lcrypto $LIBS"
14924 cat >conftest.$ac_ext <<_ACEOF
14925 /* confdefs.h. */
14926 _ACEOF
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 #ifdef __cplusplus
14935 extern "C"
14936 #endif
14937 char BIO_new_socket ();
14939 main ()
14941 return BIO_new_socket ();
14943 return 0;
14945 _ACEOF
14946 rm -f conftest.$ac_objext conftest$ac_exeext
14947 if { (ac_try="$ac_link"
14948 case "(($ac_try" in
14949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14950 *) ac_try_echo=$ac_try;;
14951 esac
14952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14953 (eval "$ac_link") 2>conftest.er1
14954 ac_status=$?
14955 grep -v '^ *+' conftest.er1 >conftest.err
14956 rm -f conftest.er1
14957 cat conftest.err >&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } && {
14960 test -z "$ac_c_werror_flag" ||
14961 test ! -s conftest.err
14962 } && test -s conftest$ac_exeext &&
14963 $as_test_x conftest$ac_exeext; then
14964 case "$LIBEXT" in
14965 dll) ;;
14966 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'` ;;
14967 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14968 esac
14969 else
14970 echo "$as_me: failed program was:" >&5
14971 sed 's/^/| /' conftest.$ac_ext >&5
14976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14977 conftest$ac_exeext conftest.$ac_ext
14978 LIBS=$ac_check_soname_save_LIBS
14980 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14981 { echo "$as_me:$LINENO: result: not found" >&5
14982 echo "${ECHO_T}not found" >&6; }
14984 else
14985 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14986 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14988 cat >>confdefs.h <<_ACEOF
14989 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14990 _ACEOF
14996 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14997 wine_notices="$wine_notices|OpenSSL development files not found.
14998 Wine will be built without SSL support. (wininet.dll)"
15002 if test "$ac_cv_header_jpeglib_h" = "yes"
15003 then
15004 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15005 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15006 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15007 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 else
15009 ac_check_soname_save_LIBS=$LIBS
15010 LIBS="-ljpeg $LIBS"
15011 cat >conftest.$ac_ext <<_ACEOF
15012 /* confdefs.h. */
15013 _ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15018 /* Override any GCC internal prototype to avoid an error.
15019 Use char because int might match the return type of a GCC
15020 builtin and then its argument prototype would still apply. */
15021 #ifdef __cplusplus
15022 extern "C"
15023 #endif
15024 char jpeg_start_decompress ();
15026 main ()
15028 return jpeg_start_decompress ();
15030 return 0;
15032 _ACEOF
15033 rm -f conftest.$ac_objext conftest$ac_exeext
15034 if { (ac_try="$ac_link"
15035 case "(($ac_try" in
15036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15037 *) ac_try_echo=$ac_try;;
15038 esac
15039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15040 (eval "$ac_link") 2>conftest.er1
15041 ac_status=$?
15042 grep -v '^ *+' conftest.er1 >conftest.err
15043 rm -f conftest.er1
15044 cat conftest.err >&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); } && {
15047 test -z "$ac_c_werror_flag" ||
15048 test ! -s conftest.err
15049 } && test -s conftest$ac_exeext &&
15050 $as_test_x conftest$ac_exeext; then
15051 case "$LIBEXT" in
15052 dll) ;;
15053 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'` ;;
15054 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15055 esac
15056 else
15057 echo "$as_me: failed program was:" >&5
15058 sed 's/^/| /' conftest.$ac_ext >&5
15063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15064 conftest$ac_exeext conftest.$ac_ext
15065 LIBS=$ac_check_soname_save_LIBS
15067 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15068 { echo "$as_me:$LINENO: result: not found" >&5
15069 echo "${ECHO_T}not found" >&6; }
15071 else
15072 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15073 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15075 cat >>confdefs.h <<_ACEOF
15076 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15077 _ACEOF
15083 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15084 wine_notices="$wine_notices|libjpeg development files not found.
15085 Wine will be built without JPEG support. (oleaut32.dll)"
15089 if test "$ac_cv_header_png_h" = "yes"
15090 then
15091 { echo "$as_me:$LINENO: checking for -lpng" >&5
15092 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15093 if test "${ac_cv_lib_soname_png+set}" = set; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15095 else
15096 ac_check_soname_save_LIBS=$LIBS
15097 LIBS="-lpng $LIBS"
15098 cat >conftest.$ac_ext <<_ACEOF
15099 /* confdefs.h. */
15100 _ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15108 #ifdef __cplusplus
15109 extern "C"
15110 #endif
15111 char png_create_read_struct ();
15113 main ()
15115 return png_create_read_struct ();
15117 return 0;
15119 _ACEOF
15120 rm -f conftest.$ac_objext conftest$ac_exeext
15121 if { (ac_try="$ac_link"
15122 case "(($ac_try" in
15123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15124 *) ac_try_echo=$ac_try;;
15125 esac
15126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15127 (eval "$ac_link") 2>conftest.er1
15128 ac_status=$?
15129 grep -v '^ *+' conftest.er1 >conftest.err
15130 rm -f conftest.er1
15131 cat conftest.err >&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); } && {
15134 test -z "$ac_c_werror_flag" ||
15135 test ! -s conftest.err
15136 } && test -s conftest$ac_exeext &&
15137 $as_test_x conftest$ac_exeext; then
15138 case "$LIBEXT" in
15139 dll) ;;
15140 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'` ;;
15141 *) 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'` ;;
15142 esac
15143 else
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.$ac_ext >&5
15150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15151 conftest$ac_exeext conftest.$ac_ext
15152 LIBS=$ac_check_soname_save_LIBS
15154 if test "x$ac_cv_lib_soname_png" = "x"; then
15155 { echo "$as_me:$LINENO: result: not found" >&5
15156 echo "${ECHO_T}not found" >&6; }
15158 else
15159 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15160 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15162 cat >>confdefs.h <<_ACEOF
15163 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15164 _ACEOF
15170 if test "x$ac_cv_lib_soname_png" = "x"; then
15171 wine_notices="$wine_notices|libpng development files not found.
15172 Wine will be built without PNG support. (oleaut32.dll)"
15176 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15177 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15178 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15179 "$ac_cv_header_soundcard_h" != "yes"; then
15180 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15185 EXTRACFLAGS=""
15187 if test "x${GCC}" = "xyes"
15188 then
15189 EXTRACFLAGS="-Wall -pipe"
15191 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15192 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15193 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 else
15196 if test "$cross_compiling" = yes; then
15197 ac_cv_c_gcc_strength_bug="yes"
15198 else
15199 cat >conftest.$ac_ext <<_ACEOF
15200 /* confdefs.h. */
15201 _ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15205 int L[4] = {0,1,2,3};
15207 main ()
15209 static int Array[3];
15210 unsigned int B = 3;
15211 int i;
15212 for(i=0; i<B; i++) Array[i] = i - 3;
15213 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15214 L[i] = 4;
15215 exit( Array[1] != -2 || L[2] != 3)
15217 return 0;
15219 _ACEOF
15220 rm -f conftest$ac_exeext
15221 if { (ac_try="$ac_link"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15225 esac
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_link") 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15231 { (case "(($ac_try" in
15232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15233 *) ac_try_echo=$ac_try;;
15234 esac
15235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15236 (eval "$ac_try") 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; }; then
15240 ac_cv_c_gcc_strength_bug="no"
15241 else
15242 echo "$as_me: program exited with status $ac_status" >&5
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.$ac_ext >&5
15246 ( exit $ac_status )
15247 ac_cv_c_gcc_strength_bug="yes"
15249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15254 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15255 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15256 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15257 then
15258 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15262 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15263 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15264 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15265 echo $ECHO_N "(cached) $ECHO_C" >&6
15266 else
15267 ac_wine_try_cflags_saved=$CFLAGS
15268 CFLAGS="$CFLAGS -fshort-wchar"
15269 cat >conftest.$ac_ext <<_ACEOF
15270 /* confdefs.h. */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15277 main ()
15281 return 0;
15283 _ACEOF
15284 rm -f conftest.$ac_objext conftest$ac_exeext
15285 if { (ac_try="$ac_link"
15286 case "(($ac_try" in
15287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15288 *) ac_try_echo=$ac_try;;
15289 esac
15290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15291 (eval "$ac_link") 2>conftest.er1
15292 ac_status=$?
15293 grep -v '^ *+' conftest.er1 >conftest.err
15294 rm -f conftest.er1
15295 cat conftest.err >&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); } && {
15298 test -z "$ac_c_werror_flag" ||
15299 test ! -s conftest.err
15300 } && test -s conftest$ac_exeext &&
15301 $as_test_x conftest$ac_exeext; then
15302 ac_cv_cflags__fshort_wchar=yes
15303 else
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15307 ac_cv_cflags__fshort_wchar=no
15310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15311 conftest$ac_exeext conftest.$ac_ext
15312 CFLAGS=$ac_wine_try_cflags_saved
15314 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15315 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15316 if test $ac_cv_cflags__fshort_wchar = yes; then
15318 cat >>confdefs.h <<\_ACEOF
15319 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15320 _ACEOF
15324 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15325 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15326 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 else
15329 ac_wine_try_cflags_saved=$CFLAGS
15330 CFLAGS="$CFLAGS -fno-strict-aliasing"
15331 cat >conftest.$ac_ext <<_ACEOF
15332 /* confdefs.h. */
15333 _ACEOF
15334 cat confdefs.h >>conftest.$ac_ext
15335 cat >>conftest.$ac_ext <<_ACEOF
15336 /* end confdefs.h. */
15339 main ()
15343 return 0;
15345 _ACEOF
15346 rm -f conftest.$ac_objext conftest$ac_exeext
15347 if { (ac_try="$ac_link"
15348 case "(($ac_try" in
15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15351 esac
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_link") 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } && {
15360 test -z "$ac_c_werror_flag" ||
15361 test ! -s conftest.err
15362 } && test -s conftest$ac_exeext &&
15363 $as_test_x conftest$ac_exeext; then
15364 ac_cv_cflags__fno_strict_aliasing=yes
15365 else
15366 echo "$as_me: failed program was:" >&5
15367 sed 's/^/| /' conftest.$ac_ext >&5
15369 ac_cv_cflags__fno_strict_aliasing=no
15372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15373 conftest$ac_exeext conftest.$ac_ext
15374 CFLAGS=$ac_wine_try_cflags_saved
15376 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15377 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15378 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15379 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15382 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15383 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15384 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 else
15387 ac_wine_try_cflags_saved=$CFLAGS
15388 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15389 cat >conftest.$ac_ext <<_ACEOF
15390 /* confdefs.h. */
15391 _ACEOF
15392 cat confdefs.h >>conftest.$ac_ext
15393 cat >>conftest.$ac_ext <<_ACEOF
15394 /* end confdefs.h. */
15397 main ()
15401 return 0;
15403 _ACEOF
15404 rm -f conftest.$ac_objext conftest$ac_exeext
15405 if { (ac_try="$ac_link"
15406 case "(($ac_try" in
15407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15409 esac
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_link") 2>conftest.er1
15412 ac_status=$?
15413 grep -v '^ *+' conftest.er1 >conftest.err
15414 rm -f conftest.er1
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } && {
15418 test -z "$ac_c_werror_flag" ||
15419 test ! -s conftest.err
15420 } && test -s conftest$ac_exeext &&
15421 $as_test_x conftest$ac_exeext; then
15422 ac_cv_cflags__Wdeclaration_after_statement=yes
15423 else
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.$ac_ext >&5
15427 ac_cv_cflags__Wdeclaration_after_statement=no
15430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15431 conftest$ac_exeext conftest.$ac_ext
15432 CFLAGS=$ac_wine_try_cflags_saved
15434 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15435 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15436 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15437 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15440 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15441 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15442 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15445 ac_wine_try_cflags_saved=$CFLAGS
15446 CFLAGS="$CFLAGS -Wwrite-strings"
15447 cat >conftest.$ac_ext <<_ACEOF
15448 /* confdefs.h. */
15449 _ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15455 main ()
15459 return 0;
15461 _ACEOF
15462 rm -f conftest.$ac_objext conftest$ac_exeext
15463 if { (ac_try="$ac_link"
15464 case "(($ac_try" in
15465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15466 *) ac_try_echo=$ac_try;;
15467 esac
15468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15469 (eval "$ac_link") 2>conftest.er1
15470 ac_status=$?
15471 grep -v '^ *+' conftest.er1 >conftest.err
15472 rm -f conftest.er1
15473 cat conftest.err >&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); } && {
15476 test -z "$ac_c_werror_flag" ||
15477 test ! -s conftest.err
15478 } && test -s conftest$ac_exeext &&
15479 $as_test_x conftest$ac_exeext; then
15480 ac_cv_cflags__Wwrite_strings=yes
15481 else
15482 echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.$ac_ext >&5
15485 ac_cv_cflags__Wwrite_strings=no
15488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15489 conftest$ac_exeext conftest.$ac_ext
15490 CFLAGS=$ac_wine_try_cflags_saved
15492 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15493 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15494 if test $ac_cv_cflags__Wwrite_strings = yes; then
15495 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15499 saved_CFLAGS="$CFLAGS"
15500 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15501 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15502 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15503 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15504 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 else
15506 cat >conftest.$ac_ext <<_ACEOF
15507 /* confdefs.h. */
15508 _ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 #include <string.h>
15514 main ()
15518 return 0;
15520 _ACEOF
15521 rm -f conftest.$ac_objext
15522 if { (ac_try="$ac_compile"
15523 case "(($ac_try" in
15524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15526 esac
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_compile") 2>conftest.er1
15529 ac_status=$?
15530 grep -v '^ *+' conftest.er1 >conftest.err
15531 rm -f conftest.er1
15532 cat conftest.err >&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } && {
15535 test -z "$ac_c_werror_flag" ||
15536 test ! -s conftest.err
15537 } && test -s conftest.$ac_objext; then
15538 ac_cv_c_string_h_warnings=no
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 ac_cv_c_string_h_warnings=yes
15546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15548 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15549 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15550 CFLAGS="$saved_CFLAGS"
15551 if test "$ac_cv_c_string_h_warnings" = "no"
15552 then
15553 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15556 BUILTINFLAG=""
15558 saved_CFLAGS="$CFLAGS"
15559 CFLAGS="$CFLAGS -Werror"
15560 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15561 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15562 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15564 else
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h. */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15573 main ()
15575 int iswlower(unsigned short);
15577 return 0;
15579 _ACEOF
15580 rm -f conftest.$ac_objext
15581 if { (ac_try="$ac_compile"
15582 case "(($ac_try" in
15583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15584 *) ac_try_echo=$ac_try;;
15585 esac
15586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15587 (eval "$ac_compile") 2>conftest.er1
15588 ac_status=$?
15589 grep -v '^ *+' conftest.er1 >conftest.err
15590 rm -f conftest.er1
15591 cat conftest.err >&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } && {
15594 test -z "$ac_c_werror_flag" ||
15595 test ! -s conftest.err
15596 } && test -s conftest.$ac_objext; then
15597 ac_cv_c_builtin_wchar_ctype=no
15598 else
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15602 ac_cv_c_builtin_wchar_ctype=yes
15605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15607 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15608 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15609 CFLAGS="$saved_CFLAGS"
15610 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15611 then
15612 BUILTINFLAG="-fno-builtin"
15617 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15618 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15619 if test "${ac_cv_asm_func_def+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 else
15622 cat >conftest.$ac_ext <<_ACEOF
15623 /* confdefs.h. */
15624 _ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15630 main ()
15632 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15634 return 0;
15636 _ACEOF
15637 rm -f conftest.$ac_objext conftest$ac_exeext
15638 if { (ac_try="$ac_link"
15639 case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15642 esac
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_link") 2>conftest.er1
15645 ac_status=$?
15646 grep -v '^ *+' conftest.er1 >conftest.err
15647 rm -f conftest.er1
15648 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && {
15651 test -z "$ac_c_werror_flag" ||
15652 test ! -s conftest.err
15653 } && test -s conftest$ac_exeext &&
15654 $as_test_x conftest$ac_exeext; then
15655 ac_cv_asm_func_def=".def"
15656 else
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.$ac_ext >&5
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15668 main ()
15670 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15672 return 0;
15674 _ACEOF
15675 rm -f conftest.$ac_objext conftest$ac_exeext
15676 if { (ac_try="$ac_link"
15677 case "(($ac_try" in
15678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15679 *) ac_try_echo=$ac_try;;
15680 esac
15681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15682 (eval "$ac_link") 2>conftest.er1
15683 ac_status=$?
15684 grep -v '^ *+' conftest.er1 >conftest.err
15685 rm -f conftest.er1
15686 cat conftest.err >&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } && {
15689 test -z "$ac_c_werror_flag" ||
15690 test ! -s conftest.err
15691 } && test -s conftest$ac_exeext &&
15692 $as_test_x conftest$ac_exeext; then
15693 ac_cv_asm_func_def=".type @function"
15694 else
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15698 cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h. */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15706 main ()
15708 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15710 return 0;
15712 _ACEOF
15713 rm -f conftest.$ac_objext conftest$ac_exeext
15714 if { (ac_try="$ac_link"
15715 case "(($ac_try" in
15716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15717 *) ac_try_echo=$ac_try;;
15718 esac
15719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15720 (eval "$ac_link") 2>conftest.er1
15721 ac_status=$?
15722 grep -v '^ *+' conftest.er1 >conftest.err
15723 rm -f conftest.er1
15724 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } && {
15727 test -z "$ac_c_werror_flag" ||
15728 test ! -s conftest.err
15729 } && test -s conftest$ac_exeext &&
15730 $as_test_x conftest$ac_exeext; then
15731 ac_cv_asm_func_def=".type 2"
15732 else
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15736 ac_cv_asm_func_def="unknown"
15739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15740 conftest$ac_exeext conftest.$ac_ext
15743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15744 conftest$ac_exeext conftest.$ac_ext
15747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15748 conftest$ac_exeext conftest.$ac_ext
15750 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15751 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15755 case "$ac_cv_asm_func_def" in
15756 ".def")
15757 cat >>confdefs.h <<\_ACEOF
15758 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15759 _ACEOF
15761 ".type @function")
15762 cat >>confdefs.h <<\_ACEOF
15763 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15764 _ACEOF
15766 ".type 2")
15767 cat >>confdefs.h <<\_ACEOF
15768 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15769 _ACEOF
15772 cat >>confdefs.h <<\_ACEOF
15773 #define __ASM_FUNC(name) ""
15774 _ACEOF
15776 esac
15779 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15780 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15781 if test "${ac_cv_c_extern_prefix+set}" = set; then
15782 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 else
15784 cat >conftest.$ac_ext <<_ACEOF
15785 /* confdefs.h. */
15786 _ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 extern int ac_test;
15792 main ()
15794 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15796 return 0;
15798 _ACEOF
15799 rm -f conftest.$ac_objext conftest$ac_exeext
15800 if { (ac_try="$ac_link"
15801 case "(($ac_try" in
15802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15803 *) ac_try_echo=$ac_try;;
15804 esac
15805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 (eval "$ac_link") 2>conftest.er1
15807 ac_status=$?
15808 grep -v '^ *+' conftest.er1 >conftest.err
15809 rm -f conftest.er1
15810 cat conftest.err >&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && {
15813 test -z "$ac_c_werror_flag" ||
15814 test ! -s conftest.err
15815 } && test -s conftest$ac_exeext &&
15816 $as_test_x conftest$ac_exeext; then
15817 ac_cv_c_extern_prefix="yes"
15818 else
15819 echo "$as_me: failed program was:" >&5
15820 sed 's/^/| /' conftest.$ac_ext >&5
15822 ac_cv_c_extern_prefix="no"
15825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15826 conftest$ac_exeext conftest.$ac_ext
15828 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15829 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15833 if test "$ac_cv_c_extern_prefix" = "yes"
15834 then
15835 cat >>confdefs.h <<\_ACEOF
15836 #define __ASM_NAME(name) "_" name
15837 _ACEOF
15839 else
15840 cat >>confdefs.h <<\_ACEOF
15841 #define __ASM_NAME(name) name
15842 _ACEOF
15847 LDPATH=""
15849 case $build_os in
15850 cygwin*|mingw32*)
15851 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15853 darwin*|macosx*)
15855 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15856 then
15857 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15861 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15863 esac
15865 case $host_os in
15866 mingw32*)
15867 CRTLIBS="-lmsvcrt"
15869 SOCKETLIBS="-lws2_32"
15872 esac
15874 MAIN_BINARY="wine-pthread"
15875 case $host_cpu in
15876 *i[3456789]86*)
15877 case $host_os in
15878 linux* | k*bsd*-gnu)
15879 MAIN_BINARY="wine-glibc"
15881 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15883 freebsd*)
15884 MAIN_BINARY="wine-freebsd"
15886 EXTRA_BINARIES="wine-pthread"
15888 esac
15890 esac
15957 for ac_func in \
15958 _pclose \
15959 _popen \
15960 _snprintf \
15961 _spawnvp \
15962 _strdup \
15963 _stricmp \
15964 _strnicmp \
15965 _vsnprintf \
15966 asctime_r \
15967 chsize \
15968 clone \
15969 dlopen \
15970 epoll_create \
15971 ffs \
15972 finite \
15973 fork \
15974 fpclass \
15975 fstatfs \
15976 fstatvfs \
15977 ftruncate \
15978 futimes \
15979 futimesat \
15980 getdirentries \
15981 getopt_long \
15982 getpagesize \
15983 getpwuid \
15984 gettid \
15985 gettimeofday \
15986 getuid \
15987 inet_pton \
15988 kqueue \
15989 lstat \
15990 memmove \
15991 mmap \
15992 pclose \
15993 poll \
15994 popen \
15995 prctl \
15996 pread \
15997 pwrite \
15998 readlink \
15999 rfork \
16000 sched_yield \
16001 select \
16002 setrlimit \
16003 settimeofday \
16004 sigaltstack \
16005 sigprocmask \
16006 snprintf \
16007 spawnvp \
16008 statfs \
16009 statvfs \
16010 strcasecmp \
16011 strdup \
16012 strerror \
16013 strncasecmp \
16014 strtold \
16015 tcgetattr \
16016 thr_kill2 \
16017 timegm \
16018 usleep \
16019 vsnprintf \
16020 wait4 \
16021 waitpid \
16024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 else
16030 cat >conftest.$ac_ext <<_ACEOF
16031 /* confdefs.h. */
16032 _ACEOF
16033 cat confdefs.h >>conftest.$ac_ext
16034 cat >>conftest.$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16038 #define $ac_func innocuous_$ac_func
16040 /* System header to define __stub macros and hopefully few prototypes,
16041 which can conflict with char $ac_func (); below.
16042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16043 <limits.h> exists even on freestanding compilers. */
16045 #ifdef __STDC__
16046 # include <limits.h>
16047 #else
16048 # include <assert.h>
16049 #endif
16051 #undef $ac_func
16053 /* Override any GCC internal prototype to avoid an error.
16054 Use char because int might match the return type of a GCC
16055 builtin and then its argument prototype would still apply. */
16056 #ifdef __cplusplus
16057 extern "C"
16058 #endif
16059 char $ac_func ();
16060 /* The GNU C library defines this for functions which it implements
16061 to always fail with ENOSYS. Some functions are actually named
16062 something starting with __ and the normal name is an alias. */
16063 #if defined __stub_$ac_func || defined __stub___$ac_func
16064 choke me
16065 #endif
16068 main ()
16070 return $ac_func ();
16072 return 0;
16074 _ACEOF
16075 rm -f conftest.$ac_objext conftest$ac_exeext
16076 if { (ac_try="$ac_link"
16077 case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16080 esac
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_link") 2>conftest.er1
16083 ac_status=$?
16084 grep -v '^ *+' conftest.er1 >conftest.err
16085 rm -f conftest.er1
16086 cat conftest.err >&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } && {
16089 test -z "$ac_c_werror_flag" ||
16090 test ! -s conftest.err
16091 } && test -s conftest$ac_exeext &&
16092 $as_test_x conftest$ac_exeext; then
16093 eval "$as_ac_var=yes"
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16098 eval "$as_ac_var=no"
16101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16102 conftest$ac_exeext conftest.$ac_ext
16104 ac_res=`eval echo '${'$as_ac_var'}'`
16105 { echo "$as_me:$LINENO: result: $ac_res" >&5
16106 echo "${ECHO_T}$ac_res" >&6; }
16107 if test `eval echo '${'$as_ac_var'}'` = yes; then
16108 cat >>confdefs.h <<_ACEOF
16109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16110 _ACEOF
16113 done
16116 if test "$ac_cv_func_dlopen" = no
16117 then
16118 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16119 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16120 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16121 echo $ECHO_N "(cached) $ECHO_C" >&6
16122 else
16123 ac_check_lib_save_LIBS=$LIBS
16124 LIBS="-ldl $LIBS"
16125 cat >conftest.$ac_ext <<_ACEOF
16126 /* confdefs.h. */
16127 _ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16132 /* Override any GCC internal prototype to avoid an error.
16133 Use char because int might match the return type of a GCC
16134 builtin and then its argument prototype would still apply. */
16135 #ifdef __cplusplus
16136 extern "C"
16137 #endif
16138 char dlopen ();
16140 main ()
16142 return dlopen ();
16144 return 0;
16146 _ACEOF
16147 rm -f conftest.$ac_objext conftest$ac_exeext
16148 if { (ac_try="$ac_link"
16149 case "(($ac_try" in
16150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16151 *) ac_try_echo=$ac_try;;
16152 esac
16153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_link") 2>conftest.er1
16155 ac_status=$?
16156 grep -v '^ *+' conftest.er1 >conftest.err
16157 rm -f conftest.er1
16158 cat conftest.err >&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); } && {
16161 test -z "$ac_c_werror_flag" ||
16162 test ! -s conftest.err
16163 } && test -s conftest$ac_exeext &&
16164 $as_test_x conftest$ac_exeext; then
16165 ac_cv_lib_dl_dlopen=yes
16166 else
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.$ac_ext >&5
16170 ac_cv_lib_dl_dlopen=no
16173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16174 conftest$ac_exeext conftest.$ac_ext
16175 LIBS=$ac_check_lib_save_LIBS
16177 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16178 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16179 if test $ac_cv_lib_dl_dlopen = yes; then
16180 cat >>confdefs.h <<\_ACEOF
16181 #define HAVE_DLOPEN 1
16182 _ACEOF
16183 LIBDL="-ldl"
16188 ac_wine_check_funcs_save_LIBS="$LIBS"
16189 LIBS="$LIBS $LIBDL"
16191 for ac_func in dladdr
16193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16194 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16196 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 else
16199 cat >conftest.$ac_ext <<_ACEOF
16200 /* confdefs.h. */
16201 _ACEOF
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16207 #define $ac_func innocuous_$ac_func
16209 /* System header to define __stub macros and hopefully few prototypes,
16210 which can conflict with char $ac_func (); below.
16211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16212 <limits.h> exists even on freestanding compilers. */
16214 #ifdef __STDC__
16215 # include <limits.h>
16216 #else
16217 # include <assert.h>
16218 #endif
16220 #undef $ac_func
16222 /* Override any GCC internal prototype to avoid an error.
16223 Use char because int might match the return type of a GCC
16224 builtin and then its argument prototype would still apply. */
16225 #ifdef __cplusplus
16226 extern "C"
16227 #endif
16228 char $ac_func ();
16229 /* The GNU C library defines this for functions which it implements
16230 to always fail with ENOSYS. Some functions are actually named
16231 something starting with __ and the normal name is an alias. */
16232 #if defined __stub_$ac_func || defined __stub___$ac_func
16233 choke me
16234 #endif
16237 main ()
16239 return $ac_func ();
16241 return 0;
16243 _ACEOF
16244 rm -f conftest.$ac_objext conftest$ac_exeext
16245 if { (ac_try="$ac_link"
16246 case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16249 esac
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_link") 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest$ac_exeext &&
16261 $as_test_x conftest$ac_exeext; then
16262 eval "$as_ac_var=yes"
16263 else
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.$ac_ext >&5
16267 eval "$as_ac_var=no"
16270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16271 conftest$ac_exeext conftest.$ac_ext
16273 ac_res=`eval echo '${'$as_ac_var'}'`
16274 { echo "$as_me:$LINENO: result: $ac_res" >&5
16275 echo "${ECHO_T}$ac_res" >&6; }
16276 if test `eval echo '${'$as_ac_var'}'` = yes; then
16277 cat >>confdefs.h <<_ACEOF
16278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16279 _ACEOF
16282 done
16284 LIBS="$ac_wine_check_funcs_save_LIBS"
16286 if test "$ac_cv_func_poll" = no
16287 then
16288 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16289 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16290 if test "${ac_cv_lib_poll_poll+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293 ac_check_lib_save_LIBS=$LIBS
16294 LIBS="-lpoll $LIBS"
16295 cat >conftest.$ac_ext <<_ACEOF
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16305 #ifdef __cplusplus
16306 extern "C"
16307 #endif
16308 char poll ();
16310 main ()
16312 return poll ();
16314 return 0;
16316 _ACEOF
16317 rm -f conftest.$ac_objext conftest$ac_exeext
16318 if { (ac_try="$ac_link"
16319 case "(($ac_try" in
16320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16321 *) ac_try_echo=$ac_try;;
16322 esac
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_link") 2>conftest.er1
16325 ac_status=$?
16326 grep -v '^ *+' conftest.er1 >conftest.err
16327 rm -f conftest.er1
16328 cat conftest.err >&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } && {
16331 test -z "$ac_c_werror_flag" ||
16332 test ! -s conftest.err
16333 } && test -s conftest$ac_exeext &&
16334 $as_test_x conftest$ac_exeext; then
16335 ac_cv_lib_poll_poll=yes
16336 else
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16340 ac_cv_lib_poll_poll=no
16343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16344 conftest$ac_exeext conftest.$ac_ext
16345 LIBS=$ac_check_lib_save_LIBS
16347 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16348 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16349 if test $ac_cv_lib_poll_poll = yes; then
16350 cat >>confdefs.h <<\_ACEOF
16351 #define HAVE_POLL 1
16352 _ACEOF
16353 LIBPOLL="-lpoll"
16359 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16360 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16361 if test "${ac_cv_search_gethostbyname+set}" = set; then
16362 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 else
16364 ac_func_search_save_LIBS=$LIBS
16365 cat >conftest.$ac_ext <<_ACEOF
16366 /* confdefs.h. */
16367 _ACEOF
16368 cat confdefs.h >>conftest.$ac_ext
16369 cat >>conftest.$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16375 #ifdef __cplusplus
16376 extern "C"
16377 #endif
16378 char gethostbyname ();
16380 main ()
16382 return gethostbyname ();
16384 return 0;
16386 _ACEOF
16387 for ac_lib in '' nsl; do
16388 if test -z "$ac_lib"; then
16389 ac_res="none required"
16390 else
16391 ac_res=-l$ac_lib
16392 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16394 rm -f conftest.$ac_objext conftest$ac_exeext
16395 if { (ac_try="$ac_link"
16396 case "(($ac_try" in
16397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16398 *) ac_try_echo=$ac_try;;
16399 esac
16400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 (eval "$ac_link") 2>conftest.er1
16402 ac_status=$?
16403 grep -v '^ *+' conftest.er1 >conftest.err
16404 rm -f conftest.er1
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } && {
16408 test -z "$ac_c_werror_flag" ||
16409 test ! -s conftest.err
16410 } && test -s conftest$ac_exeext &&
16411 $as_test_x conftest$ac_exeext; then
16412 ac_cv_search_gethostbyname=$ac_res
16413 else
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16421 conftest$ac_exeext
16422 if test "${ac_cv_search_gethostbyname+set}" = set; then
16423 break
16425 done
16426 if test "${ac_cv_search_gethostbyname+set}" = set; then
16428 else
16429 ac_cv_search_gethostbyname=no
16431 rm conftest.$ac_ext
16432 LIBS=$ac_func_search_save_LIBS
16434 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16435 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16436 ac_res=$ac_cv_search_gethostbyname
16437 if test "$ac_res" != no; then
16438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16443 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16444 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16445 if test "${ac_cv_search_connect+set}" = set; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 else
16448 ac_func_search_save_LIBS=$LIBS
16449 cat >conftest.$ac_ext <<_ACEOF
16450 /* confdefs.h. */
16451 _ACEOF
16452 cat confdefs.h >>conftest.$ac_ext
16453 cat >>conftest.$ac_ext <<_ACEOF
16454 /* end confdefs.h. */
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16459 #ifdef __cplusplus
16460 extern "C"
16461 #endif
16462 char connect ();
16464 main ()
16466 return connect ();
16468 return 0;
16470 _ACEOF
16471 for ac_lib in '' socket; do
16472 if test -z "$ac_lib"; then
16473 ac_res="none required"
16474 else
16475 ac_res=-l$ac_lib
16476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16478 rm -f conftest.$ac_objext conftest$ac_exeext
16479 if { (ac_try="$ac_link"
16480 case "(($ac_try" in
16481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16482 *) ac_try_echo=$ac_try;;
16483 esac
16484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16485 (eval "$ac_link") 2>conftest.er1
16486 ac_status=$?
16487 grep -v '^ *+' conftest.er1 >conftest.err
16488 rm -f conftest.er1
16489 cat conftest.err >&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } && {
16492 test -z "$ac_c_werror_flag" ||
16493 test ! -s conftest.err
16494 } && test -s conftest$ac_exeext &&
16495 $as_test_x conftest$ac_exeext; then
16496 ac_cv_search_connect=$ac_res
16497 else
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.$ac_ext >&5
16504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16505 conftest$ac_exeext
16506 if test "${ac_cv_search_connect+set}" = set; then
16507 break
16509 done
16510 if test "${ac_cv_search_connect+set}" = set; then
16512 else
16513 ac_cv_search_connect=no
16515 rm conftest.$ac_ext
16516 LIBS=$ac_func_search_save_LIBS
16518 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16519 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16520 ac_res=$ac_cv_search_connect
16521 if test "$ac_res" != no; then
16522 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16527 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16528 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16529 if test "${ac_cv_search_inet_aton+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 ac_func_search_save_LIBS=$LIBS
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16543 #ifdef __cplusplus
16544 extern "C"
16545 #endif
16546 char inet_aton ();
16548 main ()
16550 return inet_aton ();
16552 return 0;
16554 _ACEOF
16555 for ac_lib in '' resolv; do
16556 if test -z "$ac_lib"; then
16557 ac_res="none required"
16558 else
16559 ac_res=-l$ac_lib
16560 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16562 rm -f conftest.$ac_objext conftest$ac_exeext
16563 if { (ac_try="$ac_link"
16564 case "(($ac_try" in
16565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16566 *) ac_try_echo=$ac_try;;
16567 esac
16568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16569 (eval "$ac_link") 2>conftest.er1
16570 ac_status=$?
16571 grep -v '^ *+' conftest.er1 >conftest.err
16572 rm -f conftest.er1
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } && {
16576 test -z "$ac_c_werror_flag" ||
16577 test ! -s conftest.err
16578 } && test -s conftest$ac_exeext &&
16579 $as_test_x conftest$ac_exeext; then
16580 ac_cv_search_inet_aton=$ac_res
16581 else
16582 echo "$as_me: failed program was:" >&5
16583 sed 's/^/| /' conftest.$ac_ext >&5
16588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16589 conftest$ac_exeext
16590 if test "${ac_cv_search_inet_aton+set}" = set; then
16591 break
16593 done
16594 if test "${ac_cv_search_inet_aton+set}" = set; then
16596 else
16597 ac_cv_search_inet_aton=no
16599 rm conftest.$ac_ext
16600 LIBS=$ac_func_search_save_LIBS
16602 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16603 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16604 ac_res=$ac_cv_search_inet_aton
16605 if test "$ac_res" != no; then
16606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16619 for ac_func in \
16620 getaddrinfo \
16621 getnameinfo \
16622 getnetbyname \
16623 getprotobyname \
16624 getprotobynumber \
16625 getservbyport \
16626 inet_network \
16627 sendmsg \
16630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 else
16636 cat >conftest.$ac_ext <<_ACEOF
16637 /* confdefs.h. */
16638 _ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16644 #define $ac_func innocuous_$ac_func
16646 /* System header to define __stub macros and hopefully few prototypes,
16647 which can conflict with char $ac_func (); below.
16648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16649 <limits.h> exists even on freestanding compilers. */
16651 #ifdef __STDC__
16652 # include <limits.h>
16653 #else
16654 # include <assert.h>
16655 #endif
16657 #undef $ac_func
16659 /* Override any GCC internal prototype to avoid an error.
16660 Use char because int might match the return type of a GCC
16661 builtin and then its argument prototype would still apply. */
16662 #ifdef __cplusplus
16663 extern "C"
16664 #endif
16665 char $ac_func ();
16666 /* The GNU C library defines this for functions which it implements
16667 to always fail with ENOSYS. Some functions are actually named
16668 something starting with __ and the normal name is an alias. */
16669 #if defined __stub_$ac_func || defined __stub___$ac_func
16670 choke me
16671 #endif
16674 main ()
16676 return $ac_func ();
16678 return 0;
16680 _ACEOF
16681 rm -f conftest.$ac_objext conftest$ac_exeext
16682 if { (ac_try="$ac_link"
16683 case "(($ac_try" in
16684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16685 *) ac_try_echo=$ac_try;;
16686 esac
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_link") 2>conftest.er1
16689 ac_status=$?
16690 grep -v '^ *+' conftest.er1 >conftest.err
16691 rm -f conftest.er1
16692 cat conftest.err >&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } && {
16695 test -z "$ac_c_werror_flag" ||
16696 test ! -s conftest.err
16697 } && test -s conftest$ac_exeext &&
16698 $as_test_x conftest$ac_exeext; then
16699 eval "$as_ac_var=yes"
16700 else
16701 echo "$as_me: failed program was:" >&5
16702 sed 's/^/| /' conftest.$ac_ext >&5
16704 eval "$as_ac_var=no"
16707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16708 conftest$ac_exeext conftest.$ac_ext
16710 ac_res=`eval echo '${'$as_ac_var'}'`
16711 { echo "$as_me:$LINENO: result: $ac_res" >&5
16712 echo "${ECHO_T}$ac_res" >&6; }
16713 if test `eval echo '${'$as_ac_var'}'` = yes; then
16714 cat >>confdefs.h <<_ACEOF
16715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16716 _ACEOF
16719 done
16723 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16724 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16725 if test "${ac_cv_c_const+set}" = set; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16727 else
16728 cat >conftest.$ac_ext <<_ACEOF
16729 /* confdefs.h. */
16730 _ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16736 main ()
16738 /* FIXME: Include the comments suggested by Paul. */
16739 #ifndef __cplusplus
16740 /* Ultrix mips cc rejects this. */
16741 typedef int charset[2];
16742 const charset cs;
16743 /* SunOS 4.1.1 cc rejects this. */
16744 char const *const *pcpcc;
16745 char **ppc;
16746 /* NEC SVR4.0.2 mips cc rejects this. */
16747 struct point {int x, y;};
16748 static struct point const zero = {0,0};
16749 /* AIX XL C 1.02.0.0 rejects this.
16750 It does not let you subtract one const X* pointer from another in
16751 an arm of an if-expression whose if-part is not a constant
16752 expression */
16753 const char *g = "string";
16754 pcpcc = &g + (g ? g-g : 0);
16755 /* HPUX 7.0 cc rejects these. */
16756 ++pcpcc;
16757 ppc = (char**) pcpcc;
16758 pcpcc = (char const *const *) ppc;
16759 { /* SCO 3.2v4 cc rejects this. */
16760 char *t;
16761 char const *s = 0 ? (char *) 0 : (char const *) 0;
16763 *t++ = 0;
16764 if (s) return 0;
16766 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16767 int x[] = {25, 17};
16768 const int *foo = &x[0];
16769 ++foo;
16771 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16772 typedef const int *iptr;
16773 iptr p = 0;
16774 ++p;
16776 { /* AIX XL C 1.02.0.0 rejects this saying
16777 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16778 struct s { int j; const int *ap[3]; };
16779 struct s *b; b->j = 5;
16781 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16782 const int foo = 10;
16783 if (!foo) return 0;
16785 return !cs[0] && !zero.x;
16786 #endif
16789 return 0;
16791 _ACEOF
16792 rm -f conftest.$ac_objext
16793 if { (ac_try="$ac_compile"
16794 case "(($ac_try" in
16795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16796 *) ac_try_echo=$ac_try;;
16797 esac
16798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16799 (eval "$ac_compile") 2>conftest.er1
16800 ac_status=$?
16801 grep -v '^ *+' conftest.er1 >conftest.err
16802 rm -f conftest.er1
16803 cat conftest.err >&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } && {
16806 test -z "$ac_c_werror_flag" ||
16807 test ! -s conftest.err
16808 } && test -s conftest.$ac_objext; then
16809 ac_cv_c_const=yes
16810 else
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16814 ac_cv_c_const=no
16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16819 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16820 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16821 if test $ac_cv_c_const = no; then
16823 cat >>confdefs.h <<\_ACEOF
16824 #define const
16825 _ACEOF
16829 { echo "$as_me:$LINENO: checking for inline" >&5
16830 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16831 if test "${ac_cv_c_inline+set}" = set; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 else
16834 ac_cv_c_inline=no
16835 for ac_kw in inline __inline__ __inline; do
16836 cat >conftest.$ac_ext <<_ACEOF
16837 /* confdefs.h. */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 #ifndef __cplusplus
16843 typedef int foo_t;
16844 static $ac_kw foo_t static_foo () {return 0; }
16845 $ac_kw foo_t foo () {return 0; }
16846 #endif
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16854 esac
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_compile") 2>conftest.er1
16857 ac_status=$?
16858 grep -v '^ *+' conftest.er1 >conftest.err
16859 rm -f conftest.er1
16860 cat conftest.err >&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } && {
16863 test -z "$ac_c_werror_flag" ||
16864 test ! -s conftest.err
16865 } && test -s conftest.$ac_objext; then
16866 ac_cv_c_inline=$ac_kw
16867 else
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 test "$ac_cv_c_inline" != no && break
16876 done
16879 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16880 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16883 case $ac_cv_c_inline in
16884 inline | yes) ;;
16886 case $ac_cv_c_inline in
16887 no) ac_val=;;
16888 *) ac_val=$ac_cv_c_inline;;
16889 esac
16890 cat >>confdefs.h <<_ACEOF
16891 #ifndef __cplusplus
16892 #define inline $ac_val
16893 #endif
16894 _ACEOF
16896 esac
16898 { echo "$as_me:$LINENO: checking for mode_t" >&5
16899 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16900 if test "${ac_cv_type_mode_t+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 else
16903 cat >conftest.$ac_ext <<_ACEOF
16904 /* confdefs.h. */
16905 _ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 $ac_includes_default
16910 typedef mode_t ac__type_new_;
16912 main ()
16914 if ((ac__type_new_ *) 0)
16915 return 0;
16916 if (sizeof (ac__type_new_))
16917 return 0;
16919 return 0;
16921 _ACEOF
16922 rm -f conftest.$ac_objext
16923 if { (ac_try="$ac_compile"
16924 case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16927 esac
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_compile") 2>conftest.er1
16930 ac_status=$?
16931 grep -v '^ *+' conftest.er1 >conftest.err
16932 rm -f conftest.er1
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } && {
16936 test -z "$ac_c_werror_flag" ||
16937 test ! -s conftest.err
16938 } && test -s conftest.$ac_objext; then
16939 ac_cv_type_mode_t=yes
16940 else
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 ac_cv_type_mode_t=no
16947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16949 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16950 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16951 if test $ac_cv_type_mode_t = yes; then
16953 cat >>confdefs.h <<_ACEOF
16954 #define HAVE_MODE_T 1
16955 _ACEOF
16959 { echo "$as_me:$LINENO: checking for off_t" >&5
16960 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16961 if test "${ac_cv_type_off_t+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16964 cat >conftest.$ac_ext <<_ACEOF
16965 /* confdefs.h. */
16966 _ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16970 $ac_includes_default
16971 typedef off_t ac__type_new_;
16973 main ()
16975 if ((ac__type_new_ *) 0)
16976 return 0;
16977 if (sizeof (ac__type_new_))
16978 return 0;
16980 return 0;
16982 _ACEOF
16983 rm -f conftest.$ac_objext
16984 if { (ac_try="$ac_compile"
16985 case "(($ac_try" in
16986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16987 *) ac_try_echo=$ac_try;;
16988 esac
16989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16990 (eval "$ac_compile") 2>conftest.er1
16991 ac_status=$?
16992 grep -v '^ *+' conftest.er1 >conftest.err
16993 rm -f conftest.er1
16994 cat conftest.err >&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } && {
16997 test -z "$ac_c_werror_flag" ||
16998 test ! -s conftest.err
16999 } && test -s conftest.$ac_objext; then
17000 ac_cv_type_off_t=yes
17001 else
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.$ac_ext >&5
17005 ac_cv_type_off_t=no
17008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17011 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17012 if test $ac_cv_type_off_t = yes; then
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_OFF_T 1
17016 _ACEOF
17020 { echo "$as_me:$LINENO: checking for pid_t" >&5
17021 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17022 if test "${ac_cv_type_pid_t+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 else
17025 cat >conftest.$ac_ext <<_ACEOF
17026 /* confdefs.h. */
17027 _ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031 $ac_includes_default
17032 typedef pid_t ac__type_new_;
17034 main ()
17036 if ((ac__type_new_ *) 0)
17037 return 0;
17038 if (sizeof (ac__type_new_))
17039 return 0;
17041 return 0;
17043 _ACEOF
17044 rm -f conftest.$ac_objext
17045 if { (ac_try="$ac_compile"
17046 case "(($ac_try" in
17047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17048 *) ac_try_echo=$ac_try;;
17049 esac
17050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17051 (eval "$ac_compile") 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } && {
17058 test -z "$ac_c_werror_flag" ||
17059 test ! -s conftest.err
17060 } && test -s conftest.$ac_objext; then
17061 ac_cv_type_pid_t=yes
17062 else
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17066 ac_cv_type_pid_t=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17072 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17073 if test $ac_cv_type_pid_t = yes; then
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_PID_T 1
17077 _ACEOF
17081 { echo "$as_me:$LINENO: checking for size_t" >&5
17082 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17083 if test "${ac_cv_type_size_t+set}" = set; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 else
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 $ac_includes_default
17093 typedef size_t ac__type_new_;
17095 main ()
17097 if ((ac__type_new_ *) 0)
17098 return 0;
17099 if (sizeof (ac__type_new_))
17100 return 0;
17102 return 0;
17104 _ACEOF
17105 rm -f conftest.$ac_objext
17106 if { (ac_try="$ac_compile"
17107 case "(($ac_try" in
17108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17109 *) ac_try_echo=$ac_try;;
17110 esac
17111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17112 (eval "$ac_compile") 2>conftest.er1
17113 ac_status=$?
17114 grep -v '^ *+' conftest.er1 >conftest.err
17115 rm -f conftest.er1
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } && {
17119 test -z "$ac_c_werror_flag" ||
17120 test ! -s conftest.err
17121 } && test -s conftest.$ac_objext; then
17122 ac_cv_type_size_t=yes
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 ac_cv_type_size_t=no
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17133 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17134 if test $ac_cv_type_size_t = yes; then
17136 cat >>confdefs.h <<_ACEOF
17137 #define HAVE_SIZE_T 1
17138 _ACEOF
17142 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17143 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17144 if test "${ac_cv_type_ssize_t+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 else
17147 cat >conftest.$ac_ext <<_ACEOF
17148 /* confdefs.h. */
17149 _ACEOF
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 $ac_includes_default
17154 typedef ssize_t ac__type_new_;
17156 main ()
17158 if ((ac__type_new_ *) 0)
17159 return 0;
17160 if (sizeof (ac__type_new_))
17161 return 0;
17163 return 0;
17165 _ACEOF
17166 rm -f conftest.$ac_objext
17167 if { (ac_try="$ac_compile"
17168 case "(($ac_try" in
17169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17170 *) ac_try_echo=$ac_try;;
17171 esac
17172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17173 (eval "$ac_compile") 2>conftest.er1
17174 ac_status=$?
17175 grep -v '^ *+' conftest.er1 >conftest.err
17176 rm -f conftest.er1
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } && {
17180 test -z "$ac_c_werror_flag" ||
17181 test ! -s conftest.err
17182 } && test -s conftest.$ac_objext; then
17183 ac_cv_type_ssize_t=yes
17184 else
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.$ac_ext >&5
17188 ac_cv_type_ssize_t=no
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17193 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17194 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17195 if test $ac_cv_type_ssize_t = yes; then
17197 cat >>confdefs.h <<_ACEOF
17198 #define HAVE_SSIZE_T 1
17199 _ACEOF
17203 { echo "$as_me:$LINENO: checking for long long" >&5
17204 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17205 if test "${ac_cv_type_long_long+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 else
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 $ac_includes_default
17215 typedef long long ac__type_new_;
17217 main ()
17219 if ((ac__type_new_ *) 0)
17220 return 0;
17221 if (sizeof (ac__type_new_))
17222 return 0;
17224 return 0;
17226 _ACEOF
17227 rm -f conftest.$ac_objext
17228 if { (ac_try="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17231 *) ac_try_echo=$ac_try;;
17232 esac
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17235 ac_status=$?
17236 grep -v '^ *+' conftest.er1 >conftest.err
17237 rm -f conftest.er1
17238 cat conftest.err >&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.$ac_objext; then
17244 ac_cv_type_long_long=yes
17245 else
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17249 ac_cv_type_long_long=no
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17254 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17255 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17256 if test $ac_cv_type_long_long = yes; then
17258 cat >>confdefs.h <<_ACEOF
17259 #define HAVE_LONG_LONG 1
17260 _ACEOF
17264 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17265 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17266 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17267 echo $ECHO_N "(cached) $ECHO_C" >&6
17268 else
17269 cat >conftest.$ac_ext <<_ACEOF
17270 /* confdefs.h. */
17271 _ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17276 typedef fsblkcnt_t ac__type_new_;
17278 main ()
17280 if ((ac__type_new_ *) 0)
17281 return 0;
17282 if (sizeof (ac__type_new_))
17283 return 0;
17285 return 0;
17287 _ACEOF
17288 rm -f conftest.$ac_objext
17289 if { (ac_try="$ac_compile"
17290 case "(($ac_try" in
17291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17292 *) ac_try_echo=$ac_try;;
17293 esac
17294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17295 (eval "$ac_compile") 2>conftest.er1
17296 ac_status=$?
17297 grep -v '^ *+' conftest.er1 >conftest.err
17298 rm -f conftest.er1
17299 cat conftest.err >&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } && {
17302 test -z "$ac_c_werror_flag" ||
17303 test ! -s conftest.err
17304 } && test -s conftest.$ac_objext; then
17305 ac_cv_type_fsblkcnt_t=yes
17306 else
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17310 ac_cv_type_fsblkcnt_t=no
17313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17315 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17316 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17317 if test $ac_cv_type_fsblkcnt_t = yes; then
17319 cat >>confdefs.h <<_ACEOF
17320 #define HAVE_FSBLKCNT_T 1
17321 _ACEOF
17325 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17326 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17327 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 else
17330 cat >conftest.$ac_ext <<_ACEOF
17331 /* confdefs.h. */
17332 _ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336 $ac_includes_default
17337 typedef fsfilcnt_t ac__type_new_;
17339 main ()
17341 if ((ac__type_new_ *) 0)
17342 return 0;
17343 if (sizeof (ac__type_new_))
17344 return 0;
17346 return 0;
17348 _ACEOF
17349 rm -f conftest.$ac_objext
17350 if { (ac_try="$ac_compile"
17351 case "(($ac_try" in
17352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17353 *) ac_try_echo=$ac_try;;
17354 esac
17355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17356 (eval "$ac_compile") 2>conftest.er1
17357 ac_status=$?
17358 grep -v '^ *+' conftest.er1 >conftest.err
17359 rm -f conftest.er1
17360 cat conftest.err >&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } && {
17363 test -z "$ac_c_werror_flag" ||
17364 test ! -s conftest.err
17365 } && test -s conftest.$ac_objext; then
17366 ac_cv_type_fsfilcnt_t=yes
17367 else
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.$ac_ext >&5
17371 ac_cv_type_fsfilcnt_t=no
17374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17376 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17377 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17378 if test $ac_cv_type_fsfilcnt_t = yes; then
17380 cat >>confdefs.h <<_ACEOF
17381 #define HAVE_FSFILCNT_T 1
17382 _ACEOF
17387 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17388 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17389 if test "${ac_cv_type_sigset_t+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 else
17392 cat >conftest.$ac_ext <<_ACEOF
17393 /* confdefs.h. */
17394 _ACEOF
17395 cat confdefs.h >>conftest.$ac_ext
17396 cat >>conftest.$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 #include <signal.h>
17400 typedef sigset_t ac__type_new_;
17402 main ()
17404 if ((ac__type_new_ *) 0)
17405 return 0;
17406 if (sizeof (ac__type_new_))
17407 return 0;
17409 return 0;
17411 _ACEOF
17412 rm -f conftest.$ac_objext
17413 if { (ac_try="$ac_compile"
17414 case "(($ac_try" in
17415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17416 *) ac_try_echo=$ac_try;;
17417 esac
17418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17419 (eval "$ac_compile") 2>conftest.er1
17420 ac_status=$?
17421 grep -v '^ *+' conftest.er1 >conftest.err
17422 rm -f conftest.er1
17423 cat conftest.err >&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } && {
17426 test -z "$ac_c_werror_flag" ||
17427 test ! -s conftest.err
17428 } && test -s conftest.$ac_objext; then
17429 ac_cv_type_sigset_t=yes
17430 else
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.$ac_ext >&5
17434 ac_cv_type_sigset_t=no
17437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17440 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17441 if test $ac_cv_type_sigset_t = yes; then
17443 cat >>confdefs.h <<_ACEOF
17444 #define HAVE_SIGSET_T 1
17445 _ACEOF
17450 { echo "$as_me:$LINENO: checking for request_sense" >&5
17451 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17452 if test "${ac_cv_type_request_sense+set}" = set; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 else
17455 cat >conftest.$ac_ext <<_ACEOF
17456 /* confdefs.h. */
17457 _ACEOF
17458 cat confdefs.h >>conftest.$ac_ext
17459 cat >>conftest.$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17461 #include <linux/cdrom.h>
17463 typedef request_sense ac__type_new_;
17465 main ()
17467 if ((ac__type_new_ *) 0)
17468 return 0;
17469 if (sizeof (ac__type_new_))
17470 return 0;
17472 return 0;
17474 _ACEOF
17475 rm -f conftest.$ac_objext
17476 if { (ac_try="$ac_compile"
17477 case "(($ac_try" in
17478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17479 *) ac_try_echo=$ac_try;;
17480 esac
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_compile") 2>conftest.er1
17483 ac_status=$?
17484 grep -v '^ *+' conftest.er1 >conftest.err
17485 rm -f conftest.er1
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } && {
17489 test -z "$ac_c_werror_flag" ||
17490 test ! -s conftest.err
17491 } && test -s conftest.$ac_objext; then
17492 ac_cv_type_request_sense=yes
17493 else
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17497 ac_cv_type_request_sense=no
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17503 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17504 if test $ac_cv_type_request_sense = yes; then
17506 cat >>confdefs.h <<_ACEOF
17507 #define HAVE_REQUEST_SENSE 1
17508 _ACEOF
17514 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17515 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17516 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 else
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 #ifdef HAVE_LINUX_INPUT_H
17526 #include <linux/input.h>
17527 #endif
17530 main ()
17532 static struct ff_effect ac_aggr;
17533 if (ac_aggr.direction)
17534 return 0;
17536 return 0;
17538 _ACEOF
17539 rm -f conftest.$ac_objext
17540 if { (ac_try="$ac_compile"
17541 case "(($ac_try" in
17542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17543 *) ac_try_echo=$ac_try;;
17544 esac
17545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17546 (eval "$ac_compile") 2>conftest.er1
17547 ac_status=$?
17548 grep -v '^ *+' conftest.er1 >conftest.err
17549 rm -f conftest.er1
17550 cat conftest.err >&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } && {
17553 test -z "$ac_c_werror_flag" ||
17554 test ! -s conftest.err
17555 } && test -s conftest.$ac_objext; then
17556 ac_cv_member_struct_ff_effect_direction=yes
17557 else
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.$ac_ext >&5
17561 cat >conftest.$ac_ext <<_ACEOF
17562 /* confdefs.h. */
17563 _ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567 #ifdef HAVE_LINUX_INPUT_H
17568 #include <linux/input.h>
17569 #endif
17572 main ()
17574 static struct ff_effect ac_aggr;
17575 if (sizeof ac_aggr.direction)
17576 return 0;
17578 return 0;
17580 _ACEOF
17581 rm -f conftest.$ac_objext
17582 if { (ac_try="$ac_compile"
17583 case "(($ac_try" in
17584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17585 *) ac_try_echo=$ac_try;;
17586 esac
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_compile") 2>conftest.er1
17589 ac_status=$?
17590 grep -v '^ *+' conftest.er1 >conftest.err
17591 rm -f conftest.er1
17592 cat conftest.err >&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } && {
17595 test -z "$ac_c_werror_flag" ||
17596 test ! -s conftest.err
17597 } && test -s conftest.$ac_objext; then
17598 ac_cv_member_struct_ff_effect_direction=yes
17599 else
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17603 ac_cv_member_struct_ff_effect_direction=no
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17611 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17612 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17613 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17615 cat >>confdefs.h <<_ACEOF
17616 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17617 _ACEOF
17623 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17624 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17625 if test "${wine_cv_have_sigaddset+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 else
17628 cat >conftest.$ac_ext <<_ACEOF
17629 /* confdefs.h. */
17630 _ACEOF
17631 cat confdefs.h >>conftest.$ac_ext
17632 cat >>conftest.$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 #include <signal.h>
17636 main ()
17638 sigset_t set; sigaddset(&set,SIGTERM);
17640 return 0;
17642 _ACEOF
17643 rm -f conftest.$ac_objext conftest$ac_exeext
17644 if { (ac_try="$ac_link"
17645 case "(($ac_try" in
17646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17648 esac
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_link") 2>conftest.er1
17651 ac_status=$?
17652 grep -v '^ *+' conftest.er1 >conftest.err
17653 rm -f conftest.er1
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } && {
17657 test -z "$ac_c_werror_flag" ||
17658 test ! -s conftest.err
17659 } && test -s conftest$ac_exeext &&
17660 $as_test_x conftest$ac_exeext; then
17661 wine_cv_have_sigaddset=yes
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 wine_cv_have_sigaddset=no
17669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17670 conftest$ac_exeext conftest.$ac_ext
17672 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17673 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17674 if test "$wine_cv_have_sigaddset" = "yes"
17675 then
17677 cat >>confdefs.h <<\_ACEOF
17678 #define HAVE_SIGADDSET 1
17679 _ACEOF
17684 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17685 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17686 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689 cat >conftest.$ac_ext <<_ACEOF
17690 /* confdefs.h. */
17691 _ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 #include <netdb.h>
17697 main ()
17700 char *name=0;
17701 struct hostent he;
17702 struct hostent *result;
17703 char *buf=0;
17704 int bufsize=0;
17705 int res,errnr;
17706 char *addr=0;
17707 int addrlen=0;
17708 int addrtype=0;
17709 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17710 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17713 return 0;
17715 _ACEOF
17716 rm -f conftest.$ac_objext conftest$ac_exeext
17717 if { (ac_try="$ac_link"
17718 case "(($ac_try" in
17719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17720 *) ac_try_echo=$ac_try;;
17721 esac
17722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17723 (eval "$ac_link") 2>conftest.er1
17724 ac_status=$?
17725 grep -v '^ *+' conftest.er1 >conftest.err
17726 rm -f conftest.er1
17727 cat conftest.err >&5
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); } && {
17730 test -z "$ac_c_werror_flag" ||
17731 test ! -s conftest.err
17732 } && test -s conftest$ac_exeext &&
17733 $as_test_x conftest$ac_exeext; then
17734 wine_cv_linux_gethostbyname_r_6=yes
17735 else
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.$ac_ext >&5
17739 wine_cv_linux_gethostbyname_r_6=no
17743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17744 conftest$ac_exeext conftest.$ac_ext
17747 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17748 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17749 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17750 then
17752 cat >>confdefs.h <<\_ACEOF
17753 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17754 _ACEOF
17758 if test "$ac_cv_header_linux_joystick_h" = "yes"
17759 then
17760 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17761 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17762 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17763 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 else
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17772 #include <sys/ioctl.h>
17773 #include <sys/types.h>
17774 #include <linux/joystick.h>
17776 struct js_event blub;
17777 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17778 #error "no 2.2 header"
17779 #endif
17782 main ()
17784 /*empty*/
17786 return 0;
17788 _ACEOF
17789 rm -f conftest.$ac_objext
17790 if { (ac_try="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17794 esac
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_c_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 wine_cv_linux_joystick_22_api=yes
17807 else
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17811 wine_cv_linux_joystick_22_api=no
17814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17818 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17819 if test "$wine_cv_linux_joystick_22_api" = "yes"
17820 then
17822 cat >>confdefs.h <<\_ACEOF
17823 #define HAVE_LINUX_22_JOYSTICK_API 1
17824 _ACEOF
17830 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17831 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17832 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17834 else
17835 cat >conftest.$ac_ext <<_ACEOF
17836 /* confdefs.h. */
17837 _ACEOF
17838 cat confdefs.h >>conftest.$ac_ext
17839 cat >>conftest.$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17841 #include <sys/types.h>
17842 #ifdef HAVE_SYS_PARAM_H
17843 # include <sys/param.h>
17844 #endif
17845 #ifdef HAVE_SYS_MOUNT_H
17846 # include <sys/mount.h>
17847 #endif
17848 #ifdef HAVE_SYS_VFS_H
17849 # include <sys/vfs.h>
17850 #endif
17851 #ifdef HAVE_SYS_STATFS_H
17852 # include <sys/statfs.h>
17853 #endif
17856 main ()
17858 static struct statfs ac_aggr;
17859 if (ac_aggr.f_bfree)
17860 return 0;
17862 return 0;
17864 _ACEOF
17865 rm -f conftest.$ac_objext
17866 if { (ac_try="$ac_compile"
17867 case "(($ac_try" in
17868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17869 *) ac_try_echo=$ac_try;;
17870 esac
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_compile") 2>conftest.er1
17873 ac_status=$?
17874 grep -v '^ *+' conftest.er1 >conftest.err
17875 rm -f conftest.er1
17876 cat conftest.err >&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); } && {
17879 test -z "$ac_c_werror_flag" ||
17880 test ! -s conftest.err
17881 } && test -s conftest.$ac_objext; then
17882 ac_cv_member_struct_statfs_f_bfree=yes
17883 else
17884 echo "$as_me: failed program was:" >&5
17885 sed 's/^/| /' conftest.$ac_ext >&5
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893 #include <sys/types.h>
17894 #ifdef HAVE_SYS_PARAM_H
17895 # include <sys/param.h>
17896 #endif
17897 #ifdef HAVE_SYS_MOUNT_H
17898 # include <sys/mount.h>
17899 #endif
17900 #ifdef HAVE_SYS_VFS_H
17901 # include <sys/vfs.h>
17902 #endif
17903 #ifdef HAVE_SYS_STATFS_H
17904 # include <sys/statfs.h>
17905 #endif
17908 main ()
17910 static struct statfs ac_aggr;
17911 if (sizeof ac_aggr.f_bfree)
17912 return 0;
17914 return 0;
17916 _ACEOF
17917 rm -f conftest.$ac_objext
17918 if { (ac_try="$ac_compile"
17919 case "(($ac_try" in
17920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17921 *) ac_try_echo=$ac_try;;
17922 esac
17923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17924 (eval "$ac_compile") 2>conftest.er1
17925 ac_status=$?
17926 grep -v '^ *+' conftest.er1 >conftest.err
17927 rm -f conftest.er1
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } && {
17931 test -z "$ac_c_werror_flag" ||
17932 test ! -s conftest.err
17933 } && test -s conftest.$ac_objext; then
17934 ac_cv_member_struct_statfs_f_bfree=yes
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17939 ac_cv_member_struct_statfs_f_bfree=no
17942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17948 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17949 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17951 cat >>confdefs.h <<_ACEOF
17952 #define HAVE_STRUCT_STATFS_F_BFREE 1
17953 _ACEOF
17957 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17958 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17959 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17960 echo $ECHO_N "(cached) $ECHO_C" >&6
17961 else
17962 cat >conftest.$ac_ext <<_ACEOF
17963 /* confdefs.h. */
17964 _ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 #include <sys/types.h>
17969 #ifdef HAVE_SYS_PARAM_H
17970 # include <sys/param.h>
17971 #endif
17972 #ifdef HAVE_SYS_MOUNT_H
17973 # include <sys/mount.h>
17974 #endif
17975 #ifdef HAVE_SYS_VFS_H
17976 # include <sys/vfs.h>
17977 #endif
17978 #ifdef HAVE_SYS_STATFS_H
17979 # include <sys/statfs.h>
17980 #endif
17983 main ()
17985 static struct statfs ac_aggr;
17986 if (ac_aggr.f_bavail)
17987 return 0;
17989 return 0;
17991 _ACEOF
17992 rm -f conftest.$ac_objext
17993 if { (ac_try="$ac_compile"
17994 case "(($ac_try" in
17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996 *) ac_try_echo=$ac_try;;
17997 esac
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_compile") 2>conftest.er1
18000 ac_status=$?
18001 grep -v '^ *+' conftest.er1 >conftest.err
18002 rm -f conftest.er1
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest.$ac_objext; then
18009 ac_cv_member_struct_statfs_f_bavail=yes
18010 else
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.$ac_ext >&5
18014 cat >conftest.$ac_ext <<_ACEOF
18015 /* confdefs.h. */
18016 _ACEOF
18017 cat confdefs.h >>conftest.$ac_ext
18018 cat >>conftest.$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18020 #include <sys/types.h>
18021 #ifdef HAVE_SYS_PARAM_H
18022 # include <sys/param.h>
18023 #endif
18024 #ifdef HAVE_SYS_MOUNT_H
18025 # include <sys/mount.h>
18026 #endif
18027 #ifdef HAVE_SYS_VFS_H
18028 # include <sys/vfs.h>
18029 #endif
18030 #ifdef HAVE_SYS_STATFS_H
18031 # include <sys/statfs.h>
18032 #endif
18035 main ()
18037 static struct statfs ac_aggr;
18038 if (sizeof ac_aggr.f_bavail)
18039 return 0;
18041 return 0;
18043 _ACEOF
18044 rm -f conftest.$ac_objext
18045 if { (ac_try="$ac_compile"
18046 case "(($ac_try" in
18047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18048 *) ac_try_echo=$ac_try;;
18049 esac
18050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18051 (eval "$ac_compile") 2>conftest.er1
18052 ac_status=$?
18053 grep -v '^ *+' conftest.er1 >conftest.err
18054 rm -f conftest.er1
18055 cat conftest.err >&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } && {
18058 test -z "$ac_c_werror_flag" ||
18059 test ! -s conftest.err
18060 } && test -s conftest.$ac_objext; then
18061 ac_cv_member_struct_statfs_f_bavail=yes
18062 else
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18066 ac_cv_member_struct_statfs_f_bavail=no
18069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18074 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18075 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18076 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18078 cat >>confdefs.h <<_ACEOF
18079 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18080 _ACEOF
18084 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18085 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18086 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 #include <sys/types.h>
18096 #ifdef HAVE_SYS_PARAM_H
18097 # include <sys/param.h>
18098 #endif
18099 #ifdef HAVE_SYS_MOUNT_H
18100 # include <sys/mount.h>
18101 #endif
18102 #ifdef HAVE_SYS_VFS_H
18103 # include <sys/vfs.h>
18104 #endif
18105 #ifdef HAVE_SYS_STATFS_H
18106 # include <sys/statfs.h>
18107 #endif
18110 main ()
18112 static struct statfs ac_aggr;
18113 if (ac_aggr.f_frsize)
18114 return 0;
18116 return 0;
18118 _ACEOF
18119 rm -f conftest.$ac_objext
18120 if { (ac_try="$ac_compile"
18121 case "(($ac_try" in
18122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18123 *) ac_try_echo=$ac_try;;
18124 esac
18125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18126 (eval "$ac_compile") 2>conftest.er1
18127 ac_status=$?
18128 grep -v '^ *+' conftest.er1 >conftest.err
18129 rm -f conftest.er1
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } && {
18133 test -z "$ac_c_werror_flag" ||
18134 test ! -s conftest.err
18135 } && test -s conftest.$ac_objext; then
18136 ac_cv_member_struct_statfs_f_frsize=yes
18137 else
18138 echo "$as_me: failed program was:" >&5
18139 sed 's/^/| /' conftest.$ac_ext >&5
18141 cat >conftest.$ac_ext <<_ACEOF
18142 /* confdefs.h. */
18143 _ACEOF
18144 cat confdefs.h >>conftest.$ac_ext
18145 cat >>conftest.$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 #include <sys/types.h>
18148 #ifdef HAVE_SYS_PARAM_H
18149 # include <sys/param.h>
18150 #endif
18151 #ifdef HAVE_SYS_MOUNT_H
18152 # include <sys/mount.h>
18153 #endif
18154 #ifdef HAVE_SYS_VFS_H
18155 # include <sys/vfs.h>
18156 #endif
18157 #ifdef HAVE_SYS_STATFS_H
18158 # include <sys/statfs.h>
18159 #endif
18162 main ()
18164 static struct statfs ac_aggr;
18165 if (sizeof ac_aggr.f_frsize)
18166 return 0;
18168 return 0;
18170 _ACEOF
18171 rm -f conftest.$ac_objext
18172 if { (ac_try="$ac_compile"
18173 case "(($ac_try" in
18174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18175 *) ac_try_echo=$ac_try;;
18176 esac
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_compile") 2>conftest.er1
18179 ac_status=$?
18180 grep -v '^ *+' conftest.er1 >conftest.err
18181 rm -f conftest.er1
18182 cat conftest.err >&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } && {
18185 test -z "$ac_c_werror_flag" ||
18186 test ! -s conftest.err
18187 } && test -s conftest.$ac_objext; then
18188 ac_cv_member_struct_statfs_f_frsize=yes
18189 else
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18193 ac_cv_member_struct_statfs_f_frsize=no
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18201 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18202 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18203 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18205 cat >>confdefs.h <<_ACEOF
18206 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18207 _ACEOF
18211 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18212 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18213 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18214 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 else
18216 cat >conftest.$ac_ext <<_ACEOF
18217 /* confdefs.h. */
18218 _ACEOF
18219 cat confdefs.h >>conftest.$ac_ext
18220 cat >>conftest.$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18222 #include <sys/types.h>
18223 #ifdef HAVE_SYS_PARAM_H
18224 # include <sys/param.h>
18225 #endif
18226 #ifdef HAVE_SYS_MOUNT_H
18227 # include <sys/mount.h>
18228 #endif
18229 #ifdef HAVE_SYS_VFS_H
18230 # include <sys/vfs.h>
18231 #endif
18232 #ifdef HAVE_SYS_STATFS_H
18233 # include <sys/statfs.h>
18234 #endif
18237 main ()
18239 static struct statfs ac_aggr;
18240 if (ac_aggr.f_ffree)
18241 return 0;
18243 return 0;
18245 _ACEOF
18246 rm -f conftest.$ac_objext
18247 if { (ac_try="$ac_compile"
18248 case "(($ac_try" in
18249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18250 *) ac_try_echo=$ac_try;;
18251 esac
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_compile") 2>conftest.er1
18254 ac_status=$?
18255 grep -v '^ *+' conftest.er1 >conftest.err
18256 rm -f conftest.er1
18257 cat conftest.err >&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } && {
18260 test -z "$ac_c_werror_flag" ||
18261 test ! -s conftest.err
18262 } && test -s conftest.$ac_objext; then
18263 ac_cv_member_struct_statfs_f_ffree=yes
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18268 cat >conftest.$ac_ext <<_ACEOF
18269 /* confdefs.h. */
18270 _ACEOF
18271 cat confdefs.h >>conftest.$ac_ext
18272 cat >>conftest.$ac_ext <<_ACEOF
18273 /* end confdefs.h. */
18274 #include <sys/types.h>
18275 #ifdef HAVE_SYS_PARAM_H
18276 # include <sys/param.h>
18277 #endif
18278 #ifdef HAVE_SYS_MOUNT_H
18279 # include <sys/mount.h>
18280 #endif
18281 #ifdef HAVE_SYS_VFS_H
18282 # include <sys/vfs.h>
18283 #endif
18284 #ifdef HAVE_SYS_STATFS_H
18285 # include <sys/statfs.h>
18286 #endif
18289 main ()
18291 static struct statfs ac_aggr;
18292 if (sizeof ac_aggr.f_ffree)
18293 return 0;
18295 return 0;
18297 _ACEOF
18298 rm -f conftest.$ac_objext
18299 if { (ac_try="$ac_compile"
18300 case "(($ac_try" in
18301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18302 *) ac_try_echo=$ac_try;;
18303 esac
18304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18305 (eval "$ac_compile") 2>conftest.er1
18306 ac_status=$?
18307 grep -v '^ *+' conftest.er1 >conftest.err
18308 rm -f conftest.er1
18309 cat conftest.err >&5
18310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); } && {
18312 test -z "$ac_c_werror_flag" ||
18313 test ! -s conftest.err
18314 } && test -s conftest.$ac_objext; then
18315 ac_cv_member_struct_statfs_f_ffree=yes
18316 else
18317 echo "$as_me: failed program was:" >&5
18318 sed 's/^/| /' conftest.$ac_ext >&5
18320 ac_cv_member_struct_statfs_f_ffree=no
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18329 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18330 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18332 cat >>confdefs.h <<_ACEOF
18333 #define HAVE_STRUCT_STATFS_F_FFREE 1
18334 _ACEOF
18338 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18339 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18340 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 else
18343 cat >conftest.$ac_ext <<_ACEOF
18344 /* confdefs.h. */
18345 _ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 #include <sys/types.h>
18350 #ifdef HAVE_SYS_PARAM_H
18351 # include <sys/param.h>
18352 #endif
18353 #ifdef HAVE_SYS_MOUNT_H
18354 # include <sys/mount.h>
18355 #endif
18356 #ifdef HAVE_SYS_VFS_H
18357 # include <sys/vfs.h>
18358 #endif
18359 #ifdef HAVE_SYS_STATFS_H
18360 # include <sys/statfs.h>
18361 #endif
18364 main ()
18366 static struct statfs ac_aggr;
18367 if (ac_aggr.f_favail)
18368 return 0;
18370 return 0;
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_cv_member_struct_statfs_f_favail=yes
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 cat >conftest.$ac_ext <<_ACEOF
18396 /* confdefs.h. */
18397 _ACEOF
18398 cat confdefs.h >>conftest.$ac_ext
18399 cat >>conftest.$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 #include <sys/types.h>
18402 #ifdef HAVE_SYS_PARAM_H
18403 # include <sys/param.h>
18404 #endif
18405 #ifdef HAVE_SYS_MOUNT_H
18406 # include <sys/mount.h>
18407 #endif
18408 #ifdef HAVE_SYS_VFS_H
18409 # include <sys/vfs.h>
18410 #endif
18411 #ifdef HAVE_SYS_STATFS_H
18412 # include <sys/statfs.h>
18413 #endif
18416 main ()
18418 static struct statfs ac_aggr;
18419 if (sizeof ac_aggr.f_favail)
18420 return 0;
18422 return 0;
18424 _ACEOF
18425 rm -f conftest.$ac_objext
18426 if { (ac_try="$ac_compile"
18427 case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18430 esac
18431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_compile") 2>conftest.er1
18433 ac_status=$?
18434 grep -v '^ *+' conftest.er1 >conftest.err
18435 rm -f conftest.er1
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } && {
18439 test -z "$ac_c_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest.$ac_objext; then
18442 ac_cv_member_struct_statfs_f_favail=yes
18443 else
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18447 ac_cv_member_struct_statfs_f_favail=no
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18455 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18456 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18457 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18459 cat >>confdefs.h <<_ACEOF
18460 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18461 _ACEOF
18465 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18466 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18467 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 else
18470 cat >conftest.$ac_ext <<_ACEOF
18471 /* confdefs.h. */
18472 _ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 #include <sys/types.h>
18477 #ifdef HAVE_SYS_PARAM_H
18478 # include <sys/param.h>
18479 #endif
18480 #ifdef HAVE_SYS_MOUNT_H
18481 # include <sys/mount.h>
18482 #endif
18483 #ifdef HAVE_SYS_VFS_H
18484 # include <sys/vfs.h>
18485 #endif
18486 #ifdef HAVE_SYS_STATFS_H
18487 # include <sys/statfs.h>
18488 #endif
18491 main ()
18493 static struct statfs ac_aggr;
18494 if (ac_aggr.f_namelen)
18495 return 0;
18497 return 0;
18499 _ACEOF
18500 rm -f conftest.$ac_objext
18501 if { (ac_try="$ac_compile"
18502 case "(($ac_try" in
18503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18504 *) ac_try_echo=$ac_try;;
18505 esac
18506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18507 (eval "$ac_compile") 2>conftest.er1
18508 ac_status=$?
18509 grep -v '^ *+' conftest.er1 >conftest.err
18510 rm -f conftest.er1
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } && {
18514 test -z "$ac_c_werror_flag" ||
18515 test ! -s conftest.err
18516 } && test -s conftest.$ac_objext; then
18517 ac_cv_member_struct_statfs_f_namelen=yes
18518 else
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.$ac_ext >&5
18522 cat >conftest.$ac_ext <<_ACEOF
18523 /* confdefs.h. */
18524 _ACEOF
18525 cat confdefs.h >>conftest.$ac_ext
18526 cat >>conftest.$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #include <sys/types.h>
18529 #ifdef HAVE_SYS_PARAM_H
18530 # include <sys/param.h>
18531 #endif
18532 #ifdef HAVE_SYS_MOUNT_H
18533 # include <sys/mount.h>
18534 #endif
18535 #ifdef HAVE_SYS_VFS_H
18536 # include <sys/vfs.h>
18537 #endif
18538 #ifdef HAVE_SYS_STATFS_H
18539 # include <sys/statfs.h>
18540 #endif
18543 main ()
18545 static struct statfs ac_aggr;
18546 if (sizeof ac_aggr.f_namelen)
18547 return 0;
18549 return 0;
18551 _ACEOF
18552 rm -f conftest.$ac_objext
18553 if { (ac_try="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18557 esac
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 ac_cv_member_struct_statfs_f_namelen=yes
18570 else
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_member_struct_statfs_f_namelen=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18583 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18584 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18586 cat >>confdefs.h <<_ACEOF
18587 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18588 _ACEOF
18594 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18595 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18596 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18599 cat >conftest.$ac_ext <<_ACEOF
18600 /* confdefs.h. */
18601 _ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 #ifdef HAVE_SYS_STATVFS_H
18606 #include <sys/statvfs.h>
18607 #endif
18610 main ()
18612 static struct statvfs ac_aggr;
18613 if (ac_aggr.f_blocks)
18614 return 0;
18616 return 0;
18618 _ACEOF
18619 rm -f conftest.$ac_objext
18620 if { (ac_try="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18624 esac
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18627 ac_status=$?
18628 grep -v '^ *+' conftest.er1 >conftest.err
18629 rm -f conftest.er1
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18636 ac_cv_member_struct_statvfs_f_blocks=yes
18637 else
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 #ifdef HAVE_SYS_STATVFS_H
18648 #include <sys/statvfs.h>
18649 #endif
18652 main ()
18654 static struct statvfs ac_aggr;
18655 if (sizeof ac_aggr.f_blocks)
18656 return 0;
18658 return 0;
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18666 esac
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.$ac_objext; then
18678 ac_cv_member_struct_statvfs_f_blocks=yes
18679 else
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 ac_cv_member_struct_statvfs_f_blocks=no
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18692 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18693 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18697 _ACEOF
18703 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18704 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18705 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 else
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 #include <sys/types.h>
18715 #ifdef HAVE_SYS_SOCKET_H
18716 # include <sys/socket.h>
18717 #endif
18718 #ifdef HAVE_SYS_UN_H
18719 # include <sys/un.h>
18720 #endif
18723 main ()
18725 static struct msghdr ac_aggr;
18726 if (ac_aggr.msg_accrights)
18727 return 0;
18729 return 0;
18731 _ACEOF
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18737 esac
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18740 ac_status=$?
18741 grep -v '^ *+' conftest.er1 >conftest.err
18742 rm -f conftest.er1
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_c_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 ac_cv_member_struct_msghdr_msg_accrights=yes
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h. */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 #include <sys/types.h>
18761 #ifdef HAVE_SYS_SOCKET_H
18762 # include <sys/socket.h>
18763 #endif
18764 #ifdef HAVE_SYS_UN_H
18765 # include <sys/un.h>
18766 #endif
18769 main ()
18771 static struct msghdr ac_aggr;
18772 if (sizeof ac_aggr.msg_accrights)
18773 return 0;
18775 return 0;
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18786 ac_status=$?
18787 grep -v '^ *+' conftest.er1 >conftest.err
18788 rm -f conftest.er1
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 ac_cv_member_struct_msghdr_msg_accrights=yes
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18800 ac_cv_member_struct_msghdr_msg_accrights=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18809 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18810 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18812 cat >>confdefs.h <<_ACEOF
18813 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18814 _ACEOF
18818 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18819 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18820 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 else
18823 cat >conftest.$ac_ext <<_ACEOF
18824 /* confdefs.h. */
18825 _ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 #include <sys/types.h>
18830 #ifdef HAVE_SYS_SOCKET_H
18831 # include <sys/socket.h>
18832 #endif
18833 #ifdef HAVE_SYS_UN_H
18834 # include <sys/un.h>
18835 #endif
18838 main ()
18840 static struct sockaddr ac_aggr;
18841 if (ac_aggr.sa_len)
18842 return 0;
18844 return 0;
18846 _ACEOF
18847 rm -f conftest.$ac_objext
18848 if { (ac_try="$ac_compile"
18849 case "(($ac_try" in
18850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18851 *) ac_try_echo=$ac_try;;
18852 esac
18853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18854 (eval "$ac_compile") 2>conftest.er1
18855 ac_status=$?
18856 grep -v '^ *+' conftest.er1 >conftest.err
18857 rm -f conftest.er1
18858 cat conftest.err >&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } && {
18861 test -z "$ac_c_werror_flag" ||
18862 test ! -s conftest.err
18863 } && test -s conftest.$ac_objext; then
18864 ac_cv_member_struct_sockaddr_sa_len=yes
18865 else
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18869 cat >conftest.$ac_ext <<_ACEOF
18870 /* confdefs.h. */
18871 _ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <sys/types.h>
18876 #ifdef HAVE_SYS_SOCKET_H
18877 # include <sys/socket.h>
18878 #endif
18879 #ifdef HAVE_SYS_UN_H
18880 # include <sys/un.h>
18881 #endif
18884 main ()
18886 static struct sockaddr ac_aggr;
18887 if (sizeof ac_aggr.sa_len)
18888 return 0;
18890 return 0;
18892 _ACEOF
18893 rm -f conftest.$ac_objext
18894 if { (ac_try="$ac_compile"
18895 case "(($ac_try" in
18896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18897 *) ac_try_echo=$ac_try;;
18898 esac
18899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18900 (eval "$ac_compile") 2>conftest.er1
18901 ac_status=$?
18902 grep -v '^ *+' conftest.er1 >conftest.err
18903 rm -f conftest.er1
18904 cat conftest.err >&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } && {
18907 test -z "$ac_c_werror_flag" ||
18908 test ! -s conftest.err
18909 } && test -s conftest.$ac_objext; then
18910 ac_cv_member_struct_sockaddr_sa_len=yes
18911 else
18912 echo "$as_me: failed program was:" >&5
18913 sed 's/^/| /' conftest.$ac_ext >&5
18915 ac_cv_member_struct_sockaddr_sa_len=no
18918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18924 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18925 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18929 _ACEOF
18933 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18934 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18935 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 else
18938 cat >conftest.$ac_ext <<_ACEOF
18939 /* confdefs.h. */
18940 _ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 #include <sys/types.h>
18945 #ifdef HAVE_SYS_SOCKET_H
18946 # include <sys/socket.h>
18947 #endif
18948 #ifdef HAVE_SYS_UN_H
18949 # include <sys/un.h>
18950 #endif
18953 main ()
18955 static struct sockaddr_un ac_aggr;
18956 if (ac_aggr.sun_len)
18957 return 0;
18959 return 0;
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18967 esac
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18970 ac_status=$?
18971 grep -v '^ *+' conftest.er1 >conftest.err
18972 rm -f conftest.er1
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.$ac_objext; then
18979 ac_cv_member_struct_sockaddr_un_sun_len=yes
18980 else
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18984 cat >conftest.$ac_ext <<_ACEOF
18985 /* confdefs.h. */
18986 _ACEOF
18987 cat confdefs.h >>conftest.$ac_ext
18988 cat >>conftest.$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 #include <sys/types.h>
18991 #ifdef HAVE_SYS_SOCKET_H
18992 # include <sys/socket.h>
18993 #endif
18994 #ifdef HAVE_SYS_UN_H
18995 # include <sys/un.h>
18996 #endif
18999 main ()
19001 static struct sockaddr_un ac_aggr;
19002 if (sizeof ac_aggr.sun_len)
19003 return 0;
19005 return 0;
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19013 esac
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19016 ac_status=$?
19017 grep -v '^ *+' conftest.er1 >conftest.err
19018 rm -f conftest.er1
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19025 ac_cv_member_struct_sockaddr_un_sun_len=yes
19026 else
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19030 ac_cv_member_struct_sockaddr_un_sun_len=no
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19040 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19044 _ACEOF
19050 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19051 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19052 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 else
19055 cat >conftest.$ac_ext <<_ACEOF
19056 /* confdefs.h. */
19057 _ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <sys/types.h>
19062 #ifdef HAVE_SCSI_SG_H
19063 #include <scsi/sg.h>
19064 #endif
19067 main ()
19069 static scsireq_t ac_aggr;
19070 if (ac_aggr.cmd)
19071 return 0;
19073 return 0;
19075 _ACEOF
19076 rm -f conftest.$ac_objext
19077 if { (ac_try="$ac_compile"
19078 case "(($ac_try" in
19079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19080 *) ac_try_echo=$ac_try;;
19081 esac
19082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19083 (eval "$ac_compile") 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } && {
19090 test -z "$ac_c_werror_flag" ||
19091 test ! -s conftest.err
19092 } && test -s conftest.$ac_objext; then
19093 ac_cv_member_scsireq_t_cmd=yes
19094 else
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19098 cat >conftest.$ac_ext <<_ACEOF
19099 /* confdefs.h. */
19100 _ACEOF
19101 cat confdefs.h >>conftest.$ac_ext
19102 cat >>conftest.$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <sys/types.h>
19105 #ifdef HAVE_SCSI_SG_H
19106 #include <scsi/sg.h>
19107 #endif
19110 main ()
19112 static scsireq_t ac_aggr;
19113 if (sizeof ac_aggr.cmd)
19114 return 0;
19116 return 0;
19118 _ACEOF
19119 rm -f conftest.$ac_objext
19120 if { (ac_try="$ac_compile"
19121 case "(($ac_try" in
19122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19124 esac
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_compile") 2>conftest.er1
19127 ac_status=$?
19128 grep -v '^ *+' conftest.er1 >conftest.err
19129 rm -f conftest.er1
19130 cat conftest.err >&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } && {
19133 test -z "$ac_c_werror_flag" ||
19134 test ! -s conftest.err
19135 } && test -s conftest.$ac_objext; then
19136 ac_cv_member_scsireq_t_cmd=yes
19137 else
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.$ac_ext >&5
19141 ac_cv_member_scsireq_t_cmd=no
19144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19150 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19151 if test $ac_cv_member_scsireq_t_cmd = yes; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define HAVE_SCSIREQ_T_CMD 1
19155 _ACEOF
19159 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19160 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19161 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 else
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 #include <sys/types.h>
19171 #ifdef HAVE_SCSI_SG_H
19172 #include <scsi/sg.h>
19173 #endif
19176 main ()
19178 static sg_io_hdr_t ac_aggr;
19179 if (ac_aggr.interface_id)
19180 return 0;
19182 return 0;
19184 _ACEOF
19185 rm -f conftest.$ac_objext
19186 if { (ac_try="$ac_compile"
19187 case "(($ac_try" in
19188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19189 *) ac_try_echo=$ac_try;;
19190 esac
19191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19192 (eval "$ac_compile") 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && {
19199 test -z "$ac_c_werror_flag" ||
19200 test ! -s conftest.err
19201 } && test -s conftest.$ac_objext; then
19202 ac_cv_member_sg_io_hdr_t_interface_id=yes
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19207 cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h. */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 #include <sys/types.h>
19214 #ifdef HAVE_SCSI_SG_H
19215 #include <scsi/sg.h>
19216 #endif
19219 main ()
19221 static sg_io_hdr_t ac_aggr;
19222 if (sizeof ac_aggr.interface_id)
19223 return 0;
19225 return 0;
19227 _ACEOF
19228 rm -f conftest.$ac_objext
19229 if { (ac_try="$ac_compile"
19230 case "(($ac_try" in
19231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19232 *) ac_try_echo=$ac_try;;
19233 esac
19234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19235 (eval "$ac_compile") 2>conftest.er1
19236 ac_status=$?
19237 grep -v '^ *+' conftest.er1 >conftest.err
19238 rm -f conftest.er1
19239 cat conftest.err >&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); } && {
19242 test -z "$ac_c_werror_flag" ||
19243 test ! -s conftest.err
19244 } && test -s conftest.$ac_objext; then
19245 ac_cv_member_sg_io_hdr_t_interface_id=yes
19246 else
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19250 ac_cv_member_sg_io_hdr_t_interface_id=no
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19259 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19260 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19264 _ACEOF
19270 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19271 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19272 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19274 else
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 <signal.h>
19284 main ()
19286 static siginfo_t ac_aggr;
19287 if (ac_aggr.si_fd)
19288 return 0;
19290 return 0;
19292 _ACEOF
19293 rm -f conftest.$ac_objext
19294 if { (ac_try="$ac_compile"
19295 case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19298 esac
19299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300 (eval "$ac_compile") 2>conftest.er1
19301 ac_status=$?
19302 grep -v '^ *+' conftest.er1 >conftest.err
19303 rm -f conftest.er1
19304 cat conftest.err >&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); } && {
19307 test -z "$ac_c_werror_flag" ||
19308 test ! -s conftest.err
19309 } && test -s conftest.$ac_objext; then
19310 ac_cv_member_siginfo_t_si_fd=yes
19311 else
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19315 cat >conftest.$ac_ext <<_ACEOF
19316 /* confdefs.h. */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 #include <signal.h>
19324 main ()
19326 static siginfo_t ac_aggr;
19327 if (sizeof ac_aggr.si_fd)
19328 return 0;
19330 return 0;
19332 _ACEOF
19333 rm -f conftest.$ac_objext
19334 if { (ac_try="$ac_compile"
19335 case "(($ac_try" in
19336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19337 *) ac_try_echo=$ac_try;;
19338 esac
19339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19340 (eval "$ac_compile") 2>conftest.er1
19341 ac_status=$?
19342 grep -v '^ *+' conftest.er1 >conftest.err
19343 rm -f conftest.er1
19344 cat conftest.err >&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); } && {
19347 test -z "$ac_c_werror_flag" ||
19348 test ! -s conftest.err
19349 } && test -s conftest.$ac_objext; then
19350 ac_cv_member_siginfo_t_si_fd=yes
19351 else
19352 echo "$as_me: failed program was:" >&5
19353 sed 's/^/| /' conftest.$ac_ext >&5
19355 ac_cv_member_siginfo_t_si_fd=no
19358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19364 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19365 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_SIGINFO_T_SI_FD 1
19369 _ACEOF
19375 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19376 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19377 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 else
19380 cat >conftest.$ac_ext <<_ACEOF
19381 /* confdefs.h. */
19382 _ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 #include <sys/types.h>
19387 #ifdef HAVE_SYS_MTIO_H
19388 #include <sys/mtio.h>
19389 #endif
19392 main ()
19394 static struct mtget ac_aggr;
19395 if (ac_aggr.mt_blksiz)
19396 return 0;
19398 return 0;
19400 _ACEOF
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19406 esac
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19409 ac_status=$?
19410 grep -v '^ *+' conftest.er1 >conftest.err
19411 rm -f conftest.er1
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19418 ac_cv_member_struct_mtget_mt_blksiz=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 cat >conftest.$ac_ext <<_ACEOF
19424 /* confdefs.h. */
19425 _ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 #include <sys/types.h>
19430 #ifdef HAVE_SYS_MTIO_H
19431 #include <sys/mtio.h>
19432 #endif
19435 main ()
19437 static struct mtget ac_aggr;
19438 if (sizeof ac_aggr.mt_blksiz)
19439 return 0;
19441 return 0;
19443 _ACEOF
19444 rm -f conftest.$ac_objext
19445 if { (ac_try="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19449 esac
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19452 ac_status=$?
19453 grep -v '^ *+' conftest.er1 >conftest.err
19454 rm -f conftest.er1
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_mtget_mt_blksiz=yes
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 ac_cv_member_struct_mtget_mt_blksiz=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19475 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19476 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19478 cat >>confdefs.h <<_ACEOF
19479 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19480 _ACEOF
19484 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19485 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19486 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19488 else
19489 cat >conftest.$ac_ext <<_ACEOF
19490 /* confdefs.h. */
19491 _ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <sys/types.h>
19496 #ifdef HAVE_SYS_MTIO_H
19497 #include <sys/mtio.h>
19498 #endif
19501 main ()
19503 static struct mtget ac_aggr;
19504 if (ac_aggr.mt_gstat)
19505 return 0;
19507 return 0;
19509 _ACEOF
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19515 esac
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.$ac_objext; then
19527 ac_cv_member_struct_mtget_mt_gstat=yes
19528 else
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 cat >conftest.$ac_ext <<_ACEOF
19533 /* confdefs.h. */
19534 _ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <sys/types.h>
19539 #ifdef HAVE_SYS_MTIO_H
19540 #include <sys/mtio.h>
19541 #endif
19544 main ()
19546 static struct mtget ac_aggr;
19547 if (sizeof ac_aggr.mt_gstat)
19548 return 0;
19550 return 0;
19552 _ACEOF
19553 rm -f conftest.$ac_objext
19554 if { (ac_try="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19558 esac
19559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19561 ac_status=$?
19562 grep -v '^ *+' conftest.er1 >conftest.err
19563 rm -f conftest.er1
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 ac_cv_member_struct_mtget_mt_gstat=yes
19571 else
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19575 ac_cv_member_struct_mtget_mt_gstat=no
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19584 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19585 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19587 cat >>confdefs.h <<_ACEOF
19588 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19589 _ACEOF
19593 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19594 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19595 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19596 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 else
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 #include <sys/types.h>
19605 #ifdef HAVE_SYS_MTIO_H
19606 #include <sys/mtio.h>
19607 #endif
19610 main ()
19612 static struct mtget ac_aggr;
19613 if (ac_aggr.mt_blkno)
19614 return 0;
19616 return 0;
19618 _ACEOF
19619 rm -f conftest.$ac_objext
19620 if { (ac_try="$ac_compile"
19621 case "(($ac_try" in
19622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19623 *) ac_try_echo=$ac_try;;
19624 esac
19625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19626 (eval "$ac_compile") 2>conftest.er1
19627 ac_status=$?
19628 grep -v '^ *+' conftest.er1 >conftest.err
19629 rm -f conftest.er1
19630 cat conftest.err >&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); } && {
19633 test -z "$ac_c_werror_flag" ||
19634 test ! -s conftest.err
19635 } && test -s conftest.$ac_objext; then
19636 ac_cv_member_struct_mtget_mt_blkno=yes
19637 else
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19641 cat >conftest.$ac_ext <<_ACEOF
19642 /* confdefs.h. */
19643 _ACEOF
19644 cat confdefs.h >>conftest.$ac_ext
19645 cat >>conftest.$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 #include <sys/types.h>
19648 #ifdef HAVE_SYS_MTIO_H
19649 #include <sys/mtio.h>
19650 #endif
19653 main ()
19655 static struct mtget ac_aggr;
19656 if (sizeof ac_aggr.mt_blkno)
19657 return 0;
19659 return 0;
19661 _ACEOF
19662 rm -f conftest.$ac_objext
19663 if { (ac_try="$ac_compile"
19664 case "(($ac_try" in
19665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19667 esac
19668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_compile") 2>conftest.er1
19670 ac_status=$?
19671 grep -v '^ *+' conftest.er1 >conftest.err
19672 rm -f conftest.er1
19673 cat conftest.err >&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && {
19676 test -z "$ac_c_werror_flag" ||
19677 test ! -s conftest.err
19678 } && test -s conftest.$ac_objext; then
19679 ac_cv_member_struct_mtget_mt_blkno=yes
19680 else
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19684 ac_cv_member_struct_mtget_mt_blkno=no
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19693 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19694 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19696 cat >>confdefs.h <<_ACEOF
19697 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19698 _ACEOF
19704 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19705 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19706 if test "${ac_cv_member_struct_option_name+set}" = set; then
19707 echo $ECHO_N "(cached) $ECHO_C" >&6
19708 else
19709 cat >conftest.$ac_ext <<_ACEOF
19710 /* confdefs.h. */
19711 _ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 #ifdef HAVE_GETOPT_H
19716 #include <getopt.h>
19717 #endif
19720 main ()
19722 static struct option ac_aggr;
19723 if (ac_aggr.name)
19724 return 0;
19726 return 0;
19728 _ACEOF
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19734 esac
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_cv_member_struct_option_name=yes
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 cat >conftest.$ac_ext <<_ACEOF
19752 /* confdefs.h. */
19753 _ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 #ifdef HAVE_GETOPT_H
19758 #include <getopt.h>
19759 #endif
19762 main ()
19764 static struct option ac_aggr;
19765 if (sizeof ac_aggr.name)
19766 return 0;
19768 return 0;
19770 _ACEOF
19771 rm -f conftest.$ac_objext
19772 if { (ac_try="$ac_compile"
19773 case "(($ac_try" in
19774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19776 esac
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_compile") 2>conftest.er1
19779 ac_status=$?
19780 grep -v '^ *+' conftest.er1 >conftest.err
19781 rm -f conftest.er1
19782 cat conftest.err >&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } && {
19785 test -z "$ac_c_werror_flag" ||
19786 test ! -s conftest.err
19787 } && test -s conftest.$ac_objext; then
19788 ac_cv_member_struct_option_name=yes
19789 else
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19793 ac_cv_member_struct_option_name=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19802 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19803 if test $ac_cv_member_struct_option_name = yes; then
19805 cat >>confdefs.h <<_ACEOF
19806 #define HAVE_STRUCT_OPTION_NAME 1
19807 _ACEOF
19813 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19814 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19815 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 else
19818 cat >conftest.$ac_ext <<_ACEOF
19819 /* confdefs.h. */
19820 _ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19826 main ()
19828 static struct stat ac_aggr;
19829 if (ac_aggr.st_blocks)
19830 return 0;
19832 return 0;
19834 _ACEOF
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19839 *) ac_try_echo=$ac_try;;
19840 esac
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19843 ac_status=$?
19844 grep -v '^ *+' conftest.er1 >conftest.err
19845 rm -f conftest.er1
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.$ac_objext; then
19852 ac_cv_member_struct_stat_st_blocks=yes
19853 else
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19857 cat >conftest.$ac_ext <<_ACEOF
19858 /* confdefs.h. */
19859 _ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 $ac_includes_default
19865 main ()
19867 static struct stat ac_aggr;
19868 if (sizeof ac_aggr.st_blocks)
19869 return 0;
19871 return 0;
19873 _ACEOF
19874 rm -f conftest.$ac_objext
19875 if { (ac_try="$ac_compile"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19879 esac
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_compile") 2>conftest.er1
19882 ac_status=$?
19883 grep -v '^ *+' conftest.er1 >conftest.err
19884 rm -f conftest.er1
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && {
19888 test -z "$ac_c_werror_flag" ||
19889 test ! -s conftest.err
19890 } && test -s conftest.$ac_objext; then
19891 ac_cv_member_struct_stat_st_blocks=yes
19892 else
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19896 ac_cv_member_struct_stat_st_blocks=no
19899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19904 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19905 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19906 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19908 cat >>confdefs.h <<_ACEOF
19909 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19910 _ACEOF
19916 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19917 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19918 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19919 echo $ECHO_N "(cached) $ECHO_C" >&6
19920 else
19921 cat >conftest.$ac_ext <<_ACEOF
19922 /* confdefs.h. */
19923 _ACEOF
19924 cat confdefs.h >>conftest.$ac_ext
19925 cat >>conftest.$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19927 #ifdef HAVE_SYS_TYPES_H
19928 #include <sys/types.h>
19929 #endif
19930 #ifdef HAVE_NETINET_IN_H
19931 #include <netinet/in.h>
19932 #endif
19935 main ()
19937 static struct sockaddr_in6 ac_aggr;
19938 if (ac_aggr.sin6_scope_id)
19939 return 0;
19941 return 0;
19943 _ACEOF
19944 rm -f conftest.$ac_objext
19945 if { (ac_try="$ac_compile"
19946 case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19949 esac
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_compile") 2>conftest.er1
19952 ac_status=$?
19953 grep -v '^ *+' conftest.er1 >conftest.err
19954 rm -f conftest.er1
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && {
19958 test -z "$ac_c_werror_flag" ||
19959 test ! -s conftest.err
19960 } && test -s conftest.$ac_objext; then
19961 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19962 else
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19966 cat >conftest.$ac_ext <<_ACEOF
19967 /* confdefs.h. */
19968 _ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 #ifdef HAVE_SYS_TYPES_H
19973 #include <sys/types.h>
19974 #endif
19975 #ifdef HAVE_NETINET_IN_H
19976 #include <netinet/in.h>
19977 #endif
19980 main ()
19982 static struct sockaddr_in6 ac_aggr;
19983 if (sizeof ac_aggr.sin6_scope_id)
19984 return 0;
19986 return 0;
19988 _ACEOF
19989 rm -f conftest.$ac_objext
19990 if { (ac_try="$ac_compile"
19991 case "(($ac_try" in
19992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19993 *) ac_try_echo=$ac_try;;
19994 esac
19995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19996 (eval "$ac_compile") 2>conftest.er1
19997 ac_status=$?
19998 grep -v '^ *+' conftest.er1 >conftest.err
19999 rm -f conftest.er1
20000 cat conftest.err >&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } && {
20003 test -z "$ac_c_werror_flag" ||
20004 test ! -s conftest.err
20005 } && test -s conftest.$ac_objext; then
20006 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20007 else
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.$ac_ext >&5
20011 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20019 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20020 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20021 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20023 cat >>confdefs.h <<_ACEOF
20024 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20025 _ACEOF
20031 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20032 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20033 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 else
20036 cat >conftest.$ac_ext <<_ACEOF
20037 /* confdefs.h. */
20038 _ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 #ifdef HAVE_SYS_TYPES_H
20043 #include <sys/types.h>
20044 #endif
20045 #ifdef HAVE_NETINET_IN_H
20046 # include <netinet/in.h>
20047 #endif
20048 #ifdef HAVE_ARPA_NAMESER_H
20049 # include <arpa/nameser.h>
20050 #endif
20053 main ()
20055 static ns_msg ac_aggr;
20056 if (ac_aggr._msg_ptr)
20057 return 0;
20059 return 0;
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20066 *) ac_try_echo=$ac_try;;
20067 esac
20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } && {
20076 test -z "$ac_c_werror_flag" ||
20077 test ! -s conftest.err
20078 } && test -s conftest.$ac_objext; then
20079 ac_cv_member_ns_msg__msg_ptr=yes
20080 else
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20084 cat >conftest.$ac_ext <<_ACEOF
20085 /* confdefs.h. */
20086 _ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 #ifdef HAVE_SYS_TYPES_H
20091 #include <sys/types.h>
20092 #endif
20093 #ifdef HAVE_NETINET_IN_H
20094 # include <netinet/in.h>
20095 #endif
20096 #ifdef HAVE_ARPA_NAMESER_H
20097 # include <arpa/nameser.h>
20098 #endif
20101 main ()
20103 static ns_msg ac_aggr;
20104 if (sizeof ac_aggr._msg_ptr)
20105 return 0;
20107 return 0;
20109 _ACEOF
20110 rm -f conftest.$ac_objext
20111 if { (ac_try="$ac_compile"
20112 case "(($ac_try" in
20113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20114 *) ac_try_echo=$ac_try;;
20115 esac
20116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20117 (eval "$ac_compile") 2>conftest.er1
20118 ac_status=$?
20119 grep -v '^ *+' conftest.er1 >conftest.err
20120 rm -f conftest.er1
20121 cat conftest.err >&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); } && {
20124 test -z "$ac_c_werror_flag" ||
20125 test ! -s conftest.err
20126 } && test -s conftest.$ac_objext; then
20127 ac_cv_member_ns_msg__msg_ptr=yes
20128 else
20129 echo "$as_me: failed program was:" >&5
20130 sed 's/^/| /' conftest.$ac_ext >&5
20132 ac_cv_member_ns_msg__msg_ptr=no
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20141 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20142 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20144 cat >>confdefs.h <<_ACEOF
20145 #define HAVE_NS_MSG__MSG_PTR 1
20146 _ACEOF
20152 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20153 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20154 if test "${ac_cv_have_timezone+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20157 cat >conftest.$ac_ext <<_ACEOF
20158 /* confdefs.h. */
20159 _ACEOF
20160 cat confdefs.h >>conftest.$ac_ext
20161 cat >>conftest.$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20163 #include <time.h>
20165 main ()
20167 timezone = 1
20169 return 0;
20171 _ACEOF
20172 rm -f conftest.$ac_objext conftest$ac_exeext
20173 if { (ac_try="$ac_link"
20174 case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20177 esac
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_link") 2>conftest.er1
20180 ac_status=$?
20181 grep -v '^ *+' conftest.er1 >conftest.err
20182 rm -f conftest.er1
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest$ac_exeext &&
20189 $as_test_x conftest$ac_exeext; then
20190 ac_cv_have_timezone="yes"
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20195 ac_cv_have_timezone="no"
20198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20199 conftest$ac_exeext conftest.$ac_ext
20201 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20202 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20203 if test "$ac_cv_have_timezone" = "yes"
20204 then
20206 cat >>confdefs.h <<\_ACEOF
20207 #define HAVE_TIMEZONE 1
20208 _ACEOF
20211 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20212 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20213 if test "${ac_cv_have_daylight+set}" = set; then
20214 echo $ECHO_N "(cached) $ECHO_C" >&6
20215 else
20216 cat >conftest.$ac_ext <<_ACEOF
20217 /* confdefs.h. */
20218 _ACEOF
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 #include <time.h>
20224 main ()
20226 daylight = 1
20228 return 0;
20230 _ACEOF
20231 rm -f conftest.$ac_objext conftest$ac_exeext
20232 if { (ac_try="$ac_link"
20233 case "(($ac_try" in
20234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20235 *) ac_try_echo=$ac_try;;
20236 esac
20237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20238 (eval "$ac_link") 2>conftest.er1
20239 ac_status=$?
20240 grep -v '^ *+' conftest.er1 >conftest.err
20241 rm -f conftest.er1
20242 cat conftest.err >&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } && {
20245 test -z "$ac_c_werror_flag" ||
20246 test ! -s conftest.err
20247 } && test -s conftest$ac_exeext &&
20248 $as_test_x conftest$ac_exeext; then
20249 ac_cv_have_daylight="yes"
20250 else
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 ac_cv_have_daylight="no"
20257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20258 conftest$ac_exeext conftest.$ac_ext
20260 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20261 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20262 if test "$ac_cv_have_daylight" = "yes"
20263 then
20265 cat >>confdefs.h <<\_ACEOF
20266 #define HAVE_DAYLIGHT 1
20267 _ACEOF
20272 case $host_cpu in
20273 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20274 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20275 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20276 echo $ECHO_N "(cached) $ECHO_C" >&6
20277 else
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 #ifndef __i386__
20286 #endif
20287 _ACEOF
20288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20289 $EGREP "yes" >/dev/null 2>&1; then
20290 ac_cv_cpp_def___i386__=yes
20291 else
20292 ac_cv_cpp_def___i386__=no
20294 rm -f conftest*
20297 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20298 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20299 if test $ac_cv_cpp_def___i386__ = yes; then
20300 CFLAGS="$CFLAGS -D__i386__"
20301 LINTFLAGS="$LINTFLAGS -D__i386__"
20304 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20305 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20306 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20307 echo $ECHO_N "(cached) $ECHO_C" >&6
20308 else
20309 cat >conftest.$ac_ext <<_ACEOF
20310 /* confdefs.h. */
20311 _ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20315 #ifndef __x86_64__
20317 #endif
20318 _ACEOF
20319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20320 $EGREP "yes" >/dev/null 2>&1; then
20321 ac_cv_cpp_def___x86_64__=yes
20322 else
20323 ac_cv_cpp_def___x86_64__=no
20325 rm -f conftest*
20328 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20329 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20330 if test $ac_cv_cpp_def___x86_64__ = yes; then
20331 CFLAGS="$CFLAGS -D__x86_64__"
20332 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20335 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20336 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20337 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20338 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 else
20340 cat >conftest.$ac_ext <<_ACEOF
20341 /* confdefs.h. */
20342 _ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 #ifndef __ALPHA__
20348 #endif
20349 _ACEOF
20350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20351 $EGREP "yes" >/dev/null 2>&1; then
20352 ac_cv_cpp_def___ALPHA__=yes
20353 else
20354 ac_cv_cpp_def___ALPHA__=no
20356 rm -f conftest*
20359 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20360 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20361 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20362 CFLAGS="$CFLAGS -D__ALPHA__"
20363 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20366 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20367 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20368 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20370 else
20371 cat >conftest.$ac_ext <<_ACEOF
20372 /* confdefs.h. */
20373 _ACEOF
20374 cat confdefs.h >>conftest.$ac_ext
20375 cat >>conftest.$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 #ifndef __sparc__
20379 #endif
20380 _ACEOF
20381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20382 $EGREP "yes" >/dev/null 2>&1; then
20383 ac_cv_cpp_def___sparc__=yes
20384 else
20385 ac_cv_cpp_def___sparc__=no
20387 rm -f conftest*
20390 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20391 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20392 if test $ac_cv_cpp_def___sparc__ = yes; then
20393 CFLAGS="$CFLAGS -D__sparc__"
20394 LINTFLAGS="$LINTFLAGS -D__sparc__"
20397 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20398 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20399 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 else
20402 cat >conftest.$ac_ext <<_ACEOF
20403 /* confdefs.h. */
20404 _ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 #ifndef __powerpc__
20410 #endif
20411 _ACEOF
20412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20413 $EGREP "yes" >/dev/null 2>&1; then
20414 ac_cv_cpp_def___powerpc__=yes
20415 else
20416 ac_cv_cpp_def___powerpc__=no
20418 rm -f conftest*
20421 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20422 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20423 if test $ac_cv_cpp_def___powerpc__ = yes; then
20424 CFLAGS="$CFLAGS -D__powerpc__"
20425 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20428 esac
20430 case $host_vendor in
20431 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20432 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20433 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20434 echo $ECHO_N "(cached) $ECHO_C" >&6
20435 else
20436 cat >conftest.$ac_ext <<_ACEOF
20437 /* confdefs.h. */
20438 _ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 #ifndef __sun__
20444 #endif
20445 _ACEOF
20446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20447 $EGREP "yes" >/dev/null 2>&1; then
20448 ac_cv_cpp_def___sun__=yes
20449 else
20450 ac_cv_cpp_def___sun__=no
20452 rm -f conftest*
20455 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20456 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20457 if test $ac_cv_cpp_def___sun__ = yes; then
20458 CFLAGS="$CFLAGS -D__sun__"
20459 LINTFLAGS="$LINTFLAGS -D__sun__"
20462 esac
20465 DEPENDENCIES="### Dependencies:
20467 .INIT: Makefile
20468 .BEGIN: Makefile
20469 Makefile: dummy
20470 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20472 \$(OBJS): \$(IDL_GEN_HEADERS)
20473 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20474 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20475 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20481 ac_config_commands="$ac_config_commands include/stamp-h"
20484 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20486 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20488 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20490 ac_config_commands="$ac_config_commands dlls/user32/resources"
20492 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20494 ac_config_commands="$ac_config_commands include/wine"
20497 MAKE_RULES=Make.rules
20500 MAKE_DLL_RULES=dlls/Makedll.rules
20503 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20506 MAKE_TEST_RULES=dlls/Maketest.rules
20509 MAKE_PROG_RULES=programs/Makeprog.rules
20512 ac_config_files="$ac_config_files Make.rules"
20514 ac_config_files="$ac_config_files dlls/Makedll.rules"
20516 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20518 ac_config_files="$ac_config_files dlls/Maketest.rules"
20520 ac_config_files="$ac_config_files programs/Makeprog.rules"
20522 ac_config_files="$ac_config_files Makefile"
20524 ac_config_files="$ac_config_files dlls/Makefile"
20526 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20528 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20530 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20532 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20534 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20536 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20538 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20540 ac_config_files="$ac_config_files dlls/atl/Makefile"
20542 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20544 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20546 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20548 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20552 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20554 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20556 ac_config_files="$ac_config_files dlls/cards/Makefile"
20558 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20560 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20562 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20564 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20566 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20568 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20572 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20574 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20576 ac_config_files="$ac_config_files dlls/credui/Makefile"
20578 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20580 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20582 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20584 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20586 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20588 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20590 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20594 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20596 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20598 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20600 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20602 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20604 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20606 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20608 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20610 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20614 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20618 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20620 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20622 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20624 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20626 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20628 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20630 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20632 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20636 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20638 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20640 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20642 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20644 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20646 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20648 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20650 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20652 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20654 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20656 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20658 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20660 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20662 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20664 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20666 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20668 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20670 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20672 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20674 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20678 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20680 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20682 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20684 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20686 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20688 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20690 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20692 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20696 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20700 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20702 ac_config_files="$ac_config_files dlls/hal/Makefile"
20704 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20706 ac_config_files="$ac_config_files dlls/hid/Makefile"
20708 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20710 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20712 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20714 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20716 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20718 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20720 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20722 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20724 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20726 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20728 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20730 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20732 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20734 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20736 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20738 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20740 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20742 ac_config_files="$ac_config_files dlls/itss/Makefile"
20744 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20746 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20748 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20750 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20752 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20754 ac_config_files="$ac_config_files dlls/localui/Makefile"
20756 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20760 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20762 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20764 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20766 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20768 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20770 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20772 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20774 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20776 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20778 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20780 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20782 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20784 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20786 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20788 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20790 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20792 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20794 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20796 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20798 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20800 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20802 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20804 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20806 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20808 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20810 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20812 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20814 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20816 ac_config_files="$ac_config_files dlls/msi/Makefile"
20818 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20820 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20822 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20824 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20826 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20828 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20830 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20832 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20834 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20836 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20838 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20840 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20842 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20844 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20846 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20848 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20850 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20852 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20854 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20856 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20858 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20860 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20862 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20864 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20866 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20868 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20870 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20872 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20874 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20876 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20878 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20880 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20882 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20884 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20886 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20888 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20890 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20892 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20894 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20896 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20898 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20900 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20902 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20904 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20906 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20908 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20910 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20912 ac_config_files="$ac_config_files dlls/printui/Makefile"
20914 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20916 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20918 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20920 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20922 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20924 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20926 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20928 ac_config_files="$ac_config_files dlls/query/Makefile"
20930 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20932 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20934 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20936 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20938 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20940 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20942 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20944 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20946 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20948 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20950 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20952 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20954 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20956 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20958 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20960 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20962 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20964 ac_config_files="$ac_config_files dlls/security/Makefile"
20966 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20968 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20970 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20972 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20974 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20976 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20978 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20980 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20982 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20984 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20986 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20988 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20990 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20992 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20994 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20996 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20998 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21000 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21002 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21004 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21006 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21008 ac_config_files="$ac_config_files dlls/sti/Makefile"
21010 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21012 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21014 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21016 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21018 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21020 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21022 ac_config_files="$ac_config_files dlls/url/Makefile"
21024 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21026 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21028 ac_config_files="$ac_config_files dlls/user32/Makefile"
21030 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21032 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21034 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21036 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21038 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21040 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21042 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21044 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21046 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21048 ac_config_files="$ac_config_files dlls/version/Makefile"
21050 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21052 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21054 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21056 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21058 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21060 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21062 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21064 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21066 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21068 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21070 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21072 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21074 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21076 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21078 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21080 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21082 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21084 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21086 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21088 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21090 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21092 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21094 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21096 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21098 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21100 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21102 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21104 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21106 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21108 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21110 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21112 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21114 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21116 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21118 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21120 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21122 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21124 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21126 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21128 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21130 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21132 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21134 ac_config_files="$ac_config_files documentation/Makefile"
21136 ac_config_files="$ac_config_files fonts/Makefile"
21138 ac_config_files="$ac_config_files include/Makefile"
21140 ac_config_files="$ac_config_files libs/Makefile"
21142 ac_config_files="$ac_config_files libs/port/Makefile"
21144 ac_config_files="$ac_config_files libs/wine/Makefile"
21146 ac_config_files="$ac_config_files libs/wpp/Makefile"
21148 ac_config_files="$ac_config_files loader/Makefile"
21150 ac_config_files="$ac_config_files programs/Makefile"
21152 ac_config_files="$ac_config_files programs/clock/Makefile"
21154 ac_config_files="$ac_config_files programs/cmd/Makefile"
21156 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21158 ac_config_files="$ac_config_files programs/control/Makefile"
21160 ac_config_files="$ac_config_files programs/eject/Makefile"
21162 ac_config_files="$ac_config_files programs/expand/Makefile"
21164 ac_config_files="$ac_config_files programs/explorer/Makefile"
21166 ac_config_files="$ac_config_files programs/hh/Makefile"
21168 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21170 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21172 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21174 ac_config_files="$ac_config_files programs/net/Makefile"
21176 ac_config_files="$ac_config_files programs/notepad/Makefile"
21178 ac_config_files="$ac_config_files programs/oleview/Makefile"
21180 ac_config_files="$ac_config_files programs/progman/Makefile"
21182 ac_config_files="$ac_config_files programs/regedit/Makefile"
21184 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21186 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21188 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21190 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21192 ac_config_files="$ac_config_files programs/start/Makefile"
21194 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21196 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21198 ac_config_files="$ac_config_files programs/view/Makefile"
21200 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21202 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21204 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21206 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21208 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21210 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21212 ac_config_files="$ac_config_files programs/winefile/Makefile"
21214 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21216 ac_config_files="$ac_config_files programs/winemine/Makefile"
21218 ac_config_files="$ac_config_files programs/winepath/Makefile"
21220 ac_config_files="$ac_config_files programs/winetest/Makefile"
21222 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21224 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21226 ac_config_files="$ac_config_files programs/winver/Makefile"
21228 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21230 ac_config_files="$ac_config_files programs/write/Makefile"
21232 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21234 ac_config_files="$ac_config_files server/Makefile"
21236 ac_config_files="$ac_config_files tools/Makefile"
21238 ac_config_files="$ac_config_files tools/widl/Makefile"
21240 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21242 ac_config_files="$ac_config_files tools/winedump/Makefile"
21244 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21246 ac_config_files="$ac_config_files tools/wmc/Makefile"
21248 ac_config_files="$ac_config_files tools/wrc/Makefile"
21251 cat >confcache <<\_ACEOF
21252 # This file is a shell script that caches the results of configure
21253 # tests run on this system so they can be shared between configure
21254 # scripts and configure runs, see configure's option --config-cache.
21255 # It is not useful on other systems. If it contains results you don't
21256 # want to keep, you may remove or edit it.
21258 # config.status only pays attention to the cache file if you give it
21259 # the --recheck option to rerun configure.
21261 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21262 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21263 # following values.
21265 _ACEOF
21267 # The following way of writing the cache mishandles newlines in values,
21268 # but we know of no workaround that is simple, portable, and efficient.
21269 # So, we kill variables containing newlines.
21270 # Ultrix sh set writes to stderr and can't be redirected directly,
21271 # and sets the high bit in the cache file unless we assign to the vars.
21273 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21274 eval ac_val=\$$ac_var
21275 case $ac_val in #(
21276 *${as_nl}*)
21277 case $ac_var in #(
21278 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21279 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21280 esac
21281 case $ac_var in #(
21282 _ | IFS | as_nl) ;; #(
21283 *) $as_unset $ac_var ;;
21284 esac ;;
21285 esac
21286 done
21288 (set) 2>&1 |
21289 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21290 *${as_nl}ac_space=\ *)
21291 # `set' does not quote correctly, so add quotes (double-quote
21292 # substitution turns \\\\ into \\, and sed turns \\ into \).
21293 sed -n \
21294 "s/'/'\\\\''/g;
21295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21296 ;; #(
21298 # `set' quotes correctly as required by POSIX, so do not add quotes.
21299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21301 esac |
21302 sort
21304 sed '
21305 /^ac_cv_env_/b end
21306 t clear
21307 :clear
21308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21309 t end
21310 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21311 :end' >>confcache
21312 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21313 if test -w "$cache_file"; then
21314 test "x$cache_file" != "x/dev/null" &&
21315 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21316 echo "$as_me: updating cache $cache_file" >&6;}
21317 cat confcache >$cache_file
21318 else
21319 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21320 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21323 rm -f confcache
21325 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21326 # Let make expand exec_prefix.
21327 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21329 DEFS=-DHAVE_CONFIG_H
21331 ac_libobjs=
21332 ac_ltlibobjs=
21333 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21334 # 1. Remove the extension, and $U if already installed.
21335 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21336 ac_i=`echo "$ac_i" | sed "$ac_script"`
21337 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21338 # will be set to the directory where LIBOBJS objects are built.
21339 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21340 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21341 done
21342 LIBOBJS=$ac_libobjs
21344 LTLIBOBJS=$ac_ltlibobjs
21348 : ${CONFIG_STATUS=./config.status}
21349 ac_clean_files_save=$ac_clean_files
21350 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21351 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21352 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21353 cat >$CONFIG_STATUS <<_ACEOF
21354 #! $SHELL
21355 # Generated by $as_me.
21356 # Run this file to recreate the current configuration.
21357 # Compiler output produced by configure, useful for debugging
21358 # configure, is in config.log if it exists.
21360 debug=false
21361 ac_cs_recheck=false
21362 ac_cs_silent=false
21363 SHELL=\${CONFIG_SHELL-$SHELL}
21364 _ACEOF
21366 cat >>$CONFIG_STATUS <<\_ACEOF
21367 ## --------------------- ##
21368 ## M4sh Initialization. ##
21369 ## --------------------- ##
21371 # Be more Bourne compatible
21372 DUALCASE=1; export DUALCASE # for MKS sh
21373 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21374 emulate sh
21375 NULLCMD=:
21376 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21377 # is contrary to our usage. Disable this feature.
21378 alias -g '${1+"$@"}'='"$@"'
21379 setopt NO_GLOB_SUBST
21380 else
21381 case `(set -o) 2>/dev/null` in
21382 *posix*) set -o posix ;;
21383 esac
21390 # PATH needs CR
21391 # Avoid depending upon Character Ranges.
21392 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21393 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21394 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21395 as_cr_digits='0123456789'
21396 as_cr_alnum=$as_cr_Letters$as_cr_digits
21398 # The user is always right.
21399 if test "${PATH_SEPARATOR+set}" != set; then
21400 echo "#! /bin/sh" >conf$$.sh
21401 echo "exit 0" >>conf$$.sh
21402 chmod +x conf$$.sh
21403 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21404 PATH_SEPARATOR=';'
21405 else
21406 PATH_SEPARATOR=:
21408 rm -f conf$$.sh
21411 # Support unset when possible.
21412 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21413 as_unset=unset
21414 else
21415 as_unset=false
21419 # IFS
21420 # We need space, tab and new line, in precisely that order. Quoting is
21421 # there to prevent editors from complaining about space-tab.
21422 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21423 # splitting by setting IFS to empty value.)
21424 as_nl='
21426 IFS=" "" $as_nl"
21428 # Find who we are. Look in the path if we contain no directory separator.
21429 case $0 in
21430 *[\\/]* ) as_myself=$0 ;;
21431 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21432 for as_dir in $PATH
21434 IFS=$as_save_IFS
21435 test -z "$as_dir" && as_dir=.
21436 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21437 done
21438 IFS=$as_save_IFS
21441 esac
21442 # We did not find ourselves, most probably we were run as `sh COMMAND'
21443 # in which case we are not to be found in the path.
21444 if test "x$as_myself" = x; then
21445 as_myself=$0
21447 if test ! -f "$as_myself"; then
21448 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21449 { (exit 1); exit 1; }
21452 # Work around bugs in pre-3.0 UWIN ksh.
21453 for as_var in ENV MAIL MAILPATH
21454 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21455 done
21456 PS1='$ '
21457 PS2='> '
21458 PS4='+ '
21460 # NLS nuisances.
21461 for as_var in \
21462 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21463 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21464 LC_TELEPHONE LC_TIME
21466 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21467 eval $as_var=C; export $as_var
21468 else
21469 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21471 done
21473 # Required to use basename.
21474 if expr a : '\(a\)' >/dev/null 2>&1 &&
21475 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21476 as_expr=expr
21477 else
21478 as_expr=false
21481 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21482 as_basename=basename
21483 else
21484 as_basename=false
21488 # Name of the executable.
21489 as_me=`$as_basename -- "$0" ||
21490 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21491 X"$0" : 'X\(//\)$' \| \
21492 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21493 echo X/"$0" |
21494 sed '/^.*\/\([^/][^/]*\)\/*$/{
21495 s//\1/
21498 /^X\/\(\/\/\)$/{
21499 s//\1/
21502 /^X\/\(\/\).*/{
21503 s//\1/
21506 s/.*/./; q'`
21508 # CDPATH.
21509 $as_unset CDPATH
21513 as_lineno_1=$LINENO
21514 as_lineno_2=$LINENO
21515 test "x$as_lineno_1" != "x$as_lineno_2" &&
21516 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21518 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21519 # uniformly replaced by the line number. The first 'sed' inserts a
21520 # line-number line after each line using $LINENO; the second 'sed'
21521 # does the real work. The second script uses 'N' to pair each
21522 # line-number line with the line containing $LINENO, and appends
21523 # trailing '-' during substitution so that $LINENO is not a special
21524 # case at line end.
21525 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21526 # scripts with optimization help from Paolo Bonzini. Blame Lee
21527 # E. McMahon (1931-1989) for sed's syntax. :-)
21528 sed -n '
21530 /[$]LINENO/=
21531 ' <$as_myself |
21532 sed '
21533 s/[$]LINENO.*/&-/
21534 t lineno
21536 :lineno
21538 :loop
21539 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21540 t loop
21541 s/-\n.*//
21542 ' >$as_me.lineno &&
21543 chmod +x "$as_me.lineno" ||
21544 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21545 { (exit 1); exit 1; }; }
21547 # Don't try to exec as it changes $[0], causing all sort of problems
21548 # (the dirname of $[0] is not the place where we might find the
21549 # original and so on. Autoconf is especially sensitive to this).
21550 . "./$as_me.lineno"
21551 # Exit status is that of the last command.
21552 exit
21556 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21557 as_dirname=dirname
21558 else
21559 as_dirname=false
21562 ECHO_C= ECHO_N= ECHO_T=
21563 case `echo -n x` in
21564 -n*)
21565 case `echo 'x\c'` in
21566 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21567 *) ECHO_C='\c';;
21568 esac;;
21570 ECHO_N='-n';;
21571 esac
21573 if expr a : '\(a\)' >/dev/null 2>&1 &&
21574 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21575 as_expr=expr
21576 else
21577 as_expr=false
21580 rm -f conf$$ conf$$.exe conf$$.file
21581 if test -d conf$$.dir; then
21582 rm -f conf$$.dir/conf$$.file
21583 else
21584 rm -f conf$$.dir
21585 mkdir conf$$.dir
21587 echo >conf$$.file
21588 if ln -s conf$$.file conf$$ 2>/dev/null; then
21589 as_ln_s='ln -s'
21590 # ... but there are two gotchas:
21591 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21592 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21593 # In both cases, we have to default to `cp -p'.
21594 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21595 as_ln_s='cp -p'
21596 elif ln conf$$.file conf$$ 2>/dev/null; then
21597 as_ln_s=ln
21598 else
21599 as_ln_s='cp -p'
21601 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21602 rmdir conf$$.dir 2>/dev/null
21604 if mkdir -p . 2>/dev/null; then
21605 as_mkdir_p=:
21606 else
21607 test -d ./-p && rmdir ./-p
21608 as_mkdir_p=false
21611 if test -x / >/dev/null 2>&1; then
21612 as_test_x='test -x'
21613 else
21614 if ls -dL / >/dev/null 2>&1; then
21615 as_ls_L_option=L
21616 else
21617 as_ls_L_option=
21619 as_test_x='
21620 eval sh -c '\''
21621 if test -d "$1"; then
21622 test -d "$1/.";
21623 else
21624 case $1 in
21625 -*)set "./$1";;
21626 esac;
21627 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21628 ???[sx]*):;;*)false;;esac;fi
21629 '\'' sh
21632 as_executable_p=$as_test_x
21634 # Sed expression to map a string onto a valid CPP name.
21635 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21637 # Sed expression to map a string onto a valid variable name.
21638 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21641 exec 6>&1
21643 # Save the log message, to keep $[0] and so on meaningful, and to
21644 # report actual input values of CONFIG_FILES etc. instead of their
21645 # values after options handling.
21646 ac_log="
21647 This file was extended by Wine $as_me 0.9.49, which was
21648 generated by GNU Autoconf 2.61. Invocation command line was
21650 CONFIG_FILES = $CONFIG_FILES
21651 CONFIG_HEADERS = $CONFIG_HEADERS
21652 CONFIG_LINKS = $CONFIG_LINKS
21653 CONFIG_COMMANDS = $CONFIG_COMMANDS
21654 $ $0 $@
21656 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21659 _ACEOF
21661 cat >>$CONFIG_STATUS <<_ACEOF
21662 # Files that config.status was made for.
21663 config_files="$ac_config_files"
21664 config_headers="$ac_config_headers"
21665 config_commands="$ac_config_commands"
21667 _ACEOF
21669 cat >>$CONFIG_STATUS <<\_ACEOF
21670 ac_cs_usage="\
21671 \`$as_me' instantiates files from templates according to the
21672 current configuration.
21674 Usage: $0 [OPTIONS] [FILE]...
21676 -h, --help print this help, then exit
21677 -V, --version print version number and configuration settings, then exit
21678 -q, --quiet do not print progress messages
21679 -d, --debug don't remove temporary files
21680 --recheck update $as_me by reconfiguring in the same conditions
21681 --file=FILE[:TEMPLATE]
21682 instantiate the configuration file FILE
21683 --header=FILE[:TEMPLATE]
21684 instantiate the configuration header FILE
21686 Configuration files:
21687 $config_files
21689 Configuration headers:
21690 $config_headers
21692 Configuration commands:
21693 $config_commands
21695 Report bugs to <bug-autoconf@gnu.org>."
21697 _ACEOF
21698 cat >>$CONFIG_STATUS <<_ACEOF
21699 ac_cs_version="\\
21700 Wine config.status 0.9.49
21701 configured by $0, generated by GNU Autoconf 2.61,
21702 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21704 Copyright (C) 2006 Free Software Foundation, Inc.
21705 This config.status script is free software; the Free Software Foundation
21706 gives unlimited permission to copy, distribute and modify it."
21708 ac_pwd='$ac_pwd'
21709 srcdir='$srcdir'
21710 INSTALL='$INSTALL'
21711 _ACEOF
21713 cat >>$CONFIG_STATUS <<\_ACEOF
21714 # If no file are specified by the user, then we need to provide default
21715 # value. By we need to know if files were specified by the user.
21716 ac_need_defaults=:
21717 while test $# != 0
21719 case $1 in
21720 --*=*)
21721 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21722 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21723 ac_shift=:
21726 ac_option=$1
21727 ac_optarg=$2
21728 ac_shift=shift
21730 esac
21732 case $ac_option in
21733 # Handling of the options.
21734 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21735 ac_cs_recheck=: ;;
21736 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21737 echo "$ac_cs_version"; exit ;;
21738 --debug | --debu | --deb | --de | --d | -d )
21739 debug=: ;;
21740 --file | --fil | --fi | --f )
21741 $ac_shift
21742 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21743 ac_need_defaults=false;;
21744 --header | --heade | --head | --hea )
21745 $ac_shift
21746 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21747 ac_need_defaults=false;;
21748 --he | --h)
21749 # Conflict between --help and --header
21750 { echo "$as_me: error: ambiguous option: $1
21751 Try \`$0 --help' for more information." >&2
21752 { (exit 1); exit 1; }; };;
21753 --help | --hel | -h )
21754 echo "$ac_cs_usage"; exit ;;
21755 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21756 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21757 ac_cs_silent=: ;;
21759 # This is an error.
21760 -*) { echo "$as_me: error: unrecognized option: $1
21761 Try \`$0 --help' for more information." >&2
21762 { (exit 1); exit 1; }; } ;;
21764 *) ac_config_targets="$ac_config_targets $1"
21765 ac_need_defaults=false ;;
21767 esac
21768 shift
21769 done
21771 ac_configure_extra_args=
21773 if $ac_cs_silent; then
21774 exec 6>/dev/null
21775 ac_configure_extra_args="$ac_configure_extra_args --silent"
21778 _ACEOF
21779 cat >>$CONFIG_STATUS <<_ACEOF
21780 if \$ac_cs_recheck; then
21781 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21782 CONFIG_SHELL=$SHELL
21783 export CONFIG_SHELL
21784 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21787 _ACEOF
21788 cat >>$CONFIG_STATUS <<\_ACEOF
21789 exec 5>>config.log
21791 echo
21792 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21793 ## Running $as_me. ##
21794 _ASBOX
21795 echo "$ac_log"
21796 } >&5
21798 _ACEOF
21799 cat >>$CONFIG_STATUS <<_ACEOF
21800 _ACEOF
21802 cat >>$CONFIG_STATUS <<\_ACEOF
21804 # Handling of arguments.
21805 for ac_config_target in $ac_config_targets
21807 case $ac_config_target in
21808 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21809 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21810 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21811 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21812 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21813 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21814 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21815 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21816 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21817 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21818 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21819 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21820 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21821 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21822 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21823 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21824 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21825 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21826 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21827 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21828 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21829 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21830 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21831 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21832 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21833 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21834 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21835 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21836 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21837 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21838 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21839 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21840 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21841 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21842 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21843 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21844 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21845 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21846 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21847 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21848 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21849 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21850 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21851 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21852 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21853 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21854 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21855 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21856 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21857 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21858 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21859 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21860 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21861 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21862 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21863 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21864 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21865 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21866 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21867 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21868 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21869 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21870 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21871 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21872 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21873 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21874 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21875 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21876 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21877 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21878 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21879 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21880 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21881 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21882 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21883 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21884 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21885 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21886 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21887 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21888 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21889 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21890 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21891 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21892 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21893 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21894 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21895 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21896 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21897 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21898 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21899 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21900 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21901 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21902 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21903 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21904 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21905 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21906 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21907 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21908 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21909 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21910 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21911 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21912 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21913 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21914 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21915 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21916 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21917 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21918 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21919 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21920 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21921 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21922 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21923 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21924 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
21925 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21926 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21927 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21928 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21929 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21930 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21931 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21932 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21933 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21934 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21935 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21936 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21937 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21938 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21939 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21940 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21941 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21942 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21943 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21944 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21945 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21946 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21947 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21948 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21949 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21950 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21951 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21952 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21953 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21954 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21955 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21956 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21957 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21958 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21959 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21960 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21961 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21962 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21963 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21964 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21965 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21966 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21967 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21968 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21969 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21970 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21971 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21972 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21973 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21974 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21975 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21976 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21977 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21978 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21979 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21980 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21981 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21982 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21983 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21984 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21985 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21986 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21987 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21988 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21989 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21990 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21991 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21992 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21993 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21994 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21995 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21996 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21997 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21998 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21999 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22000 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22001 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22002 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22003 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22004 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22005 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22006 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22007 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22008 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22009 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22010 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22011 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22012 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22013 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22014 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22015 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22016 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22017 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22018 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22019 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22020 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22021 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22022 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22023 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22024 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22025 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22026 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22027 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22028 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22029 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22030 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22031 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22032 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22033 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22034 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22035 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22036 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22037 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22038 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22039 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22040 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22041 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22042 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22043 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22044 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22045 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22046 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22047 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22048 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22049 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22050 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22051 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22052 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22053 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22054 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22055 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22056 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22057 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22058 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22059 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22060 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22061 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22062 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22063 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22064 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22065 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22066 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22067 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22068 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22069 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22070 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22071 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22072 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22073 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22074 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22075 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22076 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22077 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22078 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22079 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22080 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22081 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22082 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22083 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22084 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22085 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22086 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22087 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22088 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22089 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22090 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22091 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22092 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22093 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22094 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22095 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22096 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22097 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22098 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22099 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22100 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22101 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22102 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22103 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22104 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22105 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22106 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22107 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22108 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22109 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22110 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22111 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22112 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22113 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22114 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22115 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22116 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22117 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22118 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22119 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22120 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22121 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22122 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22123 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22124 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22125 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22126 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22127 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22128 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22129 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22130 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22131 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22132 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22133 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22134 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22135 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22136 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22137 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22138 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22139 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22140 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22141 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22142 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22143 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22144 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22145 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22146 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22147 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22148 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22149 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22150 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22151 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22152 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22153 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22154 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22155 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22156 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22157 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22158 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22159 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22160 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22161 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22162 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22163 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22164 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22165 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22166 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22167 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22168 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22169 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22170 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22171 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22172 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22173 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22174 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22175 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22176 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22177 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22178 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22179 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22180 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22181 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22182 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22183 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22184 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22186 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22187 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22188 { (exit 1); exit 1; }; };;
22189 esac
22190 done
22193 # If the user did not use the arguments to specify the items to instantiate,
22194 # then the envvar interface is used. Set only those that are not.
22195 # We use the long form for the default assignment because of an extremely
22196 # bizarre bug on SunOS 4.1.3.
22197 if $ac_need_defaults; then
22198 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22199 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22200 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22203 # Have a temporary directory for convenience. Make it in the build tree
22204 # simply because there is no reason against having it here, and in addition,
22205 # creating and moving files from /tmp can sometimes cause problems.
22206 # Hook for its removal unless debugging.
22207 # Note that there is a small window in which the directory will not be cleaned:
22208 # after its creation but before its name has been assigned to `$tmp'.
22209 $debug ||
22211 tmp=
22212 trap 'exit_status=$?
22213 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22215 trap '{ (exit 1); exit 1; }' 1 2 13 15
22217 # Create a (secure) tmp directory for tmp files.
22220 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22221 test -n "$tmp" && test -d "$tmp"
22222 } ||
22224 tmp=./conf$$-$RANDOM
22225 (umask 077 && mkdir "$tmp")
22226 } ||
22228 echo "$me: cannot create a temporary directory in ." >&2
22229 { (exit 1); exit 1; }
22233 # Set up the sed scripts for CONFIG_FILES section.
22236 # No need to generate the scripts if there are no CONFIG_FILES.
22237 # This happens for instance when ./config.status config.h
22238 if test -n "$CONFIG_FILES"; then
22240 _ACEOF
22242 # Create sed commands to just substitute file output variables.
22244 # Remaining file output variables are in a fragment that also has non-file
22245 # output varibles.
22249 ac_delim='%!_!# '
22250 for ac_last_try in false false false false false :; do
22251 cat >conf$$subs.sed <<_ACEOF
22252 SHELL!$SHELL$ac_delim
22253 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22254 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22255 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22256 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22257 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22258 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22259 exec_prefix!$exec_prefix$ac_delim
22260 prefix!$prefix$ac_delim
22261 program_transform_name!$program_transform_name$ac_delim
22262 bindir!$bindir$ac_delim
22263 sbindir!$sbindir$ac_delim
22264 libexecdir!$libexecdir$ac_delim
22265 datarootdir!$datarootdir$ac_delim
22266 datadir!$datadir$ac_delim
22267 sysconfdir!$sysconfdir$ac_delim
22268 sharedstatedir!$sharedstatedir$ac_delim
22269 localstatedir!$localstatedir$ac_delim
22270 includedir!$includedir$ac_delim
22271 oldincludedir!$oldincludedir$ac_delim
22272 docdir!$docdir$ac_delim
22273 infodir!$infodir$ac_delim
22274 htmldir!$htmldir$ac_delim
22275 dvidir!$dvidir$ac_delim
22276 pdfdir!$pdfdir$ac_delim
22277 psdir!$psdir$ac_delim
22278 libdir!$libdir$ac_delim
22279 localedir!$localedir$ac_delim
22280 mandir!$mandir$ac_delim
22281 DEFS!$DEFS$ac_delim
22282 ECHO_C!$ECHO_C$ac_delim
22283 ECHO_N!$ECHO_N$ac_delim
22284 ECHO_T!$ECHO_T$ac_delim
22285 LIBS!$LIBS$ac_delim
22286 build_alias!$build_alias$ac_delim
22287 host_alias!$host_alias$ac_delim
22288 target_alias!$target_alias$ac_delim
22289 build!$build$ac_delim
22290 build_cpu!$build_cpu$ac_delim
22291 build_vendor!$build_vendor$ac_delim
22292 build_os!$build_os$ac_delim
22293 host!$host$ac_delim
22294 host_cpu!$host_cpu$ac_delim
22295 host_vendor!$host_vendor$ac_delim
22296 host_os!$host_os$ac_delim
22297 WIN16_FILES!$WIN16_FILES$ac_delim
22298 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22299 SET_MAKE!$SET_MAKE$ac_delim
22300 CC!$CC$ac_delim
22301 CFLAGS!$CFLAGS$ac_delim
22302 LDFLAGS!$LDFLAGS$ac_delim
22303 CPPFLAGS!$CPPFLAGS$ac_delim
22304 ac_ct_CC!$ac_ct_CC$ac_delim
22305 EXEEXT!$EXEEXT$ac_delim
22306 OBJEXT!$OBJEXT$ac_delim
22307 CXX!$CXX$ac_delim
22308 CXXFLAGS!$CXXFLAGS$ac_delim
22309 ac_ct_CXX!$ac_ct_CXX$ac_delim
22310 CPPBIN!$CPPBIN$ac_delim
22311 TOOLSDIR!$TOOLSDIR$ac_delim
22312 XMKMF!$XMKMF$ac_delim
22313 CPP!$CPP$ac_delim
22314 X_CFLAGS!$X_CFLAGS$ac_delim
22315 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22316 X_LIBS!$X_LIBS$ac_delim
22317 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22318 FLEX!$FLEX$ac_delim
22319 BISON!$BISON$ac_delim
22320 AS!$AS$ac_delim
22321 ac_ct_AS!$ac_ct_AS$ac_delim
22322 LD!$LD$ac_delim
22323 AR!$AR$ac_delim
22324 RANLIB!$RANLIB$ac_delim
22325 STRIP!$STRIP$ac_delim
22326 WINDRES!$WINDRES$ac_delim
22327 LN_S!$LN_S$ac_delim
22328 LN!$LN$ac_delim
22329 GREP!$GREP$ac_delim
22330 EGREP!$EGREP$ac_delim
22331 LDCONFIG!$LDCONFIG$ac_delim
22332 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22333 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22334 _ACEOF
22336 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22337 break
22338 elif $ac_last_try; then
22339 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22340 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22341 { (exit 1); exit 1; }; }
22342 else
22343 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22345 done
22347 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22348 if test -n "$ac_eof"; then
22349 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22350 ac_eof=`expr $ac_eof + 1`
22353 cat >>$CONFIG_STATUS <<_ACEOF
22354 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22356 /^[ ]*@MAKE_RULES@[ ]*$/{
22357 r $MAKE_RULES
22360 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22361 r $MAKE_DLL_RULES
22364 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22365 r $MAKE_IMPLIB_RULES
22368 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22369 r $MAKE_TEST_RULES
22372 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22373 r $MAKE_PROG_RULES
22376 _ACEOF
22377 sed '
22378 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22379 s/^/s,@/; s/!/@,|#_!!_#|/
22382 s/'"$ac_delim"'$/,g/; t
22383 s/$/\\/; p
22384 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22385 ' >>$CONFIG_STATUS <conf$$subs.sed
22386 rm -f conf$$subs.sed
22387 cat >>$CONFIG_STATUS <<_ACEOF
22388 CEOF$ac_eof
22389 _ACEOF
22392 ac_delim='%!_!# '
22393 for ac_last_try in false false false false false :; do
22394 cat >conf$$subs.sed <<_ACEOF
22395 INSTALL_DATA!$INSTALL_DATA$ac_delim
22396 LINT!$LINT$ac_delim
22397 LINTFLAGS!$LINTFLAGS$ac_delim
22398 FONTFORGE!$FONTFORGE$ac_delim
22399 PKG_CONFIG!$PKG_CONFIG$ac_delim
22400 PRELINK!$PRELINK$ac_delim
22401 LIBPTHREAD!$LIBPTHREAD$ac_delim
22402 XLIB!$XLIB$ac_delim
22403 XFILES!$XFILES$ac_delim
22404 OPENGLFILES!$OPENGLFILES$ac_delim
22405 GLU32FILES!$GLU32FILES$ac_delim
22406 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22407 QUARTZFILES!$QUARTZFILES$ac_delim
22408 DLLEXT!$DLLEXT$ac_delim
22409 DLLFLAGS!$DLLFLAGS$ac_delim
22410 LDSHARED!$LDSHARED$ac_delim
22411 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22412 LIBEXT!$LIBEXT$ac_delim
22413 IMPLIBEXT!$IMPLIBEXT$ac_delim
22414 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22415 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22416 LDD!$LDD$ac_delim
22417 DLLTOOL!$DLLTOOL$ac_delim
22418 DLLWRAP!$DLLWRAP$ac_delim
22419 MINGWAR!$MINGWAR$ac_delim
22420 SECURITYLIB!$SECURITYLIB$ac_delim
22421 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22422 IOKITLIB!$IOKITLIB$ac_delim
22423 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22424 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22425 COREAUDIO!$COREAUDIO$ac_delim
22426 CARBONLIB!$CARBONLIB$ac_delim
22427 CROSSTEST!$CROSSTEST$ac_delim
22428 CROSSCC!$CROSSCC$ac_delim
22429 CROSSWINDRES!$CROSSWINDRES$ac_delim
22430 NASLIBS!$NASLIBS$ac_delim
22431 XML2LIBS!$XML2LIBS$ac_delim
22432 XML2INCL!$XML2INCL$ac_delim
22433 XSLTLIBS!$XSLTLIBS$ac_delim
22434 XSLTINCL!$XSLTINCL$ac_delim
22435 HALINCL!$HALINCL$ac_delim
22436 sane_devel!$sane_devel$ac_delim
22437 SANEINCL!$SANEINCL$ac_delim
22438 gphoto2_devel!$gphoto2_devel$ac_delim
22439 gphoto2port_devel!$gphoto2port_devel$ac_delim
22440 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22441 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22442 RESOLVLIBS!$RESOLVLIBS$ac_delim
22443 LCMSLIBS!$LCMSLIBS$ac_delim
22444 LDAPLIBS!$LDAPLIBS$ac_delim
22445 ft_devel!$ft_devel$ac_delim
22446 FREETYPELIBS!$FREETYPELIBS$ac_delim
22447 FREETYPEINCL!$FREETYPEINCL$ac_delim
22448 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22449 ESDCONFIG!$ESDCONFIG$ac_delim
22450 ESDLIBS!$ESDLIBS$ac_delim
22451 ESDINCL!$ESDINCL$ac_delim
22452 ALSALIBS!$ALSALIBS$ac_delim
22453 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22454 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22455 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22456 BUILTINFLAG!$BUILTINFLAG$ac_delim
22457 LDPATH!$LDPATH$ac_delim
22458 CRTLIBS!$CRTLIBS$ac_delim
22459 SOCKETLIBS!$SOCKETLIBS$ac_delim
22460 MAIN_BINARY!$MAIN_BINARY$ac_delim
22461 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22462 LIBDL!$LIBDL$ac_delim
22463 LIBPOLL!$LIBPOLL$ac_delim
22464 DEPENDENCIES!$DEPENDENCIES$ac_delim
22465 LIBOBJS!$LIBOBJS$ac_delim
22466 LTLIBOBJS!$LTLIBOBJS$ac_delim
22467 _ACEOF
22469 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22470 break
22471 elif $ac_last_try; then
22472 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22473 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22474 { (exit 1); exit 1; }; }
22475 else
22476 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22478 done
22480 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22481 if test -n "$ac_eof"; then
22482 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22483 ac_eof=`expr $ac_eof + 1`
22486 cat >>$CONFIG_STATUS <<_ACEOF
22487 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22489 _ACEOF
22490 sed '
22491 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22492 s/^/s,@/; s/!/@,|#_!!_#|/
22495 s/'"$ac_delim"'$/,g/; t
22496 s/$/\\/; p
22497 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22498 ' >>$CONFIG_STATUS <conf$$subs.sed
22499 rm -f conf$$subs.sed
22500 cat >>$CONFIG_STATUS <<_ACEOF
22501 :end
22502 s/|#_!!_#|//g
22503 CEOF$ac_eof
22504 _ACEOF
22507 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22508 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22509 # trailing colons and then remove the whole line if VPATH becomes empty
22510 # (actually we leave an empty line to preserve line numbers).
22511 if test "x$srcdir" = x.; then
22512 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22513 s/:*\$(srcdir):*/:/
22514 s/:*\${srcdir}:*/:/
22515 s/:*@srcdir@:*/:/
22516 s/^\([^=]*=[ ]*\):*/\1/
22517 s/:*$//
22518 s/^[^=]*=[ ]*$//
22522 cat >>$CONFIG_STATUS <<\_ACEOF
22523 fi # test -n "$CONFIG_FILES"
22526 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22528 case $ac_tag in
22529 :[FHLC]) ac_mode=$ac_tag; continue;;
22530 esac
22531 case $ac_mode$ac_tag in
22532 :[FHL]*:*);;
22533 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22534 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22535 { (exit 1); exit 1; }; };;
22536 :[FH]-) ac_tag=-:-;;
22537 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22538 esac
22539 ac_save_IFS=$IFS
22540 IFS=:
22541 set x $ac_tag
22542 IFS=$ac_save_IFS
22543 shift
22544 ac_file=$1
22545 shift
22547 case $ac_mode in
22548 :L) ac_source=$1;;
22549 :[FH])
22550 ac_file_inputs=
22551 for ac_f
22553 case $ac_f in
22554 -) ac_f="$tmp/stdin";;
22555 *) # Look for the file first in the build tree, then in the source tree
22556 # (if the path is not absolute). The absolute path cannot be DOS-style,
22557 # because $ac_f cannot contain `:'.
22558 test -f "$ac_f" ||
22559 case $ac_f in
22560 [\\/$]*) false;;
22561 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22562 esac ||
22563 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22564 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22565 { (exit 1); exit 1; }; };;
22566 esac
22567 ac_file_inputs="$ac_file_inputs $ac_f"
22568 done
22570 # Let's still pretend it is `configure' which instantiates (i.e., don't
22571 # use $as_me), people would be surprised to read:
22572 # /* config.h. Generated by config.status. */
22573 configure_input="Generated from "`IFS=:
22574 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22575 if test x"$ac_file" != x-; then
22576 configure_input="$ac_file. $configure_input"
22577 { echo "$as_me:$LINENO: creating $ac_file" >&5
22578 echo "$as_me: creating $ac_file" >&6;}
22581 case $ac_tag in
22582 *:-:* | *:-) cat >"$tmp/stdin";;
22583 esac
22585 esac
22587 ac_dir=`$as_dirname -- "$ac_file" ||
22588 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22589 X"$ac_file" : 'X\(//\)[^/]' \| \
22590 X"$ac_file" : 'X\(//\)$' \| \
22591 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22592 echo X"$ac_file" |
22593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22594 s//\1/
22597 /^X\(\/\/\)[^/].*/{
22598 s//\1/
22601 /^X\(\/\/\)$/{
22602 s//\1/
22605 /^X\(\/\).*/{
22606 s//\1/
22609 s/.*/./; q'`
22610 { as_dir="$ac_dir"
22611 case $as_dir in #(
22612 -*) as_dir=./$as_dir;;
22613 esac
22614 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22615 as_dirs=
22616 while :; do
22617 case $as_dir in #(
22618 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22619 *) as_qdir=$as_dir;;
22620 esac
22621 as_dirs="'$as_qdir' $as_dirs"
22622 as_dir=`$as_dirname -- "$as_dir" ||
22623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22624 X"$as_dir" : 'X\(//\)[^/]' \| \
22625 X"$as_dir" : 'X\(//\)$' \| \
22626 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22627 echo X"$as_dir" |
22628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22629 s//\1/
22632 /^X\(\/\/\)[^/].*/{
22633 s//\1/
22636 /^X\(\/\/\)$/{
22637 s//\1/
22640 /^X\(\/\).*/{
22641 s//\1/
22644 s/.*/./; q'`
22645 test -d "$as_dir" && break
22646 done
22647 test -z "$as_dirs" || eval "mkdir $as_dirs"
22648 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22649 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22650 { (exit 1); exit 1; }; }; }
22651 ac_builddir=.
22653 case "$ac_dir" in
22654 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22657 # A ".." for each directory in $ac_dir_suffix.
22658 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22659 case $ac_top_builddir_sub in
22660 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22661 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22662 esac ;;
22663 esac
22664 ac_abs_top_builddir=$ac_pwd
22665 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22666 # for backward compatibility:
22667 ac_top_builddir=$ac_top_build_prefix
22669 case $srcdir in
22670 .) # We are building in place.
22671 ac_srcdir=.
22672 ac_top_srcdir=$ac_top_builddir_sub
22673 ac_abs_top_srcdir=$ac_pwd ;;
22674 [\\/]* | ?:[\\/]* ) # Absolute name.
22675 ac_srcdir=$srcdir$ac_dir_suffix;
22676 ac_top_srcdir=$srcdir
22677 ac_abs_top_srcdir=$srcdir ;;
22678 *) # Relative name.
22679 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22680 ac_top_srcdir=$ac_top_build_prefix$srcdir
22681 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22682 esac
22683 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22686 case $ac_mode in
22689 # CONFIG_FILE
22692 case $INSTALL in
22693 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22694 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22695 esac
22696 _ACEOF
22698 cat >>$CONFIG_STATUS <<\_ACEOF
22699 # If the template does not know about datarootdir, expand it.
22700 # FIXME: This hack should be removed a few years after 2.60.
22701 ac_datarootdir_hack=; ac_datarootdir_seen=
22703 case `sed -n '/datarootdir/ {
22707 /@datadir@/p
22708 /@docdir@/p
22709 /@infodir@/p
22710 /@localedir@/p
22711 /@mandir@/p
22712 ' $ac_file_inputs` in
22713 *datarootdir*) ac_datarootdir_seen=yes;;
22714 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22715 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22716 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22717 _ACEOF
22718 cat >>$CONFIG_STATUS <<_ACEOF
22719 ac_datarootdir_hack='
22720 s&@datadir@&$datadir&g
22721 s&@docdir@&$docdir&g
22722 s&@infodir@&$infodir&g
22723 s&@localedir@&$localedir&g
22724 s&@mandir@&$mandir&g
22725 s&\\\${datarootdir}&$datarootdir&g' ;;
22726 esac
22727 _ACEOF
22729 # Neutralize VPATH when `$srcdir' = `.'.
22730 # Shell code in configure.ac might set extrasub.
22731 # FIXME: do we really want to maintain this feature?
22732 cat >>$CONFIG_STATUS <<_ACEOF
22733 sed "$ac_vpsub
22734 $extrasub
22735 _ACEOF
22736 cat >>$CONFIG_STATUS <<\_ACEOF
22738 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22739 s&@configure_input@&$configure_input&;t t
22740 s&@top_builddir@&$ac_top_builddir_sub&;t t
22741 s&@srcdir@&$ac_srcdir&;t t
22742 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22743 s&@top_srcdir@&$ac_top_srcdir&;t t
22744 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22745 s&@builddir@&$ac_builddir&;t t
22746 s&@abs_builddir@&$ac_abs_builddir&;t t
22747 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22748 s&@INSTALL@&$ac_INSTALL&;t t
22749 $ac_datarootdir_hack
22750 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22752 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22753 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22754 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22755 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22756 which seems to be undefined. Please make sure it is defined." >&5
22757 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22758 which seems to be undefined. Please make sure it is defined." >&2;}
22760 rm -f "$tmp/stdin"
22761 case $ac_file in
22762 -) cat "$tmp/out"; rm -f "$tmp/out";;
22763 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22764 esac
22768 # CONFIG_HEADER
22770 _ACEOF
22772 # Transform confdefs.h into a sed script `conftest.defines', that
22773 # substitutes the proper values into config.h.in to produce config.h.
22774 rm -f conftest.defines conftest.tail
22775 # First, append a space to every undef/define line, to ease matching.
22776 echo 's/$/ /' >conftest.defines
22777 # Then, protect against being on the right side of a sed subst, or in
22778 # an unquoted here document, in config.status. If some macros were
22779 # called several times there might be several #defines for the same
22780 # symbol, which is useless. But do not sort them, since the last
22781 # AC_DEFINE must be honored.
22782 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22783 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22784 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22785 # PARAMS is the parameter list in the macro definition--in most cases, it's
22786 # just an empty string.
22787 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22788 ac_dB='\\)[ (].*,\\1define\\2'
22789 ac_dC=' '
22790 ac_dD=' ,'
22792 uniq confdefs.h |
22793 sed -n '
22794 t rset
22795 :rset
22796 s/^[ ]*#[ ]*define[ ][ ]*//
22797 t ok
22800 s/[\\&,]/\\&/g
22801 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22802 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22803 ' >>conftest.defines
22805 # Remove the space that was appended to ease matching.
22806 # Then replace #undef with comments. This is necessary, for
22807 # example, in the case of _POSIX_SOURCE, which is predefined and required
22808 # on some systems where configure will not decide to define it.
22809 # (The regexp can be short, since the line contains either #define or #undef.)
22810 echo 's/ $//
22811 s,^[ #]*u.*,/* & */,' >>conftest.defines
22813 # Break up conftest.defines:
22814 ac_max_sed_lines=50
22816 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22817 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22818 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22819 # et cetera.
22820 ac_in='$ac_file_inputs'
22821 ac_out='"$tmp/out1"'
22822 ac_nxt='"$tmp/out2"'
22824 while :
22826 # Write a here document:
22827 cat >>$CONFIG_STATUS <<_ACEOF
22828 # First, check the format of the line:
22829 cat >"\$tmp/defines.sed" <<\\CEOF
22830 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22831 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22833 :def
22834 _ACEOF
22835 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22836 echo 'CEOF
22837 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22838 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22839 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22840 grep . conftest.tail >/dev/null || break
22841 rm -f conftest.defines
22842 mv conftest.tail conftest.defines
22843 done
22844 rm -f conftest.defines conftest.tail
22846 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22847 cat >>$CONFIG_STATUS <<\_ACEOF
22848 if test x"$ac_file" != x-; then
22849 echo "/* $configure_input */" >"$tmp/config.h"
22850 cat "$ac_result" >>"$tmp/config.h"
22851 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22852 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22853 echo "$as_me: $ac_file is unchanged" >&6;}
22854 else
22855 rm -f $ac_file
22856 mv "$tmp/config.h" $ac_file
22858 else
22859 echo "/* $configure_input */"
22860 cat "$ac_result"
22862 rm -f "$tmp/out12"
22865 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22866 echo "$as_me: executing $ac_file commands" >&6;}
22868 esac
22871 case $ac_file$ac_mode in
22872 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22873 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22874 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22875 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22876 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22877 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22878 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22879 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22880 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22881 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22882 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22883 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22884 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22886 esac
22887 done # for ac_tag
22890 { (exit 0); exit 0; }
22891 _ACEOF
22892 chmod +x $CONFIG_STATUS
22893 ac_clean_files=$ac_clean_files_save
22896 # configure is writing to config.log, and then calls config.status.
22897 # config.status does its own redirection, appending to config.log.
22898 # Unfortunately, on DOS this fails, as config.log is still kept open
22899 # by configure, so config.status won't be able to write to it; its
22900 # output is simply discarded. So we exec the FD to /dev/null,
22901 # effectively closing config.log, so it can be properly (re)opened and
22902 # appended to by config.status. When coming back to configure, we
22903 # need to make the FD available again.
22904 if test "$no_create" != yes; then
22905 ac_cs_success=:
22906 ac_config_status_args=
22907 test "$silent" = yes &&
22908 ac_config_status_args="$ac_config_status_args --quiet"
22909 exec 5>/dev/null
22910 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22911 exec 5>>config.log
22912 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22913 # would make configure fail if this is the last instruction.
22914 $ac_cs_success || { (exit 1); exit 1; }
22918 if test "$no_create" = "yes"
22919 then
22920 exit 0
22923 ac_save_IFS="$IFS"
22924 IFS="|"
22925 if test "$verbose" = "yes"; then
22926 for msg in $wine_notices; do
22927 if test -n "$msg"; then
22928 echo >&2
22929 { echo "$as_me:$LINENO: $msg" >&5
22930 echo "$as_me: $msg" >&6;}
22932 done
22934 for msg in $wine_warnings; do
22935 if test -n "$msg"; then
22936 echo >&2
22937 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22938 echo "$as_me: WARNING: $msg" >&2;}
22940 done
22941 IFS="$ac_save_IFS"
22943 echo
22944 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22945 echo