push 583922ece91f6a3e6a32c772f3574cd16e6257fa
[wine/hacks.git] / configure
blobcb1a3ec0a287e051e2905019f8f5f6f9f2621bba
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.46.
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.46'
578 PACKAGE_STRING='Wine 0.9.46'
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 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 DLLEXT
716 DLLFLAGS
717 LDSHARED
718 LDDLLFLAGS
719 LIBEXT
720 IMPLIBEXT
721 LDRPATH_INSTALL
722 LDRPATH_LOCAL
724 DLLTOOL
725 DLLWRAP
726 MINGWAR
727 COREFOUNDATIONLIB
728 IOKITLIB
729 LDEXECFLAGS
730 DISKARBITRATIONLIB
731 COREAUDIO
732 CARBONLIB
733 CROSSTEST
734 CROSSCC
735 CROSSWINDRES
736 NASLIBS
737 XML2LIBS
738 XML2INCL
739 XSLTLIBS
740 XSLTINCL
741 HALINCL
742 sane_devel
743 SANEINCL
744 gphoto2_devel
745 gphoto2port_devel
746 GPHOTO2LIBS
747 GPHOTO2INCL
748 RESOLVLIBS
749 LCMSLIBS
750 LDAPLIBS
751 ft_devel
752 FREETYPELIBS
753 FREETYPEINCL
754 FONTSSUBDIRS
755 ESDCONFIG
756 ESDLIBS
757 ESDINCL
758 ALSALIBS
759 AUDIOIOLIBS
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.46 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.46:";;
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)
1371 --disable-tests do not build the testsuites
1373 Optional Packages:
1374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1376 --without-opengl do not use OpenGL
1377 --with-wine-tools=<dir> use Wine tools from directory <dir>
1378 --with-x use the X Window System
1380 Some influential environment variables:
1381 CC C compiler command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 nonstandard directory <lib dir>
1385 LIBS libraries to pass to the linker, e.g. -l<library>
1386 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1387 you have headers in a nonstandard directory <include dir>
1388 CXX C++ compiler command
1389 CXXFLAGS C++ compiler flags
1390 XMKMF Path to xmkmf, Makefile generator for X Window System
1391 CPP C preprocessor
1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1396 Report bugs to <wine-devel@winehq.org>.
1397 _ACEOF
1398 ac_status=$?
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1404 test -d "$ac_dir" || continue
1405 ac_builddir=.
1407 case "$ac_dir" in
1408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 esac ;;
1417 esac
1418 ac_abs_top_builddir=$ac_pwd
1419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir=$ac_top_build_prefix
1423 case $srcdir in
1424 .) # We are building in place.
1425 ac_srcdir=.
1426 ac_top_srcdir=$ac_top_builddir_sub
1427 ac_abs_top_srcdir=$ac_pwd ;;
1428 [\\/]* | ?:[\\/]* ) # Absolute name.
1429 ac_srcdir=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir=$srcdir
1431 ac_abs_top_srcdir=$srcdir ;;
1432 *) # Relative name.
1433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 esac
1437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1439 cd "$ac_dir" || { ac_status=$?; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1442 echo &&
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1447 else
1448 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 fi || ac_status=$?
1450 cd "$ac_pwd" || { ac_status=$?; break; }
1451 done
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1456 cat <<\_ACEOF
1457 Wine configure 0.9.46
1458 generated by GNU Autoconf 2.61
1460 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1461 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1462 This configure script is free software; the Free Software Foundation
1463 gives unlimited permission to copy, distribute and modify it.
1464 _ACEOF
1465 exit
1467 cat >config.log <<_ACEOF
1468 This file contains any messages produced by compilers while
1469 running configure, to aid debugging if configure makes a mistake.
1471 It was created by Wine $as_me 0.9.46, which was
1472 generated by GNU Autoconf 2.61. Invocation command line was
1474 $ $0 $@
1476 _ACEOF
1477 exec 5>>config.log
1479 cat <<_ASUNAME
1480 ## --------- ##
1481 ## Platform. ##
1482 ## --------- ##
1484 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1485 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1486 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1487 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1488 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1491 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1494 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1495 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1496 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1497 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1498 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1499 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501 _ASUNAME
1503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504 for as_dir in $PATH
1506 IFS=$as_save_IFS
1507 test -z "$as_dir" && as_dir=.
1508 echo "PATH: $as_dir"
1509 done
1510 IFS=$as_save_IFS
1512 } >&5
1514 cat >&5 <<_ACEOF
1517 ## ----------- ##
1518 ## Core tests. ##
1519 ## ----------- ##
1521 _ACEOF
1524 # Keep a trace of the command line.
1525 # Strip out --no-create and --no-recursion so they do not pile up.
1526 # Strip out --silent because we don't want to record it for future runs.
1527 # Also quote any args containing shell meta-characters.
1528 # Make two passes to allow for proper duplicate-argument suppression.
1529 ac_configure_args=
1530 ac_configure_args0=
1531 ac_configure_args1=
1532 ac_must_keep_next=false
1533 for ac_pass in 1 2
1535 for ac_arg
1537 case $ac_arg in
1538 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1540 | -silent | --silent | --silen | --sile | --sil)
1541 continue ;;
1542 *\'*)
1543 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1544 esac
1545 case $ac_pass in
1546 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1548 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1549 if test $ac_must_keep_next = true; then
1550 ac_must_keep_next=false # Got value, back to normal.
1551 else
1552 case $ac_arg in
1553 *=* | --config-cache | -C | -disable-* | --disable-* \
1554 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1555 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1556 | -with-* | --with-* | -without-* | --without-* | --x)
1557 case "$ac_configure_args0 " in
1558 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1559 esac
1561 -* ) ac_must_keep_next=true ;;
1562 esac
1564 ac_configure_args="$ac_configure_args '$ac_arg'"
1566 esac
1567 done
1568 done
1569 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1570 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1572 # When interrupted or exit'd, cleanup temporary files, and complete
1573 # config.log. We remove comments because anyway the quotes in there
1574 # would cause problems or look ugly.
1575 # WARNING: Use '\'' to represent an apostrophe within the trap.
1576 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1577 trap 'exit_status=$?
1578 # Save into config.log some information that might help in debugging.
1580 echo
1582 cat <<\_ASBOX
1583 ## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##
1586 _ASBOX
1587 echo
1588 # The following way of writing the cache mishandles newlines in values,
1590 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591 eval ac_val=\$$ac_var
1592 case $ac_val in #(
1593 *${as_nl}*)
1594 case $ac_var in #(
1595 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1596 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1597 esac
1598 case $ac_var in #(
1599 _ | IFS | as_nl) ;; #(
1600 *) $as_unset $ac_var ;;
1601 esac ;;
1602 esac
1603 done
1604 (set) 2>&1 |
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1607 sed -n \
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 ;; #(
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614 esac |
1615 sort
1617 echo
1619 cat <<\_ASBOX
1620 ## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##
1623 _ASBOX
1624 echo
1625 for ac_var in $ac_subst_vars
1627 eval ac_val=\$$ac_var
1628 case $ac_val in
1629 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 esac
1631 echo "$ac_var='\''$ac_val'\''"
1632 done | sort
1633 echo
1635 if test -n "$ac_subst_files"; then
1636 cat <<\_ASBOX
1637 ## ------------------- ##
1638 ## File substitutions. ##
1639 ## ------------------- ##
1640 _ASBOX
1641 echo
1642 for ac_var in $ac_subst_files
1644 eval ac_val=\$$ac_var
1645 case $ac_val in
1646 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 esac
1648 echo "$ac_var='\''$ac_val'\''"
1649 done | sort
1650 echo
1653 if test -s confdefs.h; then
1654 cat <<\_ASBOX
1655 ## ----------- ##
1656 ## confdefs.h. ##
1657 ## ----------- ##
1658 _ASBOX
1659 echo
1660 cat confdefs.h
1661 echo
1663 test "$ac_signal" != 0 &&
1664 echo "$as_me: caught signal $ac_signal"
1665 echo "$as_me: exit $exit_status"
1666 } >&5
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 exit $exit_status
1671 for ac_signal in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1673 done
1674 ac_signal=0
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest* confdefs.h
1679 # Predefined preprocessor variables.
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_NAME "$PACKAGE_NAME"
1683 _ACEOF
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1688 _ACEOF
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1693 _ACEOF
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_STRING "$PACKAGE_STRING"
1698 _ACEOF
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1703 _ACEOF
1706 # Let the site file select an alternate cache file if it wants to.
1707 # Prefer explicitly selected file to automatically selected ones.
1708 if test -n "$CONFIG_SITE"; then
1709 set x "$CONFIG_SITE"
1710 elif test "x$prefix" != xNONE; then
1711 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1712 else
1713 set x "$ac_default_prefix/share/config.site" \
1714 "$ac_default_prefix/etc/config.site"
1716 shift
1717 for ac_site_file
1719 if test -r "$ac_site_file"; then
1720 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1721 echo "$as_me: loading site script $ac_site_file" >&6;}
1722 sed 's/^/| /' "$ac_site_file" >&5
1723 . "$ac_site_file"
1725 done
1727 if test -r "$cache_file"; then
1728 # Some versions of bash will fail to source /dev/null (special
1729 # files actually), so we avoid doing that.
1730 if test -f "$cache_file"; then
1731 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1732 echo "$as_me: loading cache $cache_file" >&6;}
1733 case $cache_file in
1734 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1735 *) . "./$cache_file";;
1736 esac
1738 else
1739 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1740 echo "$as_me: creating cache $cache_file" >&6;}
1741 >$cache_file
1744 # Check that the precious variables saved in the cache have kept the same
1745 # value.
1746 ac_cache_corrupted=false
1747 for ac_var in $ac_precious_vars; do
1748 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1749 eval ac_new_set=\$ac_env_${ac_var}_set
1750 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1751 eval ac_new_val=\$ac_env_${ac_var}_value
1752 case $ac_old_set,$ac_new_set in
1753 set,)
1754 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1755 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1756 ac_cache_corrupted=: ;;
1757 ,set)
1758 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1759 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1760 ac_cache_corrupted=: ;;
1761 ,);;
1763 if test "x$ac_old_val" != "x$ac_new_val"; then
1764 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1765 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1766 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1767 echo "$as_me: former value: $ac_old_val" >&2;}
1768 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1769 echo "$as_me: current value: $ac_new_val" >&2;}
1770 ac_cache_corrupted=:
1771 fi;;
1772 esac
1773 # Pass precious variables to config.status.
1774 if test "$ac_new_set" = set; then
1775 case $ac_new_val in
1776 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1777 *) ac_arg=$ac_var=$ac_new_val ;;
1778 esac
1779 case " $ac_configure_args " in
1780 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1781 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1782 esac
1784 done
1785 if $ac_cache_corrupted; then
1786 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1787 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1788 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1789 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1790 { (exit 1); exit 1; }; }
1817 ac_ext=c
1818 ac_cpp='$CPP $CPPFLAGS'
1819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1825 ac_config_headers="$ac_config_headers include/config.h"
1827 ac_aux_dir=
1828 for ac_dir in tools "$srcdir"/tools; do
1829 if test -f "$ac_dir/install-sh"; then
1830 ac_aux_dir=$ac_dir
1831 ac_install_sh="$ac_aux_dir/install-sh -c"
1832 break
1833 elif test -f "$ac_dir/install.sh"; then
1834 ac_aux_dir=$ac_dir
1835 ac_install_sh="$ac_aux_dir/install.sh -c"
1836 break
1837 elif test -f "$ac_dir/shtool"; then
1838 ac_aux_dir=$ac_dir
1839 ac_install_sh="$ac_aux_dir/shtool install -c"
1840 break
1842 done
1843 if test -z "$ac_aux_dir"; then
1844 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1845 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1846 { (exit 1); exit 1; }; }
1849 # These three variables are undocumented and unsupported,
1850 # and are intended to be withdrawn in a future Autoconf release.
1851 # They can cause serious problems if a builder's source tree is in a directory
1852 # whose full name contains unusual characters.
1853 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1854 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1855 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1860 # Check whether --enable-win16 was given.
1861 if test "${enable_win16+set}" = set; then
1862 enableval=$enable_win16;
1865 # Check whether --enable-win64 was given.
1866 if test "${enable_win64+set}" = set; then
1867 enableval=$enable_win64;
1872 # Check whether --with-opengl was given.
1873 if test "${with_opengl+set}" = set; then
1874 withval=$with_opengl;
1878 # Check whether --with-wine-tools was given.
1879 if test "${with_wine_tools+set}" = set; then
1880 withval=$with_wine_tools;
1883 # Check whether --enable-tests was given.
1884 if test "${enable_tests+set}" = set; then
1885 enableval=$enable_tests;
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1891 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: checking build system type" >&5
1896 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 else
1900 ac_build_alias=$build_alias
1901 test "x$ac_build_alias" = x &&
1902 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x &&
1904 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906 { (exit 1); exit 1; }; }
1907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910 { (exit 1); exit 1; }; }
1913 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 echo "${ECHO_T}$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1916 *-*-*) ;;
1917 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 echo "$as_me: error: invalid value of canonical build" >&2;}
1919 { (exit 1); exit 1; }; };;
1920 esac
1921 build=$ac_cv_build
1922 ac_save_IFS=$IFS; IFS='-'
1923 set x $ac_cv_build
1924 shift
1925 build_cpu=$1
1926 build_vendor=$2
1927 shift; shift
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1930 build_os=$*
1931 IFS=$ac_save_IFS
1932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1935 { echo "$as_me:$LINENO: checking host system type" >&5
1936 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1937 if test "${ac_cv_host+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 else
1940 if test "x$host_alias" = x; then
1941 ac_cv_host=$ac_cv_build
1942 else
1943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1951 echo "${ECHO_T}$ac_cv_host" >&6; }
1952 case $ac_cv_host in
1953 *-*-*) ;;
1954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1955 echo "$as_me: error: invalid value of canonical host" >&2;}
1956 { (exit 1); exit 1; }; };;
1957 esac
1958 host=$ac_cv_host
1959 ac_save_IFS=$IFS; IFS='-'
1960 set x $ac_cv_host
1961 shift
1962 host_cpu=$1
1963 host_vendor=$2
1964 shift; shift
1965 # Remember, the first character of IFS is used to create $*,
1966 # except with old shells:
1967 host_os=$*
1968 IFS=$ac_save_IFS
1969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1972 case $host in
1973 x86_64*linux*)
1974 if test "x$enable_win64" != "xyes"
1975 then
1976 test -n "$CC" || CC="gcc -m32"
1977 test -n "$CXX"|| CXX="g++ -m32"
1978 test -n "$LD" || LD="ld -m elf_i386"
1979 test -n "$AS" || AS="as --32"
1980 host_cpu="i386"
1983 esac
1985 case $host_cpu in
1986 *i[3456789]86*)
1987 if test "x$enable_win16" != "xno"
1988 then
1989 enable_win16="yes"
1992 esac
1994 WIN16_FILES="\$(WIN16_FILES)"
1996 WIN16_INSTALL="\$(WIN16_INSTALL)"
1998 if test "x$enable_win16" != "xyes"
1999 then
2000 WIN16_FILES=""
2001 WIN16_INSTALL=""
2004 if test "x$enable_tests" == "xno"
2005 then
2006 TESTSUBDIRS=""
2008 WINETEST=""
2010 else
2011 TESTSUBDIRS="\$(TESTSUBDIRS)"
2013 WINETEST="winetest"
2017 case "$srcdir" in
2018 .) ;;
2019 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2020 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2021 You need to run 'make distclean' in the source tree first." >&5
2022 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&2;}
2024 { (exit 1); exit 1; }; }
2025 fi ;;
2026 esac
2029 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2030 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2031 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 cat >conftest.make <<\_ACEOF
2036 SHELL = /bin/sh
2037 all:
2038 @echo '@@@%%%=$(MAKE)=@@@%%%'
2039 _ACEOF
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2042 *@@@%%%=?*=@@@%%%*)
2043 eval ac_cv_prog_make_${ac_make}_set=yes;;
2045 eval ac_cv_prog_make_${ac_make}_set=no;;
2046 esac
2047 rm -f conftest.make
2049 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2050 { echo "$as_me:$LINENO: result: yes" >&5
2051 echo "${ECHO_T}yes" >&6; }
2052 SET_MAKE=
2053 else
2054 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6; }
2056 SET_MAKE="MAKE=${MAKE-make}"
2059 ac_ext=c
2060 ac_cpp='$CPP $CPPFLAGS'
2061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2088 IFS=$as_save_IFS
2092 CC=$ac_cv_prog_CC
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2096 else
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2103 if test -z "$ac_cv_prog_CC"; then
2104 ac_ct_CC=$CC
2105 # Extract the first word of "gcc", so it can be a program name with args.
2106 set dummy gcc; ac_word=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112 if test -n "$ac_ct_CC"; then
2113 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2118 IFS=$as_save_IFS
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_ac_ct_CC="gcc"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2
2126 done
2127 done
2128 IFS=$as_save_IFS
2132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6; }
2136 else
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2141 if test "x$ac_ct_CC" = x; then
2142 CC=""
2143 else
2144 case $cross_compiling:$ac_tool_warned in
2145 yes:)
2146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&5
2149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150 whose name does not start with the host triplet. If you think this
2151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152 ac_tool_warned=yes ;;
2153 esac
2154 CC=$ac_ct_CC
2156 else
2157 CC="$ac_cv_prog_CC"
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy ${ac_tool_prefix}cc; ac_word=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 else
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 else
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2175 IFS=$as_save_IFS
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC="${ac_tool_prefix}cc"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 break 2
2183 done
2184 done
2185 IFS=$as_save_IFS
2189 CC=$ac_cv_prog_CC
2190 if test -n "$CC"; then
2191 { echo "$as_me:$LINENO: result: $CC" >&5
2192 echo "${ECHO_T}$CC" >&6; }
2193 else
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212 ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected=yes
2222 continue
2224 ac_cv_prog_CC="cc"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2228 done
2229 done
2230 IFS=$as_save_IFS
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy $ac_cv_prog_CC
2235 shift
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2240 shift
2241 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2246 CC=$ac_cv_prog_CC
2247 if test -n "$CC"; then
2248 { echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6; }
2250 else
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 else
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 else
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2274 IFS=$as_save_IFS
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 break 2
2282 done
2283 done
2284 IFS=$as_save_IFS
2288 CC=$ac_cv_prog_CC
2289 if test -n "$CC"; then
2290 { echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6; }
2292 else
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$CC" && break
2299 done
2301 if test -z "$CC"; then
2302 ac_ct_CC=$CC
2303 for ac_prog in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy $ac_prog; ac_word=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 else
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2314 else
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 for as_dir in $PATH
2318 IFS=$as_save_IFS
2319 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC="$ac_prog"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 break 2
2326 done
2327 done
2328 IFS=$as_save_IFS
2332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2335 echo "${ECHO_T}$ac_ct_CC" >&6; }
2336 else
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2342 test -n "$ac_ct_CC" && break
2343 done
2345 if test "x$ac_ct_CC" = x; then
2346 CC=""
2347 else
2348 case $cross_compiling:$ac_tool_warned in
2349 yes:)
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned=yes ;;
2357 esac
2358 CC=$ac_ct_CC
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO: checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (ac_try="$ac_compiler --version >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler --version >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (ac_try="$ac_compiler -v >&5"
2385 case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388 esac
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_compiler -v >&5") 2>&5
2391 ac_status=$?
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2394 { (ac_try="$ac_compiler -V >&5"
2395 case "(($ac_try" in
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2398 esac
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_compiler -V >&5") 2>&5
2401 ac_status=$?
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }
2405 cat >conftest.$ac_ext <<_ACEOF
2406 /* confdefs.h. */
2407 _ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2413 main ()
2417 return 0;
2419 _ACEOF
2420 ac_clean_files_save=$ac_clean_files
2421 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2422 # Try to create an executable without -o first, disregard a.out.
2423 # It will help us diagnose broken compilers, and finding out an intuition
2424 # of exeext.
2425 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2426 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2427 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2429 # List of possible output files, starting from the most likely.
2430 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2431 # only as a last resort. b.out is created by i960 compilers.
2432 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2434 # The IRIX 6 linker writes into existing files which may not be
2435 # executable, retaining their permissions. Remove them first so a
2436 # subsequent execution test works.
2437 ac_rmfiles=
2438 for ac_file in $ac_files
2440 case $ac_file in
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2443 esac
2444 done
2445 rm -f $ac_rmfiles
2447 if { (ac_try="$ac_link_default"
2448 case "(($ac_try" in
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2451 esac
2452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_link_default") 2>&5
2454 ac_status=$?
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2461 # Autoconf.
2462 for ac_file in $ac_files ''
2464 test -f "$ac_file" || continue
2465 case $ac_file in
2466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2474 then :; else
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2481 # actually working.
2482 break;;
2484 break;;
2485 esac
2486 done
2487 test "$ac_cv_exeext" = no && ac_cv_exeext=
2489 else
2490 ac_file=''
2493 { echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6; }
2495 if test -z "$ac_file"; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2499 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2500 See \`config.log' for more details." >&5
2501 echo "$as_me: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&2;}
2503 { (exit 77); exit 77; }; }
2506 ac_exeext=$ac_cv_exeext
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2511 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2512 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2513 # If not cross compiling, check that we can run a simple program.
2514 if test "$cross_compiling" != yes; then
2515 if { ac_try='./$ac_file'
2516 { (case "(($ac_try" in
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2519 esac
2520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2521 (eval "$ac_try") 2>&5
2522 ac_status=$?
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2525 cross_compiling=no
2526 else
2527 if test "$cross_compiling" = maybe; then
2528 cross_compiling=yes
2529 else
2530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2531 If you meant to cross compile, use \`--host'.
2532 See \`config.log' for more details." >&5
2533 echo "$as_me: error: cannot run C compiled programs.
2534 If you meant to cross compile, use \`--host'.
2535 See \`config.log' for more details." >&2;}
2536 { (exit 1); exit 1; }; }
2540 { echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6; }
2543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2544 ac_clean_files=$ac_clean_files_save
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2549 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2550 echo "${ECHO_T}$cross_compiling" >&6; }
2552 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2554 if { (ac_try="$ac_link"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560 (eval "$ac_link") 2>&5
2561 ac_status=$?
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2565 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2566 # work properly (i.e., refer to `conftest.exe'), while it won't with
2567 # `rm'.
2568 for ac_file in conftest.exe conftest conftest.*; do
2569 test -f "$ac_file" || continue
2570 case $ac_file in
2571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2572 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2573 break;;
2574 * ) break;;
2575 esac
2576 done
2577 else
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest$ac_cv_exeext
2586 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2587 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2589 rm -f conftest.$ac_ext
2590 EXEEXT=$ac_cv_exeext
2591 ac_exeext=$EXEEXT
2592 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2593 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2594 if test "${ac_cv_objext+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 else
2597 cat >conftest.$ac_ext <<_ACEOF
2598 /* confdefs.h. */
2599 _ACEOF
2600 cat confdefs.h >>conftest.$ac_ext
2601 cat >>conftest.$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2605 main ()
2609 return 0;
2611 _ACEOF
2612 rm -f conftest.o conftest.obj
2613 if { (ac_try="$ac_compile"
2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_compile") 2>&5
2620 ac_status=$?
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; then
2623 for ac_file in conftest.o conftest.obj conftest.*; do
2624 test -f "$ac_file" || continue;
2625 case $ac_file in
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2628 break;;
2629 esac
2630 done
2631 else
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2636 See \`config.log' for more details." >&5
2637 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details." >&2;}
2639 { (exit 1); exit 1; }; }
2642 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2644 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2645 echo "${ECHO_T}$ac_cv_objext" >&6; }
2646 OBJEXT=$ac_cv_objext
2647 ac_objext=$OBJEXT
2648 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2649 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2650 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 else
2653 cat >conftest.$ac_ext <<_ACEOF
2654 /* confdefs.h. */
2655 _ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2661 main ()
2663 #ifndef __GNUC__
2664 choke me
2665 #endif
2668 return 0;
2670 _ACEOF
2671 rm -f conftest.$ac_objext
2672 if { (ac_try="$ac_compile"
2673 case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676 esac
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2679 ac_status=$?
2680 grep -v '^ *+' conftest.er1 >conftest.err
2681 rm -f conftest.er1
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } && {
2685 test -z "$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then
2688 ac_compiler_gnu=yes
2689 else
2690 echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2693 ac_compiler_gnu=no
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2700 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2701 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2702 GCC=`test $ac_compiler_gnu = yes && echo yes`
2703 ac_test_CFLAGS=${CFLAGS+set}
2704 ac_save_CFLAGS=$CFLAGS
2705 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2707 if test "${ac_cv_prog_cc_g+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 else
2710 ac_save_c_werror_flag=$ac_c_werror_flag
2711 ac_c_werror_flag=yes
2712 ac_cv_prog_cc_g=no
2713 CFLAGS="-g"
2714 cat >conftest.$ac_ext <<_ACEOF
2715 /* confdefs.h. */
2716 _ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2722 main ()
2726 return 0;
2728 _ACEOF
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2737 ac_status=$?
2738 grep -v '^ *+' conftest.er1 >conftest.err
2739 rm -f conftest.er1
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2746 ac_cv_prog_cc_g=yes
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 CFLAGS=""
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2775 ac_status=$?
2776 grep -v '^ *+' conftest.er1 >conftest.err
2777 rm -f conftest.er1
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then
2785 else
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_c_werror_flag=$ac_save_c_werror_flag
2790 CFLAGS="-g"
2791 cat >conftest.$ac_ext <<_ACEOF
2792 /* confdefs.h. */
2793 _ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2799 main ()
2803 return 0;
2805 _ACEOF
2806 rm -f conftest.$ac_objext
2807 if { (ac_try="$ac_compile"
2808 case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_compile") 2>conftest.er1
2814 ac_status=$?
2815 grep -v '^ *+' conftest.er1 >conftest.err
2816 rm -f conftest.er1
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then
2823 ac_cv_prog_cc_g=yes
2824 else
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2842 if test "$ac_test_CFLAGS" = set; then
2843 CFLAGS=$ac_save_CFLAGS
2844 elif test $ac_cv_prog_cc_g = yes; then
2845 if test "$GCC" = yes; then
2846 CFLAGS="-g -O2"
2847 else
2848 CFLAGS="-g"
2850 else
2851 if test "$GCC" = yes; then
2852 CFLAGS="-O2"
2853 else
2854 CFLAGS=
2857 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2858 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2859 if test "${ac_cv_prog_cc_c89+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862 ac_cv_prog_cc_c89=no
2863 ac_save_CC=$CC
2864 cat >conftest.$ac_ext <<_ACEOF
2865 /* confdefs.h. */
2866 _ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2870 #include <stdarg.h>
2871 #include <stdio.h>
2872 #include <sys/types.h>
2873 #include <sys/stat.h>
2874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2875 struct buf { int x; };
2876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2877 static char *e (p, i)
2878 char **p;
2879 int i;
2881 return p[i];
2883 static char *f (char * (*g) (char **, int), char **p, ...)
2885 char *s;
2886 va_list v;
2887 va_start (v,p);
2888 s = g (p, va_arg (v,int));
2889 va_end (v);
2890 return s;
2893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2894 function prototypes and stuff, but not '\xHH' hex character constants.
2895 These don't provoke an error unfortunately, instead are silently treated
2896 as 'x'. The following induces an error, until -std is added to get
2897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2898 array size at least. It's necessary to write '\x00'==0 to get something
2899 that's true only with -std. */
2900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2903 inside strings and character constants. */
2904 #define FOO(x) 'x'
2905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2907 int test (int i, double x);
2908 struct s1 {int (*f) (int a);};
2909 struct s2 {int (*f) (double a);};
2910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2911 int argc;
2912 char **argv;
2914 main ()
2916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2918 return 0;
2920 _ACEOF
2921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2924 CC="$ac_save_CC $ac_arg"
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2933 ac_status=$?
2934 grep -v '^ *+' conftest.er1 >conftest.err
2935 rm -f conftest.er1
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then
2942 ac_cv_prog_cc_c89=$ac_arg
2943 else
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2950 rm -f core conftest.err conftest.$ac_objext
2951 test "x$ac_cv_prog_cc_c89" != "xno" && break
2952 done
2953 rm -f conftest.$ac_ext
2954 CC=$ac_save_CC
2957 # AC_CACHE_VAL
2958 case "x$ac_cv_prog_cc_c89" in
2960 { echo "$as_me:$LINENO: result: none needed" >&5
2961 echo "${ECHO_T}none needed" >&6; } ;;
2962 xno)
2963 { echo "$as_me:$LINENO: result: unsupported" >&5
2964 echo "${ECHO_T}unsupported" >&6; } ;;
2966 CC="$CC $ac_cv_prog_cc_c89"
2967 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2968 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2969 esac
2972 ac_ext=c
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2978 ac_ext=cpp
2979 ac_cpp='$CXXCPP $CPPFLAGS'
2980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2983 if test -z "$CXX"; then
2984 if test -n "$CCC"; then
2985 CXX=$CCC
2986 else
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2994 if test "${ac_cv_prog_CXX+set}" = set; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 else
2997 if test -n "$CXX"; then
2998 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2999 else
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 break 2
3011 done
3012 done
3013 IFS=$as_save_IFS
3017 CXX=$ac_cv_prog_CXX
3018 if test -n "$CXX"; then
3019 { echo "$as_me:$LINENO: result: $CXX" >&5
3020 echo "${ECHO_T}$CXX" >&6; }
3021 else
3022 { echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6; }
3027 test -n "$CXX" && break
3028 done
3030 if test -z "$CXX"; then
3031 ac_ct_CXX=$CXX
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy $ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3038 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 else
3041 if test -n "$ac_ct_CXX"; then
3042 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3043 else
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 for as_dir in $PATH
3047 IFS=$as_save_IFS
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CXX="$ac_prog"
3052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 break 2
3055 done
3056 done
3057 IFS=$as_save_IFS
3061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3062 if test -n "$ac_ct_CXX"; then
3063 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3064 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3065 else
3066 { echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6; }
3071 test -n "$ac_ct_CXX" && break
3072 done
3074 if test "x$ac_ct_CXX" = x; then
3075 CXX="g++"
3076 else
3077 case $cross_compiling:$ac_tool_warned in
3078 yes:)
3079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3080 whose name does not start with the host triplet. If you think this
3081 configuration is useful to you, please write to autoconf@gnu.org." >&5
3082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3083 whose name does not start with the host triplet. If you think this
3084 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3085 ac_tool_warned=yes ;;
3086 esac
3087 CXX=$ac_ct_CXX
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3095 ac_compiler=`set X $ac_compile; echo $2`
3096 { (ac_try="$ac_compiler --version >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler --version >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3106 { (ac_try="$ac_compiler -v >&5"
3107 case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3110 esac
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compiler -v >&5") 2>&5
3113 ac_status=$?
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }
3116 { (ac_try="$ac_compiler -V >&5"
3117 case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compiler -V >&5") 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }
3127 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3128 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3129 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 else
3132 cat >conftest.$ac_ext <<_ACEOF
3133 /* confdefs.h. */
3134 _ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3140 main ()
3142 #ifndef __GNUC__
3143 choke me
3144 #endif
3147 return 0;
3149 _ACEOF
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_cxx_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_compiler_gnu=yes
3168 else
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3172 ac_compiler_gnu=no
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3179 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3180 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3181 GXX=`test $ac_compiler_gnu = yes && echo yes`
3182 ac_test_CXXFLAGS=${CXXFLAGS+set}
3183 ac_save_CXXFLAGS=$CXXFLAGS
3184 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3185 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3186 if test "${ac_cv_prog_cxx_g+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 else
3189 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3190 ac_cxx_werror_flag=yes
3191 ac_cv_prog_cxx_g=no
3192 CXXFLAGS="-g"
3193 cat >conftest.$ac_ext <<_ACEOF
3194 /* confdefs.h. */
3195 _ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3201 main ()
3205 return 0;
3207 _ACEOF
3208 rm -f conftest.$ac_objext
3209 if { (ac_try="$ac_compile"
3210 case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3213 esac
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_compile") 2>conftest.er1
3216 ac_status=$?
3217 grep -v '^ *+' conftest.er1 >conftest.err
3218 rm -f conftest.er1
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_cxx_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then
3225 ac_cv_prog_cxx_g=yes
3226 else
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3230 CXXFLAGS=""
3231 cat >conftest.$ac_ext <<_ACEOF
3232 /* confdefs.h. */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3239 main ()
3243 return 0;
3245 _ACEOF
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3248 case "(($ac_try" in
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3251 esac
3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_compile") 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } && {
3260 test -z "$ac_cxx_werror_flag" ||
3261 test ! -s conftest.err
3262 } && test -s conftest.$ac_objext; then
3264 else
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3269 CXXFLAGS="-g"
3270 cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h. */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3278 main ()
3282 return 0;
3284 _ACEOF
3285 rm -f conftest.$ac_objext
3286 if { (ac_try="$ac_compile"
3287 case "(($ac_try" in
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3290 esac
3291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_cxx_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cxx_g=yes
3303 else
3304 echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3319 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3320 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3321 if test "$ac_test_CXXFLAGS" = set; then
3322 CXXFLAGS=$ac_save_CXXFLAGS
3323 elif test $ac_cv_prog_cxx_g = yes; then
3324 if test "$GXX" = yes; then
3325 CXXFLAGS="-g -O2"
3326 else
3327 CXXFLAGS="-g"
3329 else
3330 if test "$GXX" = yes; then
3331 CXXFLAGS="-O2"
3332 else
3333 CXXFLAGS=
3336 ac_ext=c
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3347 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 else
3350 if test -n "$CPPBIN"; then
3351 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 CPPBIN=$ac_cv_prog_CPPBIN
3371 if test -n "$CPPBIN"; then
3372 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3373 echo "${ECHO_T}$CPPBIN" >&6; }
3374 else
3375 { echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6; }
3381 if test -z "$ac_cv_prog_CPPBIN"; then
3382 ac_ct_CPPBIN=$CPPBIN
3383 # Extract the first word of "cpp", so it can be a program name with args.
3384 set dummy cpp; ac_word=$2
3385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3387 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 else
3390 if test -n "$ac_ct_CPPBIN"; then
3391 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_CPPBIN="cpp"
3401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3411 if test -n "$ac_ct_CPPBIN"; then
3412 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3413 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3414 else
3415 { echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6; }
3419 if test "x$ac_ct_CPPBIN" = x; then
3420 CPPBIN="cpp"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3425 whose name does not start with the host triplet. If you think this
3426 configuration is useful to you, please write to autoconf@gnu.org." >&5
3427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3428 whose name does not start with the host triplet. If you think this
3429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3430 ac_tool_warned=yes ;;
3431 esac
3432 CPPBIN=$ac_ct_CPPBIN
3434 else
3435 CPPBIN="$ac_cv_prog_CPPBIN"
3439 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3440 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3441 if test "${wine_cv_toolsdir+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 else
3444 if test -z "$with_wine_tools"; then
3445 if test "$cross_compiling" = "yes"; then
3446 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3447 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3448 { (exit 1); exit 1; }; }
3449 else
3450 wine_cv_toolsdir="\$(TOPOBJDIR)"
3452 elif test -d "$with_wine_tools/tools/winebuild"; then
3453 case $with_wine_tools in
3454 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3455 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3456 esac
3457 else
3458 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3459 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3460 { (exit 1); exit 1; }; }
3463 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3464 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3465 TOOLSDIR=$wine_cv_toolsdir
3469 ac_ext=c
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3475 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3476 # On Suns, sometimes $CPP names a directory.
3477 if test -n "$CPP" && test -d "$CPP"; then
3478 CPP=
3480 if test -z "$CPP"; then
3481 if test "${ac_cv_prog_CPP+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 else
3484 # Double quotes because CPP needs to be expanded
3485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3487 ac_preproc_ok=false
3488 for ac_c_preproc_warn_flag in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error" is here to catch this case.
3496 cat >conftest.$ac_ext <<_ACEOF
3497 /* confdefs.h. */
3498 _ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 #ifdef __STDC__
3503 # include <limits.h>
3504 #else
3505 # include <assert.h>
3506 #endif
3507 Syntax error
3508 _ACEOF
3509 if { (ac_try="$ac_cpp conftest.$ac_ext"
3510 case "(($ac_try" in
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3513 esac
3514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3516 ac_status=$?
3517 grep -v '^ *+' conftest.er1 >conftest.err
3518 rm -f conftest.er1
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } >/dev/null && {
3522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3524 }; then
3526 else
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3530 # Broken: fails on valid input.
3531 continue
3534 rm -f conftest.err conftest.$ac_ext
3536 # OK, works on sane cases. Now check whether nonexistent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3539 /* confdefs.h. */
3540 _ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3545 _ACEOF
3546 if { (ac_try="$ac_cpp conftest.$ac_ext"
3547 case "(($ac_try" in
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3550 esac
3551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3553 ac_status=$?
3554 grep -v '^ *+' conftest.er1 >conftest.err
3555 rm -f conftest.er1
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3561 }; then
3562 # Broken: success on invalid input.
3563 continue
3564 else
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3569 ac_preproc_ok=:
3570 break
3573 rm -f conftest.err conftest.$ac_ext
3575 done
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.$ac_ext
3578 if $ac_preproc_ok; then
3579 break
3582 done
3583 ac_cv_prog_CPP=$CPP
3586 CPP=$ac_cv_prog_CPP
3587 else
3588 ac_cv_prog_CPP=$CPP
3590 { echo "$as_me:$LINENO: result: $CPP" >&5
3591 echo "${ECHO_T}$CPP" >&6; }
3592 ac_preproc_ok=false
3593 for ac_c_preproc_warn_flag in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error" is here to catch this case.
3601 cat >conftest.$ac_ext <<_ACEOF
3602 /* confdefs.h. */
3603 _ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 #ifdef __STDC__
3608 # include <limits.h>
3609 #else
3610 # include <assert.h>
3611 #endif
3612 Syntax error
3613 _ACEOF
3614 if { (ac_try="$ac_cpp conftest.$ac_ext"
3615 case "(($ac_try" in
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3618 esac
3619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3621 ac_status=$?
3622 grep -v '^ *+' conftest.er1 >conftest.err
3623 rm -f conftest.er1
3624 cat conftest.err >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); } >/dev/null && {
3627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3628 test ! -s conftest.err
3629 }; then
3631 else
3632 echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3635 # Broken: fails on valid input.
3636 continue
3639 rm -f conftest.err conftest.$ac_ext
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat >conftest.$ac_ext <<_ACEOF
3644 /* confdefs.h. */
3645 _ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3649 #include <ac_nonexistent.h>
3650 _ACEOF
3651 if { (ac_try="$ac_cpp conftest.$ac_ext"
3652 case "(($ac_try" in
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3655 esac
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev/null && {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3666 }; then
3667 # Broken: success on invalid input.
3668 continue
3669 else
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Passes both tests.
3674 ac_preproc_ok=:
3675 break
3678 rm -f conftest.err conftest.$ac_ext
3680 done
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.err conftest.$ac_ext
3683 if $ac_preproc_ok; then
3685 else
3686 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3687 See \`config.log' for more details." >&5
3688 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log' for more details." >&2;}
3690 { (exit 1); exit 1; }; }
3693 ac_ext=c
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 { echo "$as_me:$LINENO: checking for X" >&5
3701 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3704 # Check whether --with-x was given.
3705 if test "${with_x+set}" = set; then
3706 withval=$with_x;
3709 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3710 if test "x$with_x" = xno; then
3711 # The user explicitly disabled X.
3712 have_x=disabled
3713 else
3714 case $x_includes,$x_libraries in #(
3715 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3716 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3717 { (exit 1); exit 1; }; };; #(
3718 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 else
3721 # One or both of the vars are not set, and there is no cached value.
3722 ac_x_includes=no ac_x_libraries=no
3723 rm -f -r conftest.dir
3724 if mkdir conftest.dir; then
3725 cd conftest.dir
3726 cat >Imakefile <<'_ACEOF'
3727 incroot:
3728 @echo incroot='${INCROOT}'
3729 usrlibdir:
3730 @echo usrlibdir='${USRLIBDIR}'
3731 libdir:
3732 @echo libdir='${LIBDIR}'
3733 _ACEOF
3734 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3736 for ac_var in incroot usrlibdir libdir; do
3737 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3738 done
3739 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3740 for ac_extension in a so sl; do
3741 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3742 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3743 ac_im_usrlibdir=$ac_im_libdir; break
3745 done
3746 # Screen out bogus values from the imake configuration. They are
3747 # bogus both because they are the default anyway, and because
3748 # using them would break gcc on systems where it needs fixed includes.
3749 case $ac_im_incroot in
3750 /usr/include) ac_x_includes= ;;
3751 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3752 esac
3753 case $ac_im_usrlibdir in
3754 /usr/lib | /lib) ;;
3755 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3756 esac
3758 cd ..
3759 rm -f -r conftest.dir
3762 # Standard set of common directories for X headers.
3763 # Check X11 before X11Rn because it is often a symlink to the current release.
3764 ac_x_header_dirs='
3765 /usr/X11/include
3766 /usr/X11R6/include
3767 /usr/X11R5/include
3768 /usr/X11R4/include
3770 /usr/include/X11
3771 /usr/include/X11R6
3772 /usr/include/X11R5
3773 /usr/include/X11R4
3775 /usr/local/X11/include
3776 /usr/local/X11R6/include
3777 /usr/local/X11R5/include
3778 /usr/local/X11R4/include
3780 /usr/local/include/X11
3781 /usr/local/include/X11R6
3782 /usr/local/include/X11R5
3783 /usr/local/include/X11R4
3785 /usr/X386/include
3786 /usr/x386/include
3787 /usr/XFree86/include/X11
3789 /usr/include
3790 /usr/local/include
3791 /usr/unsupported/include
3792 /usr/athena/include
3793 /usr/local/x11r5/include
3794 /usr/lpp/Xamples/include
3796 /usr/openwin/include
3797 /usr/openwin/share/include'
3799 if test "$ac_x_includes" = no; then
3800 # Guess where to find include files, by looking for Xlib.h.
3801 # First, try using that file with no special directory specified.
3802 cat >conftest.$ac_ext <<_ACEOF
3803 /* confdefs.h. */
3804 _ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <X11/Xlib.h>
3809 _ACEOF
3810 if { (ac_try="$ac_cpp conftest.$ac_ext"
3811 case "(($ac_try" in
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3814 esac
3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3817 ac_status=$?
3818 grep -v '^ *+' conftest.er1 >conftest.err
3819 rm -f conftest.er1
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } >/dev/null && {
3823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3825 }; then
3826 # We can compile using X headers with no special include directory.
3827 ac_x_includes=
3828 else
3829 echo "$as_me: failed program was:" >&5
3830 sed 's/^/| /' conftest.$ac_ext >&5
3832 for ac_dir in $ac_x_header_dirs; do
3833 if test -r "$ac_dir/X11/Xlib.h"; then
3834 ac_x_includes=$ac_dir
3835 break
3837 done
3840 rm -f conftest.err conftest.$ac_ext
3841 fi # $ac_x_includes = no
3843 if test "$ac_x_libraries" = no; then
3844 # Check for the libraries.
3845 # See if we find them without any special options.
3846 # Don't add to $LIBS permanently.
3847 ac_save_LIBS=$LIBS
3848 LIBS="-lX11 $LIBS"
3849 cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h. */
3851 _ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <X11/Xlib.h>
3857 main ()
3859 XrmInitialize ()
3861 return 0;
3863 _ACEOF
3864 rm -f conftest.$ac_objext conftest$ac_exeext
3865 if { (ac_try="$ac_link"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_link") 2>conftest.er1
3872 ac_status=$?
3873 grep -v '^ *+' conftest.er1 >conftest.err
3874 rm -f conftest.er1
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } && {
3878 test -z "$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 } && test -s conftest$ac_exeext &&
3881 $as_test_x conftest$ac_exeext; then
3882 LIBS=$ac_save_LIBS
3883 # We can link X programs with no special library path.
3884 ac_x_libraries=
3885 else
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3889 LIBS=$ac_save_LIBS
3890 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3892 # Don't even attempt the hair of trying to link an X program!
3893 for ac_extension in a so sl; do
3894 if test -r "$ac_dir/libX11.$ac_extension"; then
3895 ac_x_libraries=$ac_dir
3896 break 2
3898 done
3899 done
3902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3903 conftest$ac_exeext conftest.$ac_ext
3904 fi # $ac_x_libraries = no
3906 case $ac_x_includes,$ac_x_libraries in #(
3907 no,* | *,no | *\'*)
3908 # Didn't find X, or a directory has "'" in its name.
3909 ac_cv_have_x="have_x=no";; #(
3911 # Record where we found X for the cache.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$ac_x_includes'\
3914 ac_x_libraries='$ac_x_libraries'"
3915 esac
3917 ;; #(
3918 *) have_x=yes;;
3919 esac
3920 eval "$ac_cv_have_x"
3921 fi # $with_x != no
3923 if test "$have_x" != yes; then
3924 { echo "$as_me:$LINENO: result: $have_x" >&5
3925 echo "${ECHO_T}$have_x" >&6; }
3926 no_x=yes
3927 else
3928 # If each of the values was on the command line, it overrides each guess.
3929 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3930 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3931 # Update the cache value to reflect the command line values.
3932 ac_cv_have_x="have_x=yes\
3933 ac_x_includes='$x_includes'\
3934 ac_x_libraries='$x_libraries'"
3935 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3936 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3939 if test "$no_x" = yes; then
3940 # Not all programs may use this symbol, but it does not hurt to define it.
3942 cat >>confdefs.h <<\_ACEOF
3943 #define X_DISPLAY_MISSING 1
3944 _ACEOF
3946 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3947 else
3948 if test -n "$x_includes"; then
3949 X_CFLAGS="$X_CFLAGS -I$x_includes"
3952 # It would also be nice to do this for all -L options, not just this one.
3953 if test -n "$x_libraries"; then
3954 X_LIBS="$X_LIBS -L$x_libraries"
3955 # For Solaris; some versions of Sun CC require a space after -R and
3956 # others require no space. Words are not sufficient . . . .
3957 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3958 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3959 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3960 ac_xsave_c_werror_flag=$ac_c_werror_flag
3961 ac_c_werror_flag=yes
3962 cat >conftest.$ac_ext <<_ACEOF
3963 /* confdefs.h. */
3964 _ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3970 main ()
3974 return 0;
3976 _ACEOF
3977 rm -f conftest.$ac_objext conftest$ac_exeext
3978 if { (ac_try="$ac_link"
3979 case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_link") 2>conftest.er1
3985 ac_status=$?
3986 grep -v '^ *+' conftest.er1 >conftest.err
3987 rm -f conftest.er1
3988 cat conftest.err >&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && {
3991 test -z "$ac_c_werror_flag" ||
3992 test ! -s conftest.err
3993 } && test -s conftest$ac_exeext &&
3994 $as_test_x conftest$ac_exeext; then
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 X_LIBS="$X_LIBS -R$x_libraries"
3998 else
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4002 LIBS="$ac_xsave_LIBS -R $x_libraries"
4003 cat >conftest.$ac_ext <<_ACEOF
4004 /* confdefs.h. */
4005 _ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4011 main ()
4015 return 0;
4017 _ACEOF
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4020 case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023 esac
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4026 ac_status=$?
4027 grep -v '^ *+' conftest.er1 >conftest.err
4028 rm -f conftest.er1
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } && {
4032 test -z "$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4034 } && test -s conftest$ac_exeext &&
4035 $as_test_x conftest$ac_exeext; then
4036 { echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6; }
4038 X_LIBS="$X_LIBS -R $x_libraries"
4039 else
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { echo "$as_me:$LINENO: result: neither works" >&5
4044 echo "${ECHO_T}neither works" >&6; }
4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4048 conftest$ac_exeext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4052 conftest$ac_exeext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_xsave_c_werror_flag
4054 LIBS=$ac_xsave_LIBS
4057 # Check for system-dependent libraries X programs must link with.
4058 # Do this before checking for the system-independent R6 libraries
4059 # (-lICE), since we may need -lsocket or whatever for X linking.
4061 if test "$ISC" = yes; then
4062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4063 else
4064 # Martyn Johnson says this is needed for Ultrix, if the X
4065 # libraries were built with DECnet support. And Karl Berry says
4066 # the Alpha needs dnet_stub (dnet does not exist).
4067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4068 cat >conftest.$ac_ext <<_ACEOF
4069 /* confdefs.h. */
4070 _ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4078 #ifdef __cplusplus
4079 extern "C"
4080 #endif
4081 char XOpenDisplay ();
4083 main ()
4085 return XOpenDisplay ();
4087 return 0;
4089 _ACEOF
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (ac_try="$ac_link"
4092 case "(($ac_try" in
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4095 esac
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_link") 2>conftest.er1
4098 ac_status=$?
4099 grep -v '^ *+' conftest.er1 >conftest.err
4100 rm -f conftest.er1
4101 cat conftest.err >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest$ac_exeext &&
4107 $as_test_x conftest$ac_exeext; then
4109 else
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 else
4118 ac_check_lib_save_LIBS=$LIBS
4119 LIBS="-ldnet $LIBS"
4120 cat >conftest.$ac_ext <<_ACEOF
4121 /* confdefs.h. */
4122 _ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any GCC internal prototype to avoid an error.
4128 Use char because int might match the return type of a GCC
4129 builtin and then its argument prototype would still apply. */
4130 #ifdef __cplusplus
4131 extern "C"
4132 #endif
4133 char dnet_ntoa ();
4135 main ()
4137 return dnet_ntoa ();
4139 return 0;
4141 _ACEOF
4142 rm -f conftest.$ac_objext conftest$ac_exeext
4143 if { (ac_try="$ac_link"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_link") 2>conftest.er1
4150 ac_status=$?
4151 grep -v '^ *+' conftest.er1 >conftest.err
4152 rm -f conftest.er1
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && {
4156 test -z "$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 } && test -s conftest$ac_exeext &&
4159 $as_test_x conftest$ac_exeext; then
4160 ac_cv_lib_dnet_dnet_ntoa=yes
4161 else
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 ac_cv_lib_dnet_dnet_ntoa=no
4168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4169 conftest$ac_exeext conftest.$ac_ext
4170 LIBS=$ac_check_lib_save_LIBS
4172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4173 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4174 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4175 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4178 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4179 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4180 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4181 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 else
4184 ac_check_lib_save_LIBS=$LIBS
4185 LIBS="-ldnet_stub $LIBS"
4186 cat >conftest.$ac_ext <<_ACEOF
4187 /* confdefs.h. */
4188 _ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4193 /* Override any GCC internal prototype to avoid an error.
4194 Use char because int might match the return type of a GCC
4195 builtin and then its argument prototype would still apply. */
4196 #ifdef __cplusplus
4197 extern "C"
4198 #endif
4199 char dnet_ntoa ();
4201 main ()
4203 return dnet_ntoa ();
4205 return 0;
4207 _ACEOF
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (ac_try="$ac_link"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>conftest.er1
4216 ac_status=$?
4217 grep -v '^ *+' conftest.er1 >conftest.err
4218 rm -f conftest.er1
4219 cat conftest.err >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } && {
4222 test -z "$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4224 } && test -s conftest$ac_exeext &&
4225 $as_test_x conftest$ac_exeext; then
4226 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4227 else
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 ac_cv_lib_dnet_stub_dnet_ntoa=no
4234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4235 conftest$ac_exeext conftest.$ac_ext
4236 LIBS=$ac_check_lib_save_LIBS
4238 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4239 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4240 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4241 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4248 conftest$ac_exeext conftest.$ac_ext
4249 LIBS="$ac_xsave_LIBS"
4251 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4252 # to get the SysV transport functions.
4253 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4254 # needs -lnsl.
4255 # The nsl library prevents programs from opening the X display
4256 # on Irix 5.2, according to T.E. Dickey.
4257 # The functions gethostbyname, getservbyname, and inet_addr are
4258 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4259 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4260 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4261 if test "${ac_cv_func_gethostbyname+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 else
4264 cat >conftest.$ac_ext <<_ACEOF
4265 /* confdefs.h. */
4266 _ACEOF
4267 cat confdefs.h >>conftest.$ac_ext
4268 cat >>conftest.$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4270 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4272 #define gethostbyname innocuous_gethostbyname
4274 /* System header to define __stub macros and hopefully few prototypes,
4275 which can conflict with char gethostbyname (); below.
4276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 <limits.h> exists even on freestanding compilers. */
4279 #ifdef __STDC__
4280 # include <limits.h>
4281 #else
4282 # include <assert.h>
4283 #endif
4285 #undef gethostbyname
4287 /* Override any GCC internal prototype to avoid an error.
4288 Use char because int might match the return type of a GCC
4289 builtin and then its argument prototype would still apply. */
4290 #ifdef __cplusplus
4291 extern "C"
4292 #endif
4293 char gethostbyname ();
4294 /* The GNU C library defines this for functions which it implements
4295 to always fail with ENOSYS. Some functions are actually named
4296 something starting with __ and the normal name is an alias. */
4297 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4298 choke me
4299 #endif
4302 main ()
4304 return gethostbyname ();
4306 return 0;
4308 _ACEOF
4309 rm -f conftest.$ac_objext conftest$ac_exeext
4310 if { (ac_try="$ac_link"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_link") 2>conftest.er1
4317 ac_status=$?
4318 grep -v '^ *+' conftest.er1 >conftest.err
4319 rm -f conftest.er1
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_c_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest$ac_exeext &&
4326 $as_test_x conftest$ac_exeext; then
4327 ac_cv_func_gethostbyname=yes
4328 else
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 ac_cv_func_gethostbyname=no
4335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4336 conftest$ac_exeext conftest.$ac_ext
4338 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4339 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4341 if test $ac_cv_func_gethostbyname = no; then
4342 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4343 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4344 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 else
4347 ac_check_lib_save_LIBS=$LIBS
4348 LIBS="-lnsl $LIBS"
4349 cat >conftest.$ac_ext <<_ACEOF
4350 /* confdefs.h. */
4351 _ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4356 /* Override any GCC internal prototype to avoid an error.
4357 Use char because int might match the return type of a GCC
4358 builtin and then its argument prototype would still apply. */
4359 #ifdef __cplusplus
4360 extern "C"
4361 #endif
4362 char gethostbyname ();
4364 main ()
4366 return gethostbyname ();
4368 return 0;
4370 _ACEOF
4371 rm -f conftest.$ac_objext conftest$ac_exeext
4372 if { (ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_link") 2>conftest.er1
4379 ac_status=$?
4380 grep -v '^ *+' conftest.er1 >conftest.err
4381 rm -f conftest.er1
4382 cat conftest.err >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && {
4385 test -z "$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4387 } && test -s conftest$ac_exeext &&
4388 $as_test_x conftest$ac_exeext; then
4389 ac_cv_lib_nsl_gethostbyname=yes
4390 else
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.$ac_ext >&5
4394 ac_cv_lib_nsl_gethostbyname=no
4397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4398 conftest$ac_exeext conftest.$ac_ext
4399 LIBS=$ac_check_lib_save_LIBS
4401 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4402 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4403 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4407 if test $ac_cv_lib_nsl_gethostbyname = no; then
4408 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4409 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4410 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 else
4413 ac_check_lib_save_LIBS=$LIBS
4414 LIBS="-lbsd $LIBS"
4415 cat >conftest.$ac_ext <<_ACEOF
4416 /* confdefs.h. */
4417 _ACEOF
4418 cat confdefs.h >>conftest.$ac_ext
4419 cat >>conftest.$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4422 /* Override any GCC internal prototype to avoid an error.
4423 Use char because int might match the return type of a GCC
4424 builtin and then its argument prototype would still apply. */
4425 #ifdef __cplusplus
4426 extern "C"
4427 #endif
4428 char gethostbyname ();
4430 main ()
4432 return gethostbyname ();
4434 return 0;
4436 _ACEOF
4437 rm -f conftest.$ac_objext conftest$ac_exeext
4438 if { (ac_try="$ac_link"
4439 case "(($ac_try" in
4440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4442 esac
4443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4444 (eval "$ac_link") 2>conftest.er1
4445 ac_status=$?
4446 grep -v '^ *+' conftest.er1 >conftest.err
4447 rm -f conftest.er1
4448 cat conftest.err >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } && {
4451 test -z "$ac_c_werror_flag" ||
4452 test ! -s conftest.err
4453 } && test -s conftest$ac_exeext &&
4454 $as_test_x conftest$ac_exeext; then
4455 ac_cv_lib_bsd_gethostbyname=yes
4456 else
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_cv_lib_bsd_gethostbyname=no
4463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4464 conftest$ac_exeext conftest.$ac_ext
4465 LIBS=$ac_check_lib_save_LIBS
4467 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4468 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4469 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4477 # socket/setsockopt and other routines are undefined under SCO ODT
4478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4479 # on later versions), says Simon Leinen: it contains gethostby*
4480 # variants that don't use the name server (or something). -lsocket
4481 # must be given before -lnsl if both are needed. We assume that
4482 # if connect needs -lnsl, so does gethostbyname.
4483 { echo "$as_me:$LINENO: checking for connect" >&5
4484 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_connect+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 else
4488 cat >conftest.$ac_ext <<_ACEOF
4489 /* confdefs.h. */
4490 _ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define connect innocuous_connect
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char connect (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4503 #ifdef __STDC__
4504 # include <limits.h>
4505 #else
4506 # include <assert.h>
4507 #endif
4509 #undef connect
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4514 #ifdef __cplusplus
4515 extern "C"
4516 #endif
4517 char connect ();
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_connect || defined __stub___connect
4522 choke me
4523 #endif
4526 main ()
4528 return connect ();
4530 return 0;
4532 _ACEOF
4533 rm -f conftest.$ac_objext conftest$ac_exeext
4534 if { (ac_try="$ac_link"
4535 case "(($ac_try" in
4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4538 esac
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest$ac_exeext &&
4550 $as_test_x conftest$ac_exeext; then
4551 ac_cv_func_connect=yes
4552 else
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 ac_cv_func_connect=no
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext conftest.$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4563 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4565 if test $ac_cv_func_connect = no; then
4566 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4567 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_socket_connect+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571 ac_check_lib_save_LIBS=$LIBS
4572 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4573 cat >conftest.$ac_ext <<_ACEOF
4574 /* confdefs.h. */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4583 #ifdef __cplusplus
4584 extern "C"
4585 #endif
4586 char connect ();
4588 main ()
4590 return connect ();
4592 return 0;
4594 _ACEOF
4595 rm -f conftest.$ac_objext conftest$ac_exeext
4596 if { (ac_try="$ac_link"
4597 case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4600 esac
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4603 ac_status=$?
4604 grep -v '^ *+' conftest.er1 >conftest.err
4605 rm -f conftest.er1
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest$ac_exeext &&
4612 $as_test_x conftest$ac_exeext; then
4613 ac_cv_lib_socket_connect=yes
4614 else
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_socket_connect=no
4621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622 conftest$ac_exeext conftest.$ac_ext
4623 LIBS=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4626 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4627 if test $ac_cv_lib_socket_connect = yes; then
4628 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4633 # Guillermo Gomez says -lposix is necessary on A/UX.
4634 { echo "$as_me:$LINENO: checking for remove" >&5
4635 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4636 if test "${ac_cv_func_remove+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639 cat >conftest.$ac_ext <<_ACEOF
4640 /* confdefs.h. */
4641 _ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4647 #define remove innocuous_remove
4649 /* System header to define __stub macros and hopefully few prototypes,
4650 which can conflict with char remove (); below.
4651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 <limits.h> exists even on freestanding compilers. */
4654 #ifdef __STDC__
4655 # include <limits.h>
4656 #else
4657 # include <assert.h>
4658 #endif
4660 #undef remove
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4665 #ifdef __cplusplus
4666 extern "C"
4667 #endif
4668 char remove ();
4669 /* The GNU C library defines this for functions which it implements
4670 to always fail with ENOSYS. Some functions are actually named
4671 something starting with __ and the normal name is an alias. */
4672 #if defined __stub_remove || defined __stub___remove
4673 choke me
4674 #endif
4677 main ()
4679 return remove ();
4681 return 0;
4683 _ACEOF
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (ac_try="$ac_link"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_link") 2>conftest.er1
4692 ac_status=$?
4693 grep -v '^ *+' conftest.er1 >conftest.err
4694 rm -f conftest.er1
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest$ac_exeext &&
4701 $as_test_x conftest$ac_exeext; then
4702 ac_cv_func_remove=yes
4703 else
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 ac_cv_func_remove=no
4710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4711 conftest$ac_exeext conftest.$ac_ext
4713 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4714 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4716 if test $ac_cv_func_remove = no; then
4717 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4718 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4719 if test "${ac_cv_lib_posix_remove+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 else
4722 ac_check_lib_save_LIBS=$LIBS
4723 LIBS="-lposix $LIBS"
4724 cat >conftest.$ac_ext <<_ACEOF
4725 /* confdefs.h. */
4726 _ACEOF
4727 cat confdefs.h >>conftest.$ac_ext
4728 cat >>conftest.$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4734 #ifdef __cplusplus
4735 extern "C"
4736 #endif
4737 char remove ();
4739 main ()
4741 return remove ();
4743 return 0;
4745 _ACEOF
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4748 case "(($ac_try" in
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4751 esac
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4754 ac_status=$?
4755 grep -v '^ *+' conftest.er1 >conftest.err
4756 rm -f conftest.er1
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_lib_posix_remove=yes
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_lib_posix_remove=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4774 LIBS=$ac_check_lib_save_LIBS
4776 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4778 if test $ac_cv_lib_posix_remove = yes; then
4779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4785 { echo "$as_me:$LINENO: checking for shmat" >&5
4786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4787 if test "${ac_cv_func_shmat+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 else
4790 cat >conftest.$ac_ext <<_ACEOF
4791 /* confdefs.h. */
4792 _ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4798 #define shmat innocuous_shmat
4800 /* System header to define __stub macros and hopefully few prototypes,
4801 which can conflict with char shmat (); below.
4802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4803 <limits.h> exists even on freestanding compilers. */
4805 #ifdef __STDC__
4806 # include <limits.h>
4807 #else
4808 # include <assert.h>
4809 #endif
4811 #undef shmat
4813 /* Override any GCC internal prototype to avoid an error.
4814 Use char because int might match the return type of a GCC
4815 builtin and then its argument prototype would still apply. */
4816 #ifdef __cplusplus
4817 extern "C"
4818 #endif
4819 char shmat ();
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined __stub_shmat || defined __stub___shmat
4824 choke me
4825 #endif
4828 main ()
4830 return shmat ();
4832 return 0;
4834 _ACEOF
4835 rm -f conftest.$ac_objext conftest$ac_exeext
4836 if { (ac_try="$ac_link"
4837 case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840 esac
4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4843 ac_status=$?
4844 grep -v '^ *+' conftest.er1 >conftest.err
4845 rm -f conftest.er1
4846 cat conftest.err >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } && {
4849 test -z "$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4851 } && test -s conftest$ac_exeext &&
4852 $as_test_x conftest$ac_exeext; then
4853 ac_cv_func_shmat=yes
4854 else
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 ac_cv_func_shmat=no
4861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4862 conftest$ac_exeext conftest.$ac_ext
4864 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4865 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4867 if test $ac_cv_func_shmat = no; then
4868 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4869 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4870 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873 ac_check_lib_save_LIBS=$LIBS
4874 LIBS="-lipc $LIBS"
4875 cat >conftest.$ac_ext <<_ACEOF
4876 /* confdefs.h. */
4877 _ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4885 #ifdef __cplusplus
4886 extern "C"
4887 #endif
4888 char shmat ();
4890 main ()
4892 return shmat ();
4894 return 0;
4896 _ACEOF
4897 rm -f conftest.$ac_objext conftest$ac_exeext
4898 if { (ac_try="$ac_link"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4905 ac_status=$?
4906 grep -v '^ *+' conftest.er1 >conftest.err
4907 rm -f conftest.er1
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_lib_ipc_shmat=yes
4916 else
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_lib_ipc_shmat=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4925 LIBS=$ac_check_lib_save_LIBS
4927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4928 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4929 if test $ac_cv_lib_ipc_shmat = yes; then
4930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4936 # Check for libraries that X11R6 Xt/Xaw programs need.
4937 ac_save_LDFLAGS=$LDFLAGS
4938 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4939 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4940 # check for ICE first), but we must link in the order -lSM -lICE or
4941 # we get undefined symbols. So assume we have SM if we have ICE.
4942 # These have to be linked with before -lX11, unlike the other
4943 # libraries we check for below, so use a different variable.
4944 # John Interrante, Karl Berry
4945 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4946 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4947 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 else
4950 ac_check_lib_save_LIBS=$LIBS
4951 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4952 cat >conftest.$ac_ext <<_ACEOF
4953 /* confdefs.h. */
4954 _ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4959 /* Override any GCC internal prototype to avoid an error.
4960 Use char because int might match the return type of a GCC
4961 builtin and then its argument prototype would still apply. */
4962 #ifdef __cplusplus
4963 extern "C"
4964 #endif
4965 char IceConnectionNumber ();
4967 main ()
4969 return IceConnectionNumber ();
4971 return 0;
4973 _ACEOF
4974 rm -f conftest.$ac_objext conftest$ac_exeext
4975 if { (ac_try="$ac_link"
4976 case "(($ac_try" in
4977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978 *) ac_try_echo=$ac_try;;
4979 esac
4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981 (eval "$ac_link") 2>conftest.er1
4982 ac_status=$?
4983 grep -v '^ *+' conftest.er1 >conftest.err
4984 rm -f conftest.er1
4985 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && {
4988 test -z "$ac_c_werror_flag" ||
4989 test ! -s conftest.err
4990 } && test -s conftest$ac_exeext &&
4991 $as_test_x conftest$ac_exeext; then
4992 ac_cv_lib_ICE_IceConnectionNumber=yes
4993 else
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4997 ac_cv_lib_ICE_IceConnectionNumber=no
5000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5001 conftest$ac_exeext conftest.$ac_ext
5002 LIBS=$ac_check_lib_save_LIBS
5004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5005 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5006 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5007 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5010 LDFLAGS=$ac_save_LDFLAGS
5015 for ac_prog in flex
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy $ac_prog; ac_word=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_prog_FLEX+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5023 else
5024 if test -n "$FLEX"; then
5025 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_FLEX="$ac_prog"
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 break 2
5038 done
5039 done
5040 IFS=$as_save_IFS
5044 FLEX=$ac_cv_prog_FLEX
5045 if test -n "$FLEX"; then
5046 { echo "$as_me:$LINENO: result: $FLEX" >&5
5047 echo "${ECHO_T}$FLEX" >&6; }
5048 else
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5054 test -n "$FLEX" && break
5055 done
5056 test -n "$FLEX" || FLEX="none"
5058 if test "$FLEX" = "none"
5059 then
5060 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5061 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5062 { (exit 1); exit 1; }; }
5065 for ac_prog in bison
5067 # Extract the first word of "$ac_prog", so it can be a program name with args.
5068 set dummy $ac_prog; ac_word=$2
5069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5071 if test "${ac_cv_prog_BISON+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 else
5074 if test -n "$BISON"; then
5075 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_BISON="$ac_prog"
5085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 BISON=$ac_cv_prog_BISON
5095 if test -n "$BISON"; then
5096 { echo "$as_me:$LINENO: result: $BISON" >&5
5097 echo "${ECHO_T}$BISON" >&6; }
5098 else
5099 { echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6; }
5104 test -n "$BISON" && break
5105 done
5106 test -n "$BISON" || BISON="none"
5108 if test "$BISON" = "none"
5109 then
5110 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5111 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5112 { (exit 1); exit 1; }; }
5115 if test -n "$ac_tool_prefix"; then
5116 for ac_prog in gas as
5118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122 if test "${ac_cv_prog_AS+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 else
5125 if test -n "$AS"; then
5126 ac_cv_prog_AS="$AS" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5131 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 AS=$ac_cv_prog_AS
5146 if test -n "$AS"; then
5147 { echo "$as_me:$LINENO: result: $AS" >&5
5148 echo "${ECHO_T}$AS" >&6; }
5149 else
5150 { echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6; }
5155 test -n "$AS" && break
5156 done
5158 if test -z "$AS"; then
5159 ac_ct_AS=$AS
5160 for ac_prog in gas as
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy $ac_prog; ac_word=$2
5164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5166 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 else
5169 if test -n "$ac_ct_AS"; then
5170 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_ac_ct_AS="$ac_prog"
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5183 done
5184 done
5185 IFS=$as_save_IFS
5189 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5190 if test -n "$ac_ct_AS"; then
5191 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5192 echo "${ECHO_T}$ac_ct_AS" >&6; }
5193 else
5194 { echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6; }
5199 test -n "$ac_ct_AS" && break
5200 done
5202 if test "x$ac_ct_AS" = x; then
5203 AS="as"
5204 else
5205 case $cross_compiling:$ac_tool_warned in
5206 yes:)
5207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5208 whose name does not start with the host triplet. If you think this
5209 configuration is useful to you, please write to autoconf@gnu.org." >&5
5210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5211 whose name does not start with the host triplet. If you think this
5212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5213 ac_tool_warned=yes ;;
5214 esac
5215 AS=$ac_ct_AS
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}ld; ac_word=$2
5222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5224 if test "${ac_cv_prog_LD+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 else
5227 if test -n "$LD"; then
5228 ac_cv_prog_LD="$LD" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_LD="${ac_tool_prefix}ld"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5243 IFS=$as_save_IFS
5247 LD=$ac_cv_prog_LD
5248 if test -n "$LD"; then
5249 { echo "$as_me:$LINENO: result: $LD" >&5
5250 echo "${ECHO_T}$LD" >&6; }
5251 else
5252 { echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; }
5258 if test -z "$ac_cv_prog_LD"; then
5259 ac_ct_LD=$LD
5260 # Extract the first word of "ld", so it can be a program name with args.
5261 set dummy ld; ac_word=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 else
5267 if test -n "$ac_ct_LD"; then
5268 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_ac_ct_LD="ld"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5288 if test -n "$ac_ct_LD"; then
5289 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5290 echo "${ECHO_T}$ac_ct_LD" >&6; }
5291 else
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5296 if test "x$ac_ct_LD" = x; then
5297 LD="ld"
5298 else
5299 case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5302 whose name does not start with the host triplet. If you think this
5303 configuration is useful to you, please write to autoconf@gnu.org." >&5
5304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5305 whose name does not start with the host triplet. If you think this
5306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5307 ac_tool_warned=yes ;;
5308 esac
5309 LD=$ac_ct_LD
5311 else
5312 LD="$ac_cv_prog_LD"
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5317 set dummy ${ac_tool_prefix}ar; ac_word=$2
5318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5320 if test "${ac_cv_prog_AR+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 else
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR="$AR" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AR="${ac_tool_prefix}ar"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 break 2
5337 done
5338 done
5339 IFS=$as_save_IFS
5343 AR=$ac_cv_prog_AR
5344 if test -n "$AR"; then
5345 { echo "$as_me:$LINENO: result: $AR" >&5
5346 echo "${ECHO_T}$AR" >&6; }
5347 else
5348 { echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6; }
5354 if test -z "$ac_cv_prog_AR"; then
5355 ac_ct_AR=$AR
5356 # Extract the first word of "ar", so it can be a program name with args.
5357 set dummy ar; ac_word=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 else
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5365 else
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR="ar"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 break 2
5377 done
5378 done
5379 IFS=$as_save_IFS
5383 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5386 echo "${ECHO_T}$ac_ct_AR" >&6; }
5387 else
5388 { echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6; }
5392 if test "x$ac_ct_AR" = x; then
5393 AR="ar"
5394 else
5395 case $cross_compiling:$ac_tool_warned in
5396 yes:)
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned=yes ;;
5404 esac
5405 AR=$ac_ct_AR
5407 else
5408 AR="$ac_cv_prog_AR"
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5413 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5416 if test "${ac_cv_prog_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 if test -n "$RANLIB"; then
5420 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 RANLIB=$ac_cv_prog_RANLIB
5440 if test -n "$RANLIB"; then
5441 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5442 echo "${ECHO_T}$RANLIB" >&6; }
5443 else
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 if test -z "$ac_cv_prog_RANLIB"; then
5451 ac_ct_RANLIB=$RANLIB
5452 # Extract the first word of "ranlib", so it can be a program name with args.
5453 set dummy ranlib; ac_word=$2
5454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5459 if test -n "$ac_ct_RANLIB"; then
5460 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_RANLIB="ranlib"
5470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5480 if test -n "$ac_ct_RANLIB"; then
5481 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5482 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5483 else
5484 { echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6; }
5488 if test "x$ac_ct_RANLIB" = x; then
5489 RANLIB=":"
5490 else
5491 case $cross_compiling:$ac_tool_warned in
5492 yes:)
5493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&5
5496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5497 whose name does not start with the host triplet. If you think this
5498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5499 ac_tool_warned=yes ;;
5500 esac
5501 RANLIB=$ac_ct_RANLIB
5503 else
5504 RANLIB="$ac_cv_prog_RANLIB"
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy ${ac_tool_prefix}strip; ac_word=$2
5510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5512 if test "${ac_cv_prog_STRIP+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 else
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 STRIP=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { echo "$as_me:$LINENO: result: $STRIP" >&5
5538 echo "${ECHO_T}$STRIP" >&6; }
5539 else
5540 { echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5547 ac_ct_STRIP=$STRIP
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip; ac_word=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 else
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_STRIP="strip"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5578 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5579 else
5580 { echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6; }
5584 if test "x$ac_ct_STRIP" = x; then
5585 STRIP="strip"
5586 else
5587 case $cross_compiling:$ac_tool_warned in
5588 yes:)
5589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&5
5592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5593 whose name does not start with the host triplet. If you think this
5594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5595 ac_tool_warned=yes ;;
5596 esac
5597 STRIP=$ac_ct_STRIP
5599 else
5600 STRIP="$ac_cv_prog_STRIP"
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5605 set dummy ${ac_tool_prefix}windres; ac_word=$2
5606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5608 if test "${ac_cv_prog_WINDRES+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 else
5611 if test -n "$WINDRES"; then
5612 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 WINDRES=$ac_cv_prog_WINDRES
5632 if test -n "$WINDRES"; then
5633 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5634 echo "${ECHO_T}$WINDRES" >&6; }
5635 else
5636 { echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6; }
5642 if test -z "$ac_cv_prog_WINDRES"; then
5643 ac_ct_WINDRES=$WINDRES
5644 # Extract the first word of "windres", so it can be a program name with args.
5645 set dummy windres; ac_word=$2
5646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 else
5651 if test -n "$ac_ct_WINDRES"; then
5652 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5657 IFS=$as_save_IFS
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_ac_ct_WINDRES="windres"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 break 2
5665 done
5666 done
5667 IFS=$as_save_IFS
5671 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5672 if test -n "$ac_ct_WINDRES"; then
5673 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5674 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5675 else
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5680 if test "x$ac_ct_WINDRES" = x; then
5681 WINDRES="false"
5682 else
5683 case $cross_compiling:$ac_tool_warned in
5684 yes:)
5685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&5
5688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5691 ac_tool_warned=yes ;;
5692 esac
5693 WINDRES=$ac_ct_WINDRES
5695 else
5696 WINDRES="$ac_cv_prog_WINDRES"
5699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5701 LN_S=$as_ln_s
5702 if test "$LN_S" = "ln -s"; then
5703 { echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6; }
5705 else
5706 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5707 echo "${ECHO_T}no, using $LN_S" >&6; }
5710 { echo "$as_me:$LINENO: checking whether ln works" >&5
5711 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5712 rm -f conf$$ conf$$.file
5713 echo >conf$$.file
5714 if ln conf$$.file conf$$ 2>/dev/null; then
5715 LN=ln
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6; }
5719 else
5720 LN="cp -p"
5722 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5723 echo "${ECHO_T}no, using $LN" >&6; }
5725 rm -f conf$$ conf$$.file
5726 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5727 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5728 if test "${ac_cv_path_GREP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 else
5731 # Extract the first word of "grep ggrep" to use in msg output
5732 if test -z "$GREP"; then
5733 set dummy grep ggrep; ac_prog_name=$2
5734 if test "${ac_cv_path_GREP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 else
5737 ac_path_GREP_found=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_prog in grep ggrep; do
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5748 # Check for GNU ac_path_GREP and select it if it is found.
5749 # Check for GNU $ac_path_GREP
5750 case `"$ac_path_GREP" --version 2>&1` in
5751 *GNU*)
5752 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5754 ac_count=0
5755 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5756 while :
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 echo 'GREP' >> "conftest.nl"
5762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5764 ac_count=`expr $ac_count + 1`
5765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_GREP="$ac_path_GREP"
5768 ac_path_GREP_max=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5772 done
5773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5774 esac
5777 $ac_path_GREP_found && break 3
5778 done
5779 done
5781 done
5782 IFS=$as_save_IFS
5787 GREP="$ac_cv_path_GREP"
5788 if test -z "$GREP"; then
5789 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5790 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5791 { (exit 1); exit 1; }; }
5794 else
5795 ac_cv_path_GREP=$GREP
5800 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5801 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5802 GREP="$ac_cv_path_GREP"
5805 { echo "$as_me:$LINENO: checking for egrep" >&5
5806 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5807 if test "${ac_cv_path_EGREP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 else
5810 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5811 then ac_cv_path_EGREP="$GREP -E"
5812 else
5813 # Extract the first word of "egrep" to use in msg output
5814 if test -z "$EGREP"; then
5815 set dummy egrep; ac_prog_name=$2
5816 if test "${ac_cv_path_EGREP+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819 ac_path_EGREP_found=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_prog in egrep; do
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5829 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5830 # Check for GNU ac_path_EGREP and select it if it is found.
5831 # Check for GNU $ac_path_EGREP
5832 case `"$ac_path_EGREP" --version 2>&1` in
5833 *GNU*)
5834 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5836 ac_count=0
5837 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5838 while :
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 echo 'EGREP' >> "conftest.nl"
5844 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5846 ac_count=`expr $ac_count + 1`
5847 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_EGREP="$ac_path_EGREP"
5850 ac_path_EGREP_max=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5854 done
5855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5856 esac
5859 $ac_path_EGREP_found && break 3
5860 done
5861 done
5863 done
5864 IFS=$as_save_IFS
5869 EGREP="$ac_cv_path_EGREP"
5870 if test -z "$EGREP"; then
5871 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5872 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5873 { (exit 1); exit 1; }; }
5876 else
5877 ac_cv_path_EGREP=$EGREP
5883 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5884 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5885 EGREP="$ac_cv_path_EGREP"
5888 # Extract the first word of "ldconfig", so it can be a program name with args.
5889 set dummy ldconfig; ac_word=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 else
5895 case $LDCONFIG in
5896 [\\/]* | ?:[\\/]*)
5897 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in /sbin /usr/sbin $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5915 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5917 esac
5919 LDCONFIG=$ac_cv_path_LDCONFIG
5920 if test -n "$LDCONFIG"; then
5921 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5922 echo "${ECHO_T}$LDCONFIG" >&6; }
5923 else
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 # Find a good install program. We prefer a C program (faster),
5930 # so one script is as good as another. But avoid the broken or
5931 # incompatible versions:
5932 # SysV /etc/install, /usr/sbin/install
5933 # SunOS /usr/etc/install
5934 # IRIX /sbin/install
5935 # AIX /bin/install
5936 # AmigaOS /C/install, which installs bootblocks on floppy discs
5937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5940 # OS/2's system install, which has a completely different semantic
5941 # ./install, which can be erroneously created by make from ./install.sh.
5942 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5944 if test -z "$INSTALL"; then
5945 if test "${ac_cv_path_install+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 else
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 for as_dir in $PATH
5951 IFS=$as_save_IFS
5952 test -z "$as_dir" && as_dir=.
5953 # Account for people who put trailing slashes in PATH elements.
5954 case $as_dir/ in
5955 ./ | .// | /cC/* | \
5956 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5957 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5958 /usr/ucb/* ) ;;
5960 # OSF1 and SCO ODT 3.0 have their own names for install.
5961 # Don't use installbsd from OSF since it installs stuff as root
5962 # by default.
5963 for ac_prog in ginstall scoinst install; do
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5966 if test $ac_prog = install &&
5967 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5968 # AIX install. It has an incompatible calling convention.
5970 elif test $ac_prog = install &&
5971 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5972 # program-specific install script used by HP pwplus--don't use.
5974 else
5975 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5976 break 3
5979 done
5980 done
5982 esac
5983 done
5984 IFS=$as_save_IFS
5988 if test "${ac_cv_path_install+set}" = set; then
5989 INSTALL=$ac_cv_path_install
5990 else
5991 # As a last resort, use the slow shell script. Don't cache a
5992 # value for INSTALL within a source directory, because that will
5993 # break other packages using the cache if that directory is
5994 # removed, or if the value is a relative name.
5995 INSTALL=$ac_install_sh
5998 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5999 echo "${ECHO_T}$INSTALL" >&6; }
6001 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6002 # It thinks the first close brace ends the variable substitution.
6003 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6005 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6007 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6009 case "$INSTALL" in
6010 [\\/$]* | ?:[\\/]* ) ;;
6011 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6012 esac
6014 for ac_prog in lclint lint
6016 # Extract the first word of "$ac_prog", so it can be a program name with args.
6017 set dummy $ac_prog; ac_word=$2
6018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6020 if test "${ac_cv_prog_LINT+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 else
6023 if test -n "$LINT"; then
6024 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6025 else
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in $PATH
6029 IFS=$as_save_IFS
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_LINT="$ac_prog"
6034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6043 LINT=$ac_cv_prog_LINT
6044 if test -n "$LINT"; then
6045 { echo "$as_me:$LINENO: result: $LINT" >&5
6046 echo "${ECHO_T}$LINT" >&6; }
6047 else
6048 { echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6; }
6053 test -n "$LINT" && break
6054 done
6056 if test "$LINT" = "lint"
6057 then
6058 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6063 for ac_prog in fontforge
6065 # Extract the first word of "$ac_prog", so it can be a program name with args.
6066 set dummy $ac_prog; ac_word=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 if test -n "$FONTFORGE"; then
6073 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_FONTFORGE="$ac_prog"
6083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 FONTFORGE=$ac_cv_prog_FONTFORGE
6093 if test -n "$FONTFORGE"; then
6094 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6095 echo "${ECHO_T}$FONTFORGE" >&6; }
6096 else
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6102 test -n "$FONTFORGE" && break
6103 done
6104 test -n "$FONTFORGE" || FONTFORGE="false"
6106 for ac_prog in pkg-config
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy $ac_prog; ac_word=$2
6110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6112 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 else
6115 if test -n "$PKG_CONFIG"; then
6116 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_PKG_CONFIG="$ac_prog"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 break 2
6129 done
6130 done
6131 IFS=$as_save_IFS
6135 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6136 if test -n "$PKG_CONFIG"; then
6137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6139 else
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 test -n "$PKG_CONFIG" && break
6146 done
6147 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6150 case $host_cpu in
6151 *i[3456789]86*)
6152 # Extract the first word of "prelink", so it can be a program name with args.
6153 set dummy prelink; ac_word=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_path_PRELINK+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 else
6159 case $PRELINK in
6160 [\\/]* | ?:[\\/]*)
6161 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in /sbin /usr/sbin $PATH
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 break 2
6175 done
6176 done
6177 IFS=$as_save_IFS
6179 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6181 esac
6183 PRELINK=$ac_cv_path_PRELINK
6184 if test -n "$PRELINK"; then
6185 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6186 echo "${ECHO_T}$PRELINK" >&6; }
6187 else
6188 { echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6; }
6194 esac
6198 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6199 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6200 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 ac_check_lib_save_LIBS=$LIBS
6204 LIBS="-li386 $LIBS"
6205 cat >conftest.$ac_ext <<_ACEOF
6206 /* confdefs.h. */
6207 _ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any GCC internal prototype to avoid an error.
6213 Use char because int might match the return type of a GCC
6214 builtin and then its argument prototype would still apply. */
6215 #ifdef __cplusplus
6216 extern "C"
6217 #endif
6218 char i386_set_ldt ();
6220 main ()
6222 return i386_set_ldt ();
6224 return 0;
6226 _ACEOF
6227 rm -f conftest.$ac_objext conftest$ac_exeext
6228 if { (ac_try="$ac_link"
6229 case "(($ac_try" in
6230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6232 esac
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_link") 2>conftest.er1
6235 ac_status=$?
6236 grep -v '^ *+' conftest.er1 >conftest.err
6237 rm -f conftest.er1
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } && {
6241 test -z "$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6243 } && test -s conftest$ac_exeext &&
6244 $as_test_x conftest$ac_exeext; then
6245 ac_cv_lib_i386_i386_set_ldt=yes
6246 else
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 ac_cv_lib_i386_i386_set_ldt=no
6253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254 conftest$ac_exeext conftest.$ac_ext
6255 LIBS=$ac_check_lib_save_LIBS
6257 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6258 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6259 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_LIBI386 1
6262 _ACEOF
6264 LIBS="-li386 $LIBS"
6269 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6270 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6271 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 else
6274 ac_check_lib_save_LIBS=$LIBS
6275 LIBS="-lossaudio $LIBS"
6276 cat >conftest.$ac_ext <<_ACEOF
6277 /* confdefs.h. */
6278 _ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6286 #ifdef __cplusplus
6287 extern "C"
6288 #endif
6289 char _oss_ioctl ();
6291 main ()
6293 return _oss_ioctl ();
6295 return 0;
6297 _ACEOF
6298 rm -f conftest.$ac_objext conftest$ac_exeext
6299 if { (ac_try="$ac_link"
6300 case "(($ac_try" in
6301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6302 *) ac_try_echo=$ac_try;;
6303 esac
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_link") 2>conftest.er1
6306 ac_status=$?
6307 grep -v '^ *+' conftest.er1 >conftest.err
6308 rm -f conftest.er1
6309 cat conftest.err >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest$ac_exeext &&
6315 $as_test_x conftest$ac_exeext; then
6316 ac_cv_lib_ossaudio__oss_ioctl=yes
6317 else
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6321 ac_cv_lib_ossaudio__oss_ioctl=no
6324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6325 conftest$ac_exeext conftest.$ac_ext
6326 LIBS=$ac_check_lib_save_LIBS
6328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6329 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6330 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6331 cat >>confdefs.h <<_ACEOF
6332 #define HAVE_LIBOSSAUDIO 1
6333 _ACEOF
6335 LIBS="-lossaudio $LIBS"
6339 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6340 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6341 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 else
6344 ac_check_lib_save_LIBS=$LIBS
6345 LIBS="-lpthread $LIBS"
6346 cat >conftest.$ac_ext <<_ACEOF
6347 /* confdefs.h. */
6348 _ACEOF
6349 cat confdefs.h >>conftest.$ac_ext
6350 cat >>conftest.$ac_ext <<_ACEOF
6351 /* end confdefs.h. */
6353 /* Override any GCC internal prototype to avoid an error.
6354 Use char because int might match the return type of a GCC
6355 builtin and then its argument prototype would still apply. */
6356 #ifdef __cplusplus
6357 extern "C"
6358 #endif
6359 char pthread_create ();
6361 main ()
6363 return pthread_create ();
6365 return 0;
6367 _ACEOF
6368 rm -f conftest.$ac_objext conftest$ac_exeext
6369 if { (ac_try="$ac_link"
6370 case "(($ac_try" in
6371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6372 *) ac_try_echo=$ac_try;;
6373 esac
6374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6375 (eval "$ac_link") 2>conftest.er1
6376 ac_status=$?
6377 grep -v '^ *+' conftest.er1 >conftest.err
6378 rm -f conftest.er1
6379 cat conftest.err >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); } && {
6382 test -z "$ac_c_werror_flag" ||
6383 test ! -s conftest.err
6384 } && test -s conftest$ac_exeext &&
6385 $as_test_x conftest$ac_exeext; then
6386 ac_cv_lib_pthread_pthread_create=yes
6387 else
6388 echo "$as_me: failed program was:" >&5
6389 sed 's/^/| /' conftest.$ac_ext >&5
6391 ac_cv_lib_pthread_pthread_create=no
6394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6395 conftest$ac_exeext conftest.$ac_ext
6396 LIBS=$ac_check_lib_save_LIBS
6398 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6399 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6400 if test $ac_cv_lib_pthread_pthread_create = yes; then
6401 LIBPTHREAD="-lpthread"
6406 XLIB=""
6408 XFILES=""
6410 OPENGLFILES=""
6412 GLU32FILES=""
6414 OPENGL_LIBS=""
6416 QUARTZFILES=""
6420 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6421 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6422 if test "${ac_cv_header_stdc+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 else
6425 cat >conftest.$ac_ext <<_ACEOF
6426 /* confdefs.h. */
6427 _ACEOF
6428 cat confdefs.h >>conftest.$ac_ext
6429 cat >>conftest.$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6431 #include <stdlib.h>
6432 #include <stdarg.h>
6433 #include <string.h>
6434 #include <float.h>
6437 main ()
6441 return 0;
6443 _ACEOF
6444 rm -f conftest.$ac_objext
6445 if { (ac_try="$ac_compile"
6446 case "(($ac_try" in
6447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6448 *) ac_try_echo=$ac_try;;
6449 esac
6450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6451 (eval "$ac_compile") 2>conftest.er1
6452 ac_status=$?
6453 grep -v '^ *+' conftest.er1 >conftest.err
6454 rm -f conftest.er1
6455 cat conftest.err >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } && {
6458 test -z "$ac_c_werror_flag" ||
6459 test ! -s conftest.err
6460 } && test -s conftest.$ac_objext; then
6461 ac_cv_header_stdc=yes
6462 else
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 ac_cv_header_stdc=no
6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471 if test $ac_cv_header_stdc = yes; then
6472 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6473 cat >conftest.$ac_ext <<_ACEOF
6474 /* confdefs.h. */
6475 _ACEOF
6476 cat confdefs.h >>conftest.$ac_ext
6477 cat >>conftest.$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6479 #include <string.h>
6481 _ACEOF
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "memchr" >/dev/null 2>&1; then
6485 else
6486 ac_cv_header_stdc=no
6488 rm -f conftest*
6492 if test $ac_cv_header_stdc = yes; then
6493 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6494 cat >conftest.$ac_ext <<_ACEOF
6495 /* confdefs.h. */
6496 _ACEOF
6497 cat confdefs.h >>conftest.$ac_ext
6498 cat >>conftest.$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6500 #include <stdlib.h>
6502 _ACEOF
6503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6504 $EGREP "free" >/dev/null 2>&1; then
6506 else
6507 ac_cv_header_stdc=no
6509 rm -f conftest*
6513 if test $ac_cv_header_stdc = yes; then
6514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6515 if test "$cross_compiling" = yes; then
6517 else
6518 cat >conftest.$ac_ext <<_ACEOF
6519 /* confdefs.h. */
6520 _ACEOF
6521 cat confdefs.h >>conftest.$ac_ext
6522 cat >>conftest.$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6524 #include <ctype.h>
6525 #include <stdlib.h>
6526 #if ((' ' & 0x0FF) == 0x020)
6527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6529 #else
6530 # define ISLOWER(c) \
6531 (('a' <= (c) && (c) <= 'i') \
6532 || ('j' <= (c) && (c) <= 'r') \
6533 || ('s' <= (c) && (c) <= 'z'))
6534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6535 #endif
6537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6539 main ()
6541 int i;
6542 for (i = 0; i < 256; i++)
6543 if (XOR (islower (i), ISLOWER (i))
6544 || toupper (i) != TOUPPER (i))
6545 return 2;
6546 return 0;
6548 _ACEOF
6549 rm -f conftest$ac_exeext
6550 if { (ac_try="$ac_link"
6551 case "(($ac_try" in
6552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6554 esac
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_link") 2>&5
6557 ac_status=$?
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6560 { (case "(($ac_try" in
6561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562 *) ac_try_echo=$ac_try;;
6563 esac
6564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6565 (eval "$ac_try") 2>&5
6566 ac_status=$?
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6570 else
6571 echo "$as_me: program exited with status $ac_status" >&5
6572 echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.$ac_ext >&5
6575 ( exit $ac_status )
6576 ac_cv_header_stdc=no
6578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6584 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6585 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6586 if test $ac_cv_header_stdc = yes; then
6588 cat >>confdefs.h <<\_ACEOF
6589 #define STDC_HEADERS 1
6590 _ACEOF
6594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6604 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6605 inttypes.h stdint.h unistd.h
6607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6612 else
6613 cat >conftest.$ac_ext <<_ACEOF
6614 /* confdefs.h. */
6615 _ACEOF
6616 cat confdefs.h >>conftest.$ac_ext
6617 cat >>conftest.$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 $ac_includes_default
6621 #include <$ac_header>
6622 _ACEOF
6623 rm -f conftest.$ac_objext
6624 if { (ac_try="$ac_compile"
6625 case "(($ac_try" in
6626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6627 *) ac_try_echo=$ac_try;;
6628 esac
6629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6630 (eval "$ac_compile") 2>conftest.er1
6631 ac_status=$?
6632 grep -v '^ *+' conftest.er1 >conftest.err
6633 rm -f conftest.er1
6634 cat conftest.err >&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } && {
6637 test -z "$ac_c_werror_flag" ||
6638 test ! -s conftest.err
6639 } && test -s conftest.$ac_objext; then
6640 eval "$as_ac_Header=yes"
6641 else
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.$ac_ext >&5
6645 eval "$as_ac_Header=no"
6648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6650 ac_res=`eval echo '${'$as_ac_Header'}'`
6651 { echo "$as_me:$LINENO: result: $ac_res" >&5
6652 echo "${ECHO_T}$ac_res" >&6; }
6653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6654 cat >>confdefs.h <<_ACEOF
6655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6656 _ACEOF
6660 done
6773 for ac_header in \
6774 AudioUnit/AudioUnit.h \
6775 Carbon/Carbon.h \
6776 CoreAudio/CoreAudio.h \
6777 DiskArbitration/DiskArbitration.h \
6778 IOKit/IOKitLib.h \
6779 alsa/asoundlib.h \
6780 arpa/inet.h \
6781 arpa/nameser.h \
6782 asm/types.h \
6783 capi20.h \
6784 cups/cups.h \
6785 curses.h \
6786 direct.h \
6787 dlfcn.h \
6788 elf.h \
6789 float.h \
6790 fontconfig/fontconfig.h \
6791 getopt.h \
6792 ieeefp.h \
6793 io.h \
6794 jack/jack.h \
6795 jpeglib.h \
6796 lber.h \
6797 lcms.h \
6798 lcms/lcms.h \
6799 ldap.h \
6800 libaudioio.h \
6801 link.h \
6802 linux/cdrom.h \
6803 linux/compiler.h \
6804 linux/hdreg.h \
6805 linux/input.h \
6806 linux/ioctl.h \
6807 linux/joystick.h \
6808 linux/major.h \
6809 linux/param.h \
6810 linux/serial.h \
6811 linux/ucdrom.h \
6812 mach/mach.h \
6813 mach/machine.h \
6814 machine/cpu.h \
6815 machine/limits.h \
6816 machine/soundcard.h \
6817 mntent.h \
6818 ncurses.h \
6819 netdb.h \
6820 netinet/in.h \
6821 netinet/in_systm.h \
6822 netinet/tcp.h \
6823 netinet/tcp_fsm.h \
6824 openssl/err.h \
6825 openssl/ssl.h \
6826 png.h \
6827 poll.h \
6828 process.h \
6829 pthread.h \
6830 pwd.h \
6831 regex.h \
6832 sched.h \
6833 scsi/scsi.h \
6834 scsi/scsi_ioctl.h \
6835 scsi/sg.h \
6836 soundcard.h \
6837 stdint.h \
6838 strings.h \
6839 sys/asoundlib.h \
6840 sys/cdio.h \
6841 sys/elf32.h \
6842 sys/epoll.h \
6843 sys/errno.h \
6844 sys/event.h \
6845 sys/exec_elf.h \
6846 sys/filio.h \
6847 sys/ioctl.h \
6848 sys/ipc.h \
6849 sys/limits.h \
6850 sys/link.h \
6851 sys/lwp.h \
6852 sys/mman.h \
6853 sys/modem.h \
6854 sys/msg.h \
6855 sys/mtio.h \
6856 sys/param.h \
6857 sys/poll.h \
6858 sys/prctl.h \
6859 sys/ptrace.h \
6860 sys/reg.h \
6861 sys/resource.h \
6862 sys/scsiio.h \
6863 sys/shm.h \
6864 sys/signal.h \
6865 sys/socket.h \
6866 sys/socketvar.h \
6867 sys/sockio.h \
6868 sys/soundcard.h \
6869 sys/statvfs.h \
6870 sys/strtio.h \
6871 sys/syscall.h \
6872 sys/sysctl.h \
6873 sys/time.h \
6874 sys/times.h \
6875 sys/uio.h \
6876 sys/un.h \
6877 sys/vm86.h \
6878 sys/wait.h \
6879 syscall.h \
6880 termios.h \
6881 unistd.h \
6882 utime.h \
6883 valgrind/memcheck.h
6886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_res=`eval echo '${'$as_ac_Header'}'`
6894 { echo "$as_me:$LINENO: result: $ac_res" >&5
6895 echo "${ECHO_T}$ac_res" >&6; }
6896 else
6897 # Is the header compilable?
6898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6900 cat >conftest.$ac_ext <<_ACEOF
6901 /* confdefs.h. */
6902 _ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 $ac_includes_default
6907 #include <$ac_header>
6908 _ACEOF
6909 rm -f conftest.$ac_objext
6910 if { (ac_try="$ac_compile"
6911 case "(($ac_try" in
6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;;
6914 esac
6915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 (eval "$ac_compile") 2>conftest.er1
6917 ac_status=$?
6918 grep -v '^ *+' conftest.er1 >conftest.err
6919 rm -f conftest.er1
6920 cat conftest.err >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } && {
6923 test -z "$ac_c_werror_flag" ||
6924 test ! -s conftest.err
6925 } && test -s conftest.$ac_objext; then
6926 ac_header_compiler=yes
6927 else
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 ac_header_compiler=no
6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6936 echo "${ECHO_T}$ac_header_compiler" >&6; }
6938 # Is the header present?
6939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6941 cat >conftest.$ac_ext <<_ACEOF
6942 /* confdefs.h. */
6943 _ACEOF
6944 cat confdefs.h >>conftest.$ac_ext
6945 cat >>conftest.$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 #include <$ac_header>
6948 _ACEOF
6949 if { (ac_try="$ac_cpp conftest.$ac_ext"
6950 case "(($ac_try" in
6951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6952 *) ac_try_echo=$ac_try;;
6953 esac
6954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6956 ac_status=$?
6957 grep -v '^ *+' conftest.er1 >conftest.err
6958 rm -f conftest.er1
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } >/dev/null && {
6962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6963 test ! -s conftest.err
6964 }; then
6965 ac_header_preproc=yes
6966 else
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6970 ac_header_preproc=no
6973 rm -f conftest.err conftest.$ac_ext
6974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6975 echo "${ECHO_T}$ac_header_preproc" >&6; }
6977 # So? What about this header?
6978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6979 yes:no: )
6980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6984 ac_header_preproc=yes
6986 no:yes:* )
6987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6999 ( cat <<\_ASBOX
7000 ## ------------------------------------ ##
7001 ## Report this to wine-devel@winehq.org ##
7002 ## ------------------------------------ ##
7003 _ASBOX
7004 ) | sed "s/^/$as_me: WARNING: /" >&2
7006 esac
7007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 else
7012 eval "$as_ac_Header=\$ac_header_preproc"
7014 ac_res=`eval echo '${'$as_ac_Header'}'`
7015 { echo "$as_me:$LINENO: result: $ac_res" >&5
7016 echo "${ECHO_T}$ac_res" >&6; }
7019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7020 cat >>confdefs.h <<_ACEOF
7021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7022 _ACEOF
7026 done
7028 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7029 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7030 if test "${ac_cv_header_stat_broken+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 else
7033 cat >conftest.$ac_ext <<_ACEOF
7034 /* confdefs.h. */
7035 _ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 #include <sys/types.h>
7040 #include <sys/stat.h>
7042 #if defined S_ISBLK && defined S_IFDIR
7043 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7044 #endif
7046 #if defined S_ISBLK && defined S_IFCHR
7047 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7048 #endif
7050 #if defined S_ISLNK && defined S_IFREG
7051 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7052 #endif
7054 #if defined S_ISSOCK && defined S_IFREG
7055 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7056 #endif
7058 _ACEOF
7059 rm -f conftest.$ac_objext
7060 if { (ac_try="$ac_compile"
7061 case "(($ac_try" in
7062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7063 *) ac_try_echo=$ac_try;;
7064 esac
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_compile") 2>conftest.er1
7067 ac_status=$?
7068 grep -v '^ *+' conftest.er1 >conftest.err
7069 rm -f conftest.er1
7070 cat conftest.err >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } && {
7073 test -z "$ac_c_werror_flag" ||
7074 test ! -s conftest.err
7075 } && test -s conftest.$ac_objext; then
7076 ac_cv_header_stat_broken=no
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_cv_header_stat_broken=yes
7084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7086 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7087 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7088 if test $ac_cv_header_stat_broken = yes; then
7090 cat >>confdefs.h <<\_ACEOF
7091 #define STAT_MACROS_BROKEN 1
7092 _ACEOF
7102 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 else
7110 cat >conftest.$ac_ext <<_ACEOF
7111 /* confdefs.h. */
7112 _ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7116 #include <sys/types.h>
7117 #if HAVE_SYS_PARAM_H
7118 # include <sys/param.h>
7119 #endif
7121 #include <$ac_header>
7122 _ACEOF
7123 rm -f conftest.$ac_objext
7124 if { (ac_try="$ac_compile"
7125 case "(($ac_try" in
7126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7127 *) ac_try_echo=$ac_try;;
7128 esac
7129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7130 (eval "$ac_compile") 2>conftest.er1
7131 ac_status=$?
7132 grep -v '^ *+' conftest.er1 >conftest.err
7133 rm -f conftest.er1
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } && {
7137 test -z "$ac_c_werror_flag" ||
7138 test ! -s conftest.err
7139 } && test -s conftest.$ac_objext; then
7140 eval "$as_ac_Header=yes"
7141 else
7142 echo "$as_me: failed program was:" >&5
7143 sed 's/^/| /' conftest.$ac_ext >&5
7145 eval "$as_ac_Header=no"
7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 ac_res=`eval echo '${'$as_ac_Header'}'`
7151 { echo "$as_me:$LINENO: result: $ac_res" >&5
7152 echo "${ECHO_T}$ac_res" >&6; }
7153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7154 cat >>confdefs.h <<_ACEOF
7155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7156 _ACEOF
7160 done
7171 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
7173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7178 else
7179 cat >conftest.$ac_ext <<_ACEOF
7180 /* confdefs.h. */
7181 _ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <sys/types.h>
7186 #if HAVE_SYS_SOCKET_H
7187 # include <sys/socket.h>
7188 #endif
7190 #include <$ac_header>
7191 _ACEOF
7192 rm -f conftest.$ac_objext
7193 if { (ac_try="$ac_compile"
7194 case "(($ac_try" in
7195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7196 *) ac_try_echo=$ac_try;;
7197 esac
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_compile") 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } && {
7206 test -z "$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 } && test -s conftest.$ac_objext; then
7209 eval "$as_ac_Header=yes"
7210 else
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 eval "$as_ac_Header=no"
7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7219 ac_res=`eval echo '${'$as_ac_Header'}'`
7220 { echo "$as_me:$LINENO: result: $ac_res" >&5
7221 echo "${ECHO_T}$ac_res" >&6; }
7222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7223 cat >>confdefs.h <<_ACEOF
7224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7225 _ACEOF
7229 done
7231 #if HAVE_SYS_SOCKETVAR_H
7232 # include <sys/socketvar.h>
7233 #endif
7236 for ac_header in netinet/tcp_var.h
7238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7243 else
7244 cat >conftest.$ac_ext <<_ACEOF
7245 /* confdefs.h. */
7246 _ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 #include <sys/types.h>
7251 #if HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7253 #endif
7254 #if HAVE_SYS_SOCKETVAR_H
7255 # include <sys/socketvar.h>
7256 #endif
7257 #if HAVE_NETINET_IN_H
7258 # include <netinet/in.h>
7259 #endif
7260 #ifdef HAVE_NETINET_TCP_H
7261 # include <netinet/tcp.h>
7262 #endif
7264 #include <$ac_header>
7265 _ACEOF
7266 rm -f conftest.$ac_objext
7267 if { (ac_try="$ac_compile"
7268 case "(($ac_try" in
7269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7271 esac
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7274 ac_status=$?
7275 grep -v '^ *+' conftest.er1 >conftest.err
7276 rm -f conftest.er1
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 eval "$as_ac_Header=yes"
7284 else
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 eval "$as_ac_Header=no"
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 ac_res=`eval echo '${'$as_ac_Header'}'`
7294 { echo "$as_me:$LINENO: result: $ac_res" >&5
7295 echo "${ECHO_T}$ac_res" >&6; }
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h <<_ACEOF
7298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7299 _ACEOF
7303 done
7307 for ac_header in linux/ipx.h
7309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 else
7315 cat >conftest.$ac_ext <<_ACEOF
7316 /* confdefs.h. */
7317 _ACEOF
7318 cat confdefs.h >>conftest.$ac_ext
7319 cat >>conftest.$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7321 #include <sys/types.h>
7322 #ifdef HAVE_ASM_TYPES_H
7323 # include <asm/types.h>
7324 #endif
7325 #if HAVE_SYS_SOCKET_H
7326 # include <sys/socket.h>
7327 #endif
7329 #include <$ac_header>
7330 _ACEOF
7331 rm -f conftest.$ac_objext
7332 if { (ac_try="$ac_compile"
7333 case "(($ac_try" in
7334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7335 *) ac_try_echo=$ac_try;;
7336 esac
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_compile") 2>conftest.er1
7339 ac_status=$?
7340 grep -v '^ *+' conftest.er1 >conftest.err
7341 rm -f conftest.er1
7342 cat conftest.err >&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } && {
7345 test -z "$ac_c_werror_flag" ||
7346 test ! -s conftest.err
7347 } && test -s conftest.$ac_objext; then
7348 eval "$as_ac_Header=yes"
7349 else
7350 echo "$as_me: failed program was:" >&5
7351 sed 's/^/| /' conftest.$ac_ext >&5
7353 eval "$as_ac_Header=no"
7356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7358 ac_res=`eval echo '${'$as_ac_Header'}'`
7359 { echo "$as_me:$LINENO: result: $ac_res" >&5
7360 echo "${ECHO_T}$ac_res" >&6; }
7361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7362 cat >>confdefs.h <<_ACEOF
7363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7364 _ACEOF
7368 done
7372 for ac_header in resolv.h
7374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 else
7380 cat >conftest.$ac_ext <<_ACEOF
7381 /* confdefs.h. */
7382 _ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 #include <sys/types.h>
7387 #if HAVE_SYS_SOCKET_H
7388 # include <sys/socket.h>
7389 #endif
7390 #if HAVE_NETINET_IN_H
7391 # include <netinet/in.h>
7392 #endif
7393 #if HAVE_ARPA_NAMESER_H
7394 # include <arpa/nameser.h>
7395 #endif
7397 #include <$ac_header>
7398 _ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (ac_try="$ac_compile"
7401 case "(($ac_try" in
7402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7404 esac
7405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7406 (eval "$ac_compile") 2>conftest.er1
7407 ac_status=$?
7408 grep -v '^ *+' conftest.er1 >conftest.err
7409 rm -f conftest.er1
7410 cat conftest.err >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } && {
7413 test -z "$ac_c_werror_flag" ||
7414 test ! -s conftest.err
7415 } && test -s conftest.$ac_objext; then
7416 eval "$as_ac_Header=yes"
7417 else
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7421 eval "$as_ac_Header=no"
7424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7426 ac_res=`eval echo '${'$as_ac_Header'}'`
7427 { echo "$as_me:$LINENO: result: $ac_res" >&5
7428 echo "${ECHO_T}$ac_res" >&6; }
7429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7430 cat >>confdefs.h <<_ACEOF
7431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7432 _ACEOF
7436 done
7440 for ac_header in ucontext.h
7442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7447 else
7448 cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h. */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 #include <signal.h>
7456 #include <$ac_header>
7457 _ACEOF
7458 rm -f conftest.$ac_objext
7459 if { (ac_try="$ac_compile"
7460 case "(($ac_try" in
7461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7462 *) ac_try_echo=$ac_try;;
7463 esac
7464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 (eval "$ac_compile") 2>conftest.er1
7466 ac_status=$?
7467 grep -v '^ *+' conftest.er1 >conftest.err
7468 rm -f conftest.er1
7469 cat conftest.err >&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); } && {
7472 test -z "$ac_c_werror_flag" ||
7473 test ! -s conftest.err
7474 } && test -s conftest.$ac_objext; then
7475 eval "$as_ac_Header=yes"
7476 else
7477 echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.$ac_ext >&5
7480 eval "$as_ac_Header=no"
7483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7485 ac_res=`eval echo '${'$as_ac_Header'}'`
7486 { echo "$as_me:$LINENO: result: $ac_res" >&5
7487 echo "${ECHO_T}$ac_res" >&6; }
7488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7489 cat >>confdefs.h <<_ACEOF
7490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7491 _ACEOF
7495 done
7499 for ac_header in sys/thr.h
7501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7506 else
7507 cat >conftest.$ac_ext <<_ACEOF
7508 /* confdefs.h. */
7509 _ACEOF
7510 cat confdefs.h >>conftest.$ac_ext
7511 cat >>conftest.$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7513 #include <sys/types.h>
7514 #if HAVE_UCONTEXT_H
7515 #include <ucontext.h>
7516 #endif
7518 #include <$ac_header>
7519 _ACEOF
7520 rm -f conftest.$ac_objext
7521 if { (ac_try="$ac_compile"
7522 case "(($ac_try" in
7523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7525 esac
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7528 ac_status=$?
7529 grep -v '^ *+' conftest.er1 >conftest.err
7530 rm -f conftest.er1
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.$ac_objext; then
7537 eval "$as_ac_Header=yes"
7538 else
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7561 for ac_header in pthread_np.h
7563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 cat >conftest.$ac_ext <<_ACEOF
7570 /* confdefs.h. */
7571 _ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 #ifdef HAVE_PTHREAD_H
7576 #include <pthread.h>
7577 #endif
7579 #include <$ac_header>
7580 _ACEOF
7581 rm -f conftest.$ac_objext
7582 if { (ac_try="$ac_compile"
7583 case "(($ac_try" in
7584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7585 *) ac_try_echo=$ac_try;;
7586 esac
7587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7588 (eval "$ac_compile") 2>conftest.er1
7589 ac_status=$?
7590 grep -v '^ *+' conftest.er1 >conftest.err
7591 rm -f conftest.er1
7592 cat conftest.err >&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } && {
7595 test -z "$ac_c_werror_flag" ||
7596 test ! -s conftest.err
7597 } && test -s conftest.$ac_objext; then
7598 eval "$as_ac_Header=yes"
7599 else
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.$ac_ext >&5
7603 eval "$as_ac_Header=no"
7606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7608 ac_res=`eval echo '${'$as_ac_Header'}'`
7609 { echo "$as_me:$LINENO: result: $ac_res" >&5
7610 echo "${ECHO_T}$ac_res" >&6; }
7611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7612 cat >>confdefs.h <<_ACEOF
7613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7614 _ACEOF
7618 done
7622 for ac_header in linux/videodev.h
7624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 else
7630 cat >conftest.$ac_ext <<_ACEOF
7631 /* confdefs.h. */
7632 _ACEOF
7633 cat confdefs.h >>conftest.$ac_ext
7634 cat >>conftest.$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 #ifdef HAVE_SYS_TIME_H
7637 #include <sys/time.h>
7638 #endif
7639 #include <sys/types.h>
7640 #ifdef HAVE_ASM_TYPES_H
7641 #include <asm/types.h>
7642 #endif
7644 #include <$ac_header>
7645 _ACEOF
7646 rm -f conftest.$ac_objext
7647 if { (ac_try="$ac_compile"
7648 case "(($ac_try" in
7649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7650 *) ac_try_echo=$ac_try;;
7651 esac
7652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_compile") 2>conftest.er1
7654 ac_status=$?
7655 grep -v '^ *+' conftest.er1 >conftest.err
7656 rm -f conftest.er1
7657 cat conftest.err >&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } && {
7660 test -z "$ac_c_werror_flag" ||
7661 test ! -s conftest.err
7662 } && test -s conftest.$ac_objext; then
7663 eval "$as_ac_Header=yes"
7664 else
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 eval "$as_ac_Header=no"
7671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7673 ac_res=`eval echo '${'$as_ac_Header'}'`
7674 { echo "$as_me:$LINENO: result: $ac_res" >&5
7675 echo "${ECHO_T}$ac_res" >&6; }
7676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7677 cat >>confdefs.h <<_ACEOF
7678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7679 _ACEOF
7683 done
7687 for ac_header in linux/capi.h
7689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 else
7695 cat >conftest.$ac_ext <<_ACEOF
7696 /* confdefs.h. */
7697 _ACEOF
7698 cat confdefs.h >>conftest.$ac_ext
7699 cat >>conftest.$ac_ext <<_ACEOF
7700 /* end confdefs.h. */
7701 #define __user
7703 #include <$ac_header>
7704 _ACEOF
7705 rm -f conftest.$ac_objext
7706 if { (ac_try="$ac_compile"
7707 case "(($ac_try" in
7708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7709 *) ac_try_echo=$ac_try;;
7710 esac
7711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7712 (eval "$ac_compile") 2>conftest.er1
7713 ac_status=$?
7714 grep -v '^ *+' conftest.er1 >conftest.err
7715 rm -f conftest.er1
7716 cat conftest.err >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } && {
7719 test -z "$ac_c_werror_flag" ||
7720 test ! -s conftest.err
7721 } && test -s conftest.$ac_objext; then
7722 eval "$as_ac_Header=yes"
7723 else
7724 echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.$ac_ext >&5
7727 eval "$as_ac_Header=no"
7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732 ac_res=`eval echo '${'$as_ac_Header'}'`
7733 { echo "$as_me:$LINENO: result: $ac_res" >&5
7734 echo "${ECHO_T}$ac_res" >&6; }
7735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7736 cat >>confdefs.h <<_ACEOF
7737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7738 _ACEOF
7742 done
7746 DLLEXT=""
7748 DLLFLAGS="-D_REENTRANT"
7750 LDSHARED=""
7752 LDDLLFLAGS=""
7754 LIBEXT="so"
7756 IMPLIBEXT="def"
7758 LDRPATH_INSTALL=""
7760 LDRPATH_LOCAL=""
7762 # Extract the first word of "ldd", so it can be a program name with args.
7763 set dummy ldd; ac_word=$2
7764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7766 if test "${ac_cv_path_LDD+set}" = set; then
7767 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 else
7769 case $LDD in
7770 [\\/]* | ?:[\\/]*)
7771 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 as_dummy="/sbin:/usr/sbin:$PATH"
7776 for as_dir in $as_dummy
7778 IFS=$as_save_IFS
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 break 2
7786 done
7787 done
7788 IFS=$as_save_IFS
7790 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7792 esac
7794 LDD=$ac_cv_path_LDD
7795 if test -n "$LDD"; then
7796 { echo "$as_me:$LINENO: result: $LDD" >&5
7797 echo "${ECHO_T}$LDD" >&6; }
7798 else
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7805 case $host_os in
7806 cygwin*|mingw32*)
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7809 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7812 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 else
7815 if test -n "$DLLTOOL"; then
7816 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7817 else
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 for as_dir in $PATH
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 break 2
7829 done
7830 done
7831 IFS=$as_save_IFS
7835 DLLTOOL=$ac_cv_prog_DLLTOOL
7836 if test -n "$DLLTOOL"; then
7837 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7838 echo "${ECHO_T}$DLLTOOL" >&6; }
7839 else
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7846 if test -z "$ac_cv_prog_DLLTOOL"; then
7847 ac_ct_DLLTOOL=$DLLTOOL
7848 # Extract the first word of "dlltool", so it can be a program name with args.
7849 set dummy dlltool; ac_word=$2
7850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7852 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7853 echo $ECHO_N "(cached) $ECHO_C" >&6
7854 else
7855 if test -n "$ac_ct_DLLTOOL"; then
7856 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7857 else
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 for as_dir in $PATH
7861 IFS=$as_save_IFS
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 break 2
7869 done
7870 done
7871 IFS=$as_save_IFS
7875 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7878 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7879 else
7880 { echo "$as_me:$LINENO: result: no" >&5
7881 echo "${ECHO_T}no" >&6; }
7884 if test "x$ac_ct_DLLTOOL" = x; then
7885 DLLTOOL="false"
7886 else
7887 case $cross_compiling:$ac_tool_warned in
7888 yes:)
7889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7890 whose name does not start with the host triplet. If you think this
7891 configuration is useful to you, please write to autoconf@gnu.org." >&5
7892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7893 whose name does not start with the host triplet. If you think this
7894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7895 ac_tool_warned=yes ;;
7896 esac
7897 DLLTOOL=$ac_ct_DLLTOOL
7899 else
7900 DLLTOOL="$ac_cv_prog_DLLTOOL"
7903 if test -n "$ac_tool_prefix"; then
7904 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7905 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7908 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 else
7911 if test -n "$DLLWRAP"; then
7912 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7913 else
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 for as_dir in $PATH
7917 IFS=$as_save_IFS
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 break 2
7925 done
7926 done
7927 IFS=$as_save_IFS
7931 DLLWRAP=$ac_cv_prog_DLLWRAP
7932 if test -n "$DLLWRAP"; then
7933 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7934 echo "${ECHO_T}$DLLWRAP" >&6; }
7935 else
7936 { echo "$as_me:$LINENO: result: no" >&5
7937 echo "${ECHO_T}no" >&6; }
7942 if test -z "$ac_cv_prog_DLLWRAP"; then
7943 ac_ct_DLLWRAP=$DLLWRAP
7944 # Extract the first word of "dllwrap", so it can be a program name with args.
7945 set dummy dllwrap; ac_word=$2
7946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7948 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 else
7951 if test -n "$ac_ct_DLLWRAP"; then
7952 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7953 else
7954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 for as_dir in $PATH
7957 IFS=$as_save_IFS
7958 test -z "$as_dir" && as_dir=.
7959 for ac_exec_ext in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7963 break 2
7965 done
7966 done
7967 IFS=$as_save_IFS
7971 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7972 if test -n "$ac_ct_DLLWRAP"; then
7973 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7974 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7975 else
7976 { echo "$as_me:$LINENO: result: no" >&5
7977 echo "${ECHO_T}no" >&6; }
7980 if test "x$ac_ct_DLLWRAP" = x; then
7981 DLLWRAP="false"
7982 else
7983 case $cross_compiling:$ac_tool_warned in
7984 yes:)
7985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7986 whose name does not start with the host triplet. If you think this
7987 configuration is useful to you, please write to autoconf@gnu.org." >&5
7988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7989 whose name does not start with the host triplet. If you think this
7990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7991 ac_tool_warned=yes ;;
7992 esac
7993 DLLWRAP=$ac_ct_DLLWRAP
7995 else
7996 DLLWRAP="$ac_cv_prog_DLLWRAP"
7999 if test -n "$ac_tool_prefix"; then
8000 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8001 set dummy ${ac_tool_prefix}ar; ac_word=$2
8002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8004 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8006 else
8007 if test -n "$MINGWAR"; then
8008 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8009 else
8010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011 for as_dir in $PATH
8013 IFS=$as_save_IFS
8014 test -z "$as_dir" && as_dir=.
8015 for ac_exec_ext in '' $ac_executable_extensions; do
8016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8017 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8019 break 2
8021 done
8022 done
8023 IFS=$as_save_IFS
8027 MINGWAR=$ac_cv_prog_MINGWAR
8028 if test -n "$MINGWAR"; then
8029 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8030 echo "${ECHO_T}$MINGWAR" >&6; }
8031 else
8032 { echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6; }
8038 if test -z "$ac_cv_prog_MINGWAR"; then
8039 ac_ct_MINGWAR=$MINGWAR
8040 # Extract the first word of "ar", so it can be a program name with args.
8041 set dummy ar; ac_word=$2
8042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8044 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8046 else
8047 if test -n "$ac_ct_MINGWAR"; then
8048 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8049 else
8050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 for as_dir in $PATH
8053 IFS=$as_save_IFS
8054 test -z "$as_dir" && as_dir=.
8055 for ac_exec_ext in '' $ac_executable_extensions; do
8056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8057 ac_cv_prog_ac_ct_MINGWAR="ar"
8058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8059 break 2
8061 done
8062 done
8063 IFS=$as_save_IFS
8067 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8068 if test -n "$ac_ct_MINGWAR"; then
8069 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8070 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8071 else
8072 { echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6; }
8076 if test "x$ac_ct_MINGWAR" = x; then
8077 MINGWAR="false"
8078 else
8079 case $cross_compiling:$ac_tool_warned in
8080 yes:)
8081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8082 whose name does not start with the host triplet. If you think this
8083 configuration is useful to you, please write to autoconf@gnu.org." >&5
8084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8085 whose name does not start with the host triplet. If you think this
8086 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8087 ac_tool_warned=yes ;;
8088 esac
8089 MINGWAR=$ac_ct_MINGWAR
8091 else
8092 MINGWAR="$ac_cv_prog_MINGWAR"
8095 if test "$DLLWRAP" = "false"; then
8096 LIBEXT="a"
8097 else
8098 LIBEXT="dll"
8100 IMPLIBEXT="a"
8101 WIN16_FILES=""
8102 WIN16_INSTALL=""
8104 darwin*|macosx*)
8105 DLLEXT=".so"
8106 LIBEXT="dylib"
8107 DLLFLAGS="$DLLFLAGS -fPIC"
8108 LDDLLFLAGS="-bundle -multiply_defined suppress"
8109 LIBWINE_LDFLAGS="-multiply_defined suppress"
8110 LDSHARED="\$(CC) -dynamiclib"
8111 STRIP="$STRIP -x"
8112 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8113 COREFOUNDATIONLIB="-framework CoreFoundation"
8115 IOKITLIB="-framework IOKit -framework CoreFoundation"
8117 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8119 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8120 then
8121 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8124 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8125 then
8126 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8129 case $host_cpu in
8130 *powerpc*)
8131 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8132 esac
8133 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8134 then
8135 CARBONLIB="-framework Carbon"
8137 QUARTZFILES='$(QUARTZFILES)'
8141 DLLFLAGS="$DLLFLAGS -fPIC"
8142 DLLEXT=".so"
8143 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8144 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8145 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8147 else
8148 ac_wine_try_cflags_saved=$CFLAGS
8149 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8150 cat >conftest.$ac_ext <<_ACEOF
8151 void myfunc() {}
8152 _ACEOF
8153 rm -f conftest.$ac_objext conftest$ac_exeext
8154 if { (ac_try="$ac_link"
8155 case "(($ac_try" in
8156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8158 esac
8159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8160 (eval "$ac_link") 2>conftest.er1
8161 ac_status=$?
8162 grep -v '^ *+' conftest.er1 >conftest.err
8163 rm -f conftest.er1
8164 cat conftest.err >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } && {
8167 test -z "$ac_c_werror_flag" ||
8168 test ! -s conftest.err
8169 } && test -s conftest$ac_exeext &&
8170 $as_test_x conftest$ac_exeext; then
8171 ac_cv_c_dll_gnuelf="yes"
8172 else
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.$ac_ext >&5
8176 ac_cv_c_dll_gnuelf="no"
8179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8180 conftest$ac_exeext conftest.$ac_ext
8181 CFLAGS=$ac_wine_try_cflags_saved
8183 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8184 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8185 if test "$ac_cv_c_dll_gnuelf" = "yes"
8186 then
8187 LDSHARED="\$(CC) -shared"
8188 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8189 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8190 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8191 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8192 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 else
8194 ac_wine_try_cflags_saved=$CFLAGS
8195 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8196 cat >conftest.$ac_ext <<_ACEOF
8197 /* confdefs.h. */
8198 _ACEOF
8199 cat confdefs.h >>conftest.$ac_ext
8200 cat >>conftest.$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8204 main ()
8208 return 0;
8210 _ACEOF
8211 rm -f conftest.$ac_objext conftest$ac_exeext
8212 if { (ac_try="$ac_link"
8213 case "(($ac_try" in
8214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8215 *) ac_try_echo=$ac_try;;
8216 esac
8217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8218 (eval "$ac_link") 2>conftest.er1
8219 ac_status=$?
8220 grep -v '^ *+' conftest.er1 >conftest.err
8221 rm -f conftest.er1
8222 cat conftest.err >&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } && {
8225 test -z "$ac_c_werror_flag" ||
8226 test ! -s conftest.err
8227 } && test -s conftest$ac_exeext &&
8228 $as_test_x conftest$ac_exeext; then
8229 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8230 else
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8234 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8238 conftest$ac_exeext conftest.$ac_ext
8239 CFLAGS=$ac_wine_try_cflags_saved
8241 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8242 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8243 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8244 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8245 else
8246 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8247 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8248 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 else
8251 ac_wine_try_cflags_saved=$CFLAGS
8252 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8253 cat >conftest.$ac_ext <<_ACEOF
8254 /* confdefs.h. */
8255 _ACEOF
8256 cat confdefs.h >>conftest.$ac_ext
8257 cat >>conftest.$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8261 main ()
8265 return 0;
8267 _ACEOF
8268 rm -f conftest.$ac_objext conftest$ac_exeext
8269 if { (ac_try="$ac_link"
8270 case "(($ac_try" in
8271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;;
8273 esac
8274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8275 (eval "$ac_link") 2>conftest.er1
8276 ac_status=$?
8277 grep -v '^ *+' conftest.er1 >conftest.err
8278 rm -f conftest.er1
8279 cat conftest.err >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && {
8282 test -z "$ac_c_werror_flag" ||
8283 test ! -s conftest.err
8284 } && test -s conftest$ac_exeext &&
8285 $as_test_x conftest$ac_exeext; then
8286 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8287 else
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8291 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8299 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8300 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8301 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8307 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8308 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8309 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 else
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8314 cat >conftest.$ac_ext <<_ACEOF
8315 /* confdefs.h. */
8316 _ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8322 main ()
8326 return 0;
8328 _ACEOF
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (ac_try="$ac_link"
8331 case "(($ac_try" in
8332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8333 *) ac_try_echo=$ac_try;;
8334 esac
8335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8336 (eval "$ac_link") 2>conftest.er1
8337 ac_status=$?
8338 grep -v '^ *+' conftest.er1 >conftest.err
8339 rm -f conftest.er1
8340 cat conftest.err >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } && {
8343 test -z "$ac_c_werror_flag" ||
8344 test ! -s conftest.err
8345 } && test -s conftest$ac_exeext &&
8346 $as_test_x conftest$ac_exeext; then
8347 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8348 else
8349 echo "$as_me: failed program was:" >&5
8350 sed 's/^/| /' conftest.$ac_ext >&5
8352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8356 conftest$ac_exeext conftest.$ac_ext
8357 CFLAGS=$ac_wine_try_cflags_saved
8359 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8360 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8361 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8362 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8366 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8367 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8368 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 else
8371 ac_wine_try_cflags_saved=$CFLAGS
8372 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8373 cat >conftest.$ac_ext <<_ACEOF
8374 /* confdefs.h. */
8375 _ACEOF
8376 cat confdefs.h >>conftest.$ac_ext
8377 cat >>conftest.$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8381 main ()
8385 return 0;
8387 _ACEOF
8388 rm -f conftest.$ac_objext conftest$ac_exeext
8389 if { (ac_try="$ac_link"
8390 case "(($ac_try" in
8391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8392 *) ac_try_echo=$ac_try;;
8393 esac
8394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8395 (eval "$ac_link") 2>conftest.er1
8396 ac_status=$?
8397 grep -v '^ *+' conftest.er1 >conftest.err
8398 rm -f conftest.er1
8399 cat conftest.err >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } && {
8402 test -z "$ac_c_werror_flag" ||
8403 test ! -s conftest.err
8404 } && test -s conftest$ac_exeext &&
8405 $as_test_x conftest$ac_exeext; then
8406 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8407 else
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8419 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8420 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8421 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8425 echo '{ global: *; };' >conftest.map
8426 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8427 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8428 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8433 cat >conftest.$ac_ext <<_ACEOF
8434 /* confdefs.h. */
8435 _ACEOF
8436 cat confdefs.h >>conftest.$ac_ext
8437 cat >>conftest.$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8441 main ()
8445 return 0;
8447 _ACEOF
8448 rm -f conftest.$ac_objext conftest$ac_exeext
8449 if { (ac_try="$ac_link"
8450 case "(($ac_try" in
8451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8452 *) ac_try_echo=$ac_try;;
8453 esac
8454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8455 (eval "$ac_link") 2>conftest.er1
8456 ac_status=$?
8457 grep -v '^ *+' conftest.er1 >conftest.err
8458 rm -f conftest.er1
8459 cat conftest.err >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } && {
8462 test -z "$ac_c_werror_flag" ||
8463 test ! -s conftest.err
8464 } && test -s conftest$ac_exeext &&
8465 $as_test_x conftest$ac_exeext; then
8466 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8467 else
8468 echo "$as_me: failed program was:" >&5
8469 sed 's/^/| /' conftest.$ac_ext >&5
8471 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8475 conftest$ac_exeext conftest.$ac_ext
8476 CFLAGS=$ac_wine_try_cflags_saved
8478 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8479 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8480 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8481 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8484 rm -f conftest.map
8486 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8487 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8488 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8493 cat >conftest.$ac_ext <<_ACEOF
8494 /* confdefs.h. */
8495 _ACEOF
8496 cat confdefs.h >>conftest.$ac_ext
8497 cat >>conftest.$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8501 main ()
8505 return 0;
8507 _ACEOF
8508 rm -f conftest.$ac_objext conftest$ac_exeext
8509 if { (ac_try="$ac_link"
8510 case "(($ac_try" in
8511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8512 *) ac_try_echo=$ac_try;;
8513 esac
8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8515 (eval "$ac_link") 2>conftest.er1
8516 ac_status=$?
8517 grep -v '^ *+' conftest.er1 >conftest.err
8518 rm -f conftest.er1
8519 cat conftest.err >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } && {
8522 test -z "$ac_c_werror_flag" ||
8523 test ! -s conftest.err
8524 } && test -s conftest$ac_exeext &&
8525 $as_test_x conftest$ac_exeext; then
8526 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8527 else
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8535 conftest$ac_exeext conftest.$ac_ext
8536 CFLAGS=$ac_wine_try_cflags_saved
8538 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8539 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8540 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8541 LDEXECFLAGS="-Wl,--export-dynamic"
8546 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8547 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8548 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 else
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8554 cat >conftest.$ac_ext <<_ACEOF
8555 /* confdefs.h. */
8556 _ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8562 main ()
8566 return 0;
8568 _ACEOF
8569 rm -f conftest.$ac_objext conftest$ac_exeext
8570 if { (ac_try="$ac_link"
8571 case "(($ac_try" in
8572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8573 *) ac_try_echo=$ac_try;;
8574 esac
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_link") 2>conftest.er1
8577 ac_status=$?
8578 grep -v '^ *+' conftest.er1 >conftest.err
8579 rm -f conftest.er1
8580 cat conftest.err >&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } && {
8583 test -z "$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8585 } && test -s conftest$ac_exeext &&
8586 $as_test_x conftest$ac_exeext; then
8587 eval "$as_ac_var=yes"
8588 else
8589 echo "$as_me: failed program was:" >&5
8590 sed 's/^/| /' conftest.$ac_ext >&5
8592 eval "$as_ac_var=no"
8595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 ac_res=`eval echo '${'$as_ac_var'}'`
8600 { echo "$as_me:$LINENO: result: $ac_res" >&5
8601 echo "${ECHO_T}$ac_res" >&6; }
8602 if test `eval echo '${'$as_ac_var'}'` = yes; then
8603 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8604 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8605 else
8606 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8607 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8608 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 else
8612 ac_wine_try_cflags_saved=$CFLAGS
8613 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8614 cat >conftest.$ac_ext <<_ACEOF
8615 /* confdefs.h. */
8616 _ACEOF
8617 cat confdefs.h >>conftest.$ac_ext
8618 cat >>conftest.$ac_ext <<_ACEOF
8619 /* end confdefs.h. */
8622 main ()
8626 return 0;
8628 _ACEOF
8629 rm -f conftest.$ac_objext conftest$ac_exeext
8630 if { (ac_try="$ac_link"
8631 case "(($ac_try" in
8632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8633 *) ac_try_echo=$ac_try;;
8634 esac
8635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8636 (eval "$ac_link") 2>conftest.er1
8637 ac_status=$?
8638 grep -v '^ *+' conftest.er1 >conftest.err
8639 rm -f conftest.er1
8640 cat conftest.err >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); } && {
8643 test -z "$ac_c_werror_flag" ||
8644 test ! -s conftest.err
8645 } && test -s conftest$ac_exeext &&
8646 $as_test_x conftest$ac_exeext; then
8647 eval "$as_ac_var=yes"
8648 else
8649 echo "$as_me: failed program was:" >&5
8650 sed 's/^/| /' conftest.$ac_ext >&5
8652 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 ac_res=`eval echo '${'$as_ac_var'}'`
8660 { echo "$as_me:$LINENO: result: $ac_res" >&5
8661 echo "${ECHO_T}$ac_res" >&6; }
8662 if test `eval echo '${'$as_ac_var'}'` = yes; then
8663 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8664 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8670 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8671 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8672 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8677 cat >conftest.$ac_ext <<_ACEOF
8678 /* confdefs.h. */
8679 _ACEOF
8680 cat confdefs.h >>conftest.$ac_ext
8681 cat >>conftest.$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8685 main ()
8689 return 0;
8691 _ACEOF
8692 rm -f conftest.$ac_objext conftest$ac_exeext
8693 if { (ac_try="$ac_link"
8694 case "(($ac_try" in
8695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8696 *) ac_try_echo=$ac_try;;
8697 esac
8698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699 (eval "$ac_link") 2>conftest.er1
8700 ac_status=$?
8701 grep -v '^ *+' conftest.er1 >conftest.err
8702 rm -f conftest.er1
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } && {
8706 test -z "$ac_c_werror_flag" ||
8707 test ! -s conftest.err
8708 } && test -s conftest$ac_exeext &&
8709 $as_test_x conftest$ac_exeext; then
8710 ac_cv_cflags__Wl___enable_new_dtags=yes
8711 else
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8715 ac_cv_cflags__Wl___enable_new_dtags=no
8718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8723 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8724 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8725 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8729 case $host_cpu in
8730 *i[3456789]86* | x86_64)
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8732 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8738 cat >conftest.$ac_ext <<_ACEOF
8739 /* confdefs.h. */
8740 _ACEOF
8741 cat confdefs.h >>conftest.$ac_ext
8742 cat >>conftest.$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8746 main ()
8750 return 0;
8752 _ACEOF
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (ac_try="$ac_link"
8755 case "(($ac_try" in
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8758 esac
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8761 ac_status=$?
8762 grep -v '^ *+' conftest.er1 >conftest.err
8763 rm -f conftest.er1
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } && {
8767 test -z "$ac_c_werror_flag" ||
8768 test ! -s conftest.err
8769 } && test -s conftest$ac_exeext &&
8770 $as_test_x conftest$ac_exeext; then
8771 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8772 else
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8785 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8786 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8790 esac
8792 else
8793 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8794 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8795 if test "${ac_cv_c_dll_unixware+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8797 else
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8800 cat >conftest.$ac_ext <<_ACEOF
8801 void myfunc() {}
8802 _ACEOF
8803 rm -f conftest.$ac_objext conftest$ac_exeext
8804 if { (ac_try="$ac_link"
8805 case "(($ac_try" in
8806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8807 *) ac_try_echo=$ac_try;;
8808 esac
8809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8810 (eval "$ac_link") 2>conftest.er1
8811 ac_status=$?
8812 grep -v '^ *+' conftest.er1 >conftest.err
8813 rm -f conftest.er1
8814 cat conftest.err >&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } && {
8817 test -z "$ac_c_werror_flag" ||
8818 test ! -s conftest.err
8819 } && test -s conftest$ac_exeext &&
8820 $as_test_x conftest$ac_exeext; then
8821 ac_cv_c_dll_unixware="yes"
8822 else
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8826 ac_cv_c_dll_unixware="no"
8829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8834 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8835 if test "$ac_cv_c_dll_unixware" = "yes"
8836 then
8837 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8838 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8840 else
8841 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8842 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8843 if test "${ac_cv_c_dll_hpux+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 else
8846 ac_wine_try_cflags_saved=$CFLAGS
8847 CFLAGS="$CFLAGS -shared"
8848 cat >conftest.$ac_ext <<_ACEOF
8849 void myfunc() {}
8850 _ACEOF
8851 rm -f conftest.$ac_objext conftest$ac_exeext
8852 if { (ac_try="$ac_link"
8853 case "(($ac_try" in
8854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8856 esac
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_link") 2>conftest.er1
8859 ac_status=$?
8860 grep -v '^ *+' conftest.er1 >conftest.err
8861 rm -f conftest.er1
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest$ac_exeext &&
8868 $as_test_x conftest$ac_exeext; then
8869 ac_cv_c_dll_hpux="yes"
8870 else
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8874 ac_cv_c_dll_hpux="no"
8877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8882 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8883 if test "$ac_cv_c_dll_hpux" = "yes"
8884 then
8885 LIBEXT="sl"
8886 DLLEXT=".sl"
8887 LDDLLFLAGS="-shared -fPIC"
8888 LDSHARED="\$(CC) -shared"
8893 CROSSTEST=""
8895 if test "$cross_compiling" = "no"
8896 then
8897 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8899 # Extract the first word of "$ac_prog", so it can be a program name with args.
8900 set dummy $ac_prog; ac_word=$2
8901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8903 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8905 else
8906 if test -n "$CROSSCC"; then
8907 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8908 else
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 for as_dir in $PATH
8912 IFS=$as_save_IFS
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8916 ac_cv_prog_CROSSCC="$ac_prog"
8917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8918 break 2
8920 done
8921 done
8922 IFS=$as_save_IFS
8926 CROSSCC=$ac_cv_prog_CROSSCC
8927 if test -n "$CROSSCC"; then
8928 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8929 echo "${ECHO_T}$CROSSCC" >&6; }
8930 else
8931 { echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6; }
8936 test -n "$CROSSCC" && break
8937 done
8938 test -n "$CROSSCC" || CROSSCC="false"
8940 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8942 # Extract the first word of "$ac_prog", so it can be a program name with args.
8943 set dummy $ac_prog; ac_word=$2
8944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8946 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8948 else
8949 if test -n "$DLLTOOL"; then
8950 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8951 else
8952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8953 for as_dir in $PATH
8955 IFS=$as_save_IFS
8956 test -z "$as_dir" && as_dir=.
8957 for ac_exec_ext in '' $ac_executable_extensions; do
8958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959 ac_cv_prog_DLLTOOL="$ac_prog"
8960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 break 2
8963 done
8964 done
8965 IFS=$as_save_IFS
8969 DLLTOOL=$ac_cv_prog_DLLTOOL
8970 if test -n "$DLLTOOL"; then
8971 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8972 echo "${ECHO_T}$DLLTOOL" >&6; }
8973 else
8974 { echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6; }
8979 test -n "$DLLTOOL" && break
8980 done
8981 test -n "$DLLTOOL" || DLLTOOL="false"
8983 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8985 # Extract the first word of "$ac_prog", so it can be a program name with args.
8986 set dummy $ac_prog; ac_word=$2
8987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8989 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 else
8992 if test -n "$CROSSWINDRES"; then
8993 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8994 else
8995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8996 for as_dir in $PATH
8998 IFS=$as_save_IFS
8999 test -z "$as_dir" && as_dir=.
9000 for ac_exec_ext in '' $ac_executable_extensions; do
9001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9002 ac_cv_prog_CROSSWINDRES="$ac_prog"
9003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9004 break 2
9006 done
9007 done
9008 IFS=$as_save_IFS
9012 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9013 if test -n "$CROSSWINDRES"; then
9014 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9015 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9016 else
9017 { echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6; }
9022 test -n "$CROSSWINDRES" && break
9023 done
9024 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9026 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9028 # Extract the first word of "$ac_prog", so it can be a program name with args.
9029 set dummy $ac_prog; ac_word=$2
9030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9032 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 else
9035 if test -n "$MINGWAR"; then
9036 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9037 else
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9039 for as_dir in $PATH
9041 IFS=$as_save_IFS
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_MINGWAR="$ac_prog"
9046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9047 break 2
9049 done
9050 done
9051 IFS=$as_save_IFS
9055 MINGWAR=$ac_cv_prog_MINGWAR
9056 if test -n "$MINGWAR"; then
9057 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9058 echo "${ECHO_T}$MINGWAR" >&6; }
9059 else
9060 { echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6; }
9065 test -n "$MINGWAR" && break
9066 done
9067 test -n "$MINGWAR" || MINGWAR="false"
9069 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9072 esac
9074 if test "$LIBEXT" = "a"; then
9075 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9076 It is currently not possible to build Wine without shared library
9077 (.so) support to allow transparent switch between .so and .dll files.
9078 If you are using Linux, you will need a newer binutils.
9079 " >&5
9080 echo "$as_me: error: could not find a way to build shared libraries.
9081 It is currently not possible to build Wine without shared library
9082 (.so) support to allow transparent switch between .so and .dll files.
9083 If you are using Linux, you will need a newer binutils.
9084 " >&2;}
9085 { (exit 1); exit 1; }; }
9089 if test "$have_x" = "yes"
9090 then
9091 XLIB="-lXext -lX11"
9092 ac_save_CPPFLAGS="$CPPFLAGS"
9093 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9095 { echo "$as_me:$LINENO: checking for -lX11" >&5
9096 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9097 if test "${ac_cv_lib_soname_X11+set}" = set; then
9098 echo $ECHO_N "(cached) $ECHO_C" >&6
9099 else
9100 ac_check_soname_save_LIBS=$LIBS
9101 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9102 cat >conftest.$ac_ext <<_ACEOF
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9109 /* Override any GCC internal prototype to avoid an error.
9110 Use char because int might match the return type of a GCC
9111 builtin and then its argument prototype would still apply. */
9112 #ifdef __cplusplus
9113 extern "C"
9114 #endif
9115 char XCreateWindow ();
9117 main ()
9119 return XCreateWindow ();
9121 return 0;
9123 _ACEOF
9124 rm -f conftest.$ac_objext conftest$ac_exeext
9125 if { (ac_try="$ac_link"
9126 case "(($ac_try" in
9127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9128 *) ac_try_echo=$ac_try;;
9129 esac
9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9131 (eval "$ac_link") 2>conftest.er1
9132 ac_status=$?
9133 grep -v '^ *+' conftest.er1 >conftest.err
9134 rm -f conftest.er1
9135 cat conftest.err >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } && {
9138 test -z "$ac_c_werror_flag" ||
9139 test ! -s conftest.err
9140 } && test -s conftest$ac_exeext &&
9141 $as_test_x conftest$ac_exeext; then
9142 case "$LIBEXT" in
9143 dll) ;;
9144 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'` ;;
9145 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9146 esac
9147 else
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.$ac_ext >&5
9154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9155 conftest$ac_exeext conftest.$ac_ext
9156 LIBS=$ac_check_soname_save_LIBS
9158 if test "x$ac_cv_lib_soname_X11" = "x"; then
9159 { echo "$as_me:$LINENO: result: not found" >&5
9160 echo "${ECHO_T}not found" >&6; }
9162 else
9163 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9164 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9166 cat >>confdefs.h <<_ACEOF
9167 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9168 _ACEOF
9173 { echo "$as_me:$LINENO: checking for -lXext" >&5
9174 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9175 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 else
9178 ac_check_soname_save_LIBS=$LIBS
9179 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9180 cat >conftest.$ac_ext <<_ACEOF
9181 /* confdefs.h. */
9182 _ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char XextCreateExtension ();
9195 main ()
9197 return XextCreateExtension ();
9199 return 0;
9201 _ACEOF
9202 rm -f conftest.$ac_objext conftest$ac_exeext
9203 if { (ac_try="$ac_link"
9204 case "(($ac_try" in
9205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9206 *) ac_try_echo=$ac_try;;
9207 esac
9208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209 (eval "$ac_link") 2>conftest.er1
9210 ac_status=$?
9211 grep -v '^ *+' conftest.er1 >conftest.err
9212 rm -f conftest.er1
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } && {
9216 test -z "$ac_c_werror_flag" ||
9217 test ! -s conftest.err
9218 } && test -s conftest$ac_exeext &&
9219 $as_test_x conftest$ac_exeext; then
9220 case "$LIBEXT" in
9221 dll) ;;
9222 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'` ;;
9223 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9224 esac
9225 else
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LIBS=$ac_check_soname_save_LIBS
9236 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9237 { echo "$as_me:$LINENO: result: not found" >&5
9238 echo "${ECHO_T}not found" >&6; }
9240 else
9241 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9242 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9244 cat >>confdefs.h <<_ACEOF
9245 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9246 _ACEOF
9264 for ac_header in X11/Xlib.h \
9265 X11/XKBlib.h \
9266 X11/Xutil.h \
9267 X11/Xcursor/Xcursor.h \
9268 X11/extensions/shape.h \
9269 X11/extensions/XInput.h \
9270 X11/extensions/XShm.h \
9271 X11/extensions/Xcomposite.h \
9272 X11/extensions/Xinerama.h \
9273 X11/extensions/Xrandr.h \
9274 X11/extensions/Xrender.h \
9275 X11/extensions/xf86vmode.h
9277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 else
9283 cat >conftest.$ac_ext <<_ACEOF
9284 /* confdefs.h. */
9285 _ACEOF
9286 cat confdefs.h >>conftest.$ac_ext
9287 cat >>conftest.$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9289 #ifdef HAVE_X11_XLIB_H
9290 # include <X11/Xlib.h>
9291 #endif
9292 #ifdef HAVE_X11_XUTIL_H
9293 # include <X11/Xutil.h>
9294 #endif
9296 #include <$ac_header>
9297 _ACEOF
9298 rm -f conftest.$ac_objext
9299 if { (ac_try="$ac_compile"
9300 case "(($ac_try" in
9301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9302 *) ac_try_echo=$ac_try;;
9303 esac
9304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9305 (eval "$ac_compile") 2>conftest.er1
9306 ac_status=$?
9307 grep -v '^ *+' conftest.er1 >conftest.err
9308 rm -f conftest.er1
9309 cat conftest.err >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } && {
9312 test -z "$ac_c_werror_flag" ||
9313 test ! -s conftest.err
9314 } && test -s conftest.$ac_objext; then
9315 eval "$as_ac_Header=yes"
9316 else
9317 echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.$ac_ext >&5
9320 eval "$as_ac_Header=no"
9323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9325 ac_res=`eval echo '${'$as_ac_Header'}'`
9326 { echo "$as_me:$LINENO: result: $ac_res" >&5
9327 echo "${ECHO_T}$ac_res" >&6; }
9328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9329 cat >>confdefs.h <<_ACEOF
9330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9331 _ACEOF
9335 done
9338 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9339 then
9340 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9341 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9342 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9343 echo $ECHO_N "(cached) $ECHO_C" >&6
9344 else
9345 ac_check_lib_save_LIBS=$LIBS
9346 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9347 cat >conftest.$ac_ext <<_ACEOF
9348 /* confdefs.h. */
9349 _ACEOF
9350 cat confdefs.h >>conftest.$ac_ext
9351 cat >>conftest.$ac_ext <<_ACEOF
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9357 #ifdef __cplusplus
9358 extern "C"
9359 #endif
9360 char XkbQueryExtension ();
9362 main ()
9364 return XkbQueryExtension ();
9366 return 0;
9368 _ACEOF
9369 rm -f conftest.$ac_objext conftest$ac_exeext
9370 if { (ac_try="$ac_link"
9371 case "(($ac_try" in
9372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9373 *) ac_try_echo=$ac_try;;
9374 esac
9375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9376 (eval "$ac_link") 2>conftest.er1
9377 ac_status=$?
9378 grep -v '^ *+' conftest.er1 >conftest.err
9379 rm -f conftest.er1
9380 cat conftest.err >&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } && {
9383 test -z "$ac_c_werror_flag" ||
9384 test ! -s conftest.err
9385 } && test -s conftest$ac_exeext &&
9386 $as_test_x conftest$ac_exeext; then
9387 ac_cv_lib_X11_XkbQueryExtension=yes
9388 else
9389 echo "$as_me: failed program was:" >&5
9390 sed 's/^/| /' conftest.$ac_ext >&5
9392 ac_cv_lib_X11_XkbQueryExtension=no
9395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9396 conftest$ac_exeext conftest.$ac_ext
9397 LIBS=$ac_check_lib_save_LIBS
9399 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9400 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9401 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9403 cat >>confdefs.h <<\_ACEOF
9404 #define HAVE_XKB 1
9405 _ACEOF
9411 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9412 then
9413 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9414 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9415 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9416 echo $ECHO_N "(cached) $ECHO_C" >&6
9417 else
9418 ac_check_soname_save_LIBS=$LIBS
9419 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9420 cat >conftest.$ac_ext <<_ACEOF
9421 /* confdefs.h. */
9422 _ACEOF
9423 cat confdefs.h >>conftest.$ac_ext
9424 cat >>conftest.$ac_ext <<_ACEOF
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9430 #ifdef __cplusplus
9431 extern "C"
9432 #endif
9433 char XcursorImageLoadCursor ();
9435 main ()
9437 return XcursorImageLoadCursor ();
9439 return 0;
9441 _ACEOF
9442 rm -f conftest.$ac_objext conftest$ac_exeext
9443 if { (ac_try="$ac_link"
9444 case "(($ac_try" in
9445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9446 *) ac_try_echo=$ac_try;;
9447 esac
9448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9449 (eval "$ac_link") 2>conftest.er1
9450 ac_status=$?
9451 grep -v '^ *+' conftest.er1 >conftest.err
9452 rm -f conftest.er1
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } && {
9456 test -z "$ac_c_werror_flag" ||
9457 test ! -s conftest.err
9458 } && test -s conftest$ac_exeext &&
9459 $as_test_x conftest$ac_exeext; then
9460 case "$LIBEXT" in
9461 dll) ;;
9462 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'` ;;
9463 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9464 esac
9465 else
9466 echo "$as_me: failed program was:" >&5
9467 sed 's/^/| /' conftest.$ac_ext >&5
9472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9473 conftest$ac_exeext conftest.$ac_ext
9474 LIBS=$ac_check_soname_save_LIBS
9476 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9477 { echo "$as_me:$LINENO: result: not found" >&5
9478 echo "${ECHO_T}not found" >&6; }
9480 else
9481 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9482 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9484 cat >>confdefs.h <<_ACEOF
9485 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9486 _ACEOF
9493 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9494 then
9495 { echo "$as_me:$LINENO: checking for -lXi" >&5
9496 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9497 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 else
9500 ac_check_soname_save_LIBS=$LIBS
9501 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9502 cat >conftest.$ac_ext <<_ACEOF
9503 /* confdefs.h. */
9504 _ACEOF
9505 cat confdefs.h >>conftest.$ac_ext
9506 cat >>conftest.$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9512 #ifdef __cplusplus
9513 extern "C"
9514 #endif
9515 char XOpenDevice ();
9517 main ()
9519 return XOpenDevice ();
9521 return 0;
9523 _ACEOF
9524 rm -f conftest.$ac_objext conftest$ac_exeext
9525 if { (ac_try="$ac_link"
9526 case "(($ac_try" in
9527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9528 *) ac_try_echo=$ac_try;;
9529 esac
9530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9531 (eval "$ac_link") 2>conftest.er1
9532 ac_status=$?
9533 grep -v '^ *+' conftest.er1 >conftest.err
9534 rm -f conftest.er1
9535 cat conftest.err >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } && {
9538 test -z "$ac_c_werror_flag" ||
9539 test ! -s conftest.err
9540 } && test -s conftest$ac_exeext &&
9541 $as_test_x conftest$ac_exeext; then
9542 case "$LIBEXT" in
9543 dll) ;;
9544 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'` ;;
9545 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9546 esac
9547 else
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_soname_save_LIBS
9558 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9559 { echo "$as_me:$LINENO: result: not found" >&5
9560 echo "${ECHO_T}not found" >&6; }
9562 else
9563 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9564 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9566 cat >>confdefs.h <<_ACEOF
9567 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9568 _ACEOF
9575 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9576 then
9577 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9578 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9579 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9581 else
9582 ac_check_lib_save_LIBS=$LIBS
9583 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9584 cat >conftest.$ac_ext <<_ACEOF
9585 /* confdefs.h. */
9586 _ACEOF
9587 cat confdefs.h >>conftest.$ac_ext
9588 cat >>conftest.$ac_ext <<_ACEOF
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9594 #ifdef __cplusplus
9595 extern "C"
9596 #endif
9597 char XShmQueryExtension ();
9599 main ()
9601 return XShmQueryExtension ();
9603 return 0;
9605 _ACEOF
9606 rm -f conftest.$ac_objext conftest$ac_exeext
9607 if { (ac_try="$ac_link"
9608 case "(($ac_try" in
9609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9610 *) ac_try_echo=$ac_try;;
9611 esac
9612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9613 (eval "$ac_link") 2>conftest.er1
9614 ac_status=$?
9615 grep -v '^ *+' conftest.er1 >conftest.err
9616 rm -f conftest.er1
9617 cat conftest.err >&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); } && {
9620 test -z "$ac_c_werror_flag" ||
9621 test ! -s conftest.err
9622 } && test -s conftest$ac_exeext &&
9623 $as_test_x conftest$ac_exeext; then
9624 ac_cv_lib_Xext_XShmQueryExtension=yes
9625 else
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_cv_lib_Xext_XShmQueryExtension=no
9632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LIBS=$ac_check_lib_save_LIBS
9636 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9637 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9638 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9640 cat >>confdefs.h <<\_ACEOF
9641 #define HAVE_LIBXXSHM 1
9642 _ACEOF
9647 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9648 wine_notices="$wine_notices|XShm development files not found.
9649 Wine will be built without XShm support. (winex11.drv)"
9653 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9654 then
9655 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9656 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9657 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9658 echo $ECHO_N "(cached) $ECHO_C" >&6
9659 else
9660 ac_check_lib_save_LIBS=$LIBS
9661 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9662 cat >conftest.$ac_ext <<_ACEOF
9663 /* confdefs.h. */
9664 _ACEOF
9665 cat confdefs.h >>conftest.$ac_ext
9666 cat >>conftest.$ac_ext <<_ACEOF
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9672 #ifdef __cplusplus
9673 extern "C"
9674 #endif
9675 char XShapeQueryExtension ();
9677 main ()
9679 return XShapeQueryExtension ();
9681 return 0;
9683 _ACEOF
9684 rm -f conftest.$ac_objext conftest$ac_exeext
9685 if { (ac_try="$ac_link"
9686 case "(($ac_try" in
9687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9688 *) ac_try_echo=$ac_try;;
9689 esac
9690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9691 (eval "$ac_link") 2>conftest.er1
9692 ac_status=$?
9693 grep -v '^ *+' conftest.er1 >conftest.err
9694 rm -f conftest.er1
9695 cat conftest.err >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); } && {
9698 test -z "$ac_c_werror_flag" ||
9699 test ! -s conftest.err
9700 } && test -s conftest$ac_exeext &&
9701 $as_test_x conftest$ac_exeext; then
9702 ac_cv_lib_Xext_XShapeQueryExtension=yes
9703 else
9704 echo "$as_me: failed program was:" >&5
9705 sed 's/^/| /' conftest.$ac_ext >&5
9707 ac_cv_lib_Xext_XShapeQueryExtension=no
9710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9711 conftest$ac_exeext conftest.$ac_ext
9712 LIBS=$ac_check_lib_save_LIBS
9714 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9715 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9716 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9718 cat >>confdefs.h <<\_ACEOF
9719 #define HAVE_LIBXSHAPE 1
9720 _ACEOF
9725 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9726 wine_notices="$wine_notices|XShape development files not found.
9727 Wine will be built without XShape support. (winex11.drv)"
9731 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9732 then
9733 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9734 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9735 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 else
9738 ac_check_lib_save_LIBS=$LIBS
9739 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9740 cat >conftest.$ac_ext <<_ACEOF
9741 /* confdefs.h. */
9742 _ACEOF
9743 cat confdefs.h >>conftest.$ac_ext
9744 cat >>conftest.$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9750 #ifdef __cplusplus
9751 extern "C"
9752 #endif
9753 char XF86VidModeQueryExtension ();
9755 main ()
9757 return XF86VidModeQueryExtension ();
9759 return 0;
9761 _ACEOF
9762 rm -f conftest.$ac_objext conftest$ac_exeext
9763 if { (ac_try="$ac_link"
9764 case "(($ac_try" in
9765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9766 *) ac_try_echo=$ac_try;;
9767 esac
9768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9769 (eval "$ac_link") 2>conftest.er1
9770 ac_status=$?
9771 grep -v '^ *+' conftest.er1 >conftest.err
9772 rm -f conftest.er1
9773 cat conftest.err >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } && {
9776 test -z "$ac_c_werror_flag" ||
9777 test ! -s conftest.err
9778 } && test -s conftest$ac_exeext &&
9779 $as_test_x conftest$ac_exeext; then
9780 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9781 else
9782 echo "$as_me: failed program was:" >&5
9783 sed 's/^/| /' conftest.$ac_ext >&5
9785 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9789 conftest$ac_exeext conftest.$ac_ext
9790 LIBS=$ac_check_lib_save_LIBS
9792 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9793 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9794 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9796 cat >>confdefs.h <<\_ACEOF
9797 #define HAVE_LIBXXF86VM 1
9798 _ACEOF
9800 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9805 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9806 wine_notices="$wine_notices|Xxf86vm development files not found.
9807 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9811 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"
9812 then
9813 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9814 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9815 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 else
9818 ac_check_soname_save_LIBS=$LIBS
9819 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9820 cat >conftest.$ac_ext <<_ACEOF
9821 /* confdefs.h. */
9822 _ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9827 /* Override any GCC internal prototype to avoid an error.
9828 Use char because int might match the return type of a GCC
9829 builtin and then its argument prototype would still apply. */
9830 #ifdef __cplusplus
9831 extern "C"
9832 #endif
9833 char XRenderQueryExtension ();
9835 main ()
9837 return XRenderQueryExtension ();
9839 return 0;
9841 _ACEOF
9842 rm -f conftest.$ac_objext conftest$ac_exeext
9843 if { (ac_try="$ac_link"
9844 case "(($ac_try" in
9845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9846 *) ac_try_echo=$ac_try;;
9847 esac
9848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9849 (eval "$ac_link") 2>conftest.er1
9850 ac_status=$?
9851 grep -v '^ *+' conftest.er1 >conftest.err
9852 rm -f conftest.er1
9853 cat conftest.err >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } && {
9856 test -z "$ac_c_werror_flag" ||
9857 test ! -s conftest.err
9858 } && test -s conftest$ac_exeext &&
9859 $as_test_x conftest$ac_exeext; then
9860 case "$LIBEXT" in
9861 dll) ;;
9862 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'` ;;
9863 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9864 esac
9865 else
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9877 { echo "$as_me:$LINENO: result: not found" >&5
9878 echo "${ECHO_T}not found" >&6; }
9880 else
9881 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9882 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9886 _ACEOF
9888 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9889 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9890 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9891 echo $ECHO_N "(cached) $ECHO_C" >&6
9892 else
9893 ac_check_lib_save_LIBS=$LIBS
9894 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9895 cat >conftest.$ac_ext <<_ACEOF
9896 /* confdefs.h. */
9897 _ACEOF
9898 cat confdefs.h >>conftest.$ac_ext
9899 cat >>conftest.$ac_ext <<_ACEOF
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9905 #ifdef __cplusplus
9906 extern "C"
9907 #endif
9908 char XRenderSetPictureTransform ();
9910 main ()
9912 return XRenderSetPictureTransform ();
9914 return 0;
9916 _ACEOF
9917 rm -f conftest.$ac_objext conftest$ac_exeext
9918 if { (ac_try="$ac_link"
9919 case "(($ac_try" in
9920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9921 *) ac_try_echo=$ac_try;;
9922 esac
9923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9924 (eval "$ac_link") 2>conftest.er1
9925 ac_status=$?
9926 grep -v '^ *+' conftest.er1 >conftest.err
9927 rm -f conftest.er1
9928 cat conftest.err >&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } && {
9931 test -z "$ac_c_werror_flag" ||
9932 test ! -s conftest.err
9933 } && test -s conftest$ac_exeext &&
9934 $as_test_x conftest$ac_exeext; then
9935 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9944 conftest$ac_exeext conftest.$ac_ext
9945 LIBS=$ac_check_lib_save_LIBS
9947 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9948 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9949 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9951 cat >>confdefs.h <<\_ACEOF
9952 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9953 _ACEOF
9961 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9962 wine_notices="$wine_notices|XRender development files not found.
9963 Wine will be built without XRender support. (winex11.drv)"
9967 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9968 then
9969 cat >conftest.$ac_ext <<_ACEOF
9970 /* confdefs.h. */
9971 _ACEOF
9972 cat confdefs.h >>conftest.$ac_ext
9973 cat >>conftest.$ac_ext <<_ACEOF
9974 /* end confdefs.h. */
9975 #include <X11/Xlib.h>
9976 #include <X11/extensions/Xrandr.h>
9978 main ()
9980 static typeof(XRRSetScreenConfigAndRate) * func;
9982 return 0;
9984 _ACEOF
9985 rm -f conftest.$ac_objext
9986 if { (ac_try="$ac_compile"
9987 case "(($ac_try" in
9988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9989 *) ac_try_echo=$ac_try;;
9990 esac
9991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9992 (eval "$ac_compile") 2>conftest.er1
9993 ac_status=$?
9994 grep -v '^ *+' conftest.er1 >conftest.err
9995 rm -f conftest.er1
9996 cat conftest.err >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); } && {
9999 test -z "$ac_c_werror_flag" ||
10000 test ! -s conftest.err
10001 } && test -s conftest.$ac_objext; then
10002 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10003 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10004 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10005 echo $ECHO_N "(cached) $ECHO_C" >&6
10006 else
10007 ac_check_soname_save_LIBS=$LIBS
10008 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10009 cat >conftest.$ac_ext <<_ACEOF
10010 /* confdefs.h. */
10011 _ACEOF
10012 cat confdefs.h >>conftest.$ac_ext
10013 cat >>conftest.$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char XRRQueryExtension ();
10024 main ()
10026 return XRRQueryExtension ();
10028 return 0;
10030 _ACEOF
10031 rm -f conftest.$ac_objext conftest$ac_exeext
10032 if { (ac_try="$ac_link"
10033 case "(($ac_try" in
10034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10035 *) ac_try_echo=$ac_try;;
10036 esac
10037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10038 (eval "$ac_link") 2>conftest.er1
10039 ac_status=$?
10040 grep -v '^ *+' conftest.er1 >conftest.err
10041 rm -f conftest.er1
10042 cat conftest.err >&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } && {
10045 test -z "$ac_c_werror_flag" ||
10046 test ! -s conftest.err
10047 } && test -s conftest$ac_exeext &&
10048 $as_test_x conftest$ac_exeext; then
10049 case "$LIBEXT" in
10050 dll) ;;
10051 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'` ;;
10052 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10053 esac
10054 else
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_soname_save_LIBS
10065 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10066 { echo "$as_me:$LINENO: result: not found" >&5
10067 echo "${ECHO_T}not found" >&6; }
10069 else
10070 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10071 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10073 cat >>confdefs.h <<_ACEOF
10074 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10075 _ACEOF
10080 else
10081 echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.$ac_ext >&5
10087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10089 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10090 wine_notices="$wine_notices|XRandr development files not found.
10091 Wine will be built without XRandr support. (winex11.drv)"
10095 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10096 then
10097 cat >conftest.$ac_ext <<_ACEOF
10098 /* confdefs.h. */
10099 _ACEOF
10100 cat confdefs.h >>conftest.$ac_ext
10101 cat >>conftest.$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10103 #include <X11/Xlib.h>
10104 #include <X11/extensions/Xinerama.h>
10106 main ()
10108 static typeof(XineramaQueryScreens) * func;
10110 return 0;
10112 _ACEOF
10113 rm -f conftest.$ac_objext
10114 if { (ac_try="$ac_compile"
10115 case "(($ac_try" in
10116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10117 *) ac_try_echo=$ac_try;;
10118 esac
10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10120 (eval "$ac_compile") 2>conftest.er1
10121 ac_status=$?
10122 grep -v '^ *+' conftest.er1 >conftest.err
10123 rm -f conftest.er1
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } && {
10127 test -z "$ac_c_werror_flag" ||
10128 test ! -s conftest.err
10129 } && test -s conftest.$ac_objext; then
10130 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10131 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10132 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 else
10135 ac_check_soname_save_LIBS=$LIBS
10136 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10137 cat >conftest.$ac_ext <<_ACEOF
10138 /* confdefs.h. */
10139 _ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10147 #ifdef __cplusplus
10148 extern "C"
10149 #endif
10150 char XineramaQueryScreens ();
10152 main ()
10154 return XineramaQueryScreens ();
10156 return 0;
10158 _ACEOF
10159 rm -f conftest.$ac_objext conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10164 esac
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>conftest.er1
10167 ac_status=$?
10168 grep -v '^ *+' conftest.er1 >conftest.err
10169 rm -f conftest.er1
10170 cat conftest.err >&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest$ac_exeext &&
10176 $as_test_x conftest$ac_exeext; then
10177 case "$LIBEXT" in
10178 dll) ;;
10179 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'` ;;
10180 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10181 esac
10182 else
10183 echo "$as_me: failed program was:" >&5
10184 sed 's/^/| /' conftest.$ac_ext >&5
10189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10190 conftest$ac_exeext conftest.$ac_ext
10191 LIBS=$ac_check_soname_save_LIBS
10193 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10194 { echo "$as_me:$LINENO: result: not found" >&5
10195 echo "${ECHO_T}not found" >&6; }
10197 else
10198 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10199 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10201 cat >>confdefs.h <<_ACEOF
10202 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10203 _ACEOF
10208 else
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.$ac_ext >&5
10215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10217 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10218 wine_notices="$wine_notices|Xinerama development files not found.
10219 Wine will be built without Xinerama support. (winex11.drv)"
10223 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10224 then
10225 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10226 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10227 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 else
10230 ac_check_soname_save_LIBS=$LIBS
10231 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10232 cat >conftest.$ac_ext <<_ACEOF
10233 /* confdefs.h. */
10234 _ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10242 #ifdef __cplusplus
10243 extern "C"
10244 #endif
10245 char XCompositeRedirectWindow ();
10247 main ()
10249 return XCompositeRedirectWindow ();
10251 return 0;
10253 _ACEOF
10254 rm -f conftest.$ac_objext conftest$ac_exeext
10255 if { (ac_try="$ac_link"
10256 case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10259 esac
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_link") 2>conftest.er1
10262 ac_status=$?
10263 grep -v '^ *+' conftest.er1 >conftest.err
10264 rm -f conftest.er1
10265 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && {
10268 test -z "$ac_c_werror_flag" ||
10269 test ! -s conftest.err
10270 } && test -s conftest$ac_exeext &&
10271 $as_test_x conftest$ac_exeext; then
10272 case "$LIBEXT" in
10273 dll) ;;
10274 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'` ;;
10275 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10276 esac
10277 else
10278 echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.$ac_ext >&5
10284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10285 conftest$ac_exeext conftest.$ac_ext
10286 LIBS=$ac_check_soname_save_LIBS
10288 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10289 { echo "$as_me:$LINENO: result: not found" >&5
10290 echo "${ECHO_T}not found" >&6; }
10292 else
10293 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10294 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10296 cat >>confdefs.h <<_ACEOF
10297 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10298 _ACEOF
10304 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10305 wine_notices="$wine_notices|XComposite development files not found.
10306 Wine will be built without XComposite support. (winex11.drv)"
10311 if test "x$with_opengl" != "xno"
10312 then
10317 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10319 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10320 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10322 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10323 echo $ECHO_N "(cached) $ECHO_C" >&6
10324 else
10325 cat >conftest.$ac_ext <<_ACEOF
10326 /* confdefs.h. */
10327 _ACEOF
10328 cat confdefs.h >>conftest.$ac_ext
10329 cat >>conftest.$ac_ext <<_ACEOF
10330 /* end confdefs.h. */
10331 #ifdef HAVE_GL_GLX_H
10332 # include <GL/glx.h>
10333 #endif
10335 #include <$ac_header>
10336 _ACEOF
10337 rm -f conftest.$ac_objext
10338 if { (ac_try="$ac_compile"
10339 case "(($ac_try" in
10340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10341 *) ac_try_echo=$ac_try;;
10342 esac
10343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10344 (eval "$ac_compile") 2>conftest.er1
10345 ac_status=$?
10346 grep -v '^ *+' conftest.er1 >conftest.err
10347 rm -f conftest.er1
10348 cat conftest.err >&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); } && {
10351 test -z "$ac_c_werror_flag" ||
10352 test ! -s conftest.err
10353 } && test -s conftest.$ac_objext; then
10354 eval "$as_ac_Header=yes"
10355 else
10356 echo "$as_me: failed program was:" >&5
10357 sed 's/^/| /' conftest.$ac_ext >&5
10359 eval "$as_ac_Header=no"
10362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10364 ac_res=`eval echo '${'$as_ac_Header'}'`
10365 { echo "$as_me:$LINENO: result: $ac_res" >&5
10366 echo "${ECHO_T}$ac_res" >&6; }
10367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10368 cat >>confdefs.h <<_ACEOF
10369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10370 _ACEOF
10374 done
10376 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10377 then
10378 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10379 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10380 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 else
10383 cat >conftest.$ac_ext <<_ACEOF
10384 /* confdefs.h. */
10385 _ACEOF
10386 cat confdefs.h >>conftest.$ac_ext
10387 cat >>conftest.$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10389 #include <GL/gl.h>
10391 main ()
10393 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10395 return 0;
10397 _ACEOF
10398 rm -f conftest.$ac_objext
10399 if { (ac_try="$ac_compile"
10400 case "(($ac_try" in
10401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10402 *) ac_try_echo=$ac_try;;
10403 esac
10404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10405 (eval "$ac_compile") 2>conftest.er1
10406 ac_status=$?
10407 grep -v '^ *+' conftest.er1 >conftest.err
10408 rm -f conftest.er1
10409 cat conftest.err >&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } && {
10412 test -z "$ac_c_werror_flag" ||
10413 test ! -s conftest.err
10414 } && test -s conftest.$ac_objext; then
10415 wine_cv_opengl_header_version_OK="yes"
10416 else
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.$ac_ext >&5
10420 wine_cv_opengl_header_version_OK="no"
10423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10425 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10426 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10428 if test "$wine_cv_opengl_header_version_OK" = "yes"
10429 then
10430 { echo "$as_me:$LINENO: checking for -lGL" >&5
10431 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10432 if test "${ac_cv_lib_soname_GL+set}" = set; then
10433 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 else
10435 ac_check_soname_save_LIBS=$LIBS
10436 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10437 cat >conftest.$ac_ext <<_ACEOF
10438 /* confdefs.h. */
10439 _ACEOF
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10447 #ifdef __cplusplus
10448 extern "C"
10449 #endif
10450 char glXCreateContext ();
10452 main ()
10454 return glXCreateContext ();
10456 return 0;
10458 _ACEOF
10459 rm -f conftest.$ac_objext conftest$ac_exeext
10460 if { (ac_try="$ac_link"
10461 case "(($ac_try" in
10462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10463 *) ac_try_echo=$ac_try;;
10464 esac
10465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10466 (eval "$ac_link") 2>conftest.er1
10467 ac_status=$?
10468 grep -v '^ *+' conftest.er1 >conftest.err
10469 rm -f conftest.er1
10470 cat conftest.err >&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } && {
10473 test -z "$ac_c_werror_flag" ||
10474 test ! -s conftest.err
10475 } && test -s conftest$ac_exeext &&
10476 $as_test_x conftest$ac_exeext; then
10477 case "$LIBEXT" in
10478 dll) ;;
10479 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'` ;;
10480 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10481 esac
10482 else
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.$ac_ext >&5
10489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10490 conftest$ac_exeext conftest.$ac_ext
10491 LIBS=$ac_check_soname_save_LIBS
10493 if test "x$ac_cv_lib_soname_GL" = "x"; then
10494 { echo "$as_me:$LINENO: result: not found" >&5
10495 echo "${ECHO_T}not found" >&6; }
10496 if test -f /usr/X11R6/lib/libGL.a
10497 then
10498 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10499 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10500 else
10501 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10502 Wine will be build without OpenGL or Direct3D support."
10504 else
10505 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10506 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10508 cat >>confdefs.h <<_ACEOF
10509 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10510 _ACEOF
10512 OPENGL_LIBS="-lGL"
10513 OPENGLFILES='$(OPENGLFILES)'
10515 cat >>confdefs.h <<\_ACEOF
10516 #define HAVE_OPENGL 1
10517 _ACEOF
10522 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10523 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10524 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 else
10527 ac_check_lib_save_LIBS=$LIBS
10528 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10529 cat >conftest.$ac_ext <<_ACEOF
10530 /* confdefs.h. */
10531 _ACEOF
10532 cat confdefs.h >>conftest.$ac_ext
10533 cat >>conftest.$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 /* Override any GCC internal prototype to avoid an error.
10537 Use char because int might match the return type of a GCC
10538 builtin and then its argument prototype would still apply. */
10539 #ifdef __cplusplus
10540 extern "C"
10541 #endif
10542 char gluLookAt ();
10544 main ()
10546 return gluLookAt ();
10548 return 0;
10550 _ACEOF
10551 rm -f conftest.$ac_objext conftest$ac_exeext
10552 if { (ac_try="$ac_link"
10553 case "(($ac_try" in
10554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10555 *) ac_try_echo=$ac_try;;
10556 esac
10557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10558 (eval "$ac_link") 2>conftest.er1
10559 ac_status=$?
10560 grep -v '^ *+' conftest.er1 >conftest.err
10561 rm -f conftest.er1
10562 cat conftest.err >&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); } && {
10565 test -z "$ac_c_werror_flag" ||
10566 test ! -s conftest.err
10567 } && test -s conftest$ac_exeext &&
10568 $as_test_x conftest$ac_exeext; then
10569 ac_cv_lib_GLU_gluLookAt=yes
10570 else
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.$ac_ext >&5
10574 ac_cv_lib_GLU_gluLookAt=no
10577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10578 conftest$ac_exeext conftest.$ac_ext
10579 LIBS=$ac_check_lib_save_LIBS
10581 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10582 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10583 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10584 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10585 GLU32FILES='$(GLU32FILES)'
10589 else
10590 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10591 Wine will be build without OpenGL or Direct3D support."
10593 else
10594 wine_warnings="$wine_warnings|OpenGL development headers not found.
10595 Wine will be build without OpenGL or Direct3D support."
10599 NASLIBS=""
10602 for ac_header in audio/audiolib.h
10604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 ac_res=`eval echo '${'$as_ac_Header'}'`
10612 { echo "$as_me:$LINENO: result: $ac_res" >&5
10613 echo "${ECHO_T}$ac_res" >&6; }
10614 else
10615 # Is the header compilable?
10616 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10617 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10618 cat >conftest.$ac_ext <<_ACEOF
10619 /* confdefs.h. */
10620 _ACEOF
10621 cat confdefs.h >>conftest.$ac_ext
10622 cat >>conftest.$ac_ext <<_ACEOF
10623 /* end confdefs.h. */
10624 $ac_includes_default
10625 #include <$ac_header>
10626 _ACEOF
10627 rm -f conftest.$ac_objext
10628 if { (ac_try="$ac_compile"
10629 case "(($ac_try" in
10630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10631 *) ac_try_echo=$ac_try;;
10632 esac
10633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10634 (eval "$ac_compile") 2>conftest.er1
10635 ac_status=$?
10636 grep -v '^ *+' conftest.er1 >conftest.err
10637 rm -f conftest.er1
10638 cat conftest.err >&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } && {
10641 test -z "$ac_c_werror_flag" ||
10642 test ! -s conftest.err
10643 } && test -s conftest.$ac_objext; then
10644 ac_header_compiler=yes
10645 else
10646 echo "$as_me: failed program was:" >&5
10647 sed 's/^/| /' conftest.$ac_ext >&5
10649 ac_header_compiler=no
10652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10654 echo "${ECHO_T}$ac_header_compiler" >&6; }
10656 # Is the header present?
10657 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10658 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10659 cat >conftest.$ac_ext <<_ACEOF
10660 /* confdefs.h. */
10661 _ACEOF
10662 cat confdefs.h >>conftest.$ac_ext
10663 cat >>conftest.$ac_ext <<_ACEOF
10664 /* end confdefs.h. */
10665 #include <$ac_header>
10666 _ACEOF
10667 if { (ac_try="$ac_cpp conftest.$ac_ext"
10668 case "(($ac_try" in
10669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10670 *) ac_try_echo=$ac_try;;
10671 esac
10672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10674 ac_status=$?
10675 grep -v '^ *+' conftest.er1 >conftest.err
10676 rm -f conftest.er1
10677 cat conftest.err >&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } >/dev/null && {
10680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10681 test ! -s conftest.err
10682 }; then
10683 ac_header_preproc=yes
10684 else
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.$ac_ext >&5
10688 ac_header_preproc=no
10691 rm -f conftest.err conftest.$ac_ext
10692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10693 echo "${ECHO_T}$ac_header_preproc" >&6; }
10695 # So? What about this header?
10696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10697 yes:no: )
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10702 ac_header_preproc=yes
10704 no:yes:* )
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10717 ( cat <<\_ASBOX
10718 ## ------------------------------------ ##
10719 ## Report this to wine-devel@winehq.org ##
10720 ## ------------------------------------ ##
10721 _ASBOX
10722 ) | sed "s/^/$as_me: WARNING: /" >&2
10724 esac
10725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 else
10730 eval "$as_ac_Header=\$ac_header_preproc"
10732 ac_res=`eval echo '${'$as_ac_Header'}'`
10733 { echo "$as_me:$LINENO: result: $ac_res" >&5
10734 echo "${ECHO_T}$ac_res" >&6; }
10737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10738 cat >>confdefs.h <<_ACEOF
10739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10740 _ACEOF
10742 for ac_header in audio/soundlib.h
10744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10748 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 else
10750 cat >conftest.$ac_ext <<_ACEOF
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #include <audio/audiolib.h>
10758 #include <$ac_header>
10759 _ACEOF
10760 rm -f conftest.$ac_objext
10761 if { (ac_try="$ac_compile"
10762 case "(($ac_try" in
10763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10764 *) ac_try_echo=$ac_try;;
10765 esac
10766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10767 (eval "$ac_compile") 2>conftest.er1
10768 ac_status=$?
10769 grep -v '^ *+' conftest.er1 >conftest.err
10770 rm -f conftest.er1
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } && {
10774 test -z "$ac_c_werror_flag" ||
10775 test ! -s conftest.err
10776 } && test -s conftest.$ac_objext; then
10777 eval "$as_ac_Header=yes"
10778 else
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.$ac_ext >&5
10782 eval "$as_ac_Header=no"
10785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10787 ac_res=`eval echo '${'$as_ac_Header'}'`
10788 { echo "$as_me:$LINENO: result: $ac_res" >&5
10789 echo "${ECHO_T}$ac_res" >&6; }
10790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10791 cat >>confdefs.h <<_ACEOF
10792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10793 _ACEOF
10797 done
10799 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10800 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10801 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10803 else
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10806 cat >conftest.$ac_ext <<_ACEOF
10807 /* confdefs.h. */
10808 _ACEOF
10809 cat confdefs.h >>conftest.$ac_ext
10810 cat >>conftest.$ac_ext <<_ACEOF
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10816 #ifdef __cplusplus
10817 extern "C"
10818 #endif
10819 char AuCreateFlow ();
10821 main ()
10823 return AuCreateFlow ();
10825 return 0;
10827 _ACEOF
10828 rm -f conftest.$ac_objext conftest$ac_exeext
10829 if { (ac_try="$ac_link"
10830 case "(($ac_try" in
10831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10832 *) ac_try_echo=$ac_try;;
10833 esac
10834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10835 (eval "$ac_link") 2>conftest.er1
10836 ac_status=$?
10837 grep -v '^ *+' conftest.er1 >conftest.err
10838 rm -f conftest.er1
10839 cat conftest.err >&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } && {
10842 test -z "$ac_c_werror_flag" ||
10843 test ! -s conftest.err
10844 } && test -s conftest$ac_exeext &&
10845 $as_test_x conftest$ac_exeext; then
10846 ac_cv_lib_audio_AuCreateFlow=yes
10847 else
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.$ac_ext >&5
10851 ac_cv_lib_audio_AuCreateFlow=no
10854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10859 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10860 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10862 cat >>confdefs.h <<\_ACEOF
10863 #define HAVE_NAS 1
10864 _ACEOF
10866 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10867 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10868 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 else
10871 ac_check_lib_save_LIBS=$LIBS
10872 LIBS="-lXau $X_LIBS $LIBS"
10873 cat >conftest.$ac_ext <<_ACEOF
10874 /* confdefs.h. */
10875 _ACEOF
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10883 #ifdef __cplusplus
10884 extern "C"
10885 #endif
10886 char XauGetBestAuthByAddr ();
10888 main ()
10890 return XauGetBestAuthByAddr ();
10892 return 0;
10894 _ACEOF
10895 rm -f conftest.$ac_objext conftest$ac_exeext
10896 if { (ac_try="$ac_link"
10897 case "(($ac_try" in
10898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10899 *) ac_try_echo=$ac_try;;
10900 esac
10901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10902 (eval "$ac_link") 2>conftest.er1
10903 ac_status=$?
10904 grep -v '^ *+' conftest.er1 >conftest.err
10905 rm -f conftest.er1
10906 cat conftest.err >&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); } && {
10909 test -z "$ac_c_werror_flag" ||
10910 test ! -s conftest.err
10911 } && test -s conftest$ac_exeext &&
10912 $as_test_x conftest$ac_exeext; then
10913 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10914 else
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.$ac_ext >&5
10918 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10922 conftest$ac_exeext conftest.$ac_ext
10923 LIBS=$ac_check_lib_save_LIBS
10925 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10926 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10927 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10928 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10929 else
10930 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10938 done
10941 CPPFLAGS="$ac_save_CPPFLAGS"
10942 XFILES='$(XFILES)'
10943 else
10944 XLIB=""
10945 X_CFLAGS=""
10946 X_LIBS=""
10947 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10948 without X support, which probably isn't what you want. You will need to install
10949 development packages of Xlib/Xfree86 at the very least."
10953 XML2LIBS=""
10955 XML2INCL=""
10957 XSLTLIBS=""
10959 XSLTINCL=""
10961 ac_save_CPPFLAGS="$CPPFLAGS"
10962 if test "$PKG_CONFIG" != "false"
10963 then
10964 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10965 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10966 else
10967 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10968 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10970 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10972 for ac_header in libxml/parser.h
10974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10976 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 ac_res=`eval echo '${'$as_ac_Header'}'`
10982 { echo "$as_me:$LINENO: result: $ac_res" >&5
10983 echo "${ECHO_T}$ac_res" >&6; }
10984 else
10985 # Is the header compilable?
10986 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10988 cat >conftest.$ac_ext <<_ACEOF
10989 /* confdefs.h. */
10990 _ACEOF
10991 cat confdefs.h >>conftest.$ac_ext
10992 cat >>conftest.$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10994 $ac_includes_default
10995 #include <$ac_header>
10996 _ACEOF
10997 rm -f conftest.$ac_objext
10998 if { (ac_try="$ac_compile"
10999 case "(($ac_try" in
11000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11001 *) ac_try_echo=$ac_try;;
11002 esac
11003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11004 (eval "$ac_compile") 2>conftest.er1
11005 ac_status=$?
11006 grep -v '^ *+' conftest.er1 >conftest.err
11007 rm -f conftest.er1
11008 cat conftest.err >&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } && {
11011 test -z "$ac_c_werror_flag" ||
11012 test ! -s conftest.err
11013 } && test -s conftest.$ac_objext; then
11014 ac_header_compiler=yes
11015 else
11016 echo "$as_me: failed program was:" >&5
11017 sed 's/^/| /' conftest.$ac_ext >&5
11019 ac_header_compiler=no
11022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11023 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11024 echo "${ECHO_T}$ac_header_compiler" >&6; }
11026 # Is the header present?
11027 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11029 cat >conftest.$ac_ext <<_ACEOF
11030 /* confdefs.h. */
11031 _ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11035 #include <$ac_header>
11036 _ACEOF
11037 if { (ac_try="$ac_cpp conftest.$ac_ext"
11038 case "(($ac_try" in
11039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11040 *) ac_try_echo=$ac_try;;
11041 esac
11042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11044 ac_status=$?
11045 grep -v '^ *+' conftest.er1 >conftest.err
11046 rm -f conftest.er1
11047 cat conftest.err >&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } >/dev/null && {
11050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11051 test ! -s conftest.err
11052 }; then
11053 ac_header_preproc=yes
11054 else
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11058 ac_header_preproc=no
11061 rm -f conftest.err conftest.$ac_ext
11062 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11063 echo "${ECHO_T}$ac_header_preproc" >&6; }
11065 # So? What about this header?
11066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11067 yes:no: )
11068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11071 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11072 ac_header_preproc=yes
11074 no:yes:* )
11075 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11076 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11078 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11080 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11081 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11082 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11084 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11086 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11087 ( cat <<\_ASBOX
11088 ## ------------------------------------ ##
11089 ## Report this to wine-devel@winehq.org ##
11090 ## ------------------------------------ ##
11091 _ASBOX
11092 ) | sed "s/^/$as_me: WARNING: /" >&2
11094 esac
11095 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 else
11100 eval "$as_ac_Header=\$ac_header_preproc"
11102 ac_res=`eval echo '${'$as_ac_Header'}'`
11103 { echo "$as_me:$LINENO: result: $ac_res" >&5
11104 echo "${ECHO_T}$ac_res" >&6; }
11107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11108 cat >>confdefs.h <<_ACEOF
11109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11110 _ACEOF
11111 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11112 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11113 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 else
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lxml2 $ac_xml_libs $LIBS"
11118 cat >conftest.$ac_ext <<_ACEOF
11119 /* confdefs.h. */
11120 _ACEOF
11121 cat confdefs.h >>conftest.$ac_ext
11122 cat >>conftest.$ac_ext <<_ACEOF
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char xmlParseMemory ();
11133 main ()
11135 return xmlParseMemory ();
11137 return 0;
11139 _ACEOF
11140 rm -f conftest.$ac_objext conftest$ac_exeext
11141 if { (ac_try="$ac_link"
11142 case "(($ac_try" in
11143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11145 esac
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_link") 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest$ac_exeext &&
11157 $as_test_x conftest$ac_exeext; then
11158 ac_cv_lib_xml2_xmlParseMemory=yes
11159 else
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 ac_cv_lib_xml2_xmlParseMemory=no
11166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11171 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11172 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11174 cat >>confdefs.h <<\_ACEOF
11175 #define HAVE_LIBXML2 1
11176 _ACEOF
11178 XML2LIBS="$ac_xml_libs"
11179 XML2INCL="$ac_xml_cflags"
11182 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11183 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11184 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 else
11187 ac_check_lib_save_LIBS=$LIBS
11188 LIBS="-lxml2 $ac_xml_libs $LIBS"
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11199 #ifdef __cplusplus
11200 extern "C"
11201 #endif
11202 char xmlReadMemory ();
11204 main ()
11206 return xmlReadMemory ();
11208 return 0;
11210 _ACEOF
11211 rm -f conftest.$ac_objext conftest$ac_exeext
11212 if { (ac_try="$ac_link"
11213 case "(($ac_try" in
11214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215 *) ac_try_echo=$ac_try;;
11216 esac
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_link") 2>conftest.er1
11219 ac_status=$?
11220 grep -v '^ *+' conftest.er1 >conftest.err
11221 rm -f conftest.er1
11222 cat conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } && {
11225 test -z "$ac_c_werror_flag" ||
11226 test ! -s conftest.err
11227 } && test -s conftest$ac_exeext &&
11228 $as_test_x conftest$ac_exeext; then
11229 ac_cv_lib_xml2_xmlReadMemory=yes
11230 else
11231 echo "$as_me: failed program was:" >&5
11232 sed 's/^/| /' conftest.$ac_ext >&5
11234 ac_cv_lib_xml2_xmlReadMemory=no
11237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_lib_save_LIBS
11241 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11242 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11243 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11245 cat >>confdefs.h <<\_ACEOF
11246 #define HAVE_XMLREADMEMORY 1
11247 _ACEOF
11251 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11252 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11253 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 else
11256 ac_check_lib_save_LIBS=$LIBS
11257 LIBS="-lxml2 $ac_xml_libs $LIBS"
11258 cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h. */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char xmlNewDocPI ();
11273 main ()
11275 return xmlNewDocPI ();
11277 return 0;
11279 _ACEOF
11280 rm -f conftest.$ac_objext conftest$ac_exeext
11281 if { (ac_try="$ac_link"
11282 case "(($ac_try" in
11283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11285 esac
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 (eval "$ac_link") 2>conftest.er1
11288 ac_status=$?
11289 grep -v '^ *+' conftest.er1 >conftest.err
11290 rm -f conftest.er1
11291 cat conftest.err >&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } && {
11294 test -z "$ac_c_werror_flag" ||
11295 test ! -s conftest.err
11296 } && test -s conftest$ac_exeext &&
11297 $as_test_x conftest$ac_exeext; then
11298 ac_cv_lib_xml2_xmlNewDocPI=yes
11299 else
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.$ac_ext >&5
11303 ac_cv_lib_xml2_xmlNewDocPI=no
11306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11310 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11311 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11312 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11314 cat >>confdefs.h <<\_ACEOF
11315 #define HAVE_XMLNEWDOCPI 1
11316 _ACEOF
11323 done
11325 CPPFLAGS="$ac_save_CPPFLAGS"
11326 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11327 wine_notices="$wine_notices|libxml2 development files not found.
11328 Wine will be built without XML support. (msxml.dll)"
11332 if test "$PKG_CONFIG" != "false"
11333 then
11334 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11335 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11336 else
11337 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11338 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11340 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11343 for ac_header in libxslt/pattern.h libxslt/transform.h
11345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11346 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 else
11351 cat >conftest.$ac_ext <<_ACEOF
11352 /* confdefs.h. */
11353 _ACEOF
11354 cat confdefs.h >>conftest.$ac_ext
11355 cat >>conftest.$ac_ext <<_ACEOF
11356 /* end confdefs.h. */
11357 #ifdef HAVE_LIBXSLT_PATTERN_H
11358 # include <libxslt/pattern.h>
11359 #endif
11361 #include <$ac_header>
11362 _ACEOF
11363 rm -f conftest.$ac_objext
11364 if { (ac_try="$ac_compile"
11365 case "(($ac_try" in
11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11367 *) ac_try_echo=$ac_try;;
11368 esac
11369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11370 (eval "$ac_compile") 2>conftest.er1
11371 ac_status=$?
11372 grep -v '^ *+' conftest.er1 >conftest.err
11373 rm -f conftest.er1
11374 cat conftest.err >&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } && {
11377 test -z "$ac_c_werror_flag" ||
11378 test ! -s conftest.err
11379 } && test -s conftest.$ac_objext; then
11380 eval "$as_ac_Header=yes"
11381 else
11382 echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.$ac_ext >&5
11385 eval "$as_ac_Header=no"
11388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11390 ac_res=`eval echo '${'$as_ac_Header'}'`
11391 { echo "$as_me:$LINENO: result: $ac_res" >&5
11392 echo "${ECHO_T}$ac_res" >&6; }
11393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11394 cat >>confdefs.h <<_ACEOF
11395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11396 _ACEOF
11397 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11398 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11399 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 else
11402 ac_check_lib_save_LIBS=$LIBS
11403 LIBS="-lxslt $ac_xslt_libs $LIBS"
11404 cat >conftest.$ac_ext <<_ACEOF
11405 /* confdefs.h. */
11406 _ACEOF
11407 cat confdefs.h >>conftest.$ac_ext
11408 cat >>conftest.$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char xsltCompilePattern ();
11419 main ()
11421 return xsltCompilePattern ();
11423 return 0;
11425 _ACEOF
11426 rm -f conftest.$ac_objext conftest$ac_exeext
11427 if { (ac_try="$ac_link"
11428 case "(($ac_try" in
11429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11430 *) ac_try_echo=$ac_try;;
11431 esac
11432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433 (eval "$ac_link") 2>conftest.er1
11434 ac_status=$?
11435 grep -v '^ *+' conftest.er1 >conftest.err
11436 rm -f conftest.er1
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } && {
11440 test -z "$ac_c_werror_flag" ||
11441 test ! -s conftest.err
11442 } && test -s conftest$ac_exeext &&
11443 $as_test_x conftest$ac_exeext; then
11444 ac_cv_lib_xslt_xsltCompilePattern=yes
11445 else
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.$ac_ext >&5
11449 ac_cv_lib_xslt_xsltCompilePattern=no
11452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11453 conftest$ac_exeext conftest.$ac_ext
11454 LIBS=$ac_check_lib_save_LIBS
11456 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11457 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11458 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11460 cat >>confdefs.h <<\_ACEOF
11461 #define HAVE_LIBXSLT 1
11462 _ACEOF
11464 XSLTLIBS="$ac_xslt_libs"
11465 XSLTINCL="$ac_xslt_cflags"
11471 done
11473 CPPFLAGS="$ac_save_CPPFLAGS"
11474 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11475 wine_notices="$wine_notices|libxslt development files not found.
11476 Wine will be built without xslt support. (msxml.dll)"
11480 HALINCL=""
11482 if test "$PKG_CONFIG" != "false"
11483 then
11484 ac_save_CPPFLAGS="$CPPFLAGS"
11485 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11486 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11487 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11490 for ac_header in dbus/dbus.h hal/libhal.h
11492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11494 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11499 ac_res=`eval echo '${'$as_ac_Header'}'`
11500 { echo "$as_me:$LINENO: result: $ac_res" >&5
11501 echo "${ECHO_T}$ac_res" >&6; }
11502 else
11503 # Is the header compilable?
11504 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11506 cat >conftest.$ac_ext <<_ACEOF
11507 /* confdefs.h. */
11508 _ACEOF
11509 cat confdefs.h >>conftest.$ac_ext
11510 cat >>conftest.$ac_ext <<_ACEOF
11511 /* end confdefs.h. */
11512 $ac_includes_default
11513 #include <$ac_header>
11514 _ACEOF
11515 rm -f conftest.$ac_objext
11516 if { (ac_try="$ac_compile"
11517 case "(($ac_try" in
11518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11519 *) ac_try_echo=$ac_try;;
11520 esac
11521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11522 (eval "$ac_compile") 2>conftest.er1
11523 ac_status=$?
11524 grep -v '^ *+' conftest.er1 >conftest.err
11525 rm -f conftest.er1
11526 cat conftest.err >&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } && {
11529 test -z "$ac_c_werror_flag" ||
11530 test ! -s conftest.err
11531 } && test -s conftest.$ac_objext; then
11532 ac_header_compiler=yes
11533 else
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.$ac_ext >&5
11537 ac_header_compiler=no
11540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11542 echo "${ECHO_T}$ac_header_compiler" >&6; }
11544 # Is the header present?
11545 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11547 cat >conftest.$ac_ext <<_ACEOF
11548 /* confdefs.h. */
11549 _ACEOF
11550 cat confdefs.h >>conftest.$ac_ext
11551 cat >>conftest.$ac_ext <<_ACEOF
11552 /* end confdefs.h. */
11553 #include <$ac_header>
11554 _ACEOF
11555 if { (ac_try="$ac_cpp conftest.$ac_ext"
11556 case "(($ac_try" in
11557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11558 *) ac_try_echo=$ac_try;;
11559 esac
11560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11562 ac_status=$?
11563 grep -v '^ *+' conftest.er1 >conftest.err
11564 rm -f conftest.er1
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } >/dev/null && {
11568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11569 test ! -s conftest.err
11570 }; then
11571 ac_header_preproc=yes
11572 else
11573 echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.$ac_ext >&5
11576 ac_header_preproc=no
11579 rm -f conftest.err conftest.$ac_ext
11580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11581 echo "${ECHO_T}$ac_header_preproc" >&6; }
11583 # So? What about this header?
11584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11585 yes:no: )
11586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11590 ac_header_preproc=yes
11592 no:yes:* )
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11605 ( cat <<\_ASBOX
11606 ## ------------------------------------ ##
11607 ## Report this to wine-devel@winehq.org ##
11608 ## ------------------------------------ ##
11609 _ASBOX
11610 ) | sed "s/^/$as_me: WARNING: /" >&2
11612 esac
11613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 else
11618 eval "$as_ac_Header=\$ac_header_preproc"
11620 ac_res=`eval echo '${'$as_ac_Header'}'`
11621 { echo "$as_me:$LINENO: result: $ac_res" >&5
11622 echo "${ECHO_T}$ac_res" >&6; }
11625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11626 cat >>confdefs.h <<_ACEOF
11627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11628 _ACEOF
11632 done
11634 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11635 then
11636 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11637 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11638 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 else
11641 ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11643 cat >conftest.$ac_ext <<_ACEOF
11644 /* confdefs.h. */
11645 _ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11653 #ifdef __cplusplus
11654 extern "C"
11655 #endif
11656 char dbus_connection_close ();
11658 main ()
11660 return dbus_connection_close ();
11662 return 0;
11664 _ACEOF
11665 rm -f conftest.$ac_objext conftest$ac_exeext
11666 if { (ac_try="$ac_link"
11667 case "(($ac_try" in
11668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11669 *) ac_try_echo=$ac_try;;
11670 esac
11671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11672 (eval "$ac_link") 2>conftest.er1
11673 ac_status=$?
11674 grep -v '^ *+' conftest.er1 >conftest.err
11675 rm -f conftest.er1
11676 cat conftest.err >&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } && {
11679 test -z "$ac_c_werror_flag" ||
11680 test ! -s conftest.err
11681 } && test -s conftest$ac_exeext &&
11682 $as_test_x conftest$ac_exeext; then
11683 ac_cv_lib_dbus_1_dbus_connection_close=yes
11684 else
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11688 ac_cv_lib_dbus_1_dbus_connection_close=no
11691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11692 conftest$ac_exeext conftest.$ac_ext
11693 LIBS=$ac_check_lib_save_LIBS
11695 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11696 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11697 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11698 { echo "$as_me:$LINENO: checking for -lhal" >&5
11699 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11700 if test "${ac_cv_lib_soname_hal+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11702 else
11703 ac_check_soname_save_LIBS=$LIBS
11704 LIBS="-lhal $ac_hal_libs $LIBS"
11705 cat >conftest.$ac_ext <<_ACEOF
11706 /* confdefs.h. */
11707 _ACEOF
11708 cat confdefs.h >>conftest.$ac_ext
11709 cat >>conftest.$ac_ext <<_ACEOF
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11715 #ifdef __cplusplus
11716 extern "C"
11717 #endif
11718 char libhal_ctx_new ();
11720 main ()
11722 return libhal_ctx_new ();
11724 return 0;
11726 _ACEOF
11727 rm -f conftest.$ac_objext conftest$ac_exeext
11728 if { (ac_try="$ac_link"
11729 case "(($ac_try" in
11730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11731 *) ac_try_echo=$ac_try;;
11732 esac
11733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11734 (eval "$ac_link") 2>conftest.er1
11735 ac_status=$?
11736 grep -v '^ *+' conftest.er1 >conftest.err
11737 rm -f conftest.er1
11738 cat conftest.err >&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } && {
11741 test -z "$ac_c_werror_flag" ||
11742 test ! -s conftest.err
11743 } && test -s conftest$ac_exeext &&
11744 $as_test_x conftest$ac_exeext; then
11745 case "$LIBEXT" in
11746 dll) ;;
11747 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'` ;;
11748 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11749 esac
11750 else
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.$ac_ext >&5
11757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if test "x$ac_cv_lib_soname_hal" = "x"; then
11762 { echo "$as_me:$LINENO: result: not found" >&5
11763 echo "${ECHO_T}not found" >&6; }
11765 else
11766 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11767 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11771 _ACEOF
11773 HALINCL="$ac_hal_cflags"
11779 CPPFLAGS="$ac_save_CPPFLAGS"
11781 if test "x$ac_cv_lib_soname_hal" = "x"; then
11782 wine_notices="$wine_notices|libhal development files not found.
11783 Wine will be built without dynamic device support. (explorer.exe)"
11787 CURSESLIBS=""
11788 if test "$ac_cv_header_ncurses_h" = "yes"
11789 then
11790 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11791 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11792 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 else
11795 ac_check_soname_save_LIBS=$LIBS
11796 LIBS="-lncurses $LIBS"
11797 cat >conftest.$ac_ext <<_ACEOF
11798 /* confdefs.h. */
11799 _ACEOF
11800 cat confdefs.h >>conftest.$ac_ext
11801 cat >>conftest.$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char waddch ();
11812 main ()
11814 return waddch ();
11816 return 0;
11818 _ACEOF
11819 rm -f conftest.$ac_objext conftest$ac_exeext
11820 if { (ac_try="$ac_link"
11821 case "(($ac_try" in
11822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11823 *) ac_try_echo=$ac_try;;
11824 esac
11825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11826 (eval "$ac_link") 2>conftest.er1
11827 ac_status=$?
11828 grep -v '^ *+' conftest.er1 >conftest.err
11829 rm -f conftest.er1
11830 cat conftest.err >&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } && {
11833 test -z "$ac_c_werror_flag" ||
11834 test ! -s conftest.err
11835 } && test -s conftest$ac_exeext &&
11836 $as_test_x conftest$ac_exeext; then
11837 case "$LIBEXT" in
11838 dll) ;;
11839 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'` ;;
11840 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11841 esac
11842 else
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.$ac_ext >&5
11849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11850 conftest$ac_exeext conftest.$ac_ext
11851 LIBS=$ac_check_soname_save_LIBS
11853 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11854 { echo "$as_me:$LINENO: result: not found" >&5
11855 echo "${ECHO_T}not found" >&6; }
11857 else
11858 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11859 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11861 cat >>confdefs.h <<_ACEOF
11862 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11863 _ACEOF
11865 CURSESLIBS="-lncurses"
11868 elif test "$ac_cv_header_curses_h" = "yes"
11869 then
11870 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11871 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11872 if test "${ac_cv_lib_soname_curses+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 else
11875 ac_check_soname_save_LIBS=$LIBS
11876 LIBS="-lcurses $LIBS"
11877 cat >conftest.$ac_ext <<_ACEOF
11878 /* confdefs.h. */
11879 _ACEOF
11880 cat confdefs.h >>conftest.$ac_ext
11881 cat >>conftest.$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char waddch ();
11892 main ()
11894 return waddch ();
11896 return 0;
11898 _ACEOF
11899 rm -f conftest.$ac_objext conftest$ac_exeext
11900 if { (ac_try="$ac_link"
11901 case "(($ac_try" in
11902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11903 *) ac_try_echo=$ac_try;;
11904 esac
11905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11906 (eval "$ac_link") 2>conftest.er1
11907 ac_status=$?
11908 grep -v '^ *+' conftest.er1 >conftest.err
11909 rm -f conftest.er1
11910 cat conftest.err >&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); } && {
11913 test -z "$ac_c_werror_flag" ||
11914 test ! -s conftest.err
11915 } && test -s conftest$ac_exeext &&
11916 $as_test_x conftest$ac_exeext; then
11917 case "$LIBEXT" in
11918 dll) ;;
11919 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'` ;;
11920 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11921 esac
11922 else
11923 echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.$ac_ext >&5
11929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11930 conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_soname_save_LIBS
11933 if test "x$ac_cv_lib_soname_curses" = "x"; then
11934 { echo "$as_me:$LINENO: result: not found" >&5
11935 echo "${ECHO_T}not found" >&6; }
11937 else
11938 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11939 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11941 cat >>confdefs.h <<_ACEOF
11942 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11943 _ACEOF
11945 CURSESLIBS="-lcurses"
11949 ac_save_LIBS="$LIBS"
11950 LIBS="$LIBS $CURSESLIBS"
11952 for ac_func in mousemask
11954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11955 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11957 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11959 else
11960 cat >conftest.$ac_ext <<_ACEOF
11961 /* confdefs.h. */
11962 _ACEOF
11963 cat confdefs.h >>conftest.$ac_ext
11964 cat >>conftest.$ac_ext <<_ACEOF
11965 /* end confdefs.h. */
11966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11968 #define $ac_func innocuous_$ac_func
11970 /* System header to define __stub macros and hopefully few prototypes,
11971 which can conflict with char $ac_func (); below.
11972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11973 <limits.h> exists even on freestanding compilers. */
11975 #ifdef __STDC__
11976 # include <limits.h>
11977 #else
11978 # include <assert.h>
11979 #endif
11981 #undef $ac_func
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11986 #ifdef __cplusplus
11987 extern "C"
11988 #endif
11989 char $ac_func ();
11990 /* The GNU C library defines this for functions which it implements
11991 to always fail with ENOSYS. Some functions are actually named
11992 something starting with __ and the normal name is an alias. */
11993 #if defined __stub_$ac_func || defined __stub___$ac_func
11994 choke me
11995 #endif
11998 main ()
12000 return $ac_func ();
12002 return 0;
12004 _ACEOF
12005 rm -f conftest.$ac_objext conftest$ac_exeext
12006 if { (ac_try="$ac_link"
12007 case "(($ac_try" in
12008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12009 *) ac_try_echo=$ac_try;;
12010 esac
12011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12012 (eval "$ac_link") 2>conftest.er1
12013 ac_status=$?
12014 grep -v '^ *+' conftest.er1 >conftest.err
12015 rm -f conftest.er1
12016 cat conftest.err >&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } && {
12019 test -z "$ac_c_werror_flag" ||
12020 test ! -s conftest.err
12021 } && test -s conftest$ac_exeext &&
12022 $as_test_x conftest$ac_exeext; then
12023 eval "$as_ac_var=yes"
12024 else
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.$ac_ext >&5
12028 eval "$as_ac_var=no"
12031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12032 conftest$ac_exeext conftest.$ac_ext
12034 ac_res=`eval echo '${'$as_ac_var'}'`
12035 { echo "$as_me:$LINENO: result: $ac_res" >&5
12036 echo "${ECHO_T}$ac_res" >&6; }
12037 if test `eval echo '${'$as_ac_var'}'` = yes; then
12038 cat >>confdefs.h <<_ACEOF
12039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12040 _ACEOF
12043 done
12045 LIBS="$ac_save_LIBS"
12046 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12047 wine_notices="$wine_notices|lib(n)curses development files not found.
12048 Wine will be built without (n)curses support. (wineconsole.exe)"
12052 # Extract the first word of "sane-config", so it can be a program name with args.
12053 set dummy sane-config; ac_word=$2
12054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12056 if test "${ac_cv_prog_sane_devel+set}" = set; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 else
12059 if test -n "$sane_devel"; then
12060 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12061 else
12062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12063 for as_dir in $PATH
12065 IFS=$as_save_IFS
12066 test -z "$as_dir" && as_dir=.
12067 for ac_exec_ext in '' $ac_executable_extensions; do
12068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12069 ac_cv_prog_sane_devel="sane-config"
12070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12071 break 2
12073 done
12074 done
12075 IFS=$as_save_IFS
12077 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12080 sane_devel=$ac_cv_prog_sane_devel
12081 if test -n "$sane_devel"; then
12082 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12083 echo "${ECHO_T}$sane_devel" >&6; }
12084 else
12085 { echo "$as_me:$LINENO: result: no" >&5
12086 echo "${ECHO_T}no" >&6; }
12090 if test "$sane_devel" != "no"
12091 then
12092 ac_sane_incl="`$sane_devel --cflags`"
12093 ac_save_CPPFLAGS="$CPPFLAGS"
12094 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12095 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12096 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12097 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12098 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12102 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12103 else
12104 # Is the header compilable?
12105 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12106 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12107 cat >conftest.$ac_ext <<_ACEOF
12108 /* confdefs.h. */
12109 _ACEOF
12110 cat confdefs.h >>conftest.$ac_ext
12111 cat >>conftest.$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12113 $ac_includes_default
12114 #include <sane/sane.h>
12115 _ACEOF
12116 rm -f conftest.$ac_objext
12117 if { (ac_try="$ac_compile"
12118 case "(($ac_try" in
12119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12120 *) ac_try_echo=$ac_try;;
12121 esac
12122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12123 (eval "$ac_compile") 2>conftest.er1
12124 ac_status=$?
12125 grep -v '^ *+' conftest.er1 >conftest.err
12126 rm -f conftest.er1
12127 cat conftest.err >&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); } && {
12130 test -z "$ac_c_werror_flag" ||
12131 test ! -s conftest.err
12132 } && test -s conftest.$ac_objext; then
12133 ac_header_compiler=yes
12134 else
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.$ac_ext >&5
12138 ac_header_compiler=no
12141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12142 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12143 echo "${ECHO_T}$ac_header_compiler" >&6; }
12145 # Is the header present?
12146 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12147 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12148 cat >conftest.$ac_ext <<_ACEOF
12149 /* confdefs.h. */
12150 _ACEOF
12151 cat confdefs.h >>conftest.$ac_ext
12152 cat >>conftest.$ac_ext <<_ACEOF
12153 /* end confdefs.h. */
12154 #include <sane/sane.h>
12155 _ACEOF
12156 if { (ac_try="$ac_cpp conftest.$ac_ext"
12157 case "(($ac_try" in
12158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12159 *) ac_try_echo=$ac_try;;
12160 esac
12161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12163 ac_status=$?
12164 grep -v '^ *+' conftest.er1 >conftest.err
12165 rm -f conftest.er1
12166 cat conftest.err >&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } >/dev/null && {
12169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12170 test ! -s conftest.err
12171 }; then
12172 ac_header_preproc=yes
12173 else
12174 echo "$as_me: failed program was:" >&5
12175 sed 's/^/| /' conftest.$ac_ext >&5
12177 ac_header_preproc=no
12180 rm -f conftest.err conftest.$ac_ext
12181 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12182 echo "${ECHO_T}$ac_header_preproc" >&6; }
12184 # So? What about this header?
12185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12186 yes:no: )
12187 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12188 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12189 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12190 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12191 ac_header_preproc=yes
12193 no:yes:* )
12194 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12195 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12197 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12199 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12201 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12202 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12203 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12205 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12206 ( cat <<\_ASBOX
12207 ## ------------------------------------ ##
12208 ## Report this to wine-devel@winehq.org ##
12209 ## ------------------------------------ ##
12210 _ASBOX
12211 ) | sed "s/^/$as_me: WARNING: /" >&2
12213 esac
12214 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12215 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12216 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12218 else
12219 ac_cv_header_sane_sane_h=$ac_header_preproc
12221 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12222 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12225 if test $ac_cv_header_sane_sane_h = yes; then
12226 { echo "$as_me:$LINENO: checking for -lsane" >&5
12227 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12228 if test "${ac_cv_lib_soname_sane+set}" = set; then
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
12230 else
12231 ac_check_soname_save_LIBS=$LIBS
12232 LIBS="-lsane $LIBS"
12233 cat >conftest.$ac_ext <<_ACEOF
12234 /* confdefs.h. */
12235 _ACEOF
12236 cat confdefs.h >>conftest.$ac_ext
12237 cat >>conftest.$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12240 /* Override any GCC internal prototype to avoid an error.
12241 Use char because int might match the return type of a GCC
12242 builtin and then its argument prototype would still apply. */
12243 #ifdef __cplusplus
12244 extern "C"
12245 #endif
12246 char sane_init ();
12248 main ()
12250 return sane_init ();
12252 return 0;
12254 _ACEOF
12255 rm -f conftest.$ac_objext conftest$ac_exeext
12256 if { (ac_try="$ac_link"
12257 case "(($ac_try" in
12258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12259 *) ac_try_echo=$ac_try;;
12260 esac
12261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12262 (eval "$ac_link") 2>conftest.er1
12263 ac_status=$?
12264 grep -v '^ *+' conftest.er1 >conftest.err
12265 rm -f conftest.er1
12266 cat conftest.err >&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } && {
12269 test -z "$ac_c_werror_flag" ||
12270 test ! -s conftest.err
12271 } && test -s conftest$ac_exeext &&
12272 $as_test_x conftest$ac_exeext; then
12273 case "$LIBEXT" in
12274 dll) ;;
12275 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'` ;;
12276 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12277 esac
12278 else
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.$ac_ext >&5
12285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12286 conftest$ac_exeext conftest.$ac_ext
12287 LIBS=$ac_check_soname_save_LIBS
12289 if test "x$ac_cv_lib_soname_sane" = "x"; then
12290 { echo "$as_me:$LINENO: result: not found" >&5
12291 echo "${ECHO_T}not found" >&6; }
12293 else
12294 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12295 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12297 cat >>confdefs.h <<_ACEOF
12298 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12299 _ACEOF
12301 SANEINCL="$ac_sane_incl"
12308 CPPFLAGS="$ac_save_CPPFLAGS"
12310 if test "x$ac_cv_lib_soname_sane" = "x"; then
12311 wine_notices="$wine_notices|libsane development files not found.
12312 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12316 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12317 set dummy gphoto2-config; ac_word=$2
12318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12320 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 else
12323 if test -n "$gphoto2_devel"; then
12324 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12325 else
12326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12327 for as_dir in $PATH
12329 IFS=$as_save_IFS
12330 test -z "$as_dir" && as_dir=.
12331 for ac_exec_ext in '' $ac_executable_extensions; do
12332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12333 ac_cv_prog_gphoto2_devel="gphoto2-config"
12334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12335 break 2
12337 done
12338 done
12339 IFS=$as_save_IFS
12341 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12344 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12345 if test -n "$gphoto2_devel"; then
12346 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12347 echo "${ECHO_T}$gphoto2_devel" >&6; }
12348 else
12349 { echo "$as_me:$LINENO: result: no" >&5
12350 echo "${ECHO_T}no" >&6; }
12354 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12355 set dummy gphoto2-port-config; ac_word=$2
12356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12358 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12360 else
12361 if test -n "$gphoto2port_devel"; then
12362 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12363 else
12364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 for as_dir in $PATH
12367 IFS=$as_save_IFS
12368 test -z "$as_dir" && as_dir=.
12369 for ac_exec_ext in '' $ac_executable_extensions; do
12370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12371 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12373 break 2
12375 done
12376 done
12377 IFS=$as_save_IFS
12379 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12382 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12383 if test -n "$gphoto2port_devel"; then
12384 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12385 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12386 else
12387 { echo "$as_me:$LINENO: result: no" >&5
12388 echo "${ECHO_T}no" >&6; }
12392 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12393 then
12394 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12395 ac_gphoto2_libs=""
12396 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12398 case "$i" in
12399 -L/usr/lib|-L/usr/lib64) ;;
12400 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12401 esac
12402 done
12403 ac_save_CPPFLAGS="$CPPFLAGS"
12404 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12405 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12406 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12407 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12408 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12412 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12413 else
12414 # Is the header compilable?
12415 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12416 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12417 cat >conftest.$ac_ext <<_ACEOF
12418 /* confdefs.h. */
12419 _ACEOF
12420 cat confdefs.h >>conftest.$ac_ext
12421 cat >>conftest.$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12423 $ac_includes_default
12424 #include <gphoto2-camera.h>
12425 _ACEOF
12426 rm -f conftest.$ac_objext
12427 if { (ac_try="$ac_compile"
12428 case "(($ac_try" in
12429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12430 *) ac_try_echo=$ac_try;;
12431 esac
12432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12433 (eval "$ac_compile") 2>conftest.er1
12434 ac_status=$?
12435 grep -v '^ *+' conftest.er1 >conftest.err
12436 rm -f conftest.er1
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } && {
12440 test -z "$ac_c_werror_flag" ||
12441 test ! -s conftest.err
12442 } && test -s conftest.$ac_objext; then
12443 ac_header_compiler=yes
12444 else
12445 echo "$as_me: failed program was:" >&5
12446 sed 's/^/| /' conftest.$ac_ext >&5
12448 ac_header_compiler=no
12451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12452 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12453 echo "${ECHO_T}$ac_header_compiler" >&6; }
12455 # Is the header present?
12456 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12457 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h. */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464 #include <gphoto2-camera.h>
12465 _ACEOF
12466 if { (ac_try="$ac_cpp conftest.$ac_ext"
12467 case "(($ac_try" in
12468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12469 *) ac_try_echo=$ac_try;;
12470 esac
12471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12473 ac_status=$?
12474 grep -v '^ *+' conftest.er1 >conftest.err
12475 rm -f conftest.er1
12476 cat conftest.err >&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } >/dev/null && {
12479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12480 test ! -s conftest.err
12481 }; then
12482 ac_header_preproc=yes
12483 else
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.$ac_ext >&5
12487 ac_header_preproc=no
12490 rm -f conftest.err conftest.$ac_ext
12491 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12492 echo "${ECHO_T}$ac_header_preproc" >&6; }
12494 # So? What about this header?
12495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12496 yes:no: )
12497 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12498 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12499 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12500 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12501 ac_header_preproc=yes
12503 no:yes:* )
12504 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12505 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12507 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12508 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12509 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12510 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12511 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12512 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12513 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12515 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12516 ( cat <<\_ASBOX
12517 ## ------------------------------------ ##
12518 ## Report this to wine-devel@winehq.org ##
12519 ## ------------------------------------ ##
12520 _ASBOX
12521 ) | sed "s/^/$as_me: WARNING: /" >&2
12523 esac
12524 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12525 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12526 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12528 else
12529 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12531 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12532 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12535 if test $ac_cv_header_gphoto2_camera_h = yes; then
12536 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12537 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12538 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 else
12541 ac_check_lib_save_LIBS=$LIBS
12542 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12543 cat >conftest.$ac_ext <<_ACEOF
12544 /* confdefs.h. */
12545 _ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12553 #ifdef __cplusplus
12554 extern "C"
12555 #endif
12556 char gp_camera_new ();
12558 main ()
12560 return gp_camera_new ();
12562 return 0;
12564 _ACEOF
12565 rm -f conftest.$ac_objext conftest$ac_exeext
12566 if { (ac_try="$ac_link"
12567 case "(($ac_try" in
12568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12569 *) ac_try_echo=$ac_try;;
12570 esac
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>conftest.er1
12573 ac_status=$?
12574 grep -v '^ *+' conftest.er1 >conftest.err
12575 rm -f conftest.er1
12576 cat conftest.err >&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } && {
12579 test -z "$ac_c_werror_flag" ||
12580 test ! -s conftest.err
12581 } && test -s conftest$ac_exeext &&
12582 $as_test_x conftest$ac_exeext; then
12583 ac_cv_lib_gphoto2_gp_camera_new=yes
12584 else
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.$ac_ext >&5
12588 ac_cv_lib_gphoto2_gp_camera_new=no
12591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12592 conftest$ac_exeext conftest.$ac_ext
12593 LIBS=$ac_check_lib_save_LIBS
12595 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12596 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12597 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12599 cat >>confdefs.h <<\_ACEOF
12600 #define HAVE_GPHOTO2 1
12601 _ACEOF
12603 GPHOTO2LIBS="$ac_gphoto2_libs"
12605 GPHOTO2INCL="$ac_gphoto2_incl"
12612 CPPFLAGS="$ac_save_CPPFLAGS"
12614 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12615 wine_notices="$wine_notices|libgphoto2 development files not found.
12616 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12621 RESOLVLIBS=""
12623 if test "$ac_cv_header_resolv_h" = "yes"
12624 then
12625 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12626 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12627 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12628 echo $ECHO_N "(cached) $ECHO_C" >&6
12629 else
12630 ac_check_lib_save_LIBS=$LIBS
12631 LIBS="-lresolv $LIBS"
12632 cat >conftest.$ac_ext <<_ACEOF
12633 /* confdefs.h. */
12634 _ACEOF
12635 cat confdefs.h >>conftest.$ac_ext
12636 cat >>conftest.$ac_ext <<_ACEOF
12637 /* end confdefs.h. */
12639 /* Override any GCC internal prototype to avoid an error.
12640 Use char because int might match the return type of a GCC
12641 builtin and then its argument prototype would still apply. */
12642 #ifdef __cplusplus
12643 extern "C"
12644 #endif
12645 char res_query ();
12647 main ()
12649 return res_query ();
12651 return 0;
12653 _ACEOF
12654 rm -f conftest.$ac_objext conftest$ac_exeext
12655 if { (ac_try="$ac_link"
12656 case "(($ac_try" in
12657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12659 esac
12660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12661 (eval "$ac_link") 2>conftest.er1
12662 ac_status=$?
12663 grep -v '^ *+' conftest.er1 >conftest.err
12664 rm -f conftest.er1
12665 cat conftest.err >&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } && {
12668 test -z "$ac_c_werror_flag" ||
12669 test ! -s conftest.err
12670 } && test -s conftest$ac_exeext &&
12671 $as_test_x conftest$ac_exeext; then
12672 ac_cv_lib_resolv_res_query=yes
12673 else
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.$ac_ext >&5
12677 ac_cv_lib_resolv_res_query=no
12680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12681 conftest$ac_exeext conftest.$ac_ext
12682 LIBS=$ac_check_lib_save_LIBS
12684 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12685 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12686 if test $ac_cv_lib_resolv_res_query = yes; then
12688 cat >>confdefs.h <<\_ACEOF
12689 #define HAVE_RESOLV 1
12690 _ACEOF
12692 RESOLVLIBS="-lresolv"
12697 LCMSLIBS=""
12699 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12700 then
12701 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12702 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12703 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12704 echo $ECHO_N "(cached) $ECHO_C" >&6
12705 else
12706 ac_check_lib_save_LIBS=$LIBS
12707 LIBS="-llcms $LIBS"
12708 cat >conftest.$ac_ext <<_ACEOF
12709 /* confdefs.h. */
12710 _ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12718 #ifdef __cplusplus
12719 extern "C"
12720 #endif
12721 char cmsOpenProfileFromFile ();
12723 main ()
12725 return cmsOpenProfileFromFile ();
12727 return 0;
12729 _ACEOF
12730 rm -f conftest.$ac_objext conftest$ac_exeext
12731 if { (ac_try="$ac_link"
12732 case "(($ac_try" in
12733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12734 *) ac_try_echo=$ac_try;;
12735 esac
12736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12737 (eval "$ac_link") 2>conftest.er1
12738 ac_status=$?
12739 grep -v '^ *+' conftest.er1 >conftest.err
12740 rm -f conftest.er1
12741 cat conftest.err >&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); } && {
12744 test -z "$ac_c_werror_flag" ||
12745 test ! -s conftest.err
12746 } && test -s conftest$ac_exeext &&
12747 $as_test_x conftest$ac_exeext; then
12748 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12749 else
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12753 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12757 conftest$ac_exeext conftest.$ac_ext
12758 LIBS=$ac_check_lib_save_LIBS
12760 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12761 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12762 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12764 cat >>confdefs.h <<\_ACEOF
12765 #define HAVE_LCMS 1
12766 _ACEOF
12768 LCMSLIBS="-llcms"
12772 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12773 wine_notices="$wine_notices|liblcms development files not found.
12774 Wine will be built without Color Management support. (mscms.dll)"
12778 LDAPLIBS=""
12780 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12781 then
12782 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12783 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12784 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 else
12787 ac_check_lib_save_LIBS=$LIBS
12788 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12789 cat >conftest.$ac_ext <<_ACEOF
12790 /* confdefs.h. */
12791 _ACEOF
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12799 #ifdef __cplusplus
12800 extern "C"
12801 #endif
12802 char ldap_initialize ();
12804 main ()
12806 return ldap_initialize ();
12808 return 0;
12810 _ACEOF
12811 rm -f conftest.$ac_objext conftest$ac_exeext
12812 if { (ac_try="$ac_link"
12813 case "(($ac_try" in
12814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12815 *) ac_try_echo=$ac_try;;
12816 esac
12817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12818 (eval "$ac_link") 2>conftest.er1
12819 ac_status=$?
12820 grep -v '^ *+' conftest.er1 >conftest.err
12821 rm -f conftest.er1
12822 cat conftest.err >&5
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); } && {
12825 test -z "$ac_c_werror_flag" ||
12826 test ! -s conftest.err
12827 } && test -s conftest$ac_exeext &&
12828 $as_test_x conftest$ac_exeext; then
12829 ac_cv_lib_ldap_r_ldap_initialize=yes
12830 else
12831 echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12834 ac_cv_lib_ldap_r_ldap_initialize=no
12837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12842 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12843 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12844 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12845 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12846 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12847 echo $ECHO_N "(cached) $ECHO_C" >&6
12848 else
12849 ac_check_lib_save_LIBS=$LIBS
12850 LIBS="-llber $LIBPTHREAD $LIBS"
12851 cat >conftest.$ac_ext <<_ACEOF
12852 /* confdefs.h. */
12853 _ACEOF
12854 cat confdefs.h >>conftest.$ac_ext
12855 cat >>conftest.$ac_ext <<_ACEOF
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char ber_init ();
12866 main ()
12868 return ber_init ();
12870 return 0;
12872 _ACEOF
12873 rm -f conftest.$ac_objext conftest$ac_exeext
12874 if { (ac_try="$ac_link"
12875 case "(($ac_try" in
12876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12877 *) ac_try_echo=$ac_try;;
12878 esac
12879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12880 (eval "$ac_link") 2>conftest.er1
12881 ac_status=$?
12882 grep -v '^ *+' conftest.er1 >conftest.err
12883 rm -f conftest.er1
12884 cat conftest.err >&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); } && {
12887 test -z "$ac_c_werror_flag" ||
12888 test ! -s conftest.err
12889 } && test -s conftest$ac_exeext &&
12890 $as_test_x conftest$ac_exeext; then
12891 ac_cv_lib_lber_ber_init=yes
12892 else
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12896 ac_cv_lib_lber_ber_init=no
12899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12900 conftest$ac_exeext conftest.$ac_ext
12901 LIBS=$ac_check_lib_save_LIBS
12903 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12904 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12905 if test $ac_cv_lib_lber_ber_init = yes; then
12907 cat >>confdefs.h <<\_ACEOF
12908 #define HAVE_LDAP 1
12909 _ACEOF
12911 LDAPLIBS="-lldap_r -llber"
12916 ac_wine_check_funcs_save_LIBS="$LIBS"
12917 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12922 for ac_func in \
12923 ldap_count_references \
12924 ldap_first_reference \
12925 ldap_next_reference \
12926 ldap_parse_reference
12928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 else
12934 cat >conftest.$ac_ext <<_ACEOF
12935 /* confdefs.h. */
12936 _ACEOF
12937 cat confdefs.h >>conftest.$ac_ext
12938 cat >>conftest.$ac_ext <<_ACEOF
12939 /* end confdefs.h. */
12940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12942 #define $ac_func innocuous_$ac_func
12944 /* System header to define __stub macros and hopefully few prototypes,
12945 which can conflict with char $ac_func (); below.
12946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12947 <limits.h> exists even on freestanding compilers. */
12949 #ifdef __STDC__
12950 # include <limits.h>
12951 #else
12952 # include <assert.h>
12953 #endif
12955 #undef $ac_func
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 #ifdef __cplusplus
12961 extern "C"
12962 #endif
12963 char $ac_func ();
12964 /* The GNU C library defines this for functions which it implements
12965 to always fail with ENOSYS. Some functions are actually named
12966 something starting with __ and the normal name is an alias. */
12967 #if defined __stub_$ac_func || defined __stub___$ac_func
12968 choke me
12969 #endif
12972 main ()
12974 return $ac_func ();
12976 return 0;
12978 _ACEOF
12979 rm -f conftest.$ac_objext conftest$ac_exeext
12980 if { (ac_try="$ac_link"
12981 case "(($ac_try" in
12982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12983 *) ac_try_echo=$ac_try;;
12984 esac
12985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12986 (eval "$ac_link") 2>conftest.er1
12987 ac_status=$?
12988 grep -v '^ *+' conftest.er1 >conftest.err
12989 rm -f conftest.er1
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } && {
12993 test -z "$ac_c_werror_flag" ||
12994 test ! -s conftest.err
12995 } && test -s conftest$ac_exeext &&
12996 $as_test_x conftest$ac_exeext; then
12997 eval "$as_ac_var=yes"
12998 else
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.$ac_ext >&5
13002 eval "$as_ac_var=no"
13005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13006 conftest$ac_exeext conftest.$ac_ext
13008 ac_res=`eval echo '${'$as_ac_var'}'`
13009 { echo "$as_me:$LINENO: result: $ac_res" >&5
13010 echo "${ECHO_T}$ac_res" >&6; }
13011 if test `eval echo '${'$as_ac_var'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13014 _ACEOF
13017 done
13019 LIBS="$ac_wine_check_funcs_save_LIBS"
13021 if test "x$LDAPLIBS" = "x"; then
13022 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13023 Wine will be built without LDAP support. (wldap32.dll)"
13027 for ac_prog in freetype-config freetype2-config
13029 # Extract the first word of "$ac_prog", so it can be a program name with args.
13030 set dummy $ac_prog; ac_word=$2
13031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13033 if test "${ac_cv_prog_ft_devel+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 else
13036 if test -n "$ft_devel"; then
13037 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13038 else
13039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040 for as_dir in $PATH
13042 IFS=$as_save_IFS
13043 test -z "$as_dir" && as_dir=.
13044 for ac_exec_ext in '' $ac_executable_extensions; do
13045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13046 ac_cv_prog_ft_devel="$ac_prog"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13048 break 2
13050 done
13051 done
13052 IFS=$as_save_IFS
13056 ft_devel=$ac_cv_prog_ft_devel
13057 if test -n "$ft_devel"; then
13058 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13059 echo "${ECHO_T}$ft_devel" >&6; }
13060 else
13061 { echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6; }
13066 test -n "$ft_devel" && break
13067 done
13068 test -n "$ft_devel" || ft_devel="false"
13070 if test "$ft_devel" != "false"
13071 then
13072 ac_freetype_libs=`$ft_devel --libs`
13073 ac_freetype_incl=`$ft_devel --cflags`
13074 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13075 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13076 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 else
13079 ac_check_soname_save_LIBS=$LIBS
13080 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13081 cat >conftest.$ac_ext <<_ACEOF
13082 /* confdefs.h. */
13083 _ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 #ifdef __cplusplus
13092 extern "C"
13093 #endif
13094 char FT_Init_FreeType ();
13096 main ()
13098 return FT_Init_FreeType ();
13100 return 0;
13102 _ACEOF
13103 rm -f conftest.$ac_objext conftest$ac_exeext
13104 if { (ac_try="$ac_link"
13105 case "(($ac_try" in
13106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13107 *) ac_try_echo=$ac_try;;
13108 esac
13109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13110 (eval "$ac_link") 2>conftest.er1
13111 ac_status=$?
13112 grep -v '^ *+' conftest.er1 >conftest.err
13113 rm -f conftest.er1
13114 cat conftest.err >&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } && {
13117 test -z "$ac_c_werror_flag" ||
13118 test ! -s conftest.err
13119 } && test -s conftest$ac_exeext &&
13120 $as_test_x conftest$ac_exeext; then
13121 case "$LIBEXT" in
13122 dll) ;;
13123 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'` ;;
13124 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13125 esac
13126 else
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.$ac_ext >&5
13133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_soname_save_LIBS
13137 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13138 { echo "$as_me:$LINENO: result: not found" >&5
13139 echo "${ECHO_T}not found" >&6; }
13140 ft_lib=no
13141 else
13142 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13143 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13145 cat >>confdefs.h <<_ACEOF
13146 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13147 _ACEOF
13149 ft_lib=yes
13152 if test "$ft_lib" = "yes"
13153 then
13154 ac_save_CPPFLAGS="$CPPFLAGS"
13155 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13168 for ac_header in ft2build.h \
13169 freetype/freetype.h \
13170 freetype/ftglyph.h \
13171 freetype/fttypes.h \
13172 freetype/tttables.h \
13173 freetype/ftnames.h \
13174 freetype/ftsnames.h \
13175 freetype/ttnameid.h \
13176 freetype/ftoutln.h \
13177 freetype/ftwinfnt.h \
13178 freetype/ftmodapi.h \
13179 freetype/internal/sfnt.h
13181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13182 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 else
13187 cat >conftest.$ac_ext <<_ACEOF
13188 /* confdefs.h. */
13189 _ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 #if HAVE_FT2BUILD_H
13194 #include <ft2build.h>
13195 #endif
13197 #include <$ac_header>
13198 _ACEOF
13199 rm -f conftest.$ac_objext
13200 if { (ac_try="$ac_compile"
13201 case "(($ac_try" in
13202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13204 esac
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_compile") 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } && {
13213 test -z "$ac_c_werror_flag" ||
13214 test ! -s conftest.err
13215 } && test -s conftest.$ac_objext; then
13216 eval "$as_ac_Header=yes"
13217 else
13218 echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13221 eval "$as_ac_Header=no"
13224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13226 ac_res=`eval echo '${'$as_ac_Header'}'`
13227 { echo "$as_me:$LINENO: result: $ac_res" >&5
13228 echo "${ECHO_T}$ac_res" >&6; }
13229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13230 cat >>confdefs.h <<_ACEOF
13231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13232 _ACEOF
13236 done
13238 cat >conftest.$ac_ext <<_ACEOF
13239 /* confdefs.h. */
13240 _ACEOF
13241 cat confdefs.h >>conftest.$ac_ext
13242 cat >>conftest.$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13244 #include <ft2build.h>
13245 #include <freetype/fttrigon.h>
13246 _ACEOF
13247 if { (ac_try="$ac_cpp conftest.$ac_ext"
13248 case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13251 esac
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13254 ac_status=$?
13255 grep -v '^ *+' conftest.er1 >conftest.err
13256 rm -f conftest.er1
13257 cat conftest.err >&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); } >/dev/null && {
13260 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13261 test ! -s conftest.err
13262 }; then
13264 cat >>confdefs.h <<\_ACEOF
13265 #define HAVE_FREETYPE_FTTRIGON_H 1
13266 _ACEOF
13268 wine_cv_fttrigon=yes
13269 else
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.$ac_ext >&5
13273 wine_cv_fttrigon=no
13276 rm -f conftest.err conftest.$ac_ext
13277 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13278 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13279 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 else
13282 cat >conftest.$ac_ext <<_ACEOF
13283 /* confdefs.h. */
13284 _ACEOF
13285 cat confdefs.h >>conftest.$ac_ext
13286 cat >>conftest.$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288 #include <freetype/ftmodapi.h>
13290 typedef FT_TrueTypeEngineType ac__type_new_;
13292 main ()
13294 if ((ac__type_new_ *) 0)
13295 return 0;
13296 if (sizeof (ac__type_new_))
13297 return 0;
13299 return 0;
13301 _ACEOF
13302 rm -f conftest.$ac_objext
13303 if { (ac_try="$ac_compile"
13304 case "(($ac_try" in
13305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13306 *) ac_try_echo=$ac_try;;
13307 esac
13308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13309 (eval "$ac_compile") 2>conftest.er1
13310 ac_status=$?
13311 grep -v '^ *+' conftest.er1 >conftest.err
13312 rm -f conftest.er1
13313 cat conftest.err >&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); } && {
13316 test -z "$ac_c_werror_flag" ||
13317 test ! -s conftest.err
13318 } && test -s conftest.$ac_objext; then
13319 ac_cv_type_FT_TrueTypeEngineType=yes
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13324 ac_cv_type_FT_TrueTypeEngineType=no
13327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13329 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13330 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13331 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13333 cat >>confdefs.h <<_ACEOF
13334 #define HAVE_FT_TRUETYPEENGINETYPE 1
13335 _ACEOF
13340 ac_save_CFLAGS="$CFLAGS"
13341 CFLAGS="$CFLAGS $ac_freetype_libs"
13343 for ac_func in FT_Load_Sfnt_Table
13345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13346 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 else
13351 cat >conftest.$ac_ext <<_ACEOF
13352 /* confdefs.h. */
13353 _ACEOF
13354 cat confdefs.h >>conftest.$ac_ext
13355 cat >>conftest.$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13359 #define $ac_func innocuous_$ac_func
13361 /* System header to define __stub macros and hopefully few prototypes,
13362 which can conflict with char $ac_func (); below.
13363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13364 <limits.h> exists even on freestanding compilers. */
13366 #ifdef __STDC__
13367 # include <limits.h>
13368 #else
13369 # include <assert.h>
13370 #endif
13372 #undef $ac_func
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char $ac_func ();
13381 /* The GNU C library defines this for functions which it implements
13382 to always fail with ENOSYS. Some functions are actually named
13383 something starting with __ and the normal name is an alias. */
13384 #if defined __stub_$ac_func || defined __stub___$ac_func
13385 choke me
13386 #endif
13389 main ()
13391 return $ac_func ();
13393 return 0;
13395 _ACEOF
13396 rm -f conftest.$ac_objext conftest$ac_exeext
13397 if { (ac_try="$ac_link"
13398 case "(($ac_try" in
13399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13400 *) ac_try_echo=$ac_try;;
13401 esac
13402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13403 (eval "$ac_link") 2>conftest.er1
13404 ac_status=$?
13405 grep -v '^ *+' conftest.er1 >conftest.err
13406 rm -f conftest.er1
13407 cat conftest.err >&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); } && {
13410 test -z "$ac_c_werror_flag" ||
13411 test ! -s conftest.err
13412 } && test -s conftest$ac_exeext &&
13413 $as_test_x conftest$ac_exeext; then
13414 eval "$as_ac_var=yes"
13415 else
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13419 eval "$as_ac_var=no"
13422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13423 conftest$ac_exeext conftest.$ac_ext
13425 ac_res=`eval echo '${'$as_ac_var'}'`
13426 { echo "$as_me:$LINENO: result: $ac_res" >&5
13427 echo "${ECHO_T}$ac_res" >&6; }
13428 if test `eval echo '${'$as_ac_var'}'` = yes; then
13429 cat >>confdefs.h <<_ACEOF
13430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13431 _ACEOF
13434 done
13436 CFLAGS="$ac_save_CFLAGS"
13437 CPPFLAGS="$ac_save_CPPFLAGS"
13438 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13439 then
13441 cat >>confdefs.h <<\_ACEOF
13442 #define HAVE_FREETYPE 1
13443 _ACEOF
13445 FREETYPELIBS="$ac_freetype_libs"
13447 FREETYPEINCL="$ac_freetype_incl"
13453 if test "$FONTFORGE" = "false"
13454 then
13455 wine_warnings="$wine_warnings|FontForge is missing.
13456 Fonts will not be built. Dialog text may be invisible or unaligned."
13457 elif test "x$FREETYPELIBS" = "x"
13458 then
13459 wine_warnings="$wine_warnings|FreeType development files not found.
13460 Fonts will not be built. Dialog text may be invisible or unaligned."
13461 else
13462 FONTSSUBDIRS="fonts"
13466 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13467 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13468 if test "${ac_cv_c_ppdev+set}" = set; then
13469 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 else
13471 cat >conftest.$ac_ext <<_ACEOF
13472 /* confdefs.h. */
13473 _ACEOF
13474 cat confdefs.h >>conftest.$ac_ext
13475 cat >>conftest.$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 #include <linux/ppdev.h>
13479 main ()
13481 ioctl (1,PPCLAIM,0)
13483 return 0;
13485 _ACEOF
13486 rm -f conftest.$ac_objext
13487 if { (ac_try="$ac_compile"
13488 case "(($ac_try" in
13489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13490 *) ac_try_echo=$ac_try;;
13491 esac
13492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13493 (eval "$ac_compile") 2>conftest.er1
13494 ac_status=$?
13495 grep -v '^ *+' conftest.er1 >conftest.err
13496 rm -f conftest.er1
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } && {
13500 test -z "$ac_c_werror_flag" ||
13501 test ! -s conftest.err
13502 } && test -s conftest.$ac_objext; then
13503 ac_cv_c_ppdev="yes"
13504 else
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13508 ac_cv_c_ppdev="no"
13511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13513 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13514 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13515 if test "$ac_cv_c_ppdev" = "yes"
13516 then
13518 cat >>confdefs.h <<\_ACEOF
13519 #define HAVE_PPDEV 1
13520 _ACEOF
13524 { echo "$as_me:$LINENO: checking for va_copy" >&5
13525 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13526 if test "${ac_cv_c_va_copy+set}" = set; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13528 else
13529 cat >conftest.$ac_ext <<_ACEOF
13530 /* confdefs.h. */
13531 _ACEOF
13532 cat confdefs.h >>conftest.$ac_ext
13533 cat >>conftest.$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13535 #include <stdarg.h>
13537 main ()
13539 va_list ap1, ap2; va_copy(ap1,ap2);
13541 return 0;
13543 _ACEOF
13544 rm -f conftest.$ac_objext conftest$ac_exeext
13545 if { (ac_try="$ac_link"
13546 case "(($ac_try" in
13547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13548 *) ac_try_echo=$ac_try;;
13549 esac
13550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13551 (eval "$ac_link") 2>conftest.er1
13552 ac_status=$?
13553 grep -v '^ *+' conftest.er1 >conftest.err
13554 rm -f conftest.er1
13555 cat conftest.err >&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); } && {
13558 test -z "$ac_c_werror_flag" ||
13559 test ! -s conftest.err
13560 } && test -s conftest$ac_exeext &&
13561 $as_test_x conftest$ac_exeext; then
13562 ac_cv_c_va_copy="yes"
13563 else
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.$ac_ext >&5
13567 ac_cv_c_va_copy="no"
13570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13571 conftest$ac_exeext conftest.$ac_ext
13574 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13575 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13576 if test "$ac_cv_c_va_copy" = "yes"
13577 then
13579 cat >>confdefs.h <<\_ACEOF
13580 #define HAVE_VA_COPY 1
13581 _ACEOF
13584 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13585 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13586 if test "${ac_cv_c___va_copy+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589 cat >conftest.$ac_ext <<_ACEOF
13590 /* confdefs.h. */
13591 _ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13595 #include <stdarg.h>
13597 main ()
13599 va_list ap1, ap2; __va_copy(ap1,ap2);
13601 return 0;
13603 _ACEOF
13604 rm -f conftest.$ac_objext conftest$ac_exeext
13605 if { (ac_try="$ac_link"
13606 case "(($ac_try" in
13607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13608 *) ac_try_echo=$ac_try;;
13609 esac
13610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13611 (eval "$ac_link") 2>conftest.er1
13612 ac_status=$?
13613 grep -v '^ *+' conftest.er1 >conftest.err
13614 rm -f conftest.er1
13615 cat conftest.err >&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); } && {
13618 test -z "$ac_c_werror_flag" ||
13619 test ! -s conftest.err
13620 } && test -s conftest$ac_exeext &&
13621 $as_test_x conftest$ac_exeext; then
13622 ac_cv_c___va_copy="yes"
13623 else
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13627 ac_cv_c___va_copy="no"
13630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13631 conftest$ac_exeext conftest.$ac_ext
13634 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13635 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13636 if test "$ac_cv_c___va_copy" = "yes"
13637 then
13639 cat >>confdefs.h <<\_ACEOF
13640 #define HAVE___VA_COPY 1
13641 _ACEOF
13645 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13646 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13647 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13649 else
13650 cat >conftest.$ac_ext <<_ACEOF
13651 /* confdefs.h. */
13652 _ACEOF
13653 cat confdefs.h >>conftest.$ac_ext
13654 cat >>conftest.$ac_ext <<_ACEOF
13655 /* end confdefs.h. */
13656 #include <setjmp.h>
13658 main ()
13660 sigjmp_buf buf;
13661 sigsetjmp( buf, 1 );
13662 siglongjmp( buf, 1 );
13664 return 0;
13666 _ACEOF
13667 rm -f conftest.$ac_objext conftest$ac_exeext
13668 if { (ac_try="$ac_link"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672 esac
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_link") 2>conftest.er1
13675 ac_status=$?
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest$ac_exeext &&
13684 $as_test_x conftest$ac_exeext; then
13685 ac_cv_c_sigsetjmp="yes"
13686 else
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.$ac_ext >&5
13690 ac_cv_c_sigsetjmp="no"
13693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13694 conftest$ac_exeext conftest.$ac_ext
13697 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13698 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13699 if test "$ac_cv_c_sigsetjmp" = "yes"
13700 then
13702 cat >>confdefs.h <<\_ACEOF
13703 #define HAVE_SIGSETJMP 1
13704 _ACEOF
13708 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13709 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13710 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13712 else
13713 cat >conftest.$ac_ext <<_ACEOF
13714 /* confdefs.h. */
13715 _ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #define _GNU_SOURCE
13720 #include <pthread.h>
13722 typedef pthread_rwlock_t ac__type_new_;
13724 main ()
13726 if ((ac__type_new_ *) 0)
13727 return 0;
13728 if (sizeof (ac__type_new_))
13729 return 0;
13731 return 0;
13733 _ACEOF
13734 rm -f conftest.$ac_objext
13735 if { (ac_try="$ac_compile"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13739 esac
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_compile") 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest.$ac_objext; then
13751 ac_cv_type_pthread_rwlock_t=yes
13752 else
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13756 ac_cv_type_pthread_rwlock_t=no
13759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13762 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13763 if test $ac_cv_type_pthread_rwlock_t = yes; then
13765 cat >>confdefs.h <<_ACEOF
13766 #define HAVE_PTHREAD_RWLOCK_T 1
13767 _ACEOF
13771 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13772 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13773 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 else
13776 cat >conftest.$ac_ext <<_ACEOF
13777 /* confdefs.h. */
13778 _ACEOF
13779 cat confdefs.h >>conftest.$ac_ext
13780 cat >>conftest.$ac_ext <<_ACEOF
13781 /* end confdefs.h. */
13782 #define _GNU_SOURCE
13783 #include <pthread.h>
13785 typedef pthread_rwlockattr_t ac__type_new_;
13787 main ()
13789 if ((ac__type_new_ *) 0)
13790 return 0;
13791 if (sizeof (ac__type_new_))
13792 return 0;
13794 return 0;
13796 _ACEOF
13797 rm -f conftest.$ac_objext
13798 if { (ac_try="$ac_compile"
13799 case "(($ac_try" in
13800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13801 *) ac_try_echo=$ac_try;;
13802 esac
13803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13804 (eval "$ac_compile") 2>conftest.er1
13805 ac_status=$?
13806 grep -v '^ *+' conftest.er1 >conftest.err
13807 rm -f conftest.er1
13808 cat conftest.err >&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } && {
13811 test -z "$ac_c_werror_flag" ||
13812 test ! -s conftest.err
13813 } && test -s conftest.$ac_objext; then
13814 ac_cv_type_pthread_rwlockattr_t=yes
13815 else
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.$ac_ext >&5
13819 ac_cv_type_pthread_rwlockattr_t=no
13822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13824 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13825 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13826 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13828 cat >>confdefs.h <<_ACEOF
13829 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13830 _ACEOF
13836 ac_wine_check_funcs_save_LIBS="$LIBS"
13837 LIBS="$LIBS $LIBPTHREAD"
13842 for ac_func in \
13843 pthread_attr_get_np \
13844 pthread_getattr_np \
13845 pthread_get_stackaddr_np \
13846 pthread_get_stacksize_np
13848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13849 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13851 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13853 else
13854 cat >conftest.$ac_ext <<_ACEOF
13855 /* confdefs.h. */
13856 _ACEOF
13857 cat confdefs.h >>conftest.$ac_ext
13858 cat >>conftest.$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13862 #define $ac_func innocuous_$ac_func
13864 /* System header to define __stub macros and hopefully few prototypes,
13865 which can conflict with char $ac_func (); below.
13866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13867 <limits.h> exists even on freestanding compilers. */
13869 #ifdef __STDC__
13870 # include <limits.h>
13871 #else
13872 # include <assert.h>
13873 #endif
13875 #undef $ac_func
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char $ac_func ();
13884 /* The GNU C library defines this for functions which it implements
13885 to always fail with ENOSYS. Some functions are actually named
13886 something starting with __ and the normal name is an alias. */
13887 #if defined __stub_$ac_func || defined __stub___$ac_func
13888 choke me
13889 #endif
13892 main ()
13894 return $ac_func ();
13896 return 0;
13898 _ACEOF
13899 rm -f conftest.$ac_objext conftest$ac_exeext
13900 if { (ac_try="$ac_link"
13901 case "(($ac_try" in
13902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13903 *) ac_try_echo=$ac_try;;
13904 esac
13905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13906 (eval "$ac_link") 2>conftest.er1
13907 ac_status=$?
13908 grep -v '^ *+' conftest.er1 >conftest.err
13909 rm -f conftest.er1
13910 cat conftest.err >&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } && {
13913 test -z "$ac_c_werror_flag" ||
13914 test ! -s conftest.err
13915 } && test -s conftest$ac_exeext &&
13916 $as_test_x conftest$ac_exeext; then
13917 eval "$as_ac_var=yes"
13918 else
13919 echo "$as_me: failed program was:" >&5
13920 sed 's/^/| /' conftest.$ac_ext >&5
13922 eval "$as_ac_var=no"
13925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13926 conftest$ac_exeext conftest.$ac_ext
13928 ac_res=`eval echo '${'$as_ac_var'}'`
13929 { echo "$as_me:$LINENO: result: $ac_res" >&5
13930 echo "${ECHO_T}$ac_res" >&6; }
13931 if test `eval echo '${'$as_ac_var'}'` = yes; then
13932 cat >>confdefs.h <<_ACEOF
13933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13934 _ACEOF
13937 done
13939 LIBS="$ac_wine_check_funcs_save_LIBS"
13941 # Extract the first word of "esd-config", so it can be a program name with args.
13942 set dummy esd-config; ac_word=$2
13943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13945 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13946 echo $ECHO_N "(cached) $ECHO_C" >&6
13947 else
13948 case $ESDCONFIG in
13949 [\\/]* | ?:[\\/]*)
13950 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13954 for as_dir in $PATH
13956 IFS=$as_save_IFS
13957 test -z "$as_dir" && as_dir=.
13958 for ac_exec_ext in '' $ac_executable_extensions; do
13959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13960 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13962 break 2
13964 done
13965 done
13966 IFS=$as_save_IFS
13969 esac
13971 ESDCONFIG=$ac_cv_path_ESDCONFIG
13972 if test -n "$ESDCONFIG"; then
13973 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13974 echo "${ECHO_T}$ESDCONFIG" >&6; }
13975 else
13976 { echo "$as_me:$LINENO: result: no" >&5
13977 echo "${ECHO_T}no" >&6; }
13981 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13982 then
13983 ESD_CFLAGS=""
13984 for i in `$ESDCONFIG --cflags`
13986 case "$i" in
13987 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13988 esac
13989 done
13990 ESD_LIBS=`$ESDCONFIG --libs`
13991 save_CFLAGS="$CFLAGS"
13992 CFLAGS="$CFLAGS $ESD_CFLAGS"
13993 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13994 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13995 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 else
13998 ac_check_lib_save_LIBS=$LIBS
13999 LIBS="-lesd $LIBS"
14000 cat >conftest.$ac_ext <<_ACEOF
14001 /* confdefs.h. */
14002 _ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14007 /* Override any GCC internal prototype to avoid an error.
14008 Use char because int might match the return type of a GCC
14009 builtin and then its argument prototype would still apply. */
14010 #ifdef __cplusplus
14011 extern "C"
14012 #endif
14013 char esd_open_sound ();
14015 main ()
14017 return esd_open_sound ();
14019 return 0;
14021 _ACEOF
14022 rm -f conftest.$ac_objext conftest$ac_exeext
14023 if { (ac_try="$ac_link"
14024 case "(($ac_try" in
14025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14026 *) ac_try_echo=$ac_try;;
14027 esac
14028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14029 (eval "$ac_link") 2>conftest.er1
14030 ac_status=$?
14031 grep -v '^ *+' conftest.er1 >conftest.err
14032 rm -f conftest.er1
14033 cat conftest.err >&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); } && {
14036 test -z "$ac_c_werror_flag" ||
14037 test ! -s conftest.err
14038 } && test -s conftest$ac_exeext &&
14039 $as_test_x conftest$ac_exeext; then
14040 ac_cv_lib_esd_esd_open_sound=yes
14041 else
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.$ac_ext >&5
14045 ac_cv_lib_esd_esd_open_sound=no
14048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14049 conftest$ac_exeext conftest.$ac_ext
14050 LIBS=$ac_check_lib_save_LIBS
14052 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14053 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14054 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14055 ESDLIBS=$ESD_LIBS
14057 ESDINCL=$ESD_CFLAGS
14060 cat >>confdefs.h <<\_ACEOF
14061 #define HAVE_ESD 1
14062 _ACEOF
14066 CFLAGS="$save_CFLAGS"
14069 ALSALIBS=""
14071 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14072 then
14073 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14074 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14075 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 else
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-lasound $LIBS"
14080 cat >conftest.$ac_ext <<_ACEOF
14081 /* confdefs.h. */
14082 _ACEOF
14083 cat confdefs.h >>conftest.$ac_ext
14084 cat >>conftest.$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14090 #ifdef __cplusplus
14091 extern "C"
14092 #endif
14093 char snd_pcm_hw_params_get_access ();
14095 main ()
14097 return snd_pcm_hw_params_get_access ();
14099 return 0;
14101 _ACEOF
14102 rm -f conftest.$ac_objext conftest$ac_exeext
14103 if { (ac_try="$ac_link"
14104 case "(($ac_try" in
14105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14106 *) ac_try_echo=$ac_try;;
14107 esac
14108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14109 (eval "$ac_link") 2>conftest.er1
14110 ac_status=$?
14111 grep -v '^ *+' conftest.er1 >conftest.err
14112 rm -f conftest.er1
14113 cat conftest.err >&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } && {
14116 test -z "$ac_c_werror_flag" ||
14117 test ! -s conftest.err
14118 } && test -s conftest$ac_exeext &&
14119 $as_test_x conftest$ac_exeext; then
14120 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14121 else
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14125 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14129 conftest$ac_exeext conftest.$ac_ext
14130 LIBS=$ac_check_lib_save_LIBS
14132 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14133 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14134 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14135 cat >conftest.$ac_ext <<_ACEOF
14136 /* confdefs.h. */
14137 _ACEOF
14138 cat confdefs.h >>conftest.$ac_ext
14139 cat >>conftest.$ac_ext <<_ACEOF
14140 /* end confdefs.h. */
14141 #ifdef HAVE_ALSA_ASOUNDLIB_H
14142 #include <alsa/asoundlib.h>
14143 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14144 #include <sys/asoundlib.h>
14145 #endif
14147 main ()
14149 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14151 return 0;
14153 _ACEOF
14154 rm -f conftest.$ac_objext
14155 if { (ac_try="$ac_compile"
14156 case "(($ac_try" in
14157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14158 *) ac_try_echo=$ac_try;;
14159 esac
14160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14161 (eval "$ac_compile") 2>conftest.er1
14162 ac_status=$?
14163 grep -v '^ *+' conftest.er1 >conftest.err
14164 rm -f conftest.er1
14165 cat conftest.err >&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } && {
14168 test -z "$ac_c_werror_flag" ||
14169 test ! -s conftest.err
14170 } && test -s conftest.$ac_objext; then
14172 cat >>confdefs.h <<\_ACEOF
14173 #define HAVE_ALSA 1
14174 _ACEOF
14176 ALSALIBS="-lasound"
14177 else
14178 echo "$as_me: failed program was:" >&5
14179 sed 's/^/| /' conftest.$ac_ext >&5
14184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14189 AUDIOIOLIBS=""
14191 if test "$ac_cv_header_libaudioio_h" = "yes"
14192 then
14193 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14194 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14195 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 else
14198 ac_check_lib_save_LIBS=$LIBS
14199 LIBS="-laudioio $LIBS"
14200 cat >conftest.$ac_ext <<_ACEOF
14201 /* confdefs.h. */
14202 _ACEOF
14203 cat confdefs.h >>conftest.$ac_ext
14204 cat >>conftest.$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14210 #ifdef __cplusplus
14211 extern "C"
14212 #endif
14213 char AudioIOGetVersion ();
14215 main ()
14217 return AudioIOGetVersion ();
14219 return 0;
14221 _ACEOF
14222 rm -f conftest.$ac_objext conftest$ac_exeext
14223 if { (ac_try="$ac_link"
14224 case "(($ac_try" in
14225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14226 *) ac_try_echo=$ac_try;;
14227 esac
14228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14229 (eval "$ac_link") 2>conftest.er1
14230 ac_status=$?
14231 grep -v '^ *+' conftest.er1 >conftest.err
14232 rm -f conftest.er1
14233 cat conftest.err >&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } && {
14236 test -z "$ac_c_werror_flag" ||
14237 test ! -s conftest.err
14238 } && test -s conftest$ac_exeext &&
14239 $as_test_x conftest$ac_exeext; then
14240 ac_cv_lib_audioio_AudioIOGetVersion=yes
14241 else
14242 echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.$ac_ext >&5
14245 ac_cv_lib_audioio_AudioIOGetVersion=no
14248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LIBS=$ac_check_lib_save_LIBS
14252 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14253 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14254 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14255 AUDIOIOLIBS="-laudioio"
14257 cat >>confdefs.h <<\_ACEOF
14258 #define HAVE_LIBAUDIOIO 1
14259 _ACEOF
14266 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14267 then
14268 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14269 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14270 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 ac_check_soname_save_LIBS=$LIBS
14274 LIBS="-lcapi20 $LIBS"
14275 cat >conftest.$ac_ext <<_ACEOF
14276 /* confdefs.h. */
14277 _ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply. */
14285 #ifdef __cplusplus
14286 extern "C"
14287 #endif
14288 char capi20_register ();
14290 main ()
14292 return capi20_register ();
14294 return 0;
14296 _ACEOF
14297 rm -f conftest.$ac_objext conftest$ac_exeext
14298 if { (ac_try="$ac_link"
14299 case "(($ac_try" in
14300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;;
14302 esac
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_link") 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } && {
14311 test -z "$ac_c_werror_flag" ||
14312 test ! -s conftest.err
14313 } && test -s conftest$ac_exeext &&
14314 $as_test_x conftest$ac_exeext; then
14315 case "$LIBEXT" in
14316 dll) ;;
14317 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'` ;;
14318 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14319 esac
14320 else
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14328 conftest$ac_exeext conftest.$ac_ext
14329 LIBS=$ac_check_soname_save_LIBS
14331 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14332 { echo "$as_me:$LINENO: result: not found" >&5
14333 echo "${ECHO_T}not found" >&6; }
14335 else
14336 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14337 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14339 cat >>confdefs.h <<_ACEOF
14340 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14341 _ACEOF
14347 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14348 wine_notices="$wine_notices|libcapi20 development files not found.
14349 Wine will be built without ISDN support. (capi2032.dll)"
14353 if test "$ac_cv_header_cups_cups_h" = "yes"
14354 then
14355 { echo "$as_me:$LINENO: checking for -lcups" >&5
14356 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14357 if test "${ac_cv_lib_soname_cups+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 else
14360 ac_check_soname_save_LIBS=$LIBS
14361 LIBS="-lcups $LIBS"
14362 cat >conftest.$ac_ext <<_ACEOF
14363 /* confdefs.h. */
14364 _ACEOF
14365 cat confdefs.h >>conftest.$ac_ext
14366 cat >>conftest.$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 #ifdef __cplusplus
14373 extern "C"
14374 #endif
14375 char cupsGetDefault ();
14377 main ()
14379 return cupsGetDefault ();
14381 return 0;
14383 _ACEOF
14384 rm -f conftest.$ac_objext conftest$ac_exeext
14385 if { (ac_try="$ac_link"
14386 case "(($ac_try" in
14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14389 esac
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_link") 2>conftest.er1
14392 ac_status=$?
14393 grep -v '^ *+' conftest.er1 >conftest.err
14394 rm -f conftest.er1
14395 cat conftest.err >&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } && {
14398 test -z "$ac_c_werror_flag" ||
14399 test ! -s conftest.err
14400 } && test -s conftest$ac_exeext &&
14401 $as_test_x conftest$ac_exeext; then
14402 case "$LIBEXT" in
14403 dll) ;;
14404 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'` ;;
14405 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14406 esac
14407 else
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.$ac_ext >&5
14414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14415 conftest$ac_exeext conftest.$ac_ext
14416 LIBS=$ac_check_soname_save_LIBS
14418 if test "x$ac_cv_lib_soname_cups" = "x"; then
14419 { echo "$as_me:$LINENO: result: not found" >&5
14420 echo "${ECHO_T}not found" >&6; }
14422 else
14423 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14424 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14426 cat >>confdefs.h <<_ACEOF
14427 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14428 _ACEOF
14434 if test "x$ac_cv_lib_soname_cups" = "x"; then
14435 wine_notices="$wine_notices|libcups development files not found.
14436 Wine will be built without CUPS support."
14440 if test "$ac_cv_header_jack_jack_h" = "yes"
14441 then
14442 { echo "$as_me:$LINENO: checking for -ljack" >&5
14443 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14444 if test "${ac_cv_lib_soname_jack+set}" = set; then
14445 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 else
14447 ac_check_soname_save_LIBS=$LIBS
14448 LIBS="-ljack $LIBS"
14449 cat >conftest.$ac_ext <<_ACEOF
14450 /* confdefs.h. */
14451 _ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14459 #ifdef __cplusplus
14460 extern "C"
14461 #endif
14462 char jack_client_new ();
14464 main ()
14466 return jack_client_new ();
14468 return 0;
14470 _ACEOF
14471 rm -f conftest.$ac_objext conftest$ac_exeext
14472 if { (ac_try="$ac_link"
14473 case "(($ac_try" in
14474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14475 *) ac_try_echo=$ac_try;;
14476 esac
14477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14478 (eval "$ac_link") 2>conftest.er1
14479 ac_status=$?
14480 grep -v '^ *+' conftest.er1 >conftest.err
14481 rm -f conftest.er1
14482 cat conftest.err >&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); } && {
14485 test -z "$ac_c_werror_flag" ||
14486 test ! -s conftest.err
14487 } && test -s conftest$ac_exeext &&
14488 $as_test_x conftest$ac_exeext; then
14489 case "$LIBEXT" in
14490 dll) ;;
14491 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'` ;;
14492 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14493 esac
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14502 conftest$ac_exeext conftest.$ac_ext
14503 LIBS=$ac_check_soname_save_LIBS
14505 if test "x$ac_cv_lib_soname_jack" = "x"; then
14506 { echo "$as_me:$LINENO: result: not found" >&5
14507 echo "${ECHO_T}not found" >&6; }
14509 else
14510 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14511 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14513 cat >>confdefs.h <<_ACEOF
14514 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14515 _ACEOF
14522 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14523 then
14524 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14525 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14526 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 else
14529 ac_check_soname_save_LIBS=$LIBS
14530 LIBS="-lfontconfig $LIBS"
14531 cat >conftest.$ac_ext <<_ACEOF
14532 /* confdefs.h. */
14533 _ACEOF
14534 cat confdefs.h >>conftest.$ac_ext
14535 cat >>conftest.$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14541 #ifdef __cplusplus
14542 extern "C"
14543 #endif
14544 char FcInit ();
14546 main ()
14548 return FcInit ();
14550 return 0;
14552 _ACEOF
14553 rm -f conftest.$ac_objext conftest$ac_exeext
14554 if { (ac_try="$ac_link"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14558 esac
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_link") 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest$ac_exeext &&
14570 $as_test_x conftest$ac_exeext; then
14571 case "$LIBEXT" in
14572 dll) ;;
14573 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'` ;;
14574 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14575 esac
14576 else
14577 echo "$as_me: failed program was:" >&5
14578 sed 's/^/| /' conftest.$ac_ext >&5
14583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14584 conftest$ac_exeext conftest.$ac_ext
14585 LIBS=$ac_check_soname_save_LIBS
14587 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14588 { echo "$as_me:$LINENO: result: not found" >&5
14589 echo "${ECHO_T}not found" >&6; }
14591 else
14592 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14593 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14595 cat >>confdefs.h <<_ACEOF
14596 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14597 _ACEOF
14603 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14604 wine_notices="$wine_notices|fontconfig development files not found.
14605 Wine will be built without fontconfig support."
14609 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14610 then
14611 { echo "$as_me:$LINENO: checking for -lssl" >&5
14612 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14613 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 else
14616 ac_check_soname_save_LIBS=$LIBS
14617 LIBS="-lssl $LIBS"
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. */
14625 /* Override any GCC internal prototype to avoid an error.
14626 Use char because int might match the return type of a GCC
14627 builtin and then its argument prototype would still apply. */
14628 #ifdef __cplusplus
14629 extern "C"
14630 #endif
14631 char SSL_library_init ();
14633 main ()
14635 return SSL_library_init ();
14637 return 0;
14639 _ACEOF
14640 rm -f conftest.$ac_objext conftest$ac_exeext
14641 if { (ac_try="$ac_link"
14642 case "(($ac_try" in
14643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14644 *) ac_try_echo=$ac_try;;
14645 esac
14646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14647 (eval "$ac_link") 2>conftest.er1
14648 ac_status=$?
14649 grep -v '^ *+' conftest.er1 >conftest.err
14650 rm -f conftest.er1
14651 cat conftest.err >&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && {
14654 test -z "$ac_c_werror_flag" ||
14655 test ! -s conftest.err
14656 } && test -s conftest$ac_exeext &&
14657 $as_test_x conftest$ac_exeext; then
14658 case "$LIBEXT" in
14659 dll) ;;
14660 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'` ;;
14661 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14662 esac
14663 else
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14671 conftest$ac_exeext conftest.$ac_ext
14672 LIBS=$ac_check_soname_save_LIBS
14674 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14675 { echo "$as_me:$LINENO: result: not found" >&5
14676 echo "${ECHO_T}not found" >&6; }
14678 else
14679 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14680 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14682 cat >>confdefs.h <<_ACEOF
14683 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14684 _ACEOF
14689 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14690 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14691 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14692 echo $ECHO_N "(cached) $ECHO_C" >&6
14693 else
14694 ac_check_soname_save_LIBS=$LIBS
14695 LIBS="-lcrypto $LIBS"
14696 cat >conftest.$ac_ext <<_ACEOF
14697 /* confdefs.h. */
14698 _ACEOF
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14706 #ifdef __cplusplus
14707 extern "C"
14708 #endif
14709 char BIO_new_socket ();
14711 main ()
14713 return BIO_new_socket ();
14715 return 0;
14717 _ACEOF
14718 rm -f conftest.$ac_objext conftest$ac_exeext
14719 if { (ac_try="$ac_link"
14720 case "(($ac_try" in
14721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14722 *) ac_try_echo=$ac_try;;
14723 esac
14724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14725 (eval "$ac_link") 2>conftest.er1
14726 ac_status=$?
14727 grep -v '^ *+' conftest.er1 >conftest.err
14728 rm -f conftest.er1
14729 cat conftest.err >&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); } && {
14732 test -z "$ac_c_werror_flag" ||
14733 test ! -s conftest.err
14734 } && test -s conftest$ac_exeext &&
14735 $as_test_x conftest$ac_exeext; then
14736 case "$LIBEXT" in
14737 dll) ;;
14738 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'` ;;
14739 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14740 esac
14741 else
14742 echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14749 conftest$ac_exeext conftest.$ac_ext
14750 LIBS=$ac_check_soname_save_LIBS
14752 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14753 { echo "$as_me:$LINENO: result: not found" >&5
14754 echo "${ECHO_T}not found" >&6; }
14756 else
14757 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14758 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14760 cat >>confdefs.h <<_ACEOF
14761 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14762 _ACEOF
14768 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14769 wine_notices="$wine_notices|OpenSSL development files not found.
14770 Wine will be built without SSL support. (wininet.dll)"
14774 if test "$ac_cv_header_jpeglib_h" = "yes"
14775 then
14776 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14777 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14778 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 else
14781 ac_check_soname_save_LIBS=$LIBS
14782 LIBS="-ljpeg $LIBS"
14783 cat >conftest.$ac_ext <<_ACEOF
14784 /* confdefs.h. */
14785 _ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14793 #ifdef __cplusplus
14794 extern "C"
14795 #endif
14796 char jpeg_start_decompress ();
14798 main ()
14800 return jpeg_start_decompress ();
14802 return 0;
14804 _ACEOF
14805 rm -f conftest.$ac_objext conftest$ac_exeext
14806 if { (ac_try="$ac_link"
14807 case "(($ac_try" in
14808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14809 *) ac_try_echo=$ac_try;;
14810 esac
14811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14812 (eval "$ac_link") 2>conftest.er1
14813 ac_status=$?
14814 grep -v '^ *+' conftest.er1 >conftest.err
14815 rm -f conftest.er1
14816 cat conftest.err >&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } && {
14819 test -z "$ac_c_werror_flag" ||
14820 test ! -s conftest.err
14821 } && test -s conftest$ac_exeext &&
14822 $as_test_x conftest$ac_exeext; then
14823 case "$LIBEXT" in
14824 dll) ;;
14825 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'` ;;
14826 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14827 esac
14828 else
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14836 conftest$ac_exeext conftest.$ac_ext
14837 LIBS=$ac_check_soname_save_LIBS
14839 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14840 { echo "$as_me:$LINENO: result: not found" >&5
14841 echo "${ECHO_T}not found" >&6; }
14843 else
14844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14845 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14847 cat >>confdefs.h <<_ACEOF
14848 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14849 _ACEOF
14855 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14856 wine_notices="$wine_notices|libjpeg development files not found.
14857 Wine will be built without JPEG support. (oleaut32.dll)"
14861 if test "$ac_cv_header_png_h" = "yes"
14862 then
14863 { echo "$as_me:$LINENO: checking for -lpng" >&5
14864 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14865 if test "${ac_cv_lib_soname_png+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 else
14868 ac_check_soname_save_LIBS=$LIBS
14869 LIBS="-lpng $LIBS"
14870 cat >conftest.$ac_ext <<_ACEOF
14871 /* confdefs.h. */
14872 _ACEOF
14873 cat confdefs.h >>conftest.$ac_ext
14874 cat >>conftest.$ac_ext <<_ACEOF
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14880 #ifdef __cplusplus
14881 extern "C"
14882 #endif
14883 char png_create_read_struct ();
14885 main ()
14887 return png_create_read_struct ();
14889 return 0;
14891 _ACEOF
14892 rm -f conftest.$ac_objext conftest$ac_exeext
14893 if { (ac_try="$ac_link"
14894 case "(($ac_try" in
14895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14896 *) ac_try_echo=$ac_try;;
14897 esac
14898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14899 (eval "$ac_link") 2>conftest.er1
14900 ac_status=$?
14901 grep -v '^ *+' conftest.er1 >conftest.err
14902 rm -f conftest.er1
14903 cat conftest.err >&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } && {
14906 test -z "$ac_c_werror_flag" ||
14907 test ! -s conftest.err
14908 } && test -s conftest$ac_exeext &&
14909 $as_test_x conftest$ac_exeext; then
14910 case "$LIBEXT" in
14911 dll) ;;
14912 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'` ;;
14913 *) 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'` ;;
14914 esac
14915 else
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_soname_save_LIBS
14926 if test "x$ac_cv_lib_soname_png" = "x"; then
14927 { echo "$as_me:$LINENO: result: not found" >&5
14928 echo "${ECHO_T}not found" >&6; }
14930 else
14931 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14932 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14934 cat >>confdefs.h <<_ACEOF
14935 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14936 _ACEOF
14942 if test "x$ac_cv_lib_soname_png" = "x"; then
14943 wine_notices="$wine_notices|libpng development files not found.
14944 Wine will be built without PNG support. (oleaut32.dll)"
14948 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14949 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14950 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14951 "$ac_cv_header_soundcard_h" != "yes"; then
14952 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14957 EXTRACFLAGS=""
14959 if test "x${GCC}" = "xyes"
14960 then
14961 EXTRACFLAGS="-Wall -pipe"
14963 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14964 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14965 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14967 else
14968 if test "$cross_compiling" = yes; then
14969 ac_cv_c_gcc_strength_bug="yes"
14970 else
14971 cat >conftest.$ac_ext <<_ACEOF
14972 /* confdefs.h. */
14973 _ACEOF
14974 cat confdefs.h >>conftest.$ac_ext
14975 cat >>conftest.$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14977 int L[4] = {0,1,2,3};
14979 main ()
14981 static int Array[3];
14982 unsigned int B = 3;
14983 int i;
14984 for(i=0; i<B; i++) Array[i] = i - 3;
14985 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14986 L[i] = 4;
14987 exit( Array[1] != -2 || L[2] != 3)
14989 return 0;
14991 _ACEOF
14992 rm -f conftest$ac_exeext
14993 if { (ac_try="$ac_link"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14997 esac
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15003 { (case "(($ac_try" in
15004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15005 *) ac_try_echo=$ac_try;;
15006 esac
15007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15008 (eval "$ac_try") 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_cv_c_gcc_strength_bug="no"
15013 else
15014 echo "$as_me: program exited with status $ac_status" >&5
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.$ac_ext >&5
15018 ( exit $ac_status )
15019 ac_cv_c_gcc_strength_bug="yes"
15021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15026 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15027 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15028 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15029 then
15030 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15034 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15035 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15036 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 else
15039 ac_wine_try_cflags_saved=$CFLAGS
15040 CFLAGS="$CFLAGS -fshort-wchar"
15041 cat >conftest.$ac_ext <<_ACEOF
15042 /* confdefs.h. */
15043 _ACEOF
15044 cat confdefs.h >>conftest.$ac_ext
15045 cat >>conftest.$ac_ext <<_ACEOF
15046 /* end confdefs.h. */
15049 main ()
15053 return 0;
15055 _ACEOF
15056 rm -f conftest.$ac_objext conftest$ac_exeext
15057 if { (ac_try="$ac_link"
15058 case "(($ac_try" in
15059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15060 *) ac_try_echo=$ac_try;;
15061 esac
15062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15063 (eval "$ac_link") 2>conftest.er1
15064 ac_status=$?
15065 grep -v '^ *+' conftest.er1 >conftest.err
15066 rm -f conftest.er1
15067 cat conftest.err >&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); } && {
15070 test -z "$ac_c_werror_flag" ||
15071 test ! -s conftest.err
15072 } && test -s conftest$ac_exeext &&
15073 $as_test_x conftest$ac_exeext; then
15074 ac_cv_cflags__fshort_wchar=yes
15075 else
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15079 ac_cv_cflags__fshort_wchar=no
15082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15083 conftest$ac_exeext conftest.$ac_ext
15084 CFLAGS=$ac_wine_try_cflags_saved
15086 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15087 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15088 if test $ac_cv_cflags__fshort_wchar = yes; then
15090 cat >>confdefs.h <<\_ACEOF
15091 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15092 _ACEOF
15096 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15097 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15098 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 else
15101 ac_wine_try_cflags_saved=$CFLAGS
15102 CFLAGS="$CFLAGS -fno-strict-aliasing"
15103 cat >conftest.$ac_ext <<_ACEOF
15104 /* confdefs.h. */
15105 _ACEOF
15106 cat confdefs.h >>conftest.$ac_ext
15107 cat >>conftest.$ac_ext <<_ACEOF
15108 /* end confdefs.h. */
15111 main ()
15115 return 0;
15117 _ACEOF
15118 rm -f conftest.$ac_objext conftest$ac_exeext
15119 if { (ac_try="$ac_link"
15120 case "(($ac_try" in
15121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15122 *) ac_try_echo=$ac_try;;
15123 esac
15124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15125 (eval "$ac_link") 2>conftest.er1
15126 ac_status=$?
15127 grep -v '^ *+' conftest.er1 >conftest.err
15128 rm -f conftest.er1
15129 cat conftest.err >&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } && {
15132 test -z "$ac_c_werror_flag" ||
15133 test ! -s conftest.err
15134 } && test -s conftest$ac_exeext &&
15135 $as_test_x conftest$ac_exeext; then
15136 ac_cv_cflags__fno_strict_aliasing=yes
15137 else
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15141 ac_cv_cflags__fno_strict_aliasing=no
15144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15145 conftest$ac_exeext conftest.$ac_ext
15146 CFLAGS=$ac_wine_try_cflags_saved
15148 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15149 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15150 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15151 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15154 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15155 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15156 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15158 else
15159 ac_wine_try_cflags_saved=$CFLAGS
15160 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15161 cat >conftest.$ac_ext <<_ACEOF
15162 /* confdefs.h. */
15163 _ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15169 main ()
15173 return 0;
15175 _ACEOF
15176 rm -f conftest.$ac_objext conftest$ac_exeext
15177 if { (ac_try="$ac_link"
15178 case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15181 esac
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_link") 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && {
15190 test -z "$ac_c_werror_flag" ||
15191 test ! -s conftest.err
15192 } && test -s conftest$ac_exeext &&
15193 $as_test_x conftest$ac_exeext; then
15194 ac_cv_cflags__Wdeclaration_after_statement=yes
15195 else
15196 echo "$as_me: failed program was:" >&5
15197 sed 's/^/| /' conftest.$ac_ext >&5
15199 ac_cv_cflags__Wdeclaration_after_statement=no
15202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15203 conftest$ac_exeext conftest.$ac_ext
15204 CFLAGS=$ac_wine_try_cflags_saved
15206 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15207 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15208 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15209 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15212 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15213 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15214 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 else
15217 ac_wine_try_cflags_saved=$CFLAGS
15218 CFLAGS="$CFLAGS -Wwrite-strings"
15219 cat >conftest.$ac_ext <<_ACEOF
15220 /* confdefs.h. */
15221 _ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15227 main ()
15231 return 0;
15233 _ACEOF
15234 rm -f conftest.$ac_objext conftest$ac_exeext
15235 if { (ac_try="$ac_link"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15239 esac
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_link") 2>conftest.er1
15242 ac_status=$?
15243 grep -v '^ *+' conftest.er1 >conftest.err
15244 rm -f conftest.er1
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest$ac_exeext &&
15251 $as_test_x conftest$ac_exeext; then
15252 ac_cv_cflags__Wwrite_strings=yes
15253 else
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15257 ac_cv_cflags__Wwrite_strings=no
15260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15261 conftest$ac_exeext conftest.$ac_ext
15262 CFLAGS=$ac_wine_try_cflags_saved
15264 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15265 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15266 if test $ac_cv_cflags__Wwrite_strings = yes; then
15267 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15271 saved_CFLAGS="$CFLAGS"
15272 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15273 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15274 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15275 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 else
15278 cat >conftest.$ac_ext <<_ACEOF
15279 /* confdefs.h. */
15280 _ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15284 #include <string.h>
15286 main ()
15290 return 0;
15292 _ACEOF
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15298 esac
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_c_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_cv_c_string_h_warnings=no
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 ac_cv_c_string_h_warnings=yes
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15321 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15322 CFLAGS="$saved_CFLAGS"
15323 if test "$ac_cv_c_string_h_warnings" = "no"
15324 then
15325 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15328 BUILTINFLAG=""
15330 saved_CFLAGS="$CFLAGS"
15331 CFLAGS="$CFLAGS -Werror"
15332 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15333 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15334 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 else
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h. */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15345 main ()
15347 int iswlower(unsigned short);
15349 return 0;
15351 _ACEOF
15352 rm -f conftest.$ac_objext
15353 if { (ac_try="$ac_compile"
15354 case "(($ac_try" in
15355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15356 *) ac_try_echo=$ac_try;;
15357 esac
15358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15359 (eval "$ac_compile") 2>conftest.er1
15360 ac_status=$?
15361 grep -v '^ *+' conftest.er1 >conftest.err
15362 rm -f conftest.er1
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } && {
15366 test -z "$ac_c_werror_flag" ||
15367 test ! -s conftest.err
15368 } && test -s conftest.$ac_objext; then
15369 ac_cv_c_builtin_wchar_ctype=no
15370 else
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15374 ac_cv_c_builtin_wchar_ctype=yes
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15380 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15381 CFLAGS="$saved_CFLAGS"
15382 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15383 then
15384 BUILTINFLAG="-fno-builtin"
15389 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15390 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15391 if test "${ac_cv_asm_func_def+set}" = set; then
15392 echo $ECHO_N "(cached) $ECHO_C" >&6
15393 else
15394 cat >conftest.$ac_ext <<_ACEOF
15395 /* confdefs.h. */
15396 _ACEOF
15397 cat confdefs.h >>conftest.$ac_ext
15398 cat >>conftest.$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15402 main ()
15404 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15406 return 0;
15408 _ACEOF
15409 rm -f conftest.$ac_objext conftest$ac_exeext
15410 if { (ac_try="$ac_link"
15411 case "(($ac_try" in
15412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15413 *) ac_try_echo=$ac_try;;
15414 esac
15415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15416 (eval "$ac_link") 2>conftest.er1
15417 ac_status=$?
15418 grep -v '^ *+' conftest.er1 >conftest.err
15419 rm -f conftest.er1
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } && {
15423 test -z "$ac_c_werror_flag" ||
15424 test ! -s conftest.err
15425 } && test -s conftest$ac_exeext &&
15426 $as_test_x conftest$ac_exeext; then
15427 ac_cv_asm_func_def=".def"
15428 else
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15432 cat >conftest.$ac_ext <<_ACEOF
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15440 main ()
15442 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15444 return 0;
15446 _ACEOF
15447 rm -f conftest.$ac_objext conftest$ac_exeext
15448 if { (ac_try="$ac_link"
15449 case "(($ac_try" in
15450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15451 *) ac_try_echo=$ac_try;;
15452 esac
15453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15454 (eval "$ac_link") 2>conftest.er1
15455 ac_status=$?
15456 grep -v '^ *+' conftest.er1 >conftest.err
15457 rm -f conftest.er1
15458 cat conftest.err >&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } && {
15461 test -z "$ac_c_werror_flag" ||
15462 test ! -s conftest.err
15463 } && test -s conftest$ac_exeext &&
15464 $as_test_x conftest$ac_exeext; then
15465 ac_cv_asm_func_def=".type @function"
15466 else
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15470 cat >conftest.$ac_ext <<_ACEOF
15471 /* confdefs.h. */
15472 _ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15478 main ()
15480 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15482 return 0;
15484 _ACEOF
15485 rm -f conftest.$ac_objext conftest$ac_exeext
15486 if { (ac_try="$ac_link"
15487 case "(($ac_try" in
15488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15489 *) ac_try_echo=$ac_try;;
15490 esac
15491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15492 (eval "$ac_link") 2>conftest.er1
15493 ac_status=$?
15494 grep -v '^ *+' conftest.er1 >conftest.err
15495 rm -f conftest.er1
15496 cat conftest.err >&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } && {
15499 test -z "$ac_c_werror_flag" ||
15500 test ! -s conftest.err
15501 } && test -s conftest$ac_exeext &&
15502 $as_test_x conftest$ac_exeext; then
15503 ac_cv_asm_func_def=".type 2"
15504 else
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.$ac_ext >&5
15508 ac_cv_asm_func_def="unknown"
15511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15512 conftest$ac_exeext conftest.$ac_ext
15515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15516 conftest$ac_exeext conftest.$ac_ext
15519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15520 conftest$ac_exeext conftest.$ac_ext
15522 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15523 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15527 case "$ac_cv_asm_func_def" in
15528 ".def")
15529 cat >>confdefs.h <<\_ACEOF
15530 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15531 _ACEOF
15533 ".type @function")
15534 cat >>confdefs.h <<\_ACEOF
15535 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15536 _ACEOF
15538 ".type 2")
15539 cat >>confdefs.h <<\_ACEOF
15540 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15541 _ACEOF
15544 cat >>confdefs.h <<\_ACEOF
15545 #define __ASM_FUNC(name) ""
15546 _ACEOF
15548 esac
15551 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15552 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15553 if test "${ac_cv_c_extern_prefix+set}" = set; then
15554 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 else
15556 cat >conftest.$ac_ext <<_ACEOF
15557 /* confdefs.h. */
15558 _ACEOF
15559 cat confdefs.h >>conftest.$ac_ext
15560 cat >>conftest.$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15562 extern int ac_test;
15564 main ()
15566 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15568 return 0;
15570 _ACEOF
15571 rm -f conftest.$ac_objext conftest$ac_exeext
15572 if { (ac_try="$ac_link"
15573 case "(($ac_try" in
15574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15575 *) ac_try_echo=$ac_try;;
15576 esac
15577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15578 (eval "$ac_link") 2>conftest.er1
15579 ac_status=$?
15580 grep -v '^ *+' conftest.er1 >conftest.err
15581 rm -f conftest.er1
15582 cat conftest.err >&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } && {
15585 test -z "$ac_c_werror_flag" ||
15586 test ! -s conftest.err
15587 } && test -s conftest$ac_exeext &&
15588 $as_test_x conftest$ac_exeext; then
15589 ac_cv_c_extern_prefix="yes"
15590 else
15591 echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.$ac_ext >&5
15594 ac_cv_c_extern_prefix="no"
15597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15598 conftest$ac_exeext conftest.$ac_ext
15600 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15601 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15605 if test "$ac_cv_c_extern_prefix" = "yes"
15606 then
15607 cat >>confdefs.h <<\_ACEOF
15608 #define __ASM_NAME(name) "_" name
15609 _ACEOF
15611 else
15612 cat >>confdefs.h <<\_ACEOF
15613 #define __ASM_NAME(name) name
15614 _ACEOF
15619 LDPATH=""
15621 case $build_os in
15622 cygwin*|mingw32*)
15623 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15625 darwin*|macosx*)
15627 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15628 then
15629 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15633 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15635 esac
15637 case $host_os in
15638 mingw32*)
15639 CRTLIBS="-lmsvcrt"
15641 SOCKETLIBS="-lws2_32"
15644 esac
15646 MAIN_BINARY="wine-pthread"
15647 case $host_cpu in
15648 *i[3456789]86*)
15649 case $host_os in
15650 linux* | k*bsd*-gnu)
15651 MAIN_BINARY="wine-glibc"
15653 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15655 freebsd*)
15656 MAIN_BINARY="wine-freebsd"
15658 EXTRA_BINARIES="wine-pthread"
15660 esac
15662 esac
15727 for ac_func in \
15728 _pclose \
15729 _popen \
15730 _snprintf \
15731 _spawnvp \
15732 _stricmp \
15733 _strnicmp \
15734 _vsnprintf \
15735 asctime_r \
15736 chsize \
15737 clone \
15738 dlopen \
15739 epoll_create \
15740 ffs \
15741 finite \
15742 fork \
15743 fpclass \
15744 fstatfs \
15745 fstatvfs \
15746 ftruncate \
15747 futimes \
15748 futimesat \
15749 getdirentries \
15750 getopt_long \
15751 getpagesize \
15752 getpwuid \
15753 gettid \
15754 gettimeofday \
15755 getuid \
15756 inet_pton \
15757 kqueue \
15758 lstat \
15759 memmove \
15760 mmap \
15761 pclose \
15762 poll \
15763 popen \
15764 prctl \
15765 pread \
15766 pwrite \
15767 readlink \
15768 rfork \
15769 sched_yield \
15770 select \
15771 setrlimit \
15772 settimeofday \
15773 sigaltstack \
15774 sigprocmask \
15775 snprintf \
15776 spawnvp \
15777 statfs \
15778 statvfs \
15779 strcasecmp \
15780 strerror \
15781 strncasecmp \
15782 strtold \
15783 tcgetattr \
15784 thr_kill2 \
15785 timegm \
15786 usleep \
15787 vsnprintf \
15788 wait4 \
15789 waitpid \
15792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15797 else
15798 cat >conftest.$ac_ext <<_ACEOF
15799 /* confdefs.h. */
15800 _ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15806 #define $ac_func innocuous_$ac_func
15808 /* System header to define __stub macros and hopefully few prototypes,
15809 which can conflict with char $ac_func (); below.
15810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15811 <limits.h> exists even on freestanding compilers. */
15813 #ifdef __STDC__
15814 # include <limits.h>
15815 #else
15816 # include <assert.h>
15817 #endif
15819 #undef $ac_func
15821 /* Override any GCC internal prototype to avoid an error.
15822 Use char because int might match the return type of a GCC
15823 builtin and then its argument prototype would still apply. */
15824 #ifdef __cplusplus
15825 extern "C"
15826 #endif
15827 char $ac_func ();
15828 /* The GNU C library defines this for functions which it implements
15829 to always fail with ENOSYS. Some functions are actually named
15830 something starting with __ and the normal name is an alias. */
15831 #if defined __stub_$ac_func || defined __stub___$ac_func
15832 choke me
15833 #endif
15836 main ()
15838 return $ac_func ();
15840 return 0;
15842 _ACEOF
15843 rm -f conftest.$ac_objext conftest$ac_exeext
15844 if { (ac_try="$ac_link"
15845 case "(($ac_try" in
15846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15847 *) ac_try_echo=$ac_try;;
15848 esac
15849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15850 (eval "$ac_link") 2>conftest.er1
15851 ac_status=$?
15852 grep -v '^ *+' conftest.er1 >conftest.err
15853 rm -f conftest.er1
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } && {
15857 test -z "$ac_c_werror_flag" ||
15858 test ! -s conftest.err
15859 } && test -s conftest$ac_exeext &&
15860 $as_test_x conftest$ac_exeext; then
15861 eval "$as_ac_var=yes"
15862 else
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.$ac_ext >&5
15866 eval "$as_ac_var=no"
15869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15870 conftest$ac_exeext conftest.$ac_ext
15872 ac_res=`eval echo '${'$as_ac_var'}'`
15873 { echo "$as_me:$LINENO: result: $ac_res" >&5
15874 echo "${ECHO_T}$ac_res" >&6; }
15875 if test `eval echo '${'$as_ac_var'}'` = yes; then
15876 cat >>confdefs.h <<_ACEOF
15877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15878 _ACEOF
15881 done
15884 if test "$ac_cv_func_dlopen" = no
15885 then
15886 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15887 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15888 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15889 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 else
15891 ac_check_lib_save_LIBS=$LIBS
15892 LIBS="-ldl $LIBS"
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15900 /* Override any GCC internal prototype to avoid an error.
15901 Use char because int might match the return type of a GCC
15902 builtin and then its argument prototype would still apply. */
15903 #ifdef __cplusplus
15904 extern "C"
15905 #endif
15906 char dlopen ();
15908 main ()
15910 return dlopen ();
15912 return 0;
15914 _ACEOF
15915 rm -f conftest.$ac_objext conftest$ac_exeext
15916 if { (ac_try="$ac_link"
15917 case "(($ac_try" in
15918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15919 *) ac_try_echo=$ac_try;;
15920 esac
15921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15922 (eval "$ac_link") 2>conftest.er1
15923 ac_status=$?
15924 grep -v '^ *+' conftest.er1 >conftest.err
15925 rm -f conftest.er1
15926 cat conftest.err >&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } && {
15929 test -z "$ac_c_werror_flag" ||
15930 test ! -s conftest.err
15931 } && test -s conftest$ac_exeext &&
15932 $as_test_x conftest$ac_exeext; then
15933 ac_cv_lib_dl_dlopen=yes
15934 else
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15938 ac_cv_lib_dl_dlopen=no
15941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15942 conftest$ac_exeext conftest.$ac_ext
15943 LIBS=$ac_check_lib_save_LIBS
15945 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15946 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15947 if test $ac_cv_lib_dl_dlopen = yes; then
15948 cat >>confdefs.h <<\_ACEOF
15949 #define HAVE_DLOPEN 1
15950 _ACEOF
15951 LIBDL="-ldl"
15956 ac_wine_check_funcs_save_LIBS="$LIBS"
15957 LIBS="$LIBS $LIBDL"
15959 for ac_func in dladdr
15961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15962 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15964 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15966 else
15967 cat >conftest.$ac_ext <<_ACEOF
15968 /* confdefs.h. */
15969 _ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15975 #define $ac_func innocuous_$ac_func
15977 /* System header to define __stub macros and hopefully few prototypes,
15978 which can conflict with char $ac_func (); below.
15979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15980 <limits.h> exists even on freestanding compilers. */
15982 #ifdef __STDC__
15983 # include <limits.h>
15984 #else
15985 # include <assert.h>
15986 #endif
15988 #undef $ac_func
15990 /* Override any GCC internal prototype to avoid an error.
15991 Use char because int might match the return type of a GCC
15992 builtin and then its argument prototype would still apply. */
15993 #ifdef __cplusplus
15994 extern "C"
15995 #endif
15996 char $ac_func ();
15997 /* The GNU C library defines this for functions which it implements
15998 to always fail with ENOSYS. Some functions are actually named
15999 something starting with __ and the normal name is an alias. */
16000 #if defined __stub_$ac_func || defined __stub___$ac_func
16001 choke me
16002 #endif
16005 main ()
16007 return $ac_func ();
16009 return 0;
16011 _ACEOF
16012 rm -f conftest.$ac_objext conftest$ac_exeext
16013 if { (ac_try="$ac_link"
16014 case "(($ac_try" in
16015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16016 *) ac_try_echo=$ac_try;;
16017 esac
16018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16019 (eval "$ac_link") 2>conftest.er1
16020 ac_status=$?
16021 grep -v '^ *+' conftest.er1 >conftest.err
16022 rm -f conftest.er1
16023 cat conftest.err >&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } && {
16026 test -z "$ac_c_werror_flag" ||
16027 test ! -s conftest.err
16028 } && test -s conftest$ac_exeext &&
16029 $as_test_x conftest$ac_exeext; then
16030 eval "$as_ac_var=yes"
16031 else
16032 echo "$as_me: failed program was:" >&5
16033 sed 's/^/| /' conftest.$ac_ext >&5
16035 eval "$as_ac_var=no"
16038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16039 conftest$ac_exeext conftest.$ac_ext
16041 ac_res=`eval echo '${'$as_ac_var'}'`
16042 { echo "$as_me:$LINENO: result: $ac_res" >&5
16043 echo "${ECHO_T}$ac_res" >&6; }
16044 if test `eval echo '${'$as_ac_var'}'` = yes; then
16045 cat >>confdefs.h <<_ACEOF
16046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16047 _ACEOF
16050 done
16052 LIBS="$ac_wine_check_funcs_save_LIBS"
16054 if test "$ac_cv_func_poll" = no
16055 then
16056 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16057 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16058 if test "${ac_cv_lib_poll_poll+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16060 else
16061 ac_check_lib_save_LIBS=$LIBS
16062 LIBS="-lpoll $LIBS"
16063 cat >conftest.$ac_ext <<_ACEOF
16064 /* confdefs.h. */
16065 _ACEOF
16066 cat confdefs.h >>conftest.$ac_ext
16067 cat >>conftest.$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16070 /* Override any GCC internal prototype to avoid an error.
16071 Use char because int might match the return type of a GCC
16072 builtin and then its argument prototype would still apply. */
16073 #ifdef __cplusplus
16074 extern "C"
16075 #endif
16076 char poll ();
16078 main ()
16080 return poll ();
16082 return 0;
16084 _ACEOF
16085 rm -f conftest.$ac_objext conftest$ac_exeext
16086 if { (ac_try="$ac_link"
16087 case "(($ac_try" in
16088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16090 esac
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_link") 2>conftest.er1
16093 ac_status=$?
16094 grep -v '^ *+' conftest.er1 >conftest.err
16095 rm -f conftest.er1
16096 cat conftest.err >&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } && {
16099 test -z "$ac_c_werror_flag" ||
16100 test ! -s conftest.err
16101 } && test -s conftest$ac_exeext &&
16102 $as_test_x conftest$ac_exeext; then
16103 ac_cv_lib_poll_poll=yes
16104 else
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16108 ac_cv_lib_poll_poll=no
16111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16112 conftest$ac_exeext conftest.$ac_ext
16113 LIBS=$ac_check_lib_save_LIBS
16115 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16116 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16117 if test $ac_cv_lib_poll_poll = yes; then
16118 cat >>confdefs.h <<\_ACEOF
16119 #define HAVE_POLL 1
16120 _ACEOF
16121 LIBPOLL="-lpoll"
16127 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16128 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16129 if test "${ac_cv_search_gethostbyname+set}" = set; then
16130 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 else
16132 ac_func_search_save_LIBS=$LIBS
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16140 /* Override any GCC internal prototype to avoid an error.
16141 Use char because int might match the return type of a GCC
16142 builtin and then its argument prototype would still apply. */
16143 #ifdef __cplusplus
16144 extern "C"
16145 #endif
16146 char gethostbyname ();
16148 main ()
16150 return gethostbyname ();
16152 return 0;
16154 _ACEOF
16155 for ac_lib in '' nsl; do
16156 if test -z "$ac_lib"; then
16157 ac_res="none required"
16158 else
16159 ac_res=-l$ac_lib
16160 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16162 rm -f conftest.$ac_objext conftest$ac_exeext
16163 if { (ac_try="$ac_link"
16164 case "(($ac_try" in
16165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16166 *) ac_try_echo=$ac_try;;
16167 esac
16168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16169 (eval "$ac_link") 2>conftest.er1
16170 ac_status=$?
16171 grep -v '^ *+' conftest.er1 >conftest.err
16172 rm -f conftest.er1
16173 cat conftest.err >&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } && {
16176 test -z "$ac_c_werror_flag" ||
16177 test ! -s conftest.err
16178 } && test -s conftest$ac_exeext &&
16179 $as_test_x conftest$ac_exeext; then
16180 ac_cv_search_gethostbyname=$ac_res
16181 else
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.$ac_ext >&5
16188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16189 conftest$ac_exeext
16190 if test "${ac_cv_search_gethostbyname+set}" = set; then
16191 break
16193 done
16194 if test "${ac_cv_search_gethostbyname+set}" = set; then
16196 else
16197 ac_cv_search_gethostbyname=no
16199 rm conftest.$ac_ext
16200 LIBS=$ac_func_search_save_LIBS
16202 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16203 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16204 ac_res=$ac_cv_search_gethostbyname
16205 if test "$ac_res" != no; then
16206 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16211 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16212 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16213 if test "${ac_cv_search_connect+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216 ac_func_search_save_LIBS=$LIBS
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16224 /* Override any GCC internal prototype to avoid an error.
16225 Use char because int might match the return type of a GCC
16226 builtin and then its argument prototype would still apply. */
16227 #ifdef __cplusplus
16228 extern "C"
16229 #endif
16230 char connect ();
16232 main ()
16234 return connect ();
16236 return 0;
16238 _ACEOF
16239 for ac_lib in '' socket; do
16240 if test -z "$ac_lib"; then
16241 ac_res="none required"
16242 else
16243 ac_res=-l$ac_lib
16244 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16246 rm -f conftest.$ac_objext conftest$ac_exeext
16247 if { (ac_try="$ac_link"
16248 case "(($ac_try" in
16249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16250 *) ac_try_echo=$ac_try;;
16251 esac
16252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16253 (eval "$ac_link") 2>conftest.er1
16254 ac_status=$?
16255 grep -v '^ *+' conftest.er1 >conftest.err
16256 rm -f conftest.er1
16257 cat conftest.err >&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } && {
16260 test -z "$ac_c_werror_flag" ||
16261 test ! -s conftest.err
16262 } && test -s conftest$ac_exeext &&
16263 $as_test_x conftest$ac_exeext; then
16264 ac_cv_search_connect=$ac_res
16265 else
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16273 conftest$ac_exeext
16274 if test "${ac_cv_search_connect+set}" = set; then
16275 break
16277 done
16278 if test "${ac_cv_search_connect+set}" = set; then
16280 else
16281 ac_cv_search_connect=no
16283 rm conftest.$ac_ext
16284 LIBS=$ac_func_search_save_LIBS
16286 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16287 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16288 ac_res=$ac_cv_search_connect
16289 if test "$ac_res" != no; then
16290 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16295 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16296 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16297 if test "${ac_cv_search_inet_aton+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16299 else
16300 ac_func_search_save_LIBS=$LIBS
16301 cat >conftest.$ac_ext <<_ACEOF
16302 /* confdefs.h. */
16303 _ACEOF
16304 cat confdefs.h >>conftest.$ac_ext
16305 cat >>conftest.$ac_ext <<_ACEOF
16306 /* end confdefs.h. */
16308 /* Override any GCC internal prototype to avoid an error.
16309 Use char because int might match the return type of a GCC
16310 builtin and then its argument prototype would still apply. */
16311 #ifdef __cplusplus
16312 extern "C"
16313 #endif
16314 char inet_aton ();
16316 main ()
16318 return inet_aton ();
16320 return 0;
16322 _ACEOF
16323 for ac_lib in '' resolv; do
16324 if test -z "$ac_lib"; then
16325 ac_res="none required"
16326 else
16327 ac_res=-l$ac_lib
16328 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16330 rm -f conftest.$ac_objext conftest$ac_exeext
16331 if { (ac_try="$ac_link"
16332 case "(($ac_try" in
16333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16334 *) ac_try_echo=$ac_try;;
16335 esac
16336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16337 (eval "$ac_link") 2>conftest.er1
16338 ac_status=$?
16339 grep -v '^ *+' conftest.er1 >conftest.err
16340 rm -f conftest.er1
16341 cat conftest.err >&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } && {
16344 test -z "$ac_c_werror_flag" ||
16345 test ! -s conftest.err
16346 } && test -s conftest$ac_exeext &&
16347 $as_test_x conftest$ac_exeext; then
16348 ac_cv_search_inet_aton=$ac_res
16349 else
16350 echo "$as_me: failed program was:" >&5
16351 sed 's/^/| /' conftest.$ac_ext >&5
16356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16357 conftest$ac_exeext
16358 if test "${ac_cv_search_inet_aton+set}" = set; then
16359 break
16361 done
16362 if test "${ac_cv_search_inet_aton+set}" = set; then
16364 else
16365 ac_cv_search_inet_aton=no
16367 rm conftest.$ac_ext
16368 LIBS=$ac_func_search_save_LIBS
16370 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16371 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16372 ac_res=$ac_cv_search_inet_aton
16373 if test "$ac_res" != no; then
16374 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16387 for ac_func in \
16388 getaddrinfo \
16389 getnameinfo \
16390 getnetbyname \
16391 getprotobyname \
16392 getprotobynumber \
16393 getservbyport \
16394 inet_network \
16395 sendmsg \
16398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16402 echo $ECHO_N "(cached) $ECHO_C" >&6
16403 else
16404 cat >conftest.$ac_ext <<_ACEOF
16405 /* confdefs.h. */
16406 _ACEOF
16407 cat confdefs.h >>conftest.$ac_ext
16408 cat >>conftest.$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16412 #define $ac_func innocuous_$ac_func
16414 /* System header to define __stub macros and hopefully few prototypes,
16415 which can conflict with char $ac_func (); below.
16416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16417 <limits.h> exists even on freestanding compilers. */
16419 #ifdef __STDC__
16420 # include <limits.h>
16421 #else
16422 # include <assert.h>
16423 #endif
16425 #undef $ac_func
16427 /* Override any GCC internal prototype to avoid an error.
16428 Use char because int might match the return type of a GCC
16429 builtin and then its argument prototype would still apply. */
16430 #ifdef __cplusplus
16431 extern "C"
16432 #endif
16433 char $ac_func ();
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined __stub_$ac_func || defined __stub___$ac_func
16438 choke me
16439 #endif
16442 main ()
16444 return $ac_func ();
16446 return 0;
16448 _ACEOF
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (ac_try="$ac_link"
16451 case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16454 esac
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_link") 2>conftest.er1
16457 ac_status=$?
16458 grep -v '^ *+' conftest.er1 >conftest.err
16459 rm -f conftest.er1
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } && {
16463 test -z "$ac_c_werror_flag" ||
16464 test ! -s conftest.err
16465 } && test -s conftest$ac_exeext &&
16466 $as_test_x conftest$ac_exeext; then
16467 eval "$as_ac_var=yes"
16468 else
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.$ac_ext >&5
16472 eval "$as_ac_var=no"
16475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16476 conftest$ac_exeext conftest.$ac_ext
16478 ac_res=`eval echo '${'$as_ac_var'}'`
16479 { echo "$as_me:$LINENO: result: $ac_res" >&5
16480 echo "${ECHO_T}$ac_res" >&6; }
16481 if test `eval echo '${'$as_ac_var'}'` = yes; then
16482 cat >>confdefs.h <<_ACEOF
16483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16484 _ACEOF
16487 done
16491 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16492 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16493 if test "${ac_cv_c_const+set}" = set; then
16494 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 else
16496 cat >conftest.$ac_ext <<_ACEOF
16497 /* confdefs.h. */
16498 _ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16504 main ()
16506 /* FIXME: Include the comments suggested by Paul. */
16507 #ifndef __cplusplus
16508 /* Ultrix mips cc rejects this. */
16509 typedef int charset[2];
16510 const charset cs;
16511 /* SunOS 4.1.1 cc rejects this. */
16512 char const *const *pcpcc;
16513 char **ppc;
16514 /* NEC SVR4.0.2 mips cc rejects this. */
16515 struct point {int x, y;};
16516 static struct point const zero = {0,0};
16517 /* AIX XL C 1.02.0.0 rejects this.
16518 It does not let you subtract one const X* pointer from another in
16519 an arm of an if-expression whose if-part is not a constant
16520 expression */
16521 const char *g = "string";
16522 pcpcc = &g + (g ? g-g : 0);
16523 /* HPUX 7.0 cc rejects these. */
16524 ++pcpcc;
16525 ppc = (char**) pcpcc;
16526 pcpcc = (char const *const *) ppc;
16527 { /* SCO 3.2v4 cc rejects this. */
16528 char *t;
16529 char const *s = 0 ? (char *) 0 : (char const *) 0;
16531 *t++ = 0;
16532 if (s) return 0;
16534 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16535 int x[] = {25, 17};
16536 const int *foo = &x[0];
16537 ++foo;
16539 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16540 typedef const int *iptr;
16541 iptr p = 0;
16542 ++p;
16544 { /* AIX XL C 1.02.0.0 rejects this saying
16545 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16546 struct s { int j; const int *ap[3]; };
16547 struct s *b; b->j = 5;
16549 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16550 const int foo = 10;
16551 if (!foo) return 0;
16553 return !cs[0] && !zero.x;
16554 #endif
16557 return 0;
16559 _ACEOF
16560 rm -f conftest.$ac_objext
16561 if { (ac_try="$ac_compile"
16562 case "(($ac_try" in
16563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16564 *) ac_try_echo=$ac_try;;
16565 esac
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_compile") 2>conftest.er1
16568 ac_status=$?
16569 grep -v '^ *+' conftest.er1 >conftest.err
16570 rm -f conftest.er1
16571 cat conftest.err >&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } && {
16574 test -z "$ac_c_werror_flag" ||
16575 test ! -s conftest.err
16576 } && test -s conftest.$ac_objext; then
16577 ac_cv_c_const=yes
16578 else
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16582 ac_cv_c_const=no
16585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16587 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16588 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16589 if test $ac_cv_c_const = no; then
16591 cat >>confdefs.h <<\_ACEOF
16592 #define const
16593 _ACEOF
16597 { echo "$as_me:$LINENO: checking for inline" >&5
16598 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16599 if test "${ac_cv_c_inline+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 else
16602 ac_cv_c_inline=no
16603 for ac_kw in inline __inline__ __inline; do
16604 cat >conftest.$ac_ext <<_ACEOF
16605 /* confdefs.h. */
16606 _ACEOF
16607 cat confdefs.h >>conftest.$ac_ext
16608 cat >>conftest.$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 #ifndef __cplusplus
16611 typedef int foo_t;
16612 static $ac_kw foo_t static_foo () {return 0; }
16613 $ac_kw foo_t foo () {return 0; }
16614 #endif
16616 _ACEOF
16617 rm -f conftest.$ac_objext
16618 if { (ac_try="$ac_compile"
16619 case "(($ac_try" in
16620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16621 *) ac_try_echo=$ac_try;;
16622 esac
16623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16624 (eval "$ac_compile") 2>conftest.er1
16625 ac_status=$?
16626 grep -v '^ *+' conftest.er1 >conftest.err
16627 rm -f conftest.er1
16628 cat conftest.err >&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } && {
16631 test -z "$ac_c_werror_flag" ||
16632 test ! -s conftest.err
16633 } && test -s conftest.$ac_objext; then
16634 ac_cv_c_inline=$ac_kw
16635 else
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.$ac_ext >&5
16642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16643 test "$ac_cv_c_inline" != no && break
16644 done
16647 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16648 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16651 case $ac_cv_c_inline in
16652 inline | yes) ;;
16654 case $ac_cv_c_inline in
16655 no) ac_val=;;
16656 *) ac_val=$ac_cv_c_inline;;
16657 esac
16658 cat >>confdefs.h <<_ACEOF
16659 #ifndef __cplusplus
16660 #define inline $ac_val
16661 #endif
16662 _ACEOF
16664 esac
16666 { echo "$as_me:$LINENO: checking for mode_t" >&5
16667 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16668 if test "${ac_cv_type_mode_t+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16670 else
16671 cat >conftest.$ac_ext <<_ACEOF
16672 /* confdefs.h. */
16673 _ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16677 $ac_includes_default
16678 typedef mode_t ac__type_new_;
16680 main ()
16682 if ((ac__type_new_ *) 0)
16683 return 0;
16684 if (sizeof (ac__type_new_))
16685 return 0;
16687 return 0;
16689 _ACEOF
16690 rm -f conftest.$ac_objext
16691 if { (ac_try="$ac_compile"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16695 esac
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_compile") 2>conftest.er1
16698 ac_status=$?
16699 grep -v '^ *+' conftest.er1 >conftest.err
16700 rm -f conftest.er1
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest.$ac_objext; then
16707 ac_cv_type_mode_t=yes
16708 else
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16712 ac_cv_type_mode_t=no
16715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16717 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16718 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16719 if test $ac_cv_type_mode_t = yes; then
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_MODE_T 1
16723 _ACEOF
16727 { echo "$as_me:$LINENO: checking for off_t" >&5
16728 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16729 if test "${ac_cv_type_off_t+set}" = set; then
16730 echo $ECHO_N "(cached) $ECHO_C" >&6
16731 else
16732 cat >conftest.$ac_ext <<_ACEOF
16733 /* confdefs.h. */
16734 _ACEOF
16735 cat confdefs.h >>conftest.$ac_ext
16736 cat >>conftest.$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16738 $ac_includes_default
16739 typedef off_t ac__type_new_;
16741 main ()
16743 if ((ac__type_new_ *) 0)
16744 return 0;
16745 if (sizeof (ac__type_new_))
16746 return 0;
16748 return 0;
16750 _ACEOF
16751 rm -f conftest.$ac_objext
16752 if { (ac_try="$ac_compile"
16753 case "(($ac_try" in
16754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16755 *) ac_try_echo=$ac_try;;
16756 esac
16757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16758 (eval "$ac_compile") 2>conftest.er1
16759 ac_status=$?
16760 grep -v '^ *+' conftest.er1 >conftest.err
16761 rm -f conftest.er1
16762 cat conftest.err >&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } && {
16765 test -z "$ac_c_werror_flag" ||
16766 test ! -s conftest.err
16767 } && test -s conftest.$ac_objext; then
16768 ac_cv_type_off_t=yes
16769 else
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16773 ac_cv_type_off_t=no
16776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16778 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16779 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16780 if test $ac_cv_type_off_t = yes; then
16782 cat >>confdefs.h <<_ACEOF
16783 #define HAVE_OFF_T 1
16784 _ACEOF
16788 { echo "$as_me:$LINENO: checking for pid_t" >&5
16789 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16790 if test "${ac_cv_type_pid_t+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 else
16793 cat >conftest.$ac_ext <<_ACEOF
16794 /* confdefs.h. */
16795 _ACEOF
16796 cat confdefs.h >>conftest.$ac_ext
16797 cat >>conftest.$ac_ext <<_ACEOF
16798 /* end confdefs.h. */
16799 $ac_includes_default
16800 typedef pid_t ac__type_new_;
16802 main ()
16804 if ((ac__type_new_ *) 0)
16805 return 0;
16806 if (sizeof (ac__type_new_))
16807 return 0;
16809 return 0;
16811 _ACEOF
16812 rm -f conftest.$ac_objext
16813 if { (ac_try="$ac_compile"
16814 case "(($ac_try" in
16815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16816 *) ac_try_echo=$ac_try;;
16817 esac
16818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16819 (eval "$ac_compile") 2>conftest.er1
16820 ac_status=$?
16821 grep -v '^ *+' conftest.er1 >conftest.err
16822 rm -f conftest.er1
16823 cat conftest.err >&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } && {
16826 test -z "$ac_c_werror_flag" ||
16827 test ! -s conftest.err
16828 } && test -s conftest.$ac_objext; then
16829 ac_cv_type_pid_t=yes
16830 else
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16834 ac_cv_type_pid_t=no
16837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16839 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16840 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16841 if test $ac_cv_type_pid_t = yes; then
16843 cat >>confdefs.h <<_ACEOF
16844 #define HAVE_PID_T 1
16845 _ACEOF
16849 { echo "$as_me:$LINENO: checking for size_t" >&5
16850 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16851 if test "${ac_cv_type_size_t+set}" = set; then
16852 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 else
16854 cat >conftest.$ac_ext <<_ACEOF
16855 /* confdefs.h. */
16856 _ACEOF
16857 cat confdefs.h >>conftest.$ac_ext
16858 cat >>conftest.$ac_ext <<_ACEOF
16859 /* end confdefs.h. */
16860 $ac_includes_default
16861 typedef size_t ac__type_new_;
16863 main ()
16865 if ((ac__type_new_ *) 0)
16866 return 0;
16867 if (sizeof (ac__type_new_))
16868 return 0;
16870 return 0;
16872 _ACEOF
16873 rm -f conftest.$ac_objext
16874 if { (ac_try="$ac_compile"
16875 case "(($ac_try" in
16876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16877 *) ac_try_echo=$ac_try;;
16878 esac
16879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16880 (eval "$ac_compile") 2>conftest.er1
16881 ac_status=$?
16882 grep -v '^ *+' conftest.er1 >conftest.err
16883 rm -f conftest.er1
16884 cat conftest.err >&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } && {
16887 test -z "$ac_c_werror_flag" ||
16888 test ! -s conftest.err
16889 } && test -s conftest.$ac_objext; then
16890 ac_cv_type_size_t=yes
16891 else
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.$ac_ext >&5
16895 ac_cv_type_size_t=no
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16901 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16902 if test $ac_cv_type_size_t = yes; then
16904 cat >>confdefs.h <<_ACEOF
16905 #define HAVE_SIZE_T 1
16906 _ACEOF
16910 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16911 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16912 if test "${ac_cv_type_ssize_t+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 else
16915 cat >conftest.$ac_ext <<_ACEOF
16916 /* confdefs.h. */
16917 _ACEOF
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 $ac_includes_default
16922 typedef ssize_t ac__type_new_;
16924 main ()
16926 if ((ac__type_new_ *) 0)
16927 return 0;
16928 if (sizeof (ac__type_new_))
16929 return 0;
16931 return 0;
16933 _ACEOF
16934 rm -f conftest.$ac_objext
16935 if { (ac_try="$ac_compile"
16936 case "(($ac_try" in
16937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16938 *) ac_try_echo=$ac_try;;
16939 esac
16940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16941 (eval "$ac_compile") 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } && {
16948 test -z "$ac_c_werror_flag" ||
16949 test ! -s conftest.err
16950 } && test -s conftest.$ac_objext; then
16951 ac_cv_type_ssize_t=yes
16952 else
16953 echo "$as_me: failed program was:" >&5
16954 sed 's/^/| /' conftest.$ac_ext >&5
16956 ac_cv_type_ssize_t=no
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16961 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16962 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16963 if test $ac_cv_type_ssize_t = yes; then
16965 cat >>confdefs.h <<_ACEOF
16966 #define HAVE_SSIZE_T 1
16967 _ACEOF
16971 { echo "$as_me:$LINENO: checking for long long" >&5
16972 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16973 if test "${ac_cv_type_long_long+set}" = set; then
16974 echo $ECHO_N "(cached) $ECHO_C" >&6
16975 else
16976 cat >conftest.$ac_ext <<_ACEOF
16977 /* confdefs.h. */
16978 _ACEOF
16979 cat confdefs.h >>conftest.$ac_ext
16980 cat >>conftest.$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 $ac_includes_default
16983 typedef long long ac__type_new_;
16985 main ()
16987 if ((ac__type_new_ *) 0)
16988 return 0;
16989 if (sizeof (ac__type_new_))
16990 return 0;
16992 return 0;
16994 _ACEOF
16995 rm -f conftest.$ac_objext
16996 if { (ac_try="$ac_compile"
16997 case "(($ac_try" in
16998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16999 *) ac_try_echo=$ac_try;;
17000 esac
17001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17002 (eval "$ac_compile") 2>conftest.er1
17003 ac_status=$?
17004 grep -v '^ *+' conftest.er1 >conftest.err
17005 rm -f conftest.er1
17006 cat conftest.err >&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } && {
17009 test -z "$ac_c_werror_flag" ||
17010 test ! -s conftest.err
17011 } && test -s conftest.$ac_objext; then
17012 ac_cv_type_long_long=yes
17013 else
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17017 ac_cv_type_long_long=no
17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17022 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17023 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17024 if test $ac_cv_type_long_long = yes; then
17026 cat >>confdefs.h <<_ACEOF
17027 #define HAVE_LONG_LONG 1
17028 _ACEOF
17032 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17033 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17034 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 else
17037 cat >conftest.$ac_ext <<_ACEOF
17038 /* confdefs.h. */
17039 _ACEOF
17040 cat confdefs.h >>conftest.$ac_ext
17041 cat >>conftest.$ac_ext <<_ACEOF
17042 /* end confdefs.h. */
17043 $ac_includes_default
17044 typedef fsblkcnt_t ac__type_new_;
17046 main ()
17048 if ((ac__type_new_ *) 0)
17049 return 0;
17050 if (sizeof (ac__type_new_))
17051 return 0;
17053 return 0;
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (ac_try="$ac_compile"
17058 case "(($ac_try" in
17059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17060 *) ac_try_echo=$ac_try;;
17061 esac
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17064 ac_status=$?
17065 grep -v '^ *+' conftest.er1 >conftest.err
17066 rm -f conftest.er1
17067 cat conftest.err >&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.$ac_objext; then
17073 ac_cv_type_fsblkcnt_t=yes
17074 else
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.$ac_ext >&5
17078 ac_cv_type_fsblkcnt_t=no
17081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17083 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17084 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17085 if test $ac_cv_type_fsblkcnt_t = yes; then
17087 cat >>confdefs.h <<_ACEOF
17088 #define HAVE_FSBLKCNT_T 1
17089 _ACEOF
17093 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17094 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17095 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 else
17098 cat >conftest.$ac_ext <<_ACEOF
17099 /* confdefs.h. */
17100 _ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 $ac_includes_default
17105 typedef fsfilcnt_t ac__type_new_;
17107 main ()
17109 if ((ac__type_new_ *) 0)
17110 return 0;
17111 if (sizeof (ac__type_new_))
17112 return 0;
17114 return 0;
17116 _ACEOF
17117 rm -f conftest.$ac_objext
17118 if { (ac_try="$ac_compile"
17119 case "(($ac_try" in
17120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17121 *) ac_try_echo=$ac_try;;
17122 esac
17123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17124 (eval "$ac_compile") 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } && {
17131 test -z "$ac_c_werror_flag" ||
17132 test ! -s conftest.err
17133 } && test -s conftest.$ac_objext; then
17134 ac_cv_type_fsfilcnt_t=yes
17135 else
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.$ac_ext >&5
17139 ac_cv_type_fsfilcnt_t=no
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17145 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17146 if test $ac_cv_type_fsfilcnt_t = yes; then
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_FSFILCNT_T 1
17150 _ACEOF
17155 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17156 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17157 if test "${ac_cv_type_sigset_t+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 else
17160 cat >conftest.$ac_ext <<_ACEOF
17161 /* confdefs.h. */
17162 _ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 #include <signal.h>
17168 typedef sigset_t ac__type_new_;
17170 main ()
17172 if ((ac__type_new_ *) 0)
17173 return 0;
17174 if (sizeof (ac__type_new_))
17175 return 0;
17177 return 0;
17179 _ACEOF
17180 rm -f conftest.$ac_objext
17181 if { (ac_try="$ac_compile"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17184 *) ac_try_echo=$ac_try;;
17185 esac
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_compile") 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } && {
17194 test -z "$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17196 } && test -s conftest.$ac_objext; then
17197 ac_cv_type_sigset_t=yes
17198 else
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17202 ac_cv_type_sigset_t=no
17205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17207 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17208 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17209 if test $ac_cv_type_sigset_t = yes; then
17211 cat >>confdefs.h <<_ACEOF
17212 #define HAVE_SIGSET_T 1
17213 _ACEOF
17218 { echo "$as_me:$LINENO: checking for request_sense" >&5
17219 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17220 if test "${ac_cv_type_request_sense+set}" = set; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17222 else
17223 cat >conftest.$ac_ext <<_ACEOF
17224 /* confdefs.h. */
17225 _ACEOF
17226 cat confdefs.h >>conftest.$ac_ext
17227 cat >>conftest.$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229 #include <linux/cdrom.h>
17231 typedef request_sense ac__type_new_;
17233 main ()
17235 if ((ac__type_new_ *) 0)
17236 return 0;
17237 if (sizeof (ac__type_new_))
17238 return 0;
17240 return 0;
17242 _ACEOF
17243 rm -f conftest.$ac_objext
17244 if { (ac_try="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17248 esac
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 ac_cv_type_request_sense=yes
17261 else
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17265 ac_cv_type_request_sense=no
17268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17271 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17272 if test $ac_cv_type_request_sense = yes; then
17274 cat >>confdefs.h <<_ACEOF
17275 #define HAVE_REQUEST_SENSE 1
17276 _ACEOF
17282 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17283 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17284 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 #ifdef HAVE_LINUX_INPUT_H
17294 #include <linux/input.h>
17295 #endif
17298 main ()
17300 static struct ff_effect ac_aggr;
17301 if (ac_aggr.direction)
17302 return 0;
17304 return 0;
17306 _ACEOF
17307 rm -f conftest.$ac_objext
17308 if { (ac_try="$ac_compile"
17309 case "(($ac_try" in
17310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17311 *) ac_try_echo=$ac_try;;
17312 esac
17313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17314 (eval "$ac_compile") 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } && {
17321 test -z "$ac_c_werror_flag" ||
17322 test ! -s conftest.err
17323 } && test -s conftest.$ac_objext; then
17324 ac_cv_member_struct_ff_effect_direction=yes
17325 else
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.$ac_ext >&5
17329 cat >conftest.$ac_ext <<_ACEOF
17330 /* confdefs.h. */
17331 _ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 #ifdef HAVE_LINUX_INPUT_H
17336 #include <linux/input.h>
17337 #endif
17340 main ()
17342 static struct ff_effect ac_aggr;
17343 if (sizeof ac_aggr.direction)
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_member_struct_ff_effect_direction=yes
17367 else
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.$ac_ext >&5
17371 ac_cv_member_struct_ff_effect_direction=no
17374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17379 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17380 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17381 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17383 cat >>confdefs.h <<_ACEOF
17384 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17385 _ACEOF
17391 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17392 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17393 if test "${wine_cv_have_sigaddset+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17395 else
17396 cat >conftest.$ac_ext <<_ACEOF
17397 /* confdefs.h. */
17398 _ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402 #include <signal.h>
17404 main ()
17406 sigset_t set; sigaddset(&set,SIGTERM);
17408 return 0;
17410 _ACEOF
17411 rm -f conftest.$ac_objext conftest$ac_exeext
17412 if { (ac_try="$ac_link"
17413 case "(($ac_try" in
17414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17415 *) ac_try_echo=$ac_try;;
17416 esac
17417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17418 (eval "$ac_link") 2>conftest.er1
17419 ac_status=$?
17420 grep -v '^ *+' conftest.er1 >conftest.err
17421 rm -f conftest.er1
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } && {
17425 test -z "$ac_c_werror_flag" ||
17426 test ! -s conftest.err
17427 } && test -s conftest$ac_exeext &&
17428 $as_test_x conftest$ac_exeext; then
17429 wine_cv_have_sigaddset=yes
17430 else
17431 echo "$as_me: failed program was:" >&5
17432 sed 's/^/| /' conftest.$ac_ext >&5
17434 wine_cv_have_sigaddset=no
17437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17438 conftest$ac_exeext conftest.$ac_ext
17440 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17441 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17442 if test "$wine_cv_have_sigaddset" = "yes"
17443 then
17445 cat >>confdefs.h <<\_ACEOF
17446 #define HAVE_SIGADDSET 1
17447 _ACEOF
17452 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17453 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17454 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17455 echo $ECHO_N "(cached) $ECHO_C" >&6
17456 else
17457 cat >conftest.$ac_ext <<_ACEOF
17458 /* confdefs.h. */
17459 _ACEOF
17460 cat confdefs.h >>conftest.$ac_ext
17461 cat >>conftest.$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17463 #include <netdb.h>
17465 main ()
17468 char *name=NULL;
17469 struct hostent he;
17470 struct hostent *result;
17471 char *buf=NULL;
17472 int bufsize=0;
17473 int res,errnr;
17474 char *addr=NULL;
17475 int addrlen=0;
17476 int addrtype=0;
17477 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17478 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17481 return 0;
17483 _ACEOF
17484 rm -f conftest.$ac_objext conftest$ac_exeext
17485 if { (ac_try="$ac_link"
17486 case "(($ac_try" in
17487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17488 *) ac_try_echo=$ac_try;;
17489 esac
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_link") 2>conftest.er1
17492 ac_status=$?
17493 grep -v '^ *+' conftest.er1 >conftest.err
17494 rm -f conftest.er1
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } && {
17498 test -z "$ac_c_werror_flag" ||
17499 test ! -s conftest.err
17500 } && test -s conftest$ac_exeext &&
17501 $as_test_x conftest$ac_exeext; then
17502 wine_cv_linux_gethostbyname_r_6=yes
17503 else
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17507 wine_cv_linux_gethostbyname_r_6=no
17511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17512 conftest$ac_exeext conftest.$ac_ext
17515 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17516 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17517 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17518 then
17520 cat >>confdefs.h <<\_ACEOF
17521 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17522 _ACEOF
17526 if test "$ac_cv_header_linux_joystick_h" = "yes"
17527 then
17528 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17529 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17530 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 else
17533 cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h. */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17540 #include <sys/ioctl.h>
17541 #include <sys/types.h>
17542 #include <linux/joystick.h>
17544 struct js_event blub;
17545 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17546 #error "no 2.2 header"
17547 #endif
17550 main ()
17552 /*empty*/
17554 return 0;
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (ac_try="$ac_compile"
17559 case "(($ac_try" in
17560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17561 *) ac_try_echo=$ac_try;;
17562 esac
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_compile") 2>conftest.er1
17565 ac_status=$?
17566 grep -v '^ *+' conftest.er1 >conftest.err
17567 rm -f conftest.er1
17568 cat conftest.err >&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } && {
17571 test -z "$ac_c_werror_flag" ||
17572 test ! -s conftest.err
17573 } && test -s conftest.$ac_objext; then
17574 wine_cv_linux_joystick_22_api=yes
17575 else
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17579 wine_cv_linux_joystick_22_api=no
17582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17586 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17587 if test "$wine_cv_linux_joystick_22_api" = "yes"
17588 then
17590 cat >>confdefs.h <<\_ACEOF
17591 #define HAVE_LINUX_22_JOYSTICK_API 1
17592 _ACEOF
17598 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17599 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17600 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 else
17603 cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h. */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 #include <sys/types.h>
17610 #ifdef HAVE_SYS_PARAM_H
17611 # include <sys/param.h>
17612 #endif
17613 #ifdef HAVE_SYS_MOUNT_H
17614 # include <sys/mount.h>
17615 #endif
17616 #ifdef HAVE_SYS_VFS_H
17617 # include <sys/vfs.h>
17618 #endif
17619 #ifdef HAVE_SYS_STATFS_H
17620 # include <sys/statfs.h>
17621 #endif
17624 main ()
17626 static struct statfs ac_aggr;
17627 if (ac_aggr.f_bfree)
17628 return 0;
17630 return 0;
17632 _ACEOF
17633 rm -f conftest.$ac_objext
17634 if { (ac_try="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17638 esac
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17641 ac_status=$?
17642 grep -v '^ *+' conftest.er1 >conftest.err
17643 rm -f conftest.er1
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_c_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17650 ac_cv_member_struct_statfs_f_bfree=yes
17651 else
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 cat >conftest.$ac_ext <<_ACEOF
17656 /* confdefs.h. */
17657 _ACEOF
17658 cat confdefs.h >>conftest.$ac_ext
17659 cat >>conftest.$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17661 #include <sys/types.h>
17662 #ifdef HAVE_SYS_PARAM_H
17663 # include <sys/param.h>
17664 #endif
17665 #ifdef HAVE_SYS_MOUNT_H
17666 # include <sys/mount.h>
17667 #endif
17668 #ifdef HAVE_SYS_VFS_H
17669 # include <sys/vfs.h>
17670 #endif
17671 #ifdef HAVE_SYS_STATFS_H
17672 # include <sys/statfs.h>
17673 #endif
17676 main ()
17678 static struct statfs ac_aggr;
17679 if (sizeof ac_aggr.f_bfree)
17680 return 0;
17682 return 0;
17684 _ACEOF
17685 rm -f conftest.$ac_objext
17686 if { (ac_try="$ac_compile"
17687 case "(($ac_try" in
17688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17689 *) ac_try_echo=$ac_try;;
17690 esac
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_compile") 2>conftest.er1
17693 ac_status=$?
17694 grep -v '^ *+' conftest.er1 >conftest.err
17695 rm -f conftest.er1
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } && {
17699 test -z "$ac_c_werror_flag" ||
17700 test ! -s conftest.err
17701 } && test -s conftest.$ac_objext; then
17702 ac_cv_member_struct_statfs_f_bfree=yes
17703 else
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17707 ac_cv_member_struct_statfs_f_bfree=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17716 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17717 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17719 cat >>confdefs.h <<_ACEOF
17720 #define HAVE_STRUCT_STATFS_F_BFREE 1
17721 _ACEOF
17725 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17726 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17727 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17730 cat >conftest.$ac_ext <<_ACEOF
17731 /* confdefs.h. */
17732 _ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 #include <sys/types.h>
17737 #ifdef HAVE_SYS_PARAM_H
17738 # include <sys/param.h>
17739 #endif
17740 #ifdef HAVE_SYS_MOUNT_H
17741 # include <sys/mount.h>
17742 #endif
17743 #ifdef HAVE_SYS_VFS_H
17744 # include <sys/vfs.h>
17745 #endif
17746 #ifdef HAVE_SYS_STATFS_H
17747 # include <sys/statfs.h>
17748 #endif
17751 main ()
17753 static struct statfs ac_aggr;
17754 if (ac_aggr.f_bavail)
17755 return 0;
17757 return 0;
17759 _ACEOF
17760 rm -f conftest.$ac_objext
17761 if { (ac_try="$ac_compile"
17762 case "(($ac_try" in
17763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17764 *) ac_try_echo=$ac_try;;
17765 esac
17766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17767 (eval "$ac_compile") 2>conftest.er1
17768 ac_status=$?
17769 grep -v '^ *+' conftest.er1 >conftest.err
17770 rm -f conftest.er1
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } && {
17774 test -z "$ac_c_werror_flag" ||
17775 test ! -s conftest.err
17776 } && test -s conftest.$ac_objext; then
17777 ac_cv_member_struct_statfs_f_bavail=yes
17778 else
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17782 cat >conftest.$ac_ext <<_ACEOF
17783 /* confdefs.h. */
17784 _ACEOF
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17788 #include <sys/types.h>
17789 #ifdef HAVE_SYS_PARAM_H
17790 # include <sys/param.h>
17791 #endif
17792 #ifdef HAVE_SYS_MOUNT_H
17793 # include <sys/mount.h>
17794 #endif
17795 #ifdef HAVE_SYS_VFS_H
17796 # include <sys/vfs.h>
17797 #endif
17798 #ifdef HAVE_SYS_STATFS_H
17799 # include <sys/statfs.h>
17800 #endif
17803 main ()
17805 static struct statfs ac_aggr;
17806 if (sizeof ac_aggr.f_bavail)
17807 return 0;
17809 return 0;
17811 _ACEOF
17812 rm -f conftest.$ac_objext
17813 if { (ac_try="$ac_compile"
17814 case "(($ac_try" in
17815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17816 *) ac_try_echo=$ac_try;;
17817 esac
17818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819 (eval "$ac_compile") 2>conftest.er1
17820 ac_status=$?
17821 grep -v '^ *+' conftest.er1 >conftest.err
17822 rm -f conftest.er1
17823 cat conftest.err >&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } && {
17826 test -z "$ac_c_werror_flag" ||
17827 test ! -s conftest.err
17828 } && test -s conftest.$ac_objext; then
17829 ac_cv_member_struct_statfs_f_bavail=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17834 ac_cv_member_struct_statfs_f_bavail=no
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17842 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17843 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17844 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17846 cat >>confdefs.h <<_ACEOF
17847 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17848 _ACEOF
17852 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17853 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17854 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17856 else
17857 cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h. */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863 #include <sys/types.h>
17864 #ifdef HAVE_SYS_PARAM_H
17865 # include <sys/param.h>
17866 #endif
17867 #ifdef HAVE_SYS_MOUNT_H
17868 # include <sys/mount.h>
17869 #endif
17870 #ifdef HAVE_SYS_VFS_H
17871 # include <sys/vfs.h>
17872 #endif
17873 #ifdef HAVE_SYS_STATFS_H
17874 # include <sys/statfs.h>
17875 #endif
17878 main ()
17880 static struct statfs ac_aggr;
17881 if (ac_aggr.f_frsize)
17882 return 0;
17884 return 0;
17886 _ACEOF
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17892 esac
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 ac_cv_member_struct_statfs_f_frsize=yes
17905 else
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.$ac_ext >&5
17909 cat >conftest.$ac_ext <<_ACEOF
17910 /* confdefs.h. */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17915 #include <sys/types.h>
17916 #ifdef HAVE_SYS_PARAM_H
17917 # include <sys/param.h>
17918 #endif
17919 #ifdef HAVE_SYS_MOUNT_H
17920 # include <sys/mount.h>
17921 #endif
17922 #ifdef HAVE_SYS_VFS_H
17923 # include <sys/vfs.h>
17924 #endif
17925 #ifdef HAVE_SYS_STATFS_H
17926 # include <sys/statfs.h>
17927 #endif
17930 main ()
17932 static struct statfs ac_aggr;
17933 if (sizeof ac_aggr.f_frsize)
17934 return 0;
17936 return 0;
17938 _ACEOF
17939 rm -f conftest.$ac_objext
17940 if { (ac_try="$ac_compile"
17941 case "(($ac_try" in
17942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17943 *) ac_try_echo=$ac_try;;
17944 esac
17945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17946 (eval "$ac_compile") 2>conftest.er1
17947 ac_status=$?
17948 grep -v '^ *+' conftest.er1 >conftest.err
17949 rm -f conftest.er1
17950 cat conftest.err >&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); } && {
17953 test -z "$ac_c_werror_flag" ||
17954 test ! -s conftest.err
17955 } && test -s conftest.$ac_objext; then
17956 ac_cv_member_struct_statfs_f_frsize=yes
17957 else
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17961 ac_cv_member_struct_statfs_f_frsize=no
17964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17970 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17971 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17973 cat >>confdefs.h <<_ACEOF
17974 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17975 _ACEOF
17979 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17980 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17981 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <sys/types.h>
17991 #ifdef HAVE_SYS_PARAM_H
17992 # include <sys/param.h>
17993 #endif
17994 #ifdef HAVE_SYS_MOUNT_H
17995 # include <sys/mount.h>
17996 #endif
17997 #ifdef HAVE_SYS_VFS_H
17998 # include <sys/vfs.h>
17999 #endif
18000 #ifdef HAVE_SYS_STATFS_H
18001 # include <sys/statfs.h>
18002 #endif
18005 main ()
18007 static struct statfs ac_aggr;
18008 if (ac_aggr.f_ffree)
18009 return 0;
18011 return 0;
18013 _ACEOF
18014 rm -f conftest.$ac_objext
18015 if { (ac_try="$ac_compile"
18016 case "(($ac_try" in
18017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18018 *) ac_try_echo=$ac_try;;
18019 esac
18020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18021 (eval "$ac_compile") 2>conftest.er1
18022 ac_status=$?
18023 grep -v '^ *+' conftest.er1 >conftest.err
18024 rm -f conftest.er1
18025 cat conftest.err >&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } && {
18028 test -z "$ac_c_werror_flag" ||
18029 test ! -s conftest.err
18030 } && test -s conftest.$ac_objext; then
18031 ac_cv_member_struct_statfs_f_ffree=yes
18032 else
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18036 cat >conftest.$ac_ext <<_ACEOF
18037 /* confdefs.h. */
18038 _ACEOF
18039 cat confdefs.h >>conftest.$ac_ext
18040 cat >>conftest.$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18042 #include <sys/types.h>
18043 #ifdef HAVE_SYS_PARAM_H
18044 # include <sys/param.h>
18045 #endif
18046 #ifdef HAVE_SYS_MOUNT_H
18047 # include <sys/mount.h>
18048 #endif
18049 #ifdef HAVE_SYS_VFS_H
18050 # include <sys/vfs.h>
18051 #endif
18052 #ifdef HAVE_SYS_STATFS_H
18053 # include <sys/statfs.h>
18054 #endif
18057 main ()
18059 static struct statfs ac_aggr;
18060 if (sizeof ac_aggr.f_ffree)
18061 return 0;
18063 return 0;
18065 _ACEOF
18066 rm -f conftest.$ac_objext
18067 if { (ac_try="$ac_compile"
18068 case "(($ac_try" in
18069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18070 *) ac_try_echo=$ac_try;;
18071 esac
18072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18073 (eval "$ac_compile") 2>conftest.er1
18074 ac_status=$?
18075 grep -v '^ *+' conftest.er1 >conftest.err
18076 rm -f conftest.er1
18077 cat conftest.err >&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } && {
18080 test -z "$ac_c_werror_flag" ||
18081 test ! -s conftest.err
18082 } && test -s conftest.$ac_objext; then
18083 ac_cv_member_struct_statfs_f_ffree=yes
18084 else
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18088 ac_cv_member_struct_statfs_f_ffree=no
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18096 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18097 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18098 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18100 cat >>confdefs.h <<_ACEOF
18101 #define HAVE_STRUCT_STATFS_F_FFREE 1
18102 _ACEOF
18106 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18107 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18108 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 else
18111 cat >conftest.$ac_ext <<_ACEOF
18112 /* confdefs.h. */
18113 _ACEOF
18114 cat confdefs.h >>conftest.$ac_ext
18115 cat >>conftest.$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117 #include <sys/types.h>
18118 #ifdef HAVE_SYS_PARAM_H
18119 # include <sys/param.h>
18120 #endif
18121 #ifdef HAVE_SYS_MOUNT_H
18122 # include <sys/mount.h>
18123 #endif
18124 #ifdef HAVE_SYS_VFS_H
18125 # include <sys/vfs.h>
18126 #endif
18127 #ifdef HAVE_SYS_STATFS_H
18128 # include <sys/statfs.h>
18129 #endif
18132 main ()
18134 static struct statfs ac_aggr;
18135 if (ac_aggr.f_favail)
18136 return 0;
18138 return 0;
18140 _ACEOF
18141 rm -f conftest.$ac_objext
18142 if { (ac_try="$ac_compile"
18143 case "(($ac_try" in
18144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18145 *) ac_try_echo=$ac_try;;
18146 esac
18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18148 (eval "$ac_compile") 2>conftest.er1
18149 ac_status=$?
18150 grep -v '^ *+' conftest.er1 >conftest.err
18151 rm -f conftest.er1
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } && {
18155 test -z "$ac_c_werror_flag" ||
18156 test ! -s conftest.err
18157 } && test -s conftest.$ac_objext; then
18158 ac_cv_member_struct_statfs_f_favail=yes
18159 else
18160 echo "$as_me: failed program was:" >&5
18161 sed 's/^/| /' conftest.$ac_ext >&5
18163 cat >conftest.$ac_ext <<_ACEOF
18164 /* confdefs.h. */
18165 _ACEOF
18166 cat confdefs.h >>conftest.$ac_ext
18167 cat >>conftest.$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18169 #include <sys/types.h>
18170 #ifdef HAVE_SYS_PARAM_H
18171 # include <sys/param.h>
18172 #endif
18173 #ifdef HAVE_SYS_MOUNT_H
18174 # include <sys/mount.h>
18175 #endif
18176 #ifdef HAVE_SYS_VFS_H
18177 # include <sys/vfs.h>
18178 #endif
18179 #ifdef HAVE_SYS_STATFS_H
18180 # include <sys/statfs.h>
18181 #endif
18184 main ()
18186 static struct statfs ac_aggr;
18187 if (sizeof ac_aggr.f_favail)
18188 return 0;
18190 return 0;
18192 _ACEOF
18193 rm -f conftest.$ac_objext
18194 if { (ac_try="$ac_compile"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18198 esac
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_compile") 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } && {
18207 test -z "$ac_c_werror_flag" ||
18208 test ! -s conftest.err
18209 } && test -s conftest.$ac_objext; then
18210 ac_cv_member_struct_statfs_f_favail=yes
18211 else
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18215 ac_cv_member_struct_statfs_f_favail=no
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18224 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18225 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18227 cat >>confdefs.h <<_ACEOF
18228 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18229 _ACEOF
18233 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18234 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18235 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18237 else
18238 cat >conftest.$ac_ext <<_ACEOF
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 #include <sys/types.h>
18245 #ifdef HAVE_SYS_PARAM_H
18246 # include <sys/param.h>
18247 #endif
18248 #ifdef HAVE_SYS_MOUNT_H
18249 # include <sys/mount.h>
18250 #endif
18251 #ifdef HAVE_SYS_VFS_H
18252 # include <sys/vfs.h>
18253 #endif
18254 #ifdef HAVE_SYS_STATFS_H
18255 # include <sys/statfs.h>
18256 #endif
18259 main ()
18261 static struct statfs ac_aggr;
18262 if (ac_aggr.f_namelen)
18263 return 0;
18265 return 0;
18267 _ACEOF
18268 rm -f conftest.$ac_objext
18269 if { (ac_try="$ac_compile"
18270 case "(($ac_try" in
18271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18272 *) ac_try_echo=$ac_try;;
18273 esac
18274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18275 (eval "$ac_compile") 2>conftest.er1
18276 ac_status=$?
18277 grep -v '^ *+' conftest.er1 >conftest.err
18278 rm -f conftest.er1
18279 cat conftest.err >&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } && {
18282 test -z "$ac_c_werror_flag" ||
18283 test ! -s conftest.err
18284 } && test -s conftest.$ac_objext; then
18285 ac_cv_member_struct_statfs_f_namelen=yes
18286 else
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.$ac_ext >&5
18290 cat >conftest.$ac_ext <<_ACEOF
18291 /* confdefs.h. */
18292 _ACEOF
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296 #include <sys/types.h>
18297 #ifdef HAVE_SYS_PARAM_H
18298 # include <sys/param.h>
18299 #endif
18300 #ifdef HAVE_SYS_MOUNT_H
18301 # include <sys/mount.h>
18302 #endif
18303 #ifdef HAVE_SYS_VFS_H
18304 # include <sys/vfs.h>
18305 #endif
18306 #ifdef HAVE_SYS_STATFS_H
18307 # include <sys/statfs.h>
18308 #endif
18311 main ()
18313 static struct statfs ac_aggr;
18314 if (sizeof ac_aggr.f_namelen)
18315 return 0;
18317 return 0;
18319 _ACEOF
18320 rm -f conftest.$ac_objext
18321 if { (ac_try="$ac_compile"
18322 case "(($ac_try" in
18323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18324 *) ac_try_echo=$ac_try;;
18325 esac
18326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18327 (eval "$ac_compile") 2>conftest.er1
18328 ac_status=$?
18329 grep -v '^ *+' conftest.er1 >conftest.err
18330 rm -f conftest.er1
18331 cat conftest.err >&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && {
18334 test -z "$ac_c_werror_flag" ||
18335 test ! -s conftest.err
18336 } && test -s conftest.$ac_objext; then
18337 ac_cv_member_struct_statfs_f_namelen=yes
18338 else
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18342 ac_cv_member_struct_statfs_f_namelen=no
18345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18350 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18351 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18352 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18354 cat >>confdefs.h <<_ACEOF
18355 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18356 _ACEOF
18362 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18363 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18364 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 else
18367 cat >conftest.$ac_ext <<_ACEOF
18368 /* confdefs.h. */
18369 _ACEOF
18370 cat confdefs.h >>conftest.$ac_ext
18371 cat >>conftest.$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373 #ifdef HAVE_SYS_STATVFS_H
18374 #include <sys/statvfs.h>
18375 #endif
18378 main ()
18380 static struct statvfs ac_aggr;
18381 if (ac_aggr.f_blocks)
18382 return 0;
18384 return 0;
18386 _ACEOF
18387 rm -f conftest.$ac_objext
18388 if { (ac_try="$ac_compile"
18389 case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18392 esac
18393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_compile") 2>conftest.er1
18395 ac_status=$?
18396 grep -v '^ *+' conftest.er1 >conftest.err
18397 rm -f conftest.er1
18398 cat conftest.err >&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } && {
18401 test -z "$ac_c_werror_flag" ||
18402 test ! -s conftest.err
18403 } && test -s conftest.$ac_objext; then
18404 ac_cv_member_struct_statvfs_f_blocks=yes
18405 else
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 #ifdef HAVE_SYS_STATVFS_H
18416 #include <sys/statvfs.h>
18417 #endif
18420 main ()
18422 static struct statvfs ac_aggr;
18423 if (sizeof ac_aggr.f_blocks)
18424 return 0;
18426 return 0;
18428 _ACEOF
18429 rm -f conftest.$ac_objext
18430 if { (ac_try="$ac_compile"
18431 case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18434 esac
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_compile") 2>conftest.er1
18437 ac_status=$?
18438 grep -v '^ *+' conftest.er1 >conftest.err
18439 rm -f conftest.er1
18440 cat conftest.err >&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } && {
18443 test -z "$ac_c_werror_flag" ||
18444 test ! -s conftest.err
18445 } && test -s conftest.$ac_objext; then
18446 ac_cv_member_struct_statvfs_f_blocks=yes
18447 else
18448 echo "$as_me: failed program was:" >&5
18449 sed 's/^/| /' conftest.$ac_ext >&5
18451 ac_cv_member_struct_statvfs_f_blocks=no
18454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18459 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18460 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18461 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18463 cat >>confdefs.h <<_ACEOF
18464 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18465 _ACEOF
18471 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18472 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18473 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 else
18476 cat >conftest.$ac_ext <<_ACEOF
18477 /* confdefs.h. */
18478 _ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 #include <sys/types.h>
18483 #ifdef HAVE_SYS_SOCKET_H
18484 # include <sys/socket.h>
18485 #endif
18486 #ifdef HAVE_SYS_UN_H
18487 # include <sys/un.h>
18488 #endif
18491 main ()
18493 static struct msghdr ac_aggr;
18494 if (ac_aggr.msg_accrights)
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_msghdr_msg_accrights=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_SOCKET_H
18530 # include <sys/socket.h>
18531 #endif
18532 #ifdef HAVE_SYS_UN_H
18533 # include <sys/un.h>
18534 #endif
18537 main ()
18539 static struct msghdr ac_aggr;
18540 if (sizeof ac_aggr.msg_accrights)
18541 return 0;
18543 return 0;
18545 _ACEOF
18546 rm -f conftest.$ac_objext
18547 if { (ac_try="$ac_compile"
18548 case "(($ac_try" in
18549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18550 *) ac_try_echo=$ac_try;;
18551 esac
18552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18553 (eval "$ac_compile") 2>conftest.er1
18554 ac_status=$?
18555 grep -v '^ *+' conftest.er1 >conftest.err
18556 rm -f conftest.er1
18557 cat conftest.err >&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } && {
18560 test -z "$ac_c_werror_flag" ||
18561 test ! -s conftest.err
18562 } && test -s conftest.$ac_objext; then
18563 ac_cv_member_struct_msghdr_msg_accrights=yes
18564 else
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.$ac_ext >&5
18568 ac_cv_member_struct_msghdr_msg_accrights=no
18571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18577 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18578 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18580 cat >>confdefs.h <<_ACEOF
18581 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18582 _ACEOF
18586 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18587 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18588 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18590 else
18591 cat >conftest.$ac_ext <<_ACEOF
18592 /* confdefs.h. */
18593 _ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 #include <sys/types.h>
18598 #ifdef HAVE_SYS_SOCKET_H
18599 # include <sys/socket.h>
18600 #endif
18601 #ifdef HAVE_SYS_UN_H
18602 # include <sys/un.h>
18603 #endif
18606 main ()
18608 static struct sockaddr ac_aggr;
18609 if (ac_aggr.sa_len)
18610 return 0;
18612 return 0;
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (ac_try="$ac_compile"
18617 case "(($ac_try" in
18618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18619 *) ac_try_echo=$ac_try;;
18620 esac
18621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18622 (eval "$ac_compile") 2>conftest.er1
18623 ac_status=$?
18624 grep -v '^ *+' conftest.er1 >conftest.err
18625 rm -f conftest.er1
18626 cat conftest.err >&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); } && {
18629 test -z "$ac_c_werror_flag" ||
18630 test ! -s conftest.err
18631 } && test -s conftest.$ac_objext; then
18632 ac_cv_member_struct_sockaddr_sa_len=yes
18633 else
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 cat >conftest.$ac_ext <<_ACEOF
18638 /* confdefs.h. */
18639 _ACEOF
18640 cat confdefs.h >>conftest.$ac_ext
18641 cat >>conftest.$ac_ext <<_ACEOF
18642 /* end confdefs.h. */
18643 #include <sys/types.h>
18644 #ifdef HAVE_SYS_SOCKET_H
18645 # include <sys/socket.h>
18646 #endif
18647 #ifdef HAVE_SYS_UN_H
18648 # include <sys/un.h>
18649 #endif
18652 main ()
18654 static struct sockaddr ac_aggr;
18655 if (sizeof ac_aggr.sa_len)
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_sockaddr_sa_len=yes
18679 else
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 ac_cv_member_struct_sockaddr_sa_len=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_sockaddr_sa_len" >&5
18692 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18693 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18695 cat >>confdefs.h <<_ACEOF
18696 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18697 _ACEOF
18701 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18702 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18703 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18704 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 else
18706 cat >conftest.$ac_ext <<_ACEOF
18707 /* confdefs.h. */
18708 _ACEOF
18709 cat confdefs.h >>conftest.$ac_ext
18710 cat >>conftest.$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18712 #include <sys/types.h>
18713 #ifdef HAVE_SYS_SOCKET_H
18714 # include <sys/socket.h>
18715 #endif
18716 #ifdef HAVE_SYS_UN_H
18717 # include <sys/un.h>
18718 #endif
18721 main ()
18723 static struct sockaddr_un ac_aggr;
18724 if (ac_aggr.sun_len)
18725 return 0;
18727 return 0;
18729 _ACEOF
18730 rm -f conftest.$ac_objext
18731 if { (ac_try="$ac_compile"
18732 case "(($ac_try" in
18733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18734 *) ac_try_echo=$ac_try;;
18735 esac
18736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18737 (eval "$ac_compile") 2>conftest.er1
18738 ac_status=$?
18739 grep -v '^ *+' conftest.er1 >conftest.err
18740 rm -f conftest.er1
18741 cat conftest.err >&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); } && {
18744 test -z "$ac_c_werror_flag" ||
18745 test ! -s conftest.err
18746 } && test -s conftest.$ac_objext; then
18747 ac_cv_member_struct_sockaddr_un_sun_len=yes
18748 else
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18752 cat >conftest.$ac_ext <<_ACEOF
18753 /* confdefs.h. */
18754 _ACEOF
18755 cat confdefs.h >>conftest.$ac_ext
18756 cat >>conftest.$ac_ext <<_ACEOF
18757 /* end confdefs.h. */
18758 #include <sys/types.h>
18759 #ifdef HAVE_SYS_SOCKET_H
18760 # include <sys/socket.h>
18761 #endif
18762 #ifdef HAVE_SYS_UN_H
18763 # include <sys/un.h>
18764 #endif
18767 main ()
18769 static struct sockaddr_un ac_aggr;
18770 if (sizeof ac_aggr.sun_len)
18771 return 0;
18773 return 0;
18775 _ACEOF
18776 rm -f conftest.$ac_objext
18777 if { (ac_try="$ac_compile"
18778 case "(($ac_try" in
18779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18780 *) ac_try_echo=$ac_try;;
18781 esac
18782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18783 (eval "$ac_compile") 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } && {
18790 test -z "$ac_c_werror_flag" ||
18791 test ! -s conftest.err
18792 } && test -s conftest.$ac_objext; then
18793 ac_cv_member_struct_sockaddr_un_sun_len=yes
18794 else
18795 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.$ac_ext >&5
18798 ac_cv_member_struct_sockaddr_un_sun_len=no
18801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18807 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18808 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18810 cat >>confdefs.h <<_ACEOF
18811 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18812 _ACEOF
18818 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18819 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18820 if test "${ac_cv_member_scsireq_t_cmd+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_SCSI_SG_H
18831 #include <scsi/sg.h>
18832 #endif
18835 main ()
18837 static scsireq_t ac_aggr;
18838 if (ac_aggr.cmd)
18839 return 0;
18841 return 0;
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (ac_try="$ac_compile"
18846 case "(($ac_try" in
18847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18848 *) ac_try_echo=$ac_try;;
18849 esac
18850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18851 (eval "$ac_compile") 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && {
18858 test -z "$ac_c_werror_flag" ||
18859 test ! -s conftest.err
18860 } && test -s conftest.$ac_objext; then
18861 ac_cv_member_scsireq_t_cmd=yes
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18866 cat >conftest.$ac_ext <<_ACEOF
18867 /* confdefs.h. */
18868 _ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 #include <sys/types.h>
18873 #ifdef HAVE_SCSI_SG_H
18874 #include <scsi/sg.h>
18875 #endif
18878 main ()
18880 static scsireq_t ac_aggr;
18881 if (sizeof ac_aggr.cmd)
18882 return 0;
18884 return 0;
18886 _ACEOF
18887 rm -f conftest.$ac_objext
18888 if { (ac_try="$ac_compile"
18889 case "(($ac_try" in
18890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18891 *) ac_try_echo=$ac_try;;
18892 esac
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_compile") 2>conftest.er1
18895 ac_status=$?
18896 grep -v '^ *+' conftest.er1 >conftest.err
18897 rm -f conftest.er1
18898 cat conftest.err >&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && {
18901 test -z "$ac_c_werror_flag" ||
18902 test ! -s conftest.err
18903 } && test -s conftest.$ac_objext; then
18904 ac_cv_member_scsireq_t_cmd=yes
18905 else
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 ac_cv_member_scsireq_t_cmd=no
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18918 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18919 if test $ac_cv_member_scsireq_t_cmd = yes; then
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_SCSIREQ_T_CMD 1
18923 _ACEOF
18927 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18928 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18929 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18930 echo $ECHO_N "(cached) $ECHO_C" >&6
18931 else
18932 cat >conftest.$ac_ext <<_ACEOF
18933 /* confdefs.h. */
18934 _ACEOF
18935 cat confdefs.h >>conftest.$ac_ext
18936 cat >>conftest.$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 #include <sys/types.h>
18939 #ifdef HAVE_SCSI_SG_H
18940 #include <scsi/sg.h>
18941 #endif
18944 main ()
18946 static sg_io_hdr_t ac_aggr;
18947 if (ac_aggr.interface_id)
18948 return 0;
18950 return 0;
18952 _ACEOF
18953 rm -f conftest.$ac_objext
18954 if { (ac_try="$ac_compile"
18955 case "(($ac_try" in
18956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18957 *) ac_try_echo=$ac_try;;
18958 esac
18959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18960 (eval "$ac_compile") 2>conftest.er1
18961 ac_status=$?
18962 grep -v '^ *+' conftest.er1 >conftest.err
18963 rm -f conftest.er1
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } && {
18967 test -z "$ac_c_werror_flag" ||
18968 test ! -s conftest.err
18969 } && test -s conftest.$ac_objext; then
18970 ac_cv_member_sg_io_hdr_t_interface_id=yes
18971 else
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18975 cat >conftest.$ac_ext <<_ACEOF
18976 /* confdefs.h. */
18977 _ACEOF
18978 cat confdefs.h >>conftest.$ac_ext
18979 cat >>conftest.$ac_ext <<_ACEOF
18980 /* end confdefs.h. */
18981 #include <sys/types.h>
18982 #ifdef HAVE_SCSI_SG_H
18983 #include <scsi/sg.h>
18984 #endif
18987 main ()
18989 static sg_io_hdr_t ac_aggr;
18990 if (sizeof ac_aggr.interface_id)
18991 return 0;
18993 return 0;
18995 _ACEOF
18996 rm -f conftest.$ac_objext
18997 if { (ac_try="$ac_compile"
18998 case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19001 esac
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_compile") 2>conftest.er1
19004 ac_status=$?
19005 grep -v '^ *+' conftest.er1 >conftest.err
19006 rm -f conftest.er1
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } && {
19010 test -z "$ac_c_werror_flag" ||
19011 test ! -s conftest.err
19012 } && test -s conftest.$ac_objext; then
19013 ac_cv_member_sg_io_hdr_t_interface_id=yes
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19018 ac_cv_member_sg_io_hdr_t_interface_id=no
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19026 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19027 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19028 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19032 _ACEOF
19038 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19039 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19040 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 else
19043 cat >conftest.$ac_ext <<_ACEOF
19044 /* confdefs.h. */
19045 _ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049 #include <signal.h>
19052 main ()
19054 static siginfo_t ac_aggr;
19055 if (ac_aggr.si_fd)
19056 return 0;
19058 return 0;
19060 _ACEOF
19061 rm -f conftest.$ac_objext
19062 if { (ac_try="$ac_compile"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19066 esac
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_compile") 2>conftest.er1
19069 ac_status=$?
19070 grep -v '^ *+' conftest.er1 >conftest.err
19071 rm -f conftest.er1
19072 cat conftest.err >&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } && {
19075 test -z "$ac_c_werror_flag" ||
19076 test ! -s conftest.err
19077 } && test -s conftest.$ac_objext; then
19078 ac_cv_member_siginfo_t_si_fd=yes
19079 else
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19083 cat >conftest.$ac_ext <<_ACEOF
19084 /* confdefs.h. */
19085 _ACEOF
19086 cat confdefs.h >>conftest.$ac_ext
19087 cat >>conftest.$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 #include <signal.h>
19092 main ()
19094 static siginfo_t ac_aggr;
19095 if (sizeof ac_aggr.si_fd)
19096 return 0;
19098 return 0;
19100 _ACEOF
19101 rm -f conftest.$ac_objext
19102 if { (ac_try="$ac_compile"
19103 case "(($ac_try" in
19104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19105 *) ac_try_echo=$ac_try;;
19106 esac
19107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19108 (eval "$ac_compile") 2>conftest.er1
19109 ac_status=$?
19110 grep -v '^ *+' conftest.er1 >conftest.err
19111 rm -f conftest.er1
19112 cat conftest.err >&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } && {
19115 test -z "$ac_c_werror_flag" ||
19116 test ! -s conftest.err
19117 } && test -s conftest.$ac_objext; then
19118 ac_cv_member_siginfo_t_si_fd=yes
19119 else
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19123 ac_cv_member_siginfo_t_si_fd=no
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19132 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19133 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19135 cat >>confdefs.h <<_ACEOF
19136 #define HAVE_SIGINFO_T_SI_FD 1
19137 _ACEOF
19143 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19144 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19145 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19147 else
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 #include <sys/types.h>
19155 #ifdef HAVE_SYS_MTIO_H
19156 #include <sys/mtio.h>
19157 #endif
19160 main ()
19162 static struct mtget ac_aggr;
19163 if (ac_aggr.mt_blksiz)
19164 return 0;
19166 return 0;
19168 _ACEOF
19169 rm -f conftest.$ac_objext
19170 if { (ac_try="$ac_compile"
19171 case "(($ac_try" in
19172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19173 *) ac_try_echo=$ac_try;;
19174 esac
19175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19176 (eval "$ac_compile") 2>conftest.er1
19177 ac_status=$?
19178 grep -v '^ *+' conftest.er1 >conftest.err
19179 rm -f conftest.er1
19180 cat conftest.err >&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } && {
19183 test -z "$ac_c_werror_flag" ||
19184 test ! -s conftest.err
19185 } && test -s conftest.$ac_objext; then
19186 ac_cv_member_struct_mtget_mt_blksiz=yes
19187 else
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19191 cat >conftest.$ac_ext <<_ACEOF
19192 /* confdefs.h. */
19193 _ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #include <sys/types.h>
19198 #ifdef HAVE_SYS_MTIO_H
19199 #include <sys/mtio.h>
19200 #endif
19203 main ()
19205 static struct mtget ac_aggr;
19206 if (sizeof ac_aggr.mt_blksiz)
19207 return 0;
19209 return 0;
19211 _ACEOF
19212 rm -f conftest.$ac_objext
19213 if { (ac_try="$ac_compile"
19214 case "(($ac_try" in
19215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19217 esac
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_compile") 2>conftest.er1
19220 ac_status=$?
19221 grep -v '^ *+' conftest.er1 >conftest.err
19222 rm -f conftest.er1
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } && {
19226 test -z "$ac_c_werror_flag" ||
19227 test ! -s conftest.err
19228 } && test -s conftest.$ac_objext; then
19229 ac_cv_member_struct_mtget_mt_blksiz=yes
19230 else
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.$ac_ext >&5
19234 ac_cv_member_struct_mtget_mt_blksiz=no
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19243 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19244 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19248 _ACEOF
19252 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19253 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19254 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 else
19257 cat >conftest.$ac_ext <<_ACEOF
19258 /* confdefs.h. */
19259 _ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 #include <sys/types.h>
19264 #ifdef HAVE_SYS_MTIO_H
19265 #include <sys/mtio.h>
19266 #endif
19269 main ()
19271 static struct mtget ac_aggr;
19272 if (ac_aggr.mt_gstat)
19273 return 0;
19275 return 0;
19277 _ACEOF
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19282 *) ac_try_echo=$ac_try;;
19283 esac
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19286 ac_status=$?
19287 grep -v '^ *+' conftest.er1 >conftest.err
19288 rm -f conftest.er1
19289 cat conftest.err >&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_c_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.$ac_objext; then
19295 ac_cv_member_struct_mtget_mt_gstat=yes
19296 else
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.$ac_ext >&5
19300 cat >conftest.$ac_ext <<_ACEOF
19301 /* confdefs.h. */
19302 _ACEOF
19303 cat confdefs.h >>conftest.$ac_ext
19304 cat >>conftest.$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 #include <sys/types.h>
19307 #ifdef HAVE_SYS_MTIO_H
19308 #include <sys/mtio.h>
19309 #endif
19312 main ()
19314 static struct mtget ac_aggr;
19315 if (sizeof ac_aggr.mt_gstat)
19316 return 0;
19318 return 0;
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (ac_try="$ac_compile"
19323 case "(($ac_try" in
19324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19325 *) ac_try_echo=$ac_try;;
19326 esac
19327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_compile") 2>conftest.er1
19329 ac_status=$?
19330 grep -v '^ *+' conftest.er1 >conftest.err
19331 rm -f conftest.er1
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && {
19335 test -z "$ac_c_werror_flag" ||
19336 test ! -s conftest.err
19337 } && test -s conftest.$ac_objext; then
19338 ac_cv_member_struct_mtget_mt_gstat=yes
19339 else
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.$ac_ext >&5
19343 ac_cv_member_struct_mtget_mt_gstat=no
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19352 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19353 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19355 cat >>confdefs.h <<_ACEOF
19356 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19357 _ACEOF
19361 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19362 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19363 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19364 echo $ECHO_N "(cached) $ECHO_C" >&6
19365 else
19366 cat >conftest.$ac_ext <<_ACEOF
19367 /* confdefs.h. */
19368 _ACEOF
19369 cat confdefs.h >>conftest.$ac_ext
19370 cat >>conftest.$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 #include <sys/types.h>
19373 #ifdef HAVE_SYS_MTIO_H
19374 #include <sys/mtio.h>
19375 #endif
19378 main ()
19380 static struct mtget ac_aggr;
19381 if (ac_aggr.mt_blkno)
19382 return 0;
19384 return 0;
19386 _ACEOF
19387 rm -f conftest.$ac_objext
19388 if { (ac_try="$ac_compile"
19389 case "(($ac_try" in
19390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19391 *) ac_try_echo=$ac_try;;
19392 esac
19393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19394 (eval "$ac_compile") 2>conftest.er1
19395 ac_status=$?
19396 grep -v '^ *+' conftest.er1 >conftest.err
19397 rm -f conftest.er1
19398 cat conftest.err >&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); } && {
19401 test -z "$ac_c_werror_flag" ||
19402 test ! -s conftest.err
19403 } && test -s conftest.$ac_objext; then
19404 ac_cv_member_struct_mtget_mt_blkno=yes
19405 else
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19409 cat >conftest.$ac_ext <<_ACEOF
19410 /* confdefs.h. */
19411 _ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <sys/types.h>
19416 #ifdef HAVE_SYS_MTIO_H
19417 #include <sys/mtio.h>
19418 #endif
19421 main ()
19423 static struct mtget ac_aggr;
19424 if (sizeof ac_aggr.mt_blkno)
19425 return 0;
19427 return 0;
19429 _ACEOF
19430 rm -f conftest.$ac_objext
19431 if { (ac_try="$ac_compile"
19432 case "(($ac_try" in
19433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19434 *) ac_try_echo=$ac_try;;
19435 esac
19436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19437 (eval "$ac_compile") 2>conftest.er1
19438 ac_status=$?
19439 grep -v '^ *+' conftest.er1 >conftest.err
19440 rm -f conftest.er1
19441 cat conftest.err >&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } && {
19444 test -z "$ac_c_werror_flag" ||
19445 test ! -s conftest.err
19446 } && test -s conftest.$ac_objext; then
19447 ac_cv_member_struct_mtget_mt_blkno=yes
19448 else
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.$ac_ext >&5
19452 ac_cv_member_struct_mtget_mt_blkno=no
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19460 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19461 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19462 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19464 cat >>confdefs.h <<_ACEOF
19465 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19466 _ACEOF
19472 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19473 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19474 if test "${ac_cv_member_struct_option_name+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 else
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 #ifdef HAVE_GETOPT_H
19484 #include <getopt.h>
19485 #endif
19488 main ()
19490 static struct option ac_aggr;
19491 if (ac_aggr.name)
19492 return 0;
19494 return 0;
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19502 esac
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 ac_cv_member_struct_option_name=yes
19515 else
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19519 cat >conftest.$ac_ext <<_ACEOF
19520 /* confdefs.h. */
19521 _ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 #ifdef HAVE_GETOPT_H
19526 #include <getopt.h>
19527 #endif
19530 main ()
19532 static struct option ac_aggr;
19533 if (sizeof ac_aggr.name)
19534 return 0;
19536 return 0;
19538 _ACEOF
19539 rm -f conftest.$ac_objext
19540 if { (ac_try="$ac_compile"
19541 case "(($ac_try" in
19542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19543 *) ac_try_echo=$ac_try;;
19544 esac
19545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19546 (eval "$ac_compile") 2>conftest.er1
19547 ac_status=$?
19548 grep -v '^ *+' conftest.er1 >conftest.err
19549 rm -f conftest.er1
19550 cat conftest.err >&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); } && {
19553 test -z "$ac_c_werror_flag" ||
19554 test ! -s conftest.err
19555 } && test -s conftest.$ac_objext; then
19556 ac_cv_member_struct_option_name=yes
19557 else
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19561 ac_cv_member_struct_option_name=no
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19570 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19571 if test $ac_cv_member_struct_option_name = yes; then
19573 cat >>confdefs.h <<_ACEOF
19574 #define HAVE_STRUCT_OPTION_NAME 1
19575 _ACEOF
19581 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19582 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19583 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 else
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19594 main ()
19596 static struct stat ac_aggr;
19597 if (ac_aggr.st_blocks)
19598 return 0;
19600 return 0;
19602 _ACEOF
19603 rm -f conftest.$ac_objext
19604 if { (ac_try="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19608 esac
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19611 ac_status=$?
19612 grep -v '^ *+' conftest.er1 >conftest.err
19613 rm -f conftest.er1
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19620 ac_cv_member_struct_stat_st_blocks=yes
19621 else
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.$ac_ext >&5
19625 cat >conftest.$ac_ext <<_ACEOF
19626 /* confdefs.h. */
19627 _ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 $ac_includes_default
19633 main ()
19635 static struct stat ac_aggr;
19636 if (sizeof ac_aggr.st_blocks)
19637 return 0;
19639 return 0;
19641 _ACEOF
19642 rm -f conftest.$ac_objext
19643 if { (ac_try="$ac_compile"
19644 case "(($ac_try" in
19645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19646 *) ac_try_echo=$ac_try;;
19647 esac
19648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19649 (eval "$ac_compile") 2>conftest.er1
19650 ac_status=$?
19651 grep -v '^ *+' conftest.er1 >conftest.err
19652 rm -f conftest.er1
19653 cat conftest.err >&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } && {
19656 test -z "$ac_c_werror_flag" ||
19657 test ! -s conftest.err
19658 } && test -s conftest.$ac_objext; then
19659 ac_cv_member_struct_stat_st_blocks=yes
19660 else
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19664 ac_cv_member_struct_stat_st_blocks=no
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19672 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19673 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19674 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19676 cat >>confdefs.h <<_ACEOF
19677 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19678 _ACEOF
19684 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19685 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19686 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19688 else
19689 cat >conftest.$ac_ext <<_ACEOF
19690 /* confdefs.h. */
19691 _ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 #ifdef HAVE_SYS_TYPES_H
19696 #include <sys/types.h>
19697 #endif
19698 #ifdef HAVE_NETINET_IN_H
19699 #include <netinet/in.h>
19700 #endif
19703 main ()
19705 static struct sockaddr_in6 ac_aggr;
19706 if (ac_aggr.sin6_scope_id)
19707 return 0;
19709 return 0;
19711 _ACEOF
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19717 esac
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19720 ac_status=$?
19721 grep -v '^ *+' conftest.er1 >conftest.err
19722 rm -f conftest.er1
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } && {
19726 test -z "$ac_c_werror_flag" ||
19727 test ! -s conftest.err
19728 } && test -s conftest.$ac_objext; then
19729 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19730 else
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19734 cat >conftest.$ac_ext <<_ACEOF
19735 /* confdefs.h. */
19736 _ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 #ifdef HAVE_SYS_TYPES_H
19741 #include <sys/types.h>
19742 #endif
19743 #ifdef HAVE_NETINET_IN_H
19744 #include <netinet/in.h>
19745 #endif
19748 main ()
19750 static struct sockaddr_in6 ac_aggr;
19751 if (sizeof ac_aggr.sin6_scope_id)
19752 return 0;
19754 return 0;
19756 _ACEOF
19757 rm -f conftest.$ac_objext
19758 if { (ac_try="$ac_compile"
19759 case "(($ac_try" in
19760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761 *) ac_try_echo=$ac_try;;
19762 esac
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764 (eval "$ac_compile") 2>conftest.er1
19765 ac_status=$?
19766 grep -v '^ *+' conftest.er1 >conftest.err
19767 rm -f conftest.er1
19768 cat conftest.err >&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); } && {
19771 test -z "$ac_c_werror_flag" ||
19772 test ! -s conftest.err
19773 } && test -s conftest.$ac_objext; then
19774 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19775 else
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19779 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19788 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19789 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19791 cat >>confdefs.h <<_ACEOF
19792 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19793 _ACEOF
19799 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19800 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19801 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19802 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 else
19804 cat >conftest.$ac_ext <<_ACEOF
19805 /* confdefs.h. */
19806 _ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 #ifdef HAVE_SYS_TYPES_H
19811 #include <sys/types.h>
19812 #endif
19813 #ifdef HAVE_NETINET_IN_H
19814 # include <netinet/in.h>
19815 #endif
19816 #ifdef HAVE_ARPA_NAMESER_H
19817 # include <arpa/nameser.h>
19818 #endif
19821 main ()
19823 static ns_msg ac_aggr;
19824 if (ac_aggr._msg_ptr)
19825 return 0;
19827 return 0;
19829 _ACEOF
19830 rm -f conftest.$ac_objext
19831 if { (ac_try="$ac_compile"
19832 case "(($ac_try" in
19833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19834 *) ac_try_echo=$ac_try;;
19835 esac
19836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19837 (eval "$ac_compile") 2>conftest.er1
19838 ac_status=$?
19839 grep -v '^ *+' conftest.er1 >conftest.err
19840 rm -f conftest.er1
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } && {
19844 test -z "$ac_c_werror_flag" ||
19845 test ! -s conftest.err
19846 } && test -s conftest.$ac_objext; then
19847 ac_cv_member_ns_msg__msg_ptr=yes
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 #ifdef HAVE_SYS_TYPES_H
19859 #include <sys/types.h>
19860 #endif
19861 #ifdef HAVE_NETINET_IN_H
19862 # include <netinet/in.h>
19863 #endif
19864 #ifdef HAVE_ARPA_NAMESER_H
19865 # include <arpa/nameser.h>
19866 #endif
19869 main ()
19871 static ns_msg ac_aggr;
19872 if (sizeof ac_aggr._msg_ptr)
19873 return 0;
19875 return 0;
19877 _ACEOF
19878 rm -f conftest.$ac_objext
19879 if { (ac_try="$ac_compile"
19880 case "(($ac_try" in
19881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19882 *) ac_try_echo=$ac_try;;
19883 esac
19884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19885 (eval "$ac_compile") 2>conftest.er1
19886 ac_status=$?
19887 grep -v '^ *+' conftest.er1 >conftest.err
19888 rm -f conftest.er1
19889 cat conftest.err >&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } && {
19892 test -z "$ac_c_werror_flag" ||
19893 test ! -s conftest.err
19894 } && test -s conftest.$ac_objext; then
19895 ac_cv_member_ns_msg__msg_ptr=yes
19896 else
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19900 ac_cv_member_ns_msg__msg_ptr=no
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19908 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19909 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19910 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19912 cat >>confdefs.h <<_ACEOF
19913 #define HAVE_NS_MSG__MSG_PTR 1
19914 _ACEOF
19920 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19921 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19922 if test "${ac_cv_have_timezone+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 else
19925 cat >conftest.$ac_ext <<_ACEOF
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 #include <time.h>
19933 main ()
19935 timezone = 1
19937 return 0;
19939 _ACEOF
19940 rm -f conftest.$ac_objext conftest$ac_exeext
19941 if { (ac_try="$ac_link"
19942 case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_link") 2>conftest.er1
19948 ac_status=$?
19949 grep -v '^ *+' conftest.er1 >conftest.err
19950 rm -f conftest.er1
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest$ac_exeext &&
19957 $as_test_x conftest$ac_exeext; then
19958 ac_cv_have_timezone="yes"
19959 else
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ac_cv_have_timezone="no"
19966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19967 conftest$ac_exeext conftest.$ac_ext
19969 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19970 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19971 if test "$ac_cv_have_timezone" = "yes"
19972 then
19974 cat >>confdefs.h <<\_ACEOF
19975 #define HAVE_TIMEZONE 1
19976 _ACEOF
19979 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19980 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19981 if test "${ac_cv_have_daylight+set}" = set; then
19982 echo $ECHO_N "(cached) $ECHO_C" >&6
19983 else
19984 cat >conftest.$ac_ext <<_ACEOF
19985 /* confdefs.h. */
19986 _ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 #include <time.h>
19992 main ()
19994 daylight = 1
19996 return 0;
19998 _ACEOF
19999 rm -f conftest.$ac_objext conftest$ac_exeext
20000 if { (ac_try="$ac_link"
20001 case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20004 esac
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_link") 2>conftest.er1
20007 ac_status=$?
20008 grep -v '^ *+' conftest.er1 >conftest.err
20009 rm -f conftest.er1
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest$ac_exeext &&
20016 $as_test_x conftest$ac_exeext; then
20017 ac_cv_have_daylight="yes"
20018 else
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20022 ac_cv_have_daylight="no"
20025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20026 conftest$ac_exeext conftest.$ac_ext
20028 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20029 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20030 if test "$ac_cv_have_daylight" = "yes"
20031 then
20033 cat >>confdefs.h <<\_ACEOF
20034 #define HAVE_DAYLIGHT 1
20035 _ACEOF
20040 case $host_cpu in
20041 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20042 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20043 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 else
20046 cat >conftest.$ac_ext <<_ACEOF
20047 /* confdefs.h. */
20048 _ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #ifndef __i386__
20054 #endif
20055 _ACEOF
20056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20057 $EGREP "yes" >/dev/null 2>&1; then
20058 ac_cv_cpp_def___i386__=yes
20059 else
20060 ac_cv_cpp_def___i386__=no
20062 rm -f conftest*
20065 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20066 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20067 if test $ac_cv_cpp_def___i386__ = yes; then
20068 CFLAGS="$CFLAGS -D__i386__"
20069 LINTFLAGS="$LINTFLAGS -D__i386__"
20072 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20073 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20074 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20075 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 else
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #ifndef __x86_64__
20085 #endif
20086 _ACEOF
20087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20088 $EGREP "yes" >/dev/null 2>&1; then
20089 ac_cv_cpp_def___x86_64__=yes
20090 else
20091 ac_cv_cpp_def___x86_64__=no
20093 rm -f conftest*
20096 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20097 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20098 if test $ac_cv_cpp_def___x86_64__ = yes; then
20099 CFLAGS="$CFLAGS -D__x86_64__"
20100 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20103 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20104 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20105 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 else
20108 cat >conftest.$ac_ext <<_ACEOF
20109 /* confdefs.h. */
20110 _ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 #ifndef __ALPHA__
20116 #endif
20117 _ACEOF
20118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20119 $EGREP "yes" >/dev/null 2>&1; then
20120 ac_cv_cpp_def___ALPHA__=yes
20121 else
20122 ac_cv_cpp_def___ALPHA__=no
20124 rm -f conftest*
20127 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20128 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20129 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20130 CFLAGS="$CFLAGS -D__ALPHA__"
20131 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20134 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20135 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20136 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20137 echo $ECHO_N "(cached) $ECHO_C" >&6
20138 else
20139 cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h. */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 #ifndef __sparc__
20147 #endif
20148 _ACEOF
20149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20150 $EGREP "yes" >/dev/null 2>&1; then
20151 ac_cv_cpp_def___sparc__=yes
20152 else
20153 ac_cv_cpp_def___sparc__=no
20155 rm -f conftest*
20158 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20159 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20160 if test $ac_cv_cpp_def___sparc__ = yes; then
20161 CFLAGS="$CFLAGS -D__sparc__"
20162 LINTFLAGS="$LINTFLAGS -D__sparc__"
20165 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20166 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20167 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 else
20170 cat >conftest.$ac_ext <<_ACEOF
20171 /* confdefs.h. */
20172 _ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 #ifndef __powerpc__
20178 #endif
20179 _ACEOF
20180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20181 $EGREP "yes" >/dev/null 2>&1; then
20182 ac_cv_cpp_def___powerpc__=yes
20183 else
20184 ac_cv_cpp_def___powerpc__=no
20186 rm -f conftest*
20189 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20190 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20191 if test $ac_cv_cpp_def___powerpc__ = yes; then
20192 CFLAGS="$CFLAGS -D__powerpc__"
20193 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20196 esac
20198 case $host_vendor in
20199 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20200 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20201 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20202 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 else
20204 cat >conftest.$ac_ext <<_ACEOF
20205 /* confdefs.h. */
20206 _ACEOF
20207 cat confdefs.h >>conftest.$ac_ext
20208 cat >>conftest.$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20210 #ifndef __sun__
20212 #endif
20213 _ACEOF
20214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20215 $EGREP "yes" >/dev/null 2>&1; then
20216 ac_cv_cpp_def___sun__=yes
20217 else
20218 ac_cv_cpp_def___sun__=no
20220 rm -f conftest*
20223 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20224 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20225 if test $ac_cv_cpp_def___sun__ = yes; then
20226 CFLAGS="$CFLAGS -D__sun__"
20227 LINTFLAGS="$LINTFLAGS -D__sun__"
20230 esac
20233 DEPENDENCIES="### Dependencies:
20235 .INIT: Makefile
20236 .BEGIN: Makefile
20237 Makefile: dummy
20238 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20240 \$(OBJS): \$(IDL_GEN_HEADERS)
20241 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20242 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20243 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20249 ac_config_commands="$ac_config_commands include/stamp-h"
20252 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20254 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20256 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20258 ac_config_commands="$ac_config_commands dlls/user32/resources"
20260 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20262 ac_config_commands="$ac_config_commands include/wine"
20265 MAKE_RULES=Make.rules
20268 MAKE_DLL_RULES=dlls/Makedll.rules
20271 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20274 MAKE_TEST_RULES=dlls/Maketest.rules
20277 MAKE_PROG_RULES=programs/Makeprog.rules
20280 ac_config_files="$ac_config_files Make.rules"
20282 ac_config_files="$ac_config_files dlls/Makedll.rules"
20284 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20286 ac_config_files="$ac_config_files dlls/Maketest.rules"
20288 ac_config_files="$ac_config_files programs/Makeprog.rules"
20290 ac_config_files="$ac_config_files Makefile"
20292 ac_config_files="$ac_config_files dlls/Makefile"
20294 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20296 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20298 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20300 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20302 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20304 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20306 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20308 ac_config_files="$ac_config_files dlls/atl/Makefile"
20310 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20312 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20314 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20316 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20318 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20320 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20322 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20324 ac_config_files="$ac_config_files dlls/cards/Makefile"
20326 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20328 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20330 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20332 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20334 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20336 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20338 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20340 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20342 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20344 ac_config_files="$ac_config_files dlls/credui/Makefile"
20346 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20348 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20350 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20352 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20354 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20356 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20358 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20360 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20362 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20364 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20366 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20368 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20370 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20372 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20374 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20376 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20378 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20380 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20382 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20384 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20386 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20388 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20390 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20392 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20394 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20396 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20398 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20400 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20402 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20404 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20406 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20408 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20410 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20412 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20414 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20416 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20418 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20420 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20422 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20424 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20426 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20428 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20430 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20432 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20434 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20436 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20438 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20440 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20442 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20444 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20446 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20448 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20450 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20452 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20454 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20456 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20458 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20460 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20462 ac_config_files="$ac_config_files dlls/hal/Makefile"
20464 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20466 ac_config_files="$ac_config_files dlls/hid/Makefile"
20468 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20470 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20472 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20474 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20476 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20478 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20480 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20482 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20484 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20486 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20488 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20490 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20492 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20494 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20496 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20498 ac_config_files="$ac_config_files dlls/itss/Makefile"
20500 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20502 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20504 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20506 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20508 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20510 ac_config_files="$ac_config_files dlls/localui/Makefile"
20512 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20514 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20516 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20518 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20520 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20522 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20524 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20526 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20528 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20530 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20532 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20534 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20536 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20538 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20540 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20542 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20544 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20546 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20548 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20552 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20554 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20556 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20558 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20560 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20562 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20564 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20566 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20568 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/msi/Makefile"
20572 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20574 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20576 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20578 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20580 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20582 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20584 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20586 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20590 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20592 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20594 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20598 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20600 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20602 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20604 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20606 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20608 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20610 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20614 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20616 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20618 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20620 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20622 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20624 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20626 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20628 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20630 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20632 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20636 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20638 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20640 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20642 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20646 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20648 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20650 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20652 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20654 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20656 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20658 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20660 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20662 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20664 ac_config_files="$ac_config_files dlls/printui/Makefile"
20666 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20668 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20670 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20672 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20674 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20676 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20678 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20680 ac_config_files="$ac_config_files dlls/query/Makefile"
20682 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20684 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20686 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20688 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20690 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20692 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20694 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20696 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20698 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20700 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20702 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20704 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20706 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20708 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20710 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20712 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20714 ac_config_files="$ac_config_files dlls/security/Makefile"
20716 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20718 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20720 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20722 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20724 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20726 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20728 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20730 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20732 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20734 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20736 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20738 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20740 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20742 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20744 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20746 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20748 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20750 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20752 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
20754 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20756 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20758 ac_config_files="$ac_config_files dlls/sti/Makefile"
20760 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20762 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20764 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20766 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20768 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20770 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20772 ac_config_files="$ac_config_files dlls/url/Makefile"
20774 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20776 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20778 ac_config_files="$ac_config_files dlls/user32/Makefile"
20780 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20782 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20784 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20786 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20788 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20790 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20792 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20794 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20796 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20798 ac_config_files="$ac_config_files dlls/version/Makefile"
20800 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20802 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20804 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20806 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20808 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20810 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20812 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20814 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20816 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20818 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20820 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20822 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20824 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20826 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20828 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20830 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20832 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20834 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20836 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20838 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20840 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20842 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20844 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20846 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20848 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20850 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20852 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20854 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20856 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20858 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20860 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20862 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20864 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20866 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20868 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20870 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20872 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20874 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20876 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20878 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20880 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20882 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20884 ac_config_files="$ac_config_files documentation/Makefile"
20886 ac_config_files="$ac_config_files fonts/Makefile"
20888 ac_config_files="$ac_config_files include/Makefile"
20890 ac_config_files="$ac_config_files libs/Makefile"
20892 ac_config_files="$ac_config_files libs/port/Makefile"
20894 ac_config_files="$ac_config_files libs/wine/Makefile"
20896 ac_config_files="$ac_config_files libs/wpp/Makefile"
20898 ac_config_files="$ac_config_files loader/Makefile"
20900 ac_config_files="$ac_config_files programs/Makefile"
20902 ac_config_files="$ac_config_files programs/clock/Makefile"
20904 ac_config_files="$ac_config_files programs/cmd/Makefile"
20906 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20908 ac_config_files="$ac_config_files programs/control/Makefile"
20910 ac_config_files="$ac_config_files programs/eject/Makefile"
20912 ac_config_files="$ac_config_files programs/expand/Makefile"
20914 ac_config_files="$ac_config_files programs/explorer/Makefile"
20916 ac_config_files="$ac_config_files programs/hh/Makefile"
20918 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20920 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20922 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20924 ac_config_files="$ac_config_files programs/net/Makefile"
20926 ac_config_files="$ac_config_files programs/notepad/Makefile"
20928 ac_config_files="$ac_config_files programs/oleview/Makefile"
20930 ac_config_files="$ac_config_files programs/progman/Makefile"
20932 ac_config_files="$ac_config_files programs/regedit/Makefile"
20934 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20936 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20938 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20940 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20942 ac_config_files="$ac_config_files programs/start/Makefile"
20944 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20946 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20948 ac_config_files="$ac_config_files programs/view/Makefile"
20950 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20952 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20954 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20956 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20958 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20960 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20962 ac_config_files="$ac_config_files programs/winefile/Makefile"
20964 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20966 ac_config_files="$ac_config_files programs/winemine/Makefile"
20968 ac_config_files="$ac_config_files programs/winepath/Makefile"
20970 ac_config_files="$ac_config_files programs/winetest/Makefile"
20972 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20974 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20976 ac_config_files="$ac_config_files programs/winver/Makefile"
20978 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20980 ac_config_files="$ac_config_files programs/write/Makefile"
20982 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20984 ac_config_files="$ac_config_files server/Makefile"
20986 ac_config_files="$ac_config_files tools/Makefile"
20988 ac_config_files="$ac_config_files tools/widl/Makefile"
20990 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20992 ac_config_files="$ac_config_files tools/winedump/Makefile"
20994 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20996 ac_config_files="$ac_config_files tools/wmc/Makefile"
20998 ac_config_files="$ac_config_files tools/wrc/Makefile"
21001 cat >confcache <<\_ACEOF
21002 # This file is a shell script that caches the results of configure
21003 # tests run on this system so they can be shared between configure
21004 # scripts and configure runs, see configure's option --config-cache.
21005 # It is not useful on other systems. If it contains results you don't
21006 # want to keep, you may remove or edit it.
21008 # config.status only pays attention to the cache file if you give it
21009 # the --recheck option to rerun configure.
21011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21013 # following values.
21015 _ACEOF
21017 # The following way of writing the cache mishandles newlines in values,
21018 # but we know of no workaround that is simple, portable, and efficient.
21019 # So, we kill variables containing newlines.
21020 # Ultrix sh set writes to stderr and can't be redirected directly,
21021 # and sets the high bit in the cache file unless we assign to the vars.
21023 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21024 eval ac_val=\$$ac_var
21025 case $ac_val in #(
21026 *${as_nl}*)
21027 case $ac_var in #(
21028 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21029 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21030 esac
21031 case $ac_var in #(
21032 _ | IFS | as_nl) ;; #(
21033 *) $as_unset $ac_var ;;
21034 esac ;;
21035 esac
21036 done
21038 (set) 2>&1 |
21039 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21040 *${as_nl}ac_space=\ *)
21041 # `set' does not quote correctly, so add quotes (double-quote
21042 # substitution turns \\\\ into \\, and sed turns \\ into \).
21043 sed -n \
21044 "s/'/'\\\\''/g;
21045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21046 ;; #(
21048 # `set' quotes correctly as required by POSIX, so do not add quotes.
21049 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21051 esac |
21052 sort
21054 sed '
21055 /^ac_cv_env_/b end
21056 t clear
21057 :clear
21058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21059 t end
21060 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21061 :end' >>confcache
21062 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21063 if test -w "$cache_file"; then
21064 test "x$cache_file" != "x/dev/null" &&
21065 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21066 echo "$as_me: updating cache $cache_file" >&6;}
21067 cat confcache >$cache_file
21068 else
21069 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21070 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21073 rm -f confcache
21075 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21076 # Let make expand exec_prefix.
21077 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21079 DEFS=-DHAVE_CONFIG_H
21081 ac_libobjs=
21082 ac_ltlibobjs=
21083 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21084 # 1. Remove the extension, and $U if already installed.
21085 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21086 ac_i=`echo "$ac_i" | sed "$ac_script"`
21087 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21088 # will be set to the directory where LIBOBJS objects are built.
21089 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21090 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21091 done
21092 LIBOBJS=$ac_libobjs
21094 LTLIBOBJS=$ac_ltlibobjs
21098 : ${CONFIG_STATUS=./config.status}
21099 ac_clean_files_save=$ac_clean_files
21100 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21103 cat >$CONFIG_STATUS <<_ACEOF
21104 #! $SHELL
21105 # Generated by $as_me.
21106 # Run this file to recreate the current configuration.
21107 # Compiler output produced by configure, useful for debugging
21108 # configure, is in config.log if it exists.
21110 debug=false
21111 ac_cs_recheck=false
21112 ac_cs_silent=false
21113 SHELL=\${CONFIG_SHELL-$SHELL}
21114 _ACEOF
21116 cat >>$CONFIG_STATUS <<\_ACEOF
21117 ## --------------------- ##
21118 ## M4sh Initialization. ##
21119 ## --------------------- ##
21121 # Be more Bourne compatible
21122 DUALCASE=1; export DUALCASE # for MKS sh
21123 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21124 emulate sh
21125 NULLCMD=:
21126 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21127 # is contrary to our usage. Disable this feature.
21128 alias -g '${1+"$@"}'='"$@"'
21129 setopt NO_GLOB_SUBST
21130 else
21131 case `(set -o) 2>/dev/null` in
21132 *posix*) set -o posix ;;
21133 esac
21140 # PATH needs CR
21141 # Avoid depending upon Character Ranges.
21142 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21143 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21144 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21145 as_cr_digits='0123456789'
21146 as_cr_alnum=$as_cr_Letters$as_cr_digits
21148 # The user is always right.
21149 if test "${PATH_SEPARATOR+set}" != set; then
21150 echo "#! /bin/sh" >conf$$.sh
21151 echo "exit 0" >>conf$$.sh
21152 chmod +x conf$$.sh
21153 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21154 PATH_SEPARATOR=';'
21155 else
21156 PATH_SEPARATOR=:
21158 rm -f conf$$.sh
21161 # Support unset when possible.
21162 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21163 as_unset=unset
21164 else
21165 as_unset=false
21169 # IFS
21170 # We need space, tab and new line, in precisely that order. Quoting is
21171 # there to prevent editors from complaining about space-tab.
21172 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21173 # splitting by setting IFS to empty value.)
21174 as_nl='
21176 IFS=" "" $as_nl"
21178 # Find who we are. Look in the path if we contain no directory separator.
21179 case $0 in
21180 *[\\/]* ) as_myself=$0 ;;
21181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21182 for as_dir in $PATH
21184 IFS=$as_save_IFS
21185 test -z "$as_dir" && as_dir=.
21186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21187 done
21188 IFS=$as_save_IFS
21191 esac
21192 # We did not find ourselves, most probably we were run as `sh COMMAND'
21193 # in which case we are not to be found in the path.
21194 if test "x$as_myself" = x; then
21195 as_myself=$0
21197 if test ! -f "$as_myself"; then
21198 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21199 { (exit 1); exit 1; }
21202 # Work around bugs in pre-3.0 UWIN ksh.
21203 for as_var in ENV MAIL MAILPATH
21204 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21205 done
21206 PS1='$ '
21207 PS2='> '
21208 PS4='+ '
21210 # NLS nuisances.
21211 for as_var in \
21212 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21213 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21214 LC_TELEPHONE LC_TIME
21216 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21217 eval $as_var=C; export $as_var
21218 else
21219 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21221 done
21223 # Required to use basename.
21224 if expr a : '\(a\)' >/dev/null 2>&1 &&
21225 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21226 as_expr=expr
21227 else
21228 as_expr=false
21231 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21232 as_basename=basename
21233 else
21234 as_basename=false
21238 # Name of the executable.
21239 as_me=`$as_basename -- "$0" ||
21240 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21241 X"$0" : 'X\(//\)$' \| \
21242 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21243 echo X/"$0" |
21244 sed '/^.*\/\([^/][^/]*\)\/*$/{
21245 s//\1/
21248 /^X\/\(\/\/\)$/{
21249 s//\1/
21252 /^X\/\(\/\).*/{
21253 s//\1/
21256 s/.*/./; q'`
21258 # CDPATH.
21259 $as_unset CDPATH
21263 as_lineno_1=$LINENO
21264 as_lineno_2=$LINENO
21265 test "x$as_lineno_1" != "x$as_lineno_2" &&
21266 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21268 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21269 # uniformly replaced by the line number. The first 'sed' inserts a
21270 # line-number line after each line using $LINENO; the second 'sed'
21271 # does the real work. The second script uses 'N' to pair each
21272 # line-number line with the line containing $LINENO, and appends
21273 # trailing '-' during substitution so that $LINENO is not a special
21274 # case at line end.
21275 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21276 # scripts with optimization help from Paolo Bonzini. Blame Lee
21277 # E. McMahon (1931-1989) for sed's syntax. :-)
21278 sed -n '
21280 /[$]LINENO/=
21281 ' <$as_myself |
21282 sed '
21283 s/[$]LINENO.*/&-/
21284 t lineno
21286 :lineno
21288 :loop
21289 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21290 t loop
21291 s/-\n.*//
21292 ' >$as_me.lineno &&
21293 chmod +x "$as_me.lineno" ||
21294 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21295 { (exit 1); exit 1; }; }
21297 # Don't try to exec as it changes $[0], causing all sort of problems
21298 # (the dirname of $[0] is not the place where we might find the
21299 # original and so on. Autoconf is especially sensitive to this).
21300 . "./$as_me.lineno"
21301 # Exit status is that of the last command.
21302 exit
21306 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21307 as_dirname=dirname
21308 else
21309 as_dirname=false
21312 ECHO_C= ECHO_N= ECHO_T=
21313 case `echo -n x` in
21314 -n*)
21315 case `echo 'x\c'` in
21316 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21317 *) ECHO_C='\c';;
21318 esac;;
21320 ECHO_N='-n';;
21321 esac
21323 if expr a : '\(a\)' >/dev/null 2>&1 &&
21324 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21325 as_expr=expr
21326 else
21327 as_expr=false
21330 rm -f conf$$ conf$$.exe conf$$.file
21331 if test -d conf$$.dir; then
21332 rm -f conf$$.dir/conf$$.file
21333 else
21334 rm -f conf$$.dir
21335 mkdir conf$$.dir
21337 echo >conf$$.file
21338 if ln -s conf$$.file conf$$ 2>/dev/null; then
21339 as_ln_s='ln -s'
21340 # ... but there are two gotchas:
21341 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21342 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21343 # In both cases, we have to default to `cp -p'.
21344 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21345 as_ln_s='cp -p'
21346 elif ln conf$$.file conf$$ 2>/dev/null; then
21347 as_ln_s=ln
21348 else
21349 as_ln_s='cp -p'
21351 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21352 rmdir conf$$.dir 2>/dev/null
21354 if mkdir -p . 2>/dev/null; then
21355 as_mkdir_p=:
21356 else
21357 test -d ./-p && rmdir ./-p
21358 as_mkdir_p=false
21361 if test -x / >/dev/null 2>&1; then
21362 as_test_x='test -x'
21363 else
21364 if ls -dL / >/dev/null 2>&1; then
21365 as_ls_L_option=L
21366 else
21367 as_ls_L_option=
21369 as_test_x='
21370 eval sh -c '\''
21371 if test -d "$1"; then
21372 test -d "$1/.";
21373 else
21374 case $1 in
21375 -*)set "./$1";;
21376 esac;
21377 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21378 ???[sx]*):;;*)false;;esac;fi
21379 '\'' sh
21382 as_executable_p=$as_test_x
21384 # Sed expression to map a string onto a valid CPP name.
21385 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21387 # Sed expression to map a string onto a valid variable name.
21388 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21391 exec 6>&1
21393 # Save the log message, to keep $[0] and so on meaningful, and to
21394 # report actual input values of CONFIG_FILES etc. instead of their
21395 # values after options handling.
21396 ac_log="
21397 This file was extended by Wine $as_me 0.9.46, which was
21398 generated by GNU Autoconf 2.61. Invocation command line was
21400 CONFIG_FILES = $CONFIG_FILES
21401 CONFIG_HEADERS = $CONFIG_HEADERS
21402 CONFIG_LINKS = $CONFIG_LINKS
21403 CONFIG_COMMANDS = $CONFIG_COMMANDS
21404 $ $0 $@
21406 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21409 _ACEOF
21411 cat >>$CONFIG_STATUS <<_ACEOF
21412 # Files that config.status was made for.
21413 config_files="$ac_config_files"
21414 config_headers="$ac_config_headers"
21415 config_commands="$ac_config_commands"
21417 _ACEOF
21419 cat >>$CONFIG_STATUS <<\_ACEOF
21420 ac_cs_usage="\
21421 \`$as_me' instantiates files from templates according to the
21422 current configuration.
21424 Usage: $0 [OPTIONS] [FILE]...
21426 -h, --help print this help, then exit
21427 -V, --version print version number and configuration settings, then exit
21428 -q, --quiet do not print progress messages
21429 -d, --debug don't remove temporary files
21430 --recheck update $as_me by reconfiguring in the same conditions
21431 --file=FILE[:TEMPLATE]
21432 instantiate the configuration file FILE
21433 --header=FILE[:TEMPLATE]
21434 instantiate the configuration header FILE
21436 Configuration files:
21437 $config_files
21439 Configuration headers:
21440 $config_headers
21442 Configuration commands:
21443 $config_commands
21445 Report bugs to <bug-autoconf@gnu.org>."
21447 _ACEOF
21448 cat >>$CONFIG_STATUS <<_ACEOF
21449 ac_cs_version="\\
21450 Wine config.status 0.9.46
21451 configured by $0, generated by GNU Autoconf 2.61,
21452 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21454 Copyright (C) 2006 Free Software Foundation, Inc.
21455 This config.status script is free software; the Free Software Foundation
21456 gives unlimited permission to copy, distribute and modify it."
21458 ac_pwd='$ac_pwd'
21459 srcdir='$srcdir'
21460 INSTALL='$INSTALL'
21461 _ACEOF
21463 cat >>$CONFIG_STATUS <<\_ACEOF
21464 # If no file are specified by the user, then we need to provide default
21465 # value. By we need to know if files were specified by the user.
21466 ac_need_defaults=:
21467 while test $# != 0
21469 case $1 in
21470 --*=*)
21471 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21472 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21473 ac_shift=:
21476 ac_option=$1
21477 ac_optarg=$2
21478 ac_shift=shift
21480 esac
21482 case $ac_option in
21483 # Handling of the options.
21484 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21485 ac_cs_recheck=: ;;
21486 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21487 echo "$ac_cs_version"; exit ;;
21488 --debug | --debu | --deb | --de | --d | -d )
21489 debug=: ;;
21490 --file | --fil | --fi | --f )
21491 $ac_shift
21492 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21493 ac_need_defaults=false;;
21494 --header | --heade | --head | --hea )
21495 $ac_shift
21496 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21497 ac_need_defaults=false;;
21498 --he | --h)
21499 # Conflict between --help and --header
21500 { echo "$as_me: error: ambiguous option: $1
21501 Try \`$0 --help' for more information." >&2
21502 { (exit 1); exit 1; }; };;
21503 --help | --hel | -h )
21504 echo "$ac_cs_usage"; exit ;;
21505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21506 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21507 ac_cs_silent=: ;;
21509 # This is an error.
21510 -*) { echo "$as_me: error: unrecognized option: $1
21511 Try \`$0 --help' for more information." >&2
21512 { (exit 1); exit 1; }; } ;;
21514 *) ac_config_targets="$ac_config_targets $1"
21515 ac_need_defaults=false ;;
21517 esac
21518 shift
21519 done
21521 ac_configure_extra_args=
21523 if $ac_cs_silent; then
21524 exec 6>/dev/null
21525 ac_configure_extra_args="$ac_configure_extra_args --silent"
21528 _ACEOF
21529 cat >>$CONFIG_STATUS <<_ACEOF
21530 if \$ac_cs_recheck; then
21531 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21532 CONFIG_SHELL=$SHELL
21533 export CONFIG_SHELL
21534 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21537 _ACEOF
21538 cat >>$CONFIG_STATUS <<\_ACEOF
21539 exec 5>>config.log
21541 echo
21542 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21543 ## Running $as_me. ##
21544 _ASBOX
21545 echo "$ac_log"
21546 } >&5
21548 _ACEOF
21549 cat >>$CONFIG_STATUS <<_ACEOF
21550 _ACEOF
21552 cat >>$CONFIG_STATUS <<\_ACEOF
21554 # Handling of arguments.
21555 for ac_config_target in $ac_config_targets
21557 case $ac_config_target in
21558 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21559 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21560 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21561 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21562 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21563 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21564 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21565 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21566 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21567 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21568 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21569 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21570 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21571 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21572 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21573 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21574 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21575 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21576 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21577 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21578 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21579 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21580 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21581 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21582 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21583 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21584 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21585 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21586 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21587 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21588 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21589 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21590 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21591 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21592 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21593 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21594 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21595 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21596 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21597 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21598 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21599 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21600 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21601 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21602 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21603 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21604 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21605 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21606 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21607 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21608 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21609 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21610 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21611 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21612 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21613 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21614 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21615 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21616 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21617 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21618 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21619 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21620 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21621 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21622 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21623 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21624 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21625 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21626 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21627 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21628 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21629 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21630 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21631 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21632 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21633 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21634 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21635 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21636 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21637 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21638 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21639 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21640 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21641 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21642 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21643 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21644 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21645 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21646 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21647 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21648 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21649 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21650 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21651 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21652 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21653 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21654 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21655 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21656 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21657 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21658 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21659 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21660 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21661 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21662 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21663 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21664 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21665 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21666 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21667 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21668 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21669 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21670 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21671 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21672 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21673 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21674 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21675 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21676 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21677 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21678 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21679 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21680 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21681 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21682 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21683 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21684 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21685 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21686 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21687 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21688 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21689 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21690 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21691 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21692 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21693 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21694 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21695 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21696 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21697 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21698 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21699 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21700 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21701 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21702 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21703 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21704 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21705 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21706 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21707 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21708 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21709 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21710 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21711 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21712 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21713 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21714 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21715 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21716 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21717 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21718 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21719 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21720 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21721 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21722 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21723 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21724 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21725 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21726 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21727 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21728 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21729 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21730 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21731 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21732 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21733 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21734 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21735 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21736 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21737 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21738 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21739 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21740 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21741 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21742 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21743 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21744 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21745 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21746 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21747 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21748 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21749 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21750 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21751 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21752 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21753 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21754 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21755 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21756 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21757 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21758 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21759 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21760 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21761 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21762 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21763 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
21764 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21765 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21766 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21767 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21768 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21769 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21770 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21771 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21772 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21773 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21774 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21775 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21776 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21777 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21778 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21779 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21780 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21781 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21782 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21783 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21784 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21785 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21786 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21787 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21788 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21789 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21790 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21791 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21792 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21793 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21794 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21795 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21796 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21797 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21798 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21799 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21800 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21801 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21802 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
21803 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21804 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21805 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21806 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21807 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21808 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21809 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21810 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21811 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21812 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21813 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21814 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21815 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21816 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21817 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21818 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21819 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21820 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21821 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21822 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21823 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21824 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21825 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21826 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21827 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21828 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21829 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21830 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21831 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21832 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21833 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21834 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21835 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21836 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21837 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21838 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21839 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21840 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21841 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21842 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21843 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21844 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21845 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21846 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21847 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21848 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21849 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21850 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21851 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21852 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21853 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21854 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21855 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21856 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21857 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21858 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21859 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21860 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21861 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21862 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21863 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21864 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21865 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21866 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21867 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21868 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21869 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21870 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21871 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21872 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21873 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21874 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21875 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21876 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21877 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21878 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21879 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21880 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21881 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21882 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21883 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21884 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21885 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21886 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21887 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21888 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21889 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21890 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21891 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21892 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21893 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21894 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21895 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21896 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21897 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21898 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21899 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21900 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21901 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21902 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21903 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21904 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21905 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21906 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21907 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21908 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21909 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21910 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21911 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21912 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21913 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21914 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21915 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21916 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21917 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21918 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21919 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21920 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21921 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21922 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21923 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21924 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21925 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21927 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21928 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21929 { (exit 1); exit 1; }; };;
21930 esac
21931 done
21934 # If the user did not use the arguments to specify the items to instantiate,
21935 # then the envvar interface is used. Set only those that are not.
21936 # We use the long form for the default assignment because of an extremely
21937 # bizarre bug on SunOS 4.1.3.
21938 if $ac_need_defaults; then
21939 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21940 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21941 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21944 # Have a temporary directory for convenience. Make it in the build tree
21945 # simply because there is no reason against having it here, and in addition,
21946 # creating and moving files from /tmp can sometimes cause problems.
21947 # Hook for its removal unless debugging.
21948 # Note that there is a small window in which the directory will not be cleaned:
21949 # after its creation but before its name has been assigned to `$tmp'.
21950 $debug ||
21952 tmp=
21953 trap 'exit_status=$?
21954 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21956 trap '{ (exit 1); exit 1; }' 1 2 13 15
21958 # Create a (secure) tmp directory for tmp files.
21961 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21962 test -n "$tmp" && test -d "$tmp"
21963 } ||
21965 tmp=./conf$$-$RANDOM
21966 (umask 077 && mkdir "$tmp")
21967 } ||
21969 echo "$me: cannot create a temporary directory in ." >&2
21970 { (exit 1); exit 1; }
21974 # Set up the sed scripts for CONFIG_FILES section.
21977 # No need to generate the scripts if there are no CONFIG_FILES.
21978 # This happens for instance when ./config.status config.h
21979 if test -n "$CONFIG_FILES"; then
21981 _ACEOF
21983 # Create sed commands to just substitute file output variables.
21985 # Remaining file output variables are in a fragment that also has non-file
21986 # output varibles.
21990 ac_delim='%!_!# '
21991 for ac_last_try in false false false false false :; do
21992 cat >conf$$subs.sed <<_ACEOF
21993 SHELL!$SHELL$ac_delim
21994 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21995 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21996 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21997 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21998 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21999 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22000 exec_prefix!$exec_prefix$ac_delim
22001 prefix!$prefix$ac_delim
22002 program_transform_name!$program_transform_name$ac_delim
22003 bindir!$bindir$ac_delim
22004 sbindir!$sbindir$ac_delim
22005 libexecdir!$libexecdir$ac_delim
22006 datarootdir!$datarootdir$ac_delim
22007 datadir!$datadir$ac_delim
22008 sysconfdir!$sysconfdir$ac_delim
22009 sharedstatedir!$sharedstatedir$ac_delim
22010 localstatedir!$localstatedir$ac_delim
22011 includedir!$includedir$ac_delim
22012 oldincludedir!$oldincludedir$ac_delim
22013 docdir!$docdir$ac_delim
22014 infodir!$infodir$ac_delim
22015 htmldir!$htmldir$ac_delim
22016 dvidir!$dvidir$ac_delim
22017 pdfdir!$pdfdir$ac_delim
22018 psdir!$psdir$ac_delim
22019 libdir!$libdir$ac_delim
22020 localedir!$localedir$ac_delim
22021 mandir!$mandir$ac_delim
22022 DEFS!$DEFS$ac_delim
22023 ECHO_C!$ECHO_C$ac_delim
22024 ECHO_N!$ECHO_N$ac_delim
22025 ECHO_T!$ECHO_T$ac_delim
22026 LIBS!$LIBS$ac_delim
22027 build_alias!$build_alias$ac_delim
22028 host_alias!$host_alias$ac_delim
22029 target_alias!$target_alias$ac_delim
22030 build!$build$ac_delim
22031 build_cpu!$build_cpu$ac_delim
22032 build_vendor!$build_vendor$ac_delim
22033 build_os!$build_os$ac_delim
22034 host!$host$ac_delim
22035 host_cpu!$host_cpu$ac_delim
22036 host_vendor!$host_vendor$ac_delim
22037 host_os!$host_os$ac_delim
22038 WIN16_FILES!$WIN16_FILES$ac_delim
22039 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22040 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22041 WINETEST!$WINETEST$ac_delim
22042 SET_MAKE!$SET_MAKE$ac_delim
22043 CC!$CC$ac_delim
22044 CFLAGS!$CFLAGS$ac_delim
22045 LDFLAGS!$LDFLAGS$ac_delim
22046 CPPFLAGS!$CPPFLAGS$ac_delim
22047 ac_ct_CC!$ac_ct_CC$ac_delim
22048 EXEEXT!$EXEEXT$ac_delim
22049 OBJEXT!$OBJEXT$ac_delim
22050 CXX!$CXX$ac_delim
22051 CXXFLAGS!$CXXFLAGS$ac_delim
22052 ac_ct_CXX!$ac_ct_CXX$ac_delim
22053 CPPBIN!$CPPBIN$ac_delim
22054 TOOLSDIR!$TOOLSDIR$ac_delim
22055 XMKMF!$XMKMF$ac_delim
22056 CPP!$CPP$ac_delim
22057 X_CFLAGS!$X_CFLAGS$ac_delim
22058 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22059 X_LIBS!$X_LIBS$ac_delim
22060 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22061 FLEX!$FLEX$ac_delim
22062 BISON!$BISON$ac_delim
22063 AS!$AS$ac_delim
22064 ac_ct_AS!$ac_ct_AS$ac_delim
22065 LD!$LD$ac_delim
22066 AR!$AR$ac_delim
22067 RANLIB!$RANLIB$ac_delim
22068 STRIP!$STRIP$ac_delim
22069 WINDRES!$WINDRES$ac_delim
22070 LN_S!$LN_S$ac_delim
22071 LN!$LN$ac_delim
22072 GREP!$GREP$ac_delim
22073 EGREP!$EGREP$ac_delim
22074 LDCONFIG!$LDCONFIG$ac_delim
22075 _ACEOF
22077 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22078 break
22079 elif $ac_last_try; then
22080 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22081 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22082 { (exit 1); exit 1; }; }
22083 else
22084 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22086 done
22088 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22089 if test -n "$ac_eof"; then
22090 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22091 ac_eof=`expr $ac_eof + 1`
22094 cat >>$CONFIG_STATUS <<_ACEOF
22095 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22096 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22097 /^[ ]*@MAKE_RULES@[ ]*$/{
22098 r $MAKE_RULES
22101 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22102 r $MAKE_DLL_RULES
22105 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22106 r $MAKE_IMPLIB_RULES
22109 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22110 r $MAKE_TEST_RULES
22113 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22114 r $MAKE_PROG_RULES
22117 _ACEOF
22118 sed '
22119 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22120 s/^/s,@/; s/!/@,|#_!!_#|/
22123 s/'"$ac_delim"'$/,g/; t
22124 s/$/\\/; p
22125 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22126 ' >>$CONFIG_STATUS <conf$$subs.sed
22127 rm -f conf$$subs.sed
22128 cat >>$CONFIG_STATUS <<_ACEOF
22129 CEOF$ac_eof
22130 _ACEOF
22133 ac_delim='%!_!# '
22134 for ac_last_try in false false false false false :; do
22135 cat >conf$$subs.sed <<_ACEOF
22136 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22137 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22138 INSTALL_DATA!$INSTALL_DATA$ac_delim
22139 LINT!$LINT$ac_delim
22140 LINTFLAGS!$LINTFLAGS$ac_delim
22141 FONTFORGE!$FONTFORGE$ac_delim
22142 PKG_CONFIG!$PKG_CONFIG$ac_delim
22143 PRELINK!$PRELINK$ac_delim
22144 LIBPTHREAD!$LIBPTHREAD$ac_delim
22145 XLIB!$XLIB$ac_delim
22146 XFILES!$XFILES$ac_delim
22147 OPENGLFILES!$OPENGLFILES$ac_delim
22148 GLU32FILES!$GLU32FILES$ac_delim
22149 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22150 QUARTZFILES!$QUARTZFILES$ac_delim
22151 DLLEXT!$DLLEXT$ac_delim
22152 DLLFLAGS!$DLLFLAGS$ac_delim
22153 LDSHARED!$LDSHARED$ac_delim
22154 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22155 LIBEXT!$LIBEXT$ac_delim
22156 IMPLIBEXT!$IMPLIBEXT$ac_delim
22157 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22158 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22159 LDD!$LDD$ac_delim
22160 DLLTOOL!$DLLTOOL$ac_delim
22161 DLLWRAP!$DLLWRAP$ac_delim
22162 MINGWAR!$MINGWAR$ac_delim
22163 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22164 IOKITLIB!$IOKITLIB$ac_delim
22165 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22166 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22167 COREAUDIO!$COREAUDIO$ac_delim
22168 CARBONLIB!$CARBONLIB$ac_delim
22169 CROSSTEST!$CROSSTEST$ac_delim
22170 CROSSCC!$CROSSCC$ac_delim
22171 CROSSWINDRES!$CROSSWINDRES$ac_delim
22172 NASLIBS!$NASLIBS$ac_delim
22173 XML2LIBS!$XML2LIBS$ac_delim
22174 XML2INCL!$XML2INCL$ac_delim
22175 XSLTLIBS!$XSLTLIBS$ac_delim
22176 XSLTINCL!$XSLTINCL$ac_delim
22177 HALINCL!$HALINCL$ac_delim
22178 sane_devel!$sane_devel$ac_delim
22179 SANEINCL!$SANEINCL$ac_delim
22180 gphoto2_devel!$gphoto2_devel$ac_delim
22181 gphoto2port_devel!$gphoto2port_devel$ac_delim
22182 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22183 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22184 RESOLVLIBS!$RESOLVLIBS$ac_delim
22185 LCMSLIBS!$LCMSLIBS$ac_delim
22186 LDAPLIBS!$LDAPLIBS$ac_delim
22187 ft_devel!$ft_devel$ac_delim
22188 FREETYPELIBS!$FREETYPELIBS$ac_delim
22189 FREETYPEINCL!$FREETYPEINCL$ac_delim
22190 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22191 ESDCONFIG!$ESDCONFIG$ac_delim
22192 ESDLIBS!$ESDLIBS$ac_delim
22193 ESDINCL!$ESDINCL$ac_delim
22194 ALSALIBS!$ALSALIBS$ac_delim
22195 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22196 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22197 BUILTINFLAG!$BUILTINFLAG$ac_delim
22198 LDPATH!$LDPATH$ac_delim
22199 CRTLIBS!$CRTLIBS$ac_delim
22200 SOCKETLIBS!$SOCKETLIBS$ac_delim
22201 MAIN_BINARY!$MAIN_BINARY$ac_delim
22202 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22203 LIBDL!$LIBDL$ac_delim
22204 LIBPOLL!$LIBPOLL$ac_delim
22205 DEPENDENCIES!$DEPENDENCIES$ac_delim
22206 LIBOBJS!$LIBOBJS$ac_delim
22207 LTLIBOBJS!$LTLIBOBJS$ac_delim
22208 _ACEOF
22210 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22211 break
22212 elif $ac_last_try; then
22213 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22214 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22215 { (exit 1); exit 1; }; }
22216 else
22217 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22219 done
22221 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22222 if test -n "$ac_eof"; then
22223 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22224 ac_eof=`expr $ac_eof + 1`
22227 cat >>$CONFIG_STATUS <<_ACEOF
22228 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22230 _ACEOF
22231 sed '
22232 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22233 s/^/s,@/; s/!/@,|#_!!_#|/
22236 s/'"$ac_delim"'$/,g/; t
22237 s/$/\\/; p
22238 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22239 ' >>$CONFIG_STATUS <conf$$subs.sed
22240 rm -f conf$$subs.sed
22241 cat >>$CONFIG_STATUS <<_ACEOF
22242 :end
22243 s/|#_!!_#|//g
22244 CEOF$ac_eof
22245 _ACEOF
22248 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22249 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22250 # trailing colons and then remove the whole line if VPATH becomes empty
22251 # (actually we leave an empty line to preserve line numbers).
22252 if test "x$srcdir" = x.; then
22253 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22254 s/:*\$(srcdir):*/:/
22255 s/:*\${srcdir}:*/:/
22256 s/:*@srcdir@:*/:/
22257 s/^\([^=]*=[ ]*\):*/\1/
22258 s/:*$//
22259 s/^[^=]*=[ ]*$//
22263 cat >>$CONFIG_STATUS <<\_ACEOF
22264 fi # test -n "$CONFIG_FILES"
22267 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22269 case $ac_tag in
22270 :[FHLC]) ac_mode=$ac_tag; continue;;
22271 esac
22272 case $ac_mode$ac_tag in
22273 :[FHL]*:*);;
22274 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22275 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22276 { (exit 1); exit 1; }; };;
22277 :[FH]-) ac_tag=-:-;;
22278 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22279 esac
22280 ac_save_IFS=$IFS
22281 IFS=:
22282 set x $ac_tag
22283 IFS=$ac_save_IFS
22284 shift
22285 ac_file=$1
22286 shift
22288 case $ac_mode in
22289 :L) ac_source=$1;;
22290 :[FH])
22291 ac_file_inputs=
22292 for ac_f
22294 case $ac_f in
22295 -) ac_f="$tmp/stdin";;
22296 *) # Look for the file first in the build tree, then in the source tree
22297 # (if the path is not absolute). The absolute path cannot be DOS-style,
22298 # because $ac_f cannot contain `:'.
22299 test -f "$ac_f" ||
22300 case $ac_f in
22301 [\\/$]*) false;;
22302 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22303 esac ||
22304 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22305 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22306 { (exit 1); exit 1; }; };;
22307 esac
22308 ac_file_inputs="$ac_file_inputs $ac_f"
22309 done
22311 # Let's still pretend it is `configure' which instantiates (i.e., don't
22312 # use $as_me), people would be surprised to read:
22313 # /* config.h. Generated by config.status. */
22314 configure_input="Generated from "`IFS=:
22315 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22316 if test x"$ac_file" != x-; then
22317 configure_input="$ac_file. $configure_input"
22318 { echo "$as_me:$LINENO: creating $ac_file" >&5
22319 echo "$as_me: creating $ac_file" >&6;}
22322 case $ac_tag in
22323 *:-:* | *:-) cat >"$tmp/stdin";;
22324 esac
22326 esac
22328 ac_dir=`$as_dirname -- "$ac_file" ||
22329 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22330 X"$ac_file" : 'X\(//\)[^/]' \| \
22331 X"$ac_file" : 'X\(//\)$' \| \
22332 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22333 echo X"$ac_file" |
22334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22335 s//\1/
22338 /^X\(\/\/\)[^/].*/{
22339 s//\1/
22342 /^X\(\/\/\)$/{
22343 s//\1/
22346 /^X\(\/\).*/{
22347 s//\1/
22350 s/.*/./; q'`
22351 { as_dir="$ac_dir"
22352 case $as_dir in #(
22353 -*) as_dir=./$as_dir;;
22354 esac
22355 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22356 as_dirs=
22357 while :; do
22358 case $as_dir in #(
22359 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22360 *) as_qdir=$as_dir;;
22361 esac
22362 as_dirs="'$as_qdir' $as_dirs"
22363 as_dir=`$as_dirname -- "$as_dir" ||
22364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22365 X"$as_dir" : 'X\(//\)[^/]' \| \
22366 X"$as_dir" : 'X\(//\)$' \| \
22367 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22368 echo X"$as_dir" |
22369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22370 s//\1/
22373 /^X\(\/\/\)[^/].*/{
22374 s//\1/
22377 /^X\(\/\/\)$/{
22378 s//\1/
22381 /^X\(\/\).*/{
22382 s//\1/
22385 s/.*/./; q'`
22386 test -d "$as_dir" && break
22387 done
22388 test -z "$as_dirs" || eval "mkdir $as_dirs"
22389 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22390 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22391 { (exit 1); exit 1; }; }; }
22392 ac_builddir=.
22394 case "$ac_dir" in
22395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22397 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22398 # A ".." for each directory in $ac_dir_suffix.
22399 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22400 case $ac_top_builddir_sub in
22401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22403 esac ;;
22404 esac
22405 ac_abs_top_builddir=$ac_pwd
22406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22407 # for backward compatibility:
22408 ac_top_builddir=$ac_top_build_prefix
22410 case $srcdir in
22411 .) # We are building in place.
22412 ac_srcdir=.
22413 ac_top_srcdir=$ac_top_builddir_sub
22414 ac_abs_top_srcdir=$ac_pwd ;;
22415 [\\/]* | ?:[\\/]* ) # Absolute name.
22416 ac_srcdir=$srcdir$ac_dir_suffix;
22417 ac_top_srcdir=$srcdir
22418 ac_abs_top_srcdir=$srcdir ;;
22419 *) # Relative name.
22420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22421 ac_top_srcdir=$ac_top_build_prefix$srcdir
22422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22423 esac
22424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22427 case $ac_mode in
22430 # CONFIG_FILE
22433 case $INSTALL in
22434 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22435 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22436 esac
22437 _ACEOF
22439 cat >>$CONFIG_STATUS <<\_ACEOF
22440 # If the template does not know about datarootdir, expand it.
22441 # FIXME: This hack should be removed a few years after 2.60.
22442 ac_datarootdir_hack=; ac_datarootdir_seen=
22444 case `sed -n '/datarootdir/ {
22448 /@datadir@/p
22449 /@docdir@/p
22450 /@infodir@/p
22451 /@localedir@/p
22452 /@mandir@/p
22453 ' $ac_file_inputs` in
22454 *datarootdir*) ac_datarootdir_seen=yes;;
22455 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22456 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22457 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22458 _ACEOF
22459 cat >>$CONFIG_STATUS <<_ACEOF
22460 ac_datarootdir_hack='
22461 s&@datadir@&$datadir&g
22462 s&@docdir@&$docdir&g
22463 s&@infodir@&$infodir&g
22464 s&@localedir@&$localedir&g
22465 s&@mandir@&$mandir&g
22466 s&\\\${datarootdir}&$datarootdir&g' ;;
22467 esac
22468 _ACEOF
22470 # Neutralize VPATH when `$srcdir' = `.'.
22471 # Shell code in configure.ac might set extrasub.
22472 # FIXME: do we really want to maintain this feature?
22473 cat >>$CONFIG_STATUS <<_ACEOF
22474 sed "$ac_vpsub
22475 $extrasub
22476 _ACEOF
22477 cat >>$CONFIG_STATUS <<\_ACEOF
22479 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22480 s&@configure_input@&$configure_input&;t t
22481 s&@top_builddir@&$ac_top_builddir_sub&;t t
22482 s&@srcdir@&$ac_srcdir&;t t
22483 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22484 s&@top_srcdir@&$ac_top_srcdir&;t t
22485 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22486 s&@builddir@&$ac_builddir&;t t
22487 s&@abs_builddir@&$ac_abs_builddir&;t t
22488 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22489 s&@INSTALL@&$ac_INSTALL&;t t
22490 $ac_datarootdir_hack
22491 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22493 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22494 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22495 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22496 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22497 which seems to be undefined. Please make sure it is defined." >&5
22498 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22499 which seems to be undefined. Please make sure it is defined." >&2;}
22501 rm -f "$tmp/stdin"
22502 case $ac_file in
22503 -) cat "$tmp/out"; rm -f "$tmp/out";;
22504 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22505 esac
22509 # CONFIG_HEADER
22511 _ACEOF
22513 # Transform confdefs.h into a sed script `conftest.defines', that
22514 # substitutes the proper values into config.h.in to produce config.h.
22515 rm -f conftest.defines conftest.tail
22516 # First, append a space to every undef/define line, to ease matching.
22517 echo 's/$/ /' >conftest.defines
22518 # Then, protect against being on the right side of a sed subst, or in
22519 # an unquoted here document, in config.status. If some macros were
22520 # called several times there might be several #defines for the same
22521 # symbol, which is useless. But do not sort them, since the last
22522 # AC_DEFINE must be honored.
22523 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22524 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22525 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22526 # PARAMS is the parameter list in the macro definition--in most cases, it's
22527 # just an empty string.
22528 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22529 ac_dB='\\)[ (].*,\\1define\\2'
22530 ac_dC=' '
22531 ac_dD=' ,'
22533 uniq confdefs.h |
22534 sed -n '
22535 t rset
22536 :rset
22537 s/^[ ]*#[ ]*define[ ][ ]*//
22538 t ok
22541 s/[\\&,]/\\&/g
22542 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22543 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22544 ' >>conftest.defines
22546 # Remove the space that was appended to ease matching.
22547 # Then replace #undef with comments. This is necessary, for
22548 # example, in the case of _POSIX_SOURCE, which is predefined and required
22549 # on some systems where configure will not decide to define it.
22550 # (The regexp can be short, since the line contains either #define or #undef.)
22551 echo 's/ $//
22552 s,^[ #]*u.*,/* & */,' >>conftest.defines
22554 # Break up conftest.defines:
22555 ac_max_sed_lines=50
22557 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22558 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22559 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22560 # et cetera.
22561 ac_in='$ac_file_inputs'
22562 ac_out='"$tmp/out1"'
22563 ac_nxt='"$tmp/out2"'
22565 while :
22567 # Write a here document:
22568 cat >>$CONFIG_STATUS <<_ACEOF
22569 # First, check the format of the line:
22570 cat >"\$tmp/defines.sed" <<\\CEOF
22571 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22572 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22574 :def
22575 _ACEOF
22576 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22577 echo 'CEOF
22578 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22579 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22580 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22581 grep . conftest.tail >/dev/null || break
22582 rm -f conftest.defines
22583 mv conftest.tail conftest.defines
22584 done
22585 rm -f conftest.defines conftest.tail
22587 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22588 cat >>$CONFIG_STATUS <<\_ACEOF
22589 if test x"$ac_file" != x-; then
22590 echo "/* $configure_input */" >"$tmp/config.h"
22591 cat "$ac_result" >>"$tmp/config.h"
22592 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22593 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22594 echo "$as_me: $ac_file is unchanged" >&6;}
22595 else
22596 rm -f $ac_file
22597 mv "$tmp/config.h" $ac_file
22599 else
22600 echo "/* $configure_input */"
22601 cat "$ac_result"
22603 rm -f "$tmp/out12"
22606 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22607 echo "$as_me: executing $ac_file commands" >&6;}
22609 esac
22612 case $ac_file$ac_mode in
22613 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22614 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22615 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22616 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22617 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22618 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22619 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22620 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22621 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22622 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22623 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22624 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22625 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22627 esac
22628 done # for ac_tag
22631 { (exit 0); exit 0; }
22632 _ACEOF
22633 chmod +x $CONFIG_STATUS
22634 ac_clean_files=$ac_clean_files_save
22637 # configure is writing to config.log, and then calls config.status.
22638 # config.status does its own redirection, appending to config.log.
22639 # Unfortunately, on DOS this fails, as config.log is still kept open
22640 # by configure, so config.status won't be able to write to it; its
22641 # output is simply discarded. So we exec the FD to /dev/null,
22642 # effectively closing config.log, so it can be properly (re)opened and
22643 # appended to by config.status. When coming back to configure, we
22644 # need to make the FD available again.
22645 if test "$no_create" != yes; then
22646 ac_cs_success=:
22647 ac_config_status_args=
22648 test "$silent" = yes &&
22649 ac_config_status_args="$ac_config_status_args --quiet"
22650 exec 5>/dev/null
22651 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22652 exec 5>>config.log
22653 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22654 # would make configure fail if this is the last instruction.
22655 $ac_cs_success || { (exit 1); exit 1; }
22659 if test "$no_create" = "yes"
22660 then
22661 exit 0
22664 ac_save_IFS="$IFS"
22665 IFS="|"
22666 if test "$verbose" = "yes"; then
22667 for msg in $wine_notices; do
22668 if test -n "$msg"; then
22669 echo >&2
22670 { echo "$as_me:$LINENO: $msg" >&5
22671 echo "$as_me: $msg" >&6;}
22673 done
22675 for msg in $wine_warnings; do
22676 if test -n "$msg"; then
22677 echo >&2
22678 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22679 echo "$as_me: WARNING: $msg" >&2;}
22681 done
22682 IFS="$ac_save_IFS"
22684 echo
22685 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22686 echo