push a5cbd0e748c9dae5494ad9e73da9eca1b1bb07c7
[wine/hacks.git] / configure
blob75717a6bf61825fac133da370f475e5f236a776e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.41.
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.41'
578 PACKAGE_STRING='Wine 0.9.41'
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 ICULIBS
749 RESOLVLIBS
750 LCMSLIBS
751 LDAPLIBS
752 ft_devel
753 FREETYPELIBS
754 FREETYPEINCL
755 FONTSSUBDIRS
756 ESDCONFIG
757 ESDLIBS
758 ESDINCL
759 ALSALIBS
760 AUDIOIOLIBS
761 EXTRACFLAGS
762 BUILTINFLAG
763 LDPATH
764 CRTLIBS
765 SOCKETLIBS
766 MAIN_BINARY
767 EXTRA_BINARIES
768 LIBDL
769 LIBPOLL
770 DEPENDENCIES
771 LIBOBJS
772 LTLIBOBJS'
773 ac_subst_files='MAKE_RULES
774 MAKE_DLL_RULES
775 MAKE_IMPLIB_RULES
776 MAKE_TEST_RULES
777 MAKE_PROG_RULES'
778 ac_precious_vars='build_alias
779 host_alias
780 target_alias
782 CFLAGS
783 LDFLAGS
784 LIBS
785 CPPFLAGS
787 CXXFLAGS
789 XMKMF
790 CPP'
793 # Initialize some variables set by options.
794 ac_init_help=
795 ac_init_version=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
798 cache_file=/dev/null
799 exec_prefix=NONE
800 no_create=
801 no_recursion=
802 prefix=NONE
803 program_prefix=NONE
804 program_suffix=NONE
805 program_transform_name=s,x,x,
806 silent=
807 site=
808 srcdir=
809 verbose=
810 x_includes=NONE
811 x_libraries=NONE
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
831 htmldir='${docdir}'
832 dvidir='${docdir}'
833 pdfdir='${docdir}'
834 psdir='${docdir}'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
839 ac_prev=
840 ac_dashdash=
841 for ac_option
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
846 ac_prev=
847 continue
850 case $ac_option in
851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 *) ac_optarg=yes ;;
853 esac
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
859 ac_dashdash=yes ;;
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
878 --config-cache | -C)
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_$ac_feature=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
903 ac_prev=docdir ;;
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 docdir=$ac_optarg ;;
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 ac_prev=dvidir ;;
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 dvidir=$ac_optarg ;;
912 -enable-* | --enable-*)
913 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_$ac_feature=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
932 with_gas=yes ;;
934 -help | --help | --hel | --he | -h)
935 ac_init_help=long ;;
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 ac_prev=htmldir ;;
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 | --ht=*)
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 ac_prev=infodir ;;
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
965 ac_prev=libdir ;;
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 libdir=$ac_optarg ;;
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
977 ac_prev=localedir ;;
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 ac_prev=mandir ;;
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 mandir=$ac_optarg ;;
993 -nfp | --nfp | --nf)
994 # Obsolete; use --without-fp.
995 with_fp=no ;;
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
999 no_create=yes ;;
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 no_recursion=yes ;;
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 ac_prev=prefix ;;
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 ac_prev=pdfdir ;;
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1056 ac_prev=psdir ;;
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 psdir=$ac_optarg ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 silent=yes ;;
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065 ac_prev=sbindir ;;
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067 | --sbi=* | --sb=*)
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1073 | --sha | --sh)
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078 | --sha=* | --sh=*)
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1082 ac_prev=site ;;
1083 -site=* | --site=* | --sit=*)
1084 site=$ac_optarg ;;
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087 ac_prev=srcdir ;;
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104 verbose=yes ;;
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1109 -with-* | --with-*)
1110 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_$ac_package=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_$ac_package=no ;;
1127 --x)
1128 # Obsolete; use --with-x.
1129 with_x=yes ;;
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1150 *=*)
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 esac
1168 done
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1183 case $ac_val in
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 esac
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1189 done
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1194 build=$build_alias
1195 host=$host_alias
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1205 cross_compiling=yes
1209 ac_tool_prefix=
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 echo X"$0" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 s//\1/
1239 /^X\(\/\/\)[^/].*/{
1240 s//\1/
1243 /^X\(\/\/\)$/{
1244 s//\1/
1247 /^X\(\/\).*/{
1248 s//\1/
1251 s/.*/./; q'`
1252 srcdir=$ac_confdir
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 srcdir=..
1256 else
1257 ac_srcdir_defaulted=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1268 pwd)`
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 srcdir=.
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1276 case $srcdir in
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 esac
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1284 done
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1292 cat <<_ACEOF
1293 \`configure' configures Wine 0.9.41 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1302 Configuration:
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 [PREFIX]
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1346 _ACEOF
1348 cat <<\_ACEOF
1350 X features:
1351 --x-includes=DIR X include files are in DIR
1352 --x-libraries=DIR X library files are in DIR
1354 System types:
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1357 _ACEOF
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of Wine 0.9.41:";;
1363 esac
1364 cat <<\_ACEOF
1366 Optional Features:
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1371 binaries)
1372 --disable-tests do not build the testsuites
1374 Optional Packages:
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 CPP C preprocessor
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1398 _ACEOF
1399 ac_status=$?
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 Wine configure 0.9.41
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.41, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 esac |
1616 sort
1618 echo
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1717 shift
1718 for ac_site_file
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1726 done
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1828 ac_aux_dir=
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1833 break
1834 elif test -f "$ac_dir/install.sh"; then
1835 ac_aux_dir=$ac_dir
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1837 break
1838 elif test -f "$ac_dir/shtool"; then
1839 ac_aux_dir=$ac_dir
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1841 break
1843 done
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 else
1901 ac_build_alias=$build_alias
1902 test "x$ac_build_alias" = x &&
1903 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x &&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1917 *-*-*) ;;
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1921 esac
1922 build=$ac_cv_build
1923 ac_save_IFS=$IFS; IFS='-'
1924 set x $ac_cv_build
1925 shift
1926 build_cpu=$1
1927 build_vendor=$2
1928 shift; shift
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1931 build_os=$*
1932 IFS=$ac_save_IFS
1933 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941 if test "x$host_alias" = x; then
1942 ac_cv_host=$ac_cv_build
1943 else
1944 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1953 case $ac_cv_host in
1954 *-*-*) ;;
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1958 esac
1959 host=$ac_cv_host
1960 ac_save_IFS=$IFS; IFS='-'
1961 set x $ac_cv_host
1962 shift
1963 host_cpu=$1
1964 host_vendor=$2
1965 shift; shift
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1968 host_os=$*
1969 IFS=$ac_save_IFS
1970 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1973 case $host in
1974 x86_64*linux*)
1975 if test "x$enable_win64" != "xyes"
1976 then
1977 test -n "$CC" || CC="gcc -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"
6340 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6341 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 else
6345 ac_check_lib_save_LIBS=$LIBS
6346 LIBS="-lxpg4 $LIBS"
6347 cat >conftest.$ac_ext <<_ACEOF
6348 /* confdefs.h. */
6349 _ACEOF
6350 cat confdefs.h >>conftest.$ac_ext
6351 cat >>conftest.$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6357 #ifdef __cplusplus
6358 extern "C"
6359 #endif
6360 char _xpg4_setrunelocale ();
6362 main ()
6364 return _xpg4_setrunelocale ();
6366 return 0;
6368 _ACEOF
6369 rm -f conftest.$ac_objext conftest$ac_exeext
6370 if { (ac_try="$ac_link"
6371 case "(($ac_try" in
6372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6374 esac
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6377 ac_status=$?
6378 grep -v '^ *+' conftest.er1 >conftest.err
6379 rm -f conftest.er1
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6388 else
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6400 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6401 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6402 cat >>confdefs.h <<_ACEOF
6403 #define HAVE_LIBXPG4 1
6404 _ACEOF
6406 LIBS="-lxpg4 $LIBS"
6410 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6411 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6412 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6414 else
6415 ac_check_lib_save_LIBS=$LIBS
6416 LIBS="-lpthread $LIBS"
6417 cat >conftest.$ac_ext <<_ACEOF
6418 /* confdefs.h. */
6419 _ACEOF
6420 cat confdefs.h >>conftest.$ac_ext
6421 cat >>conftest.$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6424 /* Override any GCC internal prototype to avoid an error.
6425 Use char because int might match the return type of a GCC
6426 builtin and then its argument prototype would still apply. */
6427 #ifdef __cplusplus
6428 extern "C"
6429 #endif
6430 char pthread_create ();
6432 main ()
6434 return pthread_create ();
6436 return 0;
6438 _ACEOF
6439 rm -f conftest.$ac_objext conftest$ac_exeext
6440 if { (ac_try="$ac_link"
6441 case "(($ac_try" in
6442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6443 *) ac_try_echo=$ac_try;;
6444 esac
6445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6446 (eval "$ac_link") 2>conftest.er1
6447 ac_status=$?
6448 grep -v '^ *+' conftest.er1 >conftest.err
6449 rm -f conftest.er1
6450 cat conftest.err >&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } && {
6453 test -z "$ac_c_werror_flag" ||
6454 test ! -s conftest.err
6455 } && test -s conftest$ac_exeext &&
6456 $as_test_x conftest$ac_exeext; then
6457 ac_cv_lib_pthread_pthread_create=yes
6458 else
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6462 ac_cv_lib_pthread_pthread_create=no
6465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6466 conftest$ac_exeext conftest.$ac_ext
6467 LIBS=$ac_check_lib_save_LIBS
6469 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6470 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6471 if test $ac_cv_lib_pthread_pthread_create = yes; then
6472 LIBPTHREAD="-lpthread"
6477 XLIB=""
6479 XFILES=""
6481 OPENGLFILES=""
6483 GLU32FILES=""
6485 OPENGL_LIBS=""
6487 QUARTZFILES=""
6491 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6492 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6493 if test "${ac_cv_header_stdc+set}" = set; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6495 else
6496 cat >conftest.$ac_ext <<_ACEOF
6497 /* confdefs.h. */
6498 _ACEOF
6499 cat confdefs.h >>conftest.$ac_ext
6500 cat >>conftest.$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6502 #include <stdlib.h>
6503 #include <stdarg.h>
6504 #include <string.h>
6505 #include <float.h>
6508 main ()
6512 return 0;
6514 _ACEOF
6515 rm -f conftest.$ac_objext
6516 if { (ac_try="$ac_compile"
6517 case "(($ac_try" in
6518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6519 *) ac_try_echo=$ac_try;;
6520 esac
6521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6522 (eval "$ac_compile") 2>conftest.er1
6523 ac_status=$?
6524 grep -v '^ *+' conftest.er1 >conftest.err
6525 rm -f conftest.er1
6526 cat conftest.err >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } && {
6529 test -z "$ac_c_werror_flag" ||
6530 test ! -s conftest.err
6531 } && test -s conftest.$ac_objext; then
6532 ac_cv_header_stdc=yes
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_header_stdc=no
6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6542 if test $ac_cv_header_stdc = yes; then
6543 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <string.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "memchr" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565 cat >conftest.$ac_ext <<_ACEOF
6566 /* confdefs.h. */
6567 _ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h. */
6571 #include <stdlib.h>
6573 _ACEOF
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575 $EGREP "free" >/dev/null 2>&1; then
6577 else
6578 ac_cv_header_stdc=no
6580 rm -f conftest*
6584 if test $ac_cv_header_stdc = yes; then
6585 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586 if test "$cross_compiling" = yes; then
6588 else
6589 cat >conftest.$ac_ext <<_ACEOF
6590 /* confdefs.h. */
6591 _ACEOF
6592 cat confdefs.h >>conftest.$ac_ext
6593 cat >>conftest.$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6595 #include <ctype.h>
6596 #include <stdlib.h>
6597 #if ((' ' & 0x0FF) == 0x020)
6598 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6599 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6600 #else
6601 # define ISLOWER(c) \
6602 (('a' <= (c) && (c) <= 'i') \
6603 || ('j' <= (c) && (c) <= 'r') \
6604 || ('s' <= (c) && (c) <= 'z'))
6605 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6606 #endif
6608 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6610 main ()
6612 int i;
6613 for (i = 0; i < 256; i++)
6614 if (XOR (islower (i), ISLOWER (i))
6615 || toupper (i) != TOUPPER (i))
6616 return 2;
6617 return 0;
6619 _ACEOF
6620 rm -f conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6622 case "(($ac_try" in
6623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6624 *) ac_try_echo=$ac_try;;
6625 esac
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>&5
6628 ac_status=$?
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6631 { (case "(($ac_try" in
6632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6633 *) ac_try_echo=$ac_try;;
6634 esac
6635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6636 (eval "$ac_try") 2>&5
6637 ac_status=$?
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6641 else
6642 echo "$as_me: program exited with status $ac_status" >&5
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 ( exit $ac_status )
6647 ac_cv_header_stdc=no
6649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6655 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6656 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6657 if test $ac_cv_header_stdc = yes; then
6659 cat >>confdefs.h <<\_ACEOF
6660 #define STDC_HEADERS 1
6661 _ACEOF
6665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6675 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6676 inttypes.h stdint.h unistd.h
6678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 else
6684 cat >conftest.$ac_ext <<_ACEOF
6685 /* confdefs.h. */
6686 _ACEOF
6687 cat confdefs.h >>conftest.$ac_ext
6688 cat >>conftest.$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6690 $ac_includes_default
6692 #include <$ac_header>
6693 _ACEOF
6694 rm -f conftest.$ac_objext
6695 if { (ac_try="$ac_compile"
6696 case "(($ac_try" in
6697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6698 *) ac_try_echo=$ac_try;;
6699 esac
6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6702 ac_status=$?
6703 grep -v '^ *+' conftest.er1 >conftest.err
6704 rm -f conftest.er1
6705 cat conftest.err >&5
6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && {
6708 test -z "$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6710 } && test -s conftest.$ac_objext; then
6711 eval "$as_ac_Header=yes"
6712 else
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6716 eval "$as_ac_Header=no"
6719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6721 ac_res=`eval echo '${'$as_ac_Header'}'`
6722 { echo "$as_me:$LINENO: result: $ac_res" >&5
6723 echo "${ECHO_T}$ac_res" >&6; }
6724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6725 cat >>confdefs.h <<_ACEOF
6726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 _ACEOF
6731 done
6845 for ac_header in \
6846 AudioUnit/AudioUnit.h \
6847 Carbon/Carbon.h \
6848 CoreAudio/CoreAudio.h \
6849 DiskArbitration/DiskArbitration.h \
6850 IOKit/IOKitLib.h \
6851 alsa/asoundlib.h \
6852 arpa/inet.h \
6853 arpa/nameser.h \
6854 asm/types.h \
6855 capi20.h \
6856 cups/cups.h \
6857 curses.h \
6858 direct.h \
6859 dlfcn.h \
6860 elf.h \
6861 float.h \
6862 fontconfig/fontconfig.h \
6863 getopt.h \
6864 ieeefp.h \
6865 io.h \
6866 jack/jack.h \
6867 jpeglib.h \
6868 lber.h \
6869 lcms.h \
6870 lcms/lcms.h \
6871 ldap.h \
6872 libaudioio.h \
6873 link.h \
6874 linux/cdrom.h \
6875 linux/compiler.h \
6876 linux/hdreg.h \
6877 linux/input.h \
6878 linux/ioctl.h \
6879 linux/joystick.h \
6880 linux/major.h \
6881 linux/param.h \
6882 linux/serial.h \
6883 linux/ucdrom.h \
6884 mach/mach.h \
6885 mach/machine.h \
6886 machine/cpu.h \
6887 machine/limits.h \
6888 machine/soundcard.h \
6889 mntent.h \
6890 ncurses.h \
6891 netdb.h \
6892 netinet/in.h \
6893 netinet/in_systm.h \
6894 netinet/tcp.h \
6895 netinet/tcp_fsm.h \
6896 openssl/err.h \
6897 openssl/ssl.h \
6898 png.h \
6899 poll.h \
6900 process.h \
6901 pthread.h \
6902 pwd.h \
6903 regex.h \
6904 sched.h \
6905 scsi/scsi.h \
6906 scsi/scsi_ioctl.h \
6907 scsi/sg.h \
6908 soundcard.h \
6909 stdint.h \
6910 strings.h \
6911 sys/asoundlib.h \
6912 sys/cdio.h \
6913 sys/elf32.h \
6914 sys/epoll.h \
6915 sys/errno.h \
6916 sys/event.h \
6917 sys/exec_elf.h \
6918 sys/filio.h \
6919 sys/ioctl.h \
6920 sys/ipc.h \
6921 sys/limits.h \
6922 sys/link.h \
6923 sys/lwp.h \
6924 sys/mman.h \
6925 sys/modem.h \
6926 sys/msg.h \
6927 sys/mtio.h \
6928 sys/param.h \
6929 sys/poll.h \
6930 sys/prctl.h \
6931 sys/ptrace.h \
6932 sys/reg.h \
6933 sys/resource.h \
6934 sys/scsiio.h \
6935 sys/shm.h \
6936 sys/signal.h \
6937 sys/socket.h \
6938 sys/socketvar.h \
6939 sys/sockio.h \
6940 sys/soundcard.h \
6941 sys/statvfs.h \
6942 sys/strtio.h \
6943 sys/syscall.h \
6944 sys/sysctl.h \
6945 sys/time.h \
6946 sys/times.h \
6947 sys/uio.h \
6948 sys/un.h \
6949 sys/vm86.h \
6950 sys/wait.h \
6951 syscall.h \
6952 termios.h \
6953 unicode/ubidi.h \
6954 unistd.h \
6955 utime.h \
6956 valgrind/memcheck.h
6959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6964 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 ac_res=`eval echo '${'$as_ac_Header'}'`
6967 { echo "$as_me:$LINENO: result: $ac_res" >&5
6968 echo "${ECHO_T}$ac_res" >&6; }
6969 else
6970 # Is the header compilable?
6971 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6973 cat >conftest.$ac_ext <<_ACEOF
6974 /* confdefs.h. */
6975 _ACEOF
6976 cat confdefs.h >>conftest.$ac_ext
6977 cat >>conftest.$ac_ext <<_ACEOF
6978 /* end confdefs.h. */
6979 $ac_includes_default
6980 #include <$ac_header>
6981 _ACEOF
6982 rm -f conftest.$ac_objext
6983 if { (ac_try="$ac_compile"
6984 case "(($ac_try" in
6985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6986 *) ac_try_echo=$ac_try;;
6987 esac
6988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6989 (eval "$ac_compile") 2>conftest.er1
6990 ac_status=$?
6991 grep -v '^ *+' conftest.er1 >conftest.err
6992 rm -f conftest.er1
6993 cat conftest.err >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } && {
6996 test -z "$ac_c_werror_flag" ||
6997 test ! -s conftest.err
6998 } && test -s conftest.$ac_objext; then
6999 ac_header_compiler=yes
7000 else
7001 echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.$ac_ext >&5
7004 ac_header_compiler=no
7007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7008 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7009 echo "${ECHO_T}$ac_header_compiler" >&6; }
7011 # Is the header present?
7012 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7014 cat >conftest.$ac_ext <<_ACEOF
7015 /* confdefs.h. */
7016 _ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 #include <$ac_header>
7021 _ACEOF
7022 if { (ac_try="$ac_cpp conftest.$ac_ext"
7023 case "(($ac_try" in
7024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7025 *) ac_try_echo=$ac_try;;
7026 esac
7027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7029 ac_status=$?
7030 grep -v '^ *+' conftest.er1 >conftest.err
7031 rm -f conftest.er1
7032 cat conftest.err >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); } >/dev/null && {
7035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7036 test ! -s conftest.err
7037 }; then
7038 ac_header_preproc=yes
7039 else
7040 echo "$as_me: failed program was:" >&5
7041 sed 's/^/| /' conftest.$ac_ext >&5
7043 ac_header_preproc=no
7046 rm -f conftest.err conftest.$ac_ext
7047 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7048 echo "${ECHO_T}$ac_header_preproc" >&6; }
7050 # So? What about this header?
7051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7052 yes:no: )
7053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7056 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7057 ac_header_preproc=yes
7059 no:yes:* )
7060 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7061 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7062 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7063 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7064 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7065 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7066 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7067 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7070 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7071 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7072 ( cat <<\_ASBOX
7073 ## ------------------------------------ ##
7074 ## Report this to wine-devel@winehq.org ##
7075 ## ------------------------------------ ##
7076 _ASBOX
7077 ) | sed "s/^/$as_me: WARNING: /" >&2
7079 esac
7080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 else
7085 eval "$as_ac_Header=\$ac_header_preproc"
7087 ac_res=`eval echo '${'$as_ac_Header'}'`
7088 { echo "$as_me:$LINENO: result: $ac_res" >&5
7089 echo "${ECHO_T}$ac_res" >&6; }
7092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7093 cat >>confdefs.h <<_ACEOF
7094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7095 _ACEOF
7099 done
7101 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7102 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7103 if test "${ac_cv_header_stat_broken+set}" = set; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 else
7106 cat >conftest.$ac_ext <<_ACEOF
7107 /* confdefs.h. */
7108 _ACEOF
7109 cat confdefs.h >>conftest.$ac_ext
7110 cat >>conftest.$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7112 #include <sys/types.h>
7113 #include <sys/stat.h>
7115 #if defined S_ISBLK && defined S_IFDIR
7116 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7117 #endif
7119 #if defined S_ISBLK && defined S_IFCHR
7120 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7121 #endif
7123 #if defined S_ISLNK && defined S_IFREG
7124 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7125 #endif
7127 #if defined S_ISSOCK && defined S_IFREG
7128 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7129 #endif
7131 _ACEOF
7132 rm -f conftest.$ac_objext
7133 if { (ac_try="$ac_compile"
7134 case "(($ac_try" in
7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7136 *) ac_try_echo=$ac_try;;
7137 esac
7138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7139 (eval "$ac_compile") 2>conftest.er1
7140 ac_status=$?
7141 grep -v '^ *+' conftest.er1 >conftest.err
7142 rm -f conftest.er1
7143 cat conftest.err >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); } && {
7146 test -z "$ac_c_werror_flag" ||
7147 test ! -s conftest.err
7148 } && test -s conftest.$ac_objext; then
7149 ac_cv_header_stat_broken=no
7150 else
7151 echo "$as_me: failed program was:" >&5
7152 sed 's/^/| /' conftest.$ac_ext >&5
7154 ac_cv_header_stat_broken=yes
7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7159 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7160 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7161 if test $ac_cv_header_stat_broken = yes; then
7163 cat >>confdefs.h <<\_ACEOF
7164 #define STAT_MACROS_BROKEN 1
7165 _ACEOF
7175 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7181 echo $ECHO_N "(cached) $ECHO_C" >&6
7182 else
7183 cat >conftest.$ac_ext <<_ACEOF
7184 /* confdefs.h. */
7185 _ACEOF
7186 cat confdefs.h >>conftest.$ac_ext
7187 cat >>conftest.$ac_ext <<_ACEOF
7188 /* end confdefs.h. */
7189 #include <sys/types.h>
7190 #if HAVE_SYS_PARAM_H
7191 # include <sys/param.h>
7192 #endif
7194 #include <$ac_header>
7195 _ACEOF
7196 rm -f conftest.$ac_objext
7197 if { (ac_try="$ac_compile"
7198 case "(($ac_try" in
7199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7200 *) ac_try_echo=$ac_try;;
7201 esac
7202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7203 (eval "$ac_compile") 2>conftest.er1
7204 ac_status=$?
7205 grep -v '^ *+' conftest.er1 >conftest.err
7206 rm -f conftest.er1
7207 cat conftest.err >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } && {
7210 test -z "$ac_c_werror_flag" ||
7211 test ! -s conftest.err
7212 } && test -s conftest.$ac_objext; then
7213 eval "$as_ac_Header=yes"
7214 else
7215 echo "$as_me: failed program was:" >&5
7216 sed 's/^/| /' conftest.$ac_ext >&5
7218 eval "$as_ac_Header=no"
7221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7223 ac_res=`eval echo '${'$as_ac_Header'}'`
7224 { echo "$as_me:$LINENO: result: $ac_res" >&5
7225 echo "${ECHO_T}$ac_res" >&6; }
7226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7227 cat >>confdefs.h <<_ACEOF
7228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7229 _ACEOF
7233 done
7244 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
7246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7251 else
7252 cat >conftest.$ac_ext <<_ACEOF
7253 /* confdefs.h. */
7254 _ACEOF
7255 cat confdefs.h >>conftest.$ac_ext
7256 cat >>conftest.$ac_ext <<_ACEOF
7257 /* end confdefs.h. */
7258 #include <sys/types.h>
7259 #if HAVE_SYS_SOCKET_H
7260 # include <sys/socket.h>
7261 #endif
7263 #include <$ac_header>
7264 _ACEOF
7265 rm -f conftest.$ac_objext
7266 if { (ac_try="$ac_compile"
7267 case "(($ac_try" in
7268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7269 *) ac_try_echo=$ac_try;;
7270 esac
7271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7272 (eval "$ac_compile") 2>conftest.er1
7273 ac_status=$?
7274 grep -v '^ *+' conftest.er1 >conftest.err
7275 rm -f conftest.er1
7276 cat conftest.err >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } && {
7279 test -z "$ac_c_werror_flag" ||
7280 test ! -s conftest.err
7281 } && test -s conftest.$ac_objext; then
7282 eval "$as_ac_Header=yes"
7283 else
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.$ac_ext >&5
7287 eval "$as_ac_Header=no"
7290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7292 ac_res=`eval echo '${'$as_ac_Header'}'`
7293 { echo "$as_me:$LINENO: result: $ac_res" >&5
7294 echo "${ECHO_T}$ac_res" >&6; }
7295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7296 cat >>confdefs.h <<_ACEOF
7297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7298 _ACEOF
7302 done
7304 #if HAVE_SYS_SOCKETVAR_H
7305 # include <sys/socketvar.h>
7306 #endif
7309 for ac_header in netinet/tcp_var.h
7311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7316 else
7317 cat >conftest.$ac_ext <<_ACEOF
7318 /* confdefs.h. */
7319 _ACEOF
7320 cat confdefs.h >>conftest.$ac_ext
7321 cat >>conftest.$ac_ext <<_ACEOF
7322 /* end confdefs.h. */
7323 #include <sys/types.h>
7324 #if HAVE_SYS_SOCKET_H
7325 # include <sys/socket.h>
7326 #endif
7327 #if HAVE_SYS_SOCKETVAR_H
7328 # include <sys/socketvar.h>
7329 #endif
7330 #if HAVE_NETINET_IN_H
7331 # include <netinet/in.h>
7332 #endif
7333 #ifdef HAVE_NETINET_TCP_H
7334 # include <netinet/tcp.h>
7335 #endif
7337 #include <$ac_header>
7338 _ACEOF
7339 rm -f conftest.$ac_objext
7340 if { (ac_try="$ac_compile"
7341 case "(($ac_try" in
7342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7343 *) ac_try_echo=$ac_try;;
7344 esac
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7346 (eval "$ac_compile") 2>conftest.er1
7347 ac_status=$?
7348 grep -v '^ *+' conftest.er1 >conftest.err
7349 rm -f conftest.er1
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } && {
7353 test -z "$ac_c_werror_flag" ||
7354 test ! -s conftest.err
7355 } && test -s conftest.$ac_objext; then
7356 eval "$as_ac_Header=yes"
7357 else
7358 echo "$as_me: failed program was:" >&5
7359 sed 's/^/| /' conftest.$ac_ext >&5
7361 eval "$as_ac_Header=no"
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366 ac_res=`eval echo '${'$as_ac_Header'}'`
7367 { echo "$as_me:$LINENO: result: $ac_res" >&5
7368 echo "${ECHO_T}$ac_res" >&6; }
7369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7370 cat >>confdefs.h <<_ACEOF
7371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7372 _ACEOF
7376 done
7380 for ac_header in linux/ipx.h
7382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 else
7388 cat >conftest.$ac_ext <<_ACEOF
7389 /* confdefs.h. */
7390 _ACEOF
7391 cat confdefs.h >>conftest.$ac_ext
7392 cat >>conftest.$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7394 #include <sys/types.h>
7395 #ifdef HAVE_ASM_TYPES_H
7396 # include <asm/types.h>
7397 #endif
7398 #if HAVE_SYS_SOCKET_H
7399 # include <sys/socket.h>
7400 #endif
7402 #include <$ac_header>
7403 _ACEOF
7404 rm -f conftest.$ac_objext
7405 if { (ac_try="$ac_compile"
7406 case "(($ac_try" in
7407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7408 *) ac_try_echo=$ac_try;;
7409 esac
7410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7411 (eval "$ac_compile") 2>conftest.er1
7412 ac_status=$?
7413 grep -v '^ *+' conftest.er1 >conftest.err
7414 rm -f conftest.er1
7415 cat conftest.err >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); } && {
7418 test -z "$ac_c_werror_flag" ||
7419 test ! -s conftest.err
7420 } && test -s conftest.$ac_objext; then
7421 eval "$as_ac_Header=yes"
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 eval "$as_ac_Header=no"
7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7431 ac_res=`eval echo '${'$as_ac_Header'}'`
7432 { echo "$as_me:$LINENO: result: $ac_res" >&5
7433 echo "${ECHO_T}$ac_res" >&6; }
7434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7435 cat >>confdefs.h <<_ACEOF
7436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7437 _ACEOF
7441 done
7445 for ac_header in resolv.h
7447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 else
7453 cat >conftest.$ac_ext <<_ACEOF
7454 /* confdefs.h. */
7455 _ACEOF
7456 cat confdefs.h >>conftest.$ac_ext
7457 cat >>conftest.$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 #include <sys/types.h>
7460 #if HAVE_SYS_SOCKET_H
7461 # include <sys/socket.h>
7462 #endif
7463 #if HAVE_NETINET_IN_H
7464 # include <netinet/in.h>
7465 #endif
7466 #if HAVE_ARPA_NAMESER_H
7467 # include <arpa/nameser.h>
7468 #endif
7470 #include <$ac_header>
7471 _ACEOF
7472 rm -f conftest.$ac_objext
7473 if { (ac_try="$ac_compile"
7474 case "(($ac_try" in
7475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7476 *) ac_try_echo=$ac_try;;
7477 esac
7478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7479 (eval "$ac_compile") 2>conftest.er1
7480 ac_status=$?
7481 grep -v '^ *+' conftest.er1 >conftest.err
7482 rm -f conftest.er1
7483 cat conftest.err >&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } && {
7486 test -z "$ac_c_werror_flag" ||
7487 test ! -s conftest.err
7488 } && test -s conftest.$ac_objext; then
7489 eval "$as_ac_Header=yes"
7490 else
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.$ac_ext >&5
7494 eval "$as_ac_Header=no"
7497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7499 ac_res=`eval echo '${'$as_ac_Header'}'`
7500 { echo "$as_me:$LINENO: result: $ac_res" >&5
7501 echo "${ECHO_T}$ac_res" >&6; }
7502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7503 cat >>confdefs.h <<_ACEOF
7504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7505 _ACEOF
7509 done
7513 for ac_header in ucontext.h
7515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 else
7521 cat >conftest.$ac_ext <<_ACEOF
7522 /* confdefs.h. */
7523 _ACEOF
7524 cat confdefs.h >>conftest.$ac_ext
7525 cat >>conftest.$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7527 #include <signal.h>
7529 #include <$ac_header>
7530 _ACEOF
7531 rm -f conftest.$ac_objext
7532 if { (ac_try="$ac_compile"
7533 case "(($ac_try" in
7534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7535 *) ac_try_echo=$ac_try;;
7536 esac
7537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7538 (eval "$ac_compile") 2>conftest.er1
7539 ac_status=$?
7540 grep -v '^ *+' conftest.er1 >conftest.err
7541 rm -f conftest.er1
7542 cat conftest.err >&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); } && {
7545 test -z "$ac_c_werror_flag" ||
7546 test ! -s conftest.err
7547 } && test -s conftest.$ac_objext; then
7548 eval "$as_ac_Header=yes"
7549 else
7550 echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.$ac_ext >&5
7553 eval "$as_ac_Header=no"
7556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7558 ac_res=`eval echo '${'$as_ac_Header'}'`
7559 { echo "$as_me:$LINENO: result: $ac_res" >&5
7560 echo "${ECHO_T}$ac_res" >&6; }
7561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7562 cat >>confdefs.h <<_ACEOF
7563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7564 _ACEOF
7568 done
7572 for ac_header in pthread_np.h
7574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7578 echo $ECHO_N "(cached) $ECHO_C" >&6
7579 else
7580 cat >conftest.$ac_ext <<_ACEOF
7581 /* confdefs.h. */
7582 _ACEOF
7583 cat confdefs.h >>conftest.$ac_ext
7584 cat >>conftest.$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7586 #ifdef HAVE_PTHREAD_H
7587 #include <pthread.h>
7588 #endif
7590 #include <$ac_header>
7591 _ACEOF
7592 rm -f conftest.$ac_objext
7593 if { (ac_try="$ac_compile"
7594 case "(($ac_try" in
7595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7596 *) ac_try_echo=$ac_try;;
7597 esac
7598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7599 (eval "$ac_compile") 2>conftest.er1
7600 ac_status=$?
7601 grep -v '^ *+' conftest.er1 >conftest.err
7602 rm -f conftest.er1
7603 cat conftest.err >&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); } && {
7606 test -z "$ac_c_werror_flag" ||
7607 test ! -s conftest.err
7608 } && test -s conftest.$ac_objext; then
7609 eval "$as_ac_Header=yes"
7610 else
7611 echo "$as_me: failed program was:" >&5
7612 sed 's/^/| /' conftest.$ac_ext >&5
7614 eval "$as_ac_Header=no"
7617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7619 ac_res=`eval echo '${'$as_ac_Header'}'`
7620 { echo "$as_me:$LINENO: result: $ac_res" >&5
7621 echo "${ECHO_T}$ac_res" >&6; }
7622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7623 cat >>confdefs.h <<_ACEOF
7624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7625 _ACEOF
7629 done
7633 for ac_header in linux/videodev.h
7635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7639 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 else
7641 cat >conftest.$ac_ext <<_ACEOF
7642 /* confdefs.h. */
7643 _ACEOF
7644 cat confdefs.h >>conftest.$ac_ext
7645 cat >>conftest.$ac_ext <<_ACEOF
7646 /* end confdefs.h. */
7647 #ifdef HAVE_SYS_TIME_H
7648 #include <sys/time.h>
7649 #endif
7650 #include <sys/types.h>
7651 #ifdef HAVE_ASM_TYPES_H
7652 #include <asm/types.h>
7653 #endif
7655 #include <$ac_header>
7656 _ACEOF
7657 rm -f conftest.$ac_objext
7658 if { (ac_try="$ac_compile"
7659 case "(($ac_try" in
7660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7661 *) ac_try_echo=$ac_try;;
7662 esac
7663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7664 (eval "$ac_compile") 2>conftest.er1
7665 ac_status=$?
7666 grep -v '^ *+' conftest.er1 >conftest.err
7667 rm -f conftest.er1
7668 cat conftest.err >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } && {
7671 test -z "$ac_c_werror_flag" ||
7672 test ! -s conftest.err
7673 } && test -s conftest.$ac_objext; then
7674 eval "$as_ac_Header=yes"
7675 else
7676 echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.$ac_ext >&5
7679 eval "$as_ac_Header=no"
7682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7684 ac_res=`eval echo '${'$as_ac_Header'}'`
7685 { echo "$as_me:$LINENO: result: $ac_res" >&5
7686 echo "${ECHO_T}$ac_res" >&6; }
7687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7688 cat >>confdefs.h <<_ACEOF
7689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7690 _ACEOF
7694 done
7698 for ac_header in linux/capi.h
7700 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7701 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7705 else
7706 cat >conftest.$ac_ext <<_ACEOF
7707 /* confdefs.h. */
7708 _ACEOF
7709 cat confdefs.h >>conftest.$ac_ext
7710 cat >>conftest.$ac_ext <<_ACEOF
7711 /* end confdefs.h. */
7712 #define __user
7714 #include <$ac_header>
7715 _ACEOF
7716 rm -f conftest.$ac_objext
7717 if { (ac_try="$ac_compile"
7718 case "(($ac_try" in
7719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7720 *) ac_try_echo=$ac_try;;
7721 esac
7722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7723 (eval "$ac_compile") 2>conftest.er1
7724 ac_status=$?
7725 grep -v '^ *+' conftest.er1 >conftest.err
7726 rm -f conftest.er1
7727 cat conftest.err >&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); } && {
7730 test -z "$ac_c_werror_flag" ||
7731 test ! -s conftest.err
7732 } && test -s conftest.$ac_objext; then
7733 eval "$as_ac_Header=yes"
7734 else
7735 echo "$as_me: failed program was:" >&5
7736 sed 's/^/| /' conftest.$ac_ext >&5
7738 eval "$as_ac_Header=no"
7741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7743 ac_res=`eval echo '${'$as_ac_Header'}'`
7744 { echo "$as_me:$LINENO: result: $ac_res" >&5
7745 echo "${ECHO_T}$ac_res" >&6; }
7746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7747 cat >>confdefs.h <<_ACEOF
7748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749 _ACEOF
7753 done
7757 DLLEXT=""
7759 DLLFLAGS="-D_REENTRANT"
7761 LDSHARED=""
7763 LDDLLFLAGS=""
7765 LIBEXT="so"
7767 IMPLIBEXT="def"
7769 LDRPATH_INSTALL=""
7771 LDRPATH_LOCAL=""
7773 # Extract the first word of "ldd", so it can be a program name with args.
7774 set dummy ldd; ac_word=$2
7775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7777 if test "${ac_cv_path_LDD+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 else
7780 case $LDD in
7781 [\\/]* | ?:[\\/]*)
7782 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7786 as_dummy="/sbin:/usr/sbin:$PATH"
7787 for as_dir in $as_dummy
7789 IFS=$as_save_IFS
7790 test -z "$as_dir" && as_dir=.
7791 for ac_exec_ext in '' $ac_executable_extensions; do
7792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7793 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7795 break 2
7797 done
7798 done
7799 IFS=$as_save_IFS
7801 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7803 esac
7805 LDD=$ac_cv_path_LDD
7806 if test -n "$LDD"; then
7807 { echo "$as_me:$LINENO: result: $LDD" >&5
7808 echo "${ECHO_T}$LDD" >&6; }
7809 else
7810 { echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6; }
7816 case $host_os in
7817 cygwin*|mingw32*)
7818 if test -n "$ac_tool_prefix"; then
7819 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7820 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7823 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7824 echo $ECHO_N "(cached) $ECHO_C" >&6
7825 else
7826 if test -n "$DLLTOOL"; then
7827 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7828 else
7829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 for as_dir in $PATH
7832 IFS=$as_save_IFS
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7836 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 break 2
7840 done
7841 done
7842 IFS=$as_save_IFS
7846 DLLTOOL=$ac_cv_prog_DLLTOOL
7847 if test -n "$DLLTOOL"; then
7848 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7849 echo "${ECHO_T}$DLLTOOL" >&6; }
7850 else
7851 { echo "$as_me:$LINENO: result: no" >&5
7852 echo "${ECHO_T}no" >&6; }
7857 if test -z "$ac_cv_prog_DLLTOOL"; then
7858 ac_ct_DLLTOOL=$DLLTOOL
7859 # Extract the first word of "dlltool", so it can be a program name with args.
7860 set dummy dlltool; ac_word=$2
7861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7863 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 else
7866 if test -n "$ac_ct_DLLTOOL"; then
7867 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7868 else
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 for as_dir in $PATH
7872 IFS=$as_save_IFS
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 break 2
7880 done
7881 done
7882 IFS=$as_save_IFS
7886 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7887 if test -n "$ac_ct_DLLTOOL"; then
7888 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7889 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7890 else
7891 { echo "$as_me:$LINENO: result: no" >&5
7892 echo "${ECHO_T}no" >&6; }
7895 if test "x$ac_ct_DLLTOOL" = x; then
7896 DLLTOOL="false"
7897 else
7898 case $cross_compiling:$ac_tool_warned in
7899 yes:)
7900 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7901 whose name does not start with the host triplet. If you think this
7902 configuration is useful to you, please write to autoconf@gnu.org." >&5
7903 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7904 whose name does not start with the host triplet. If you think this
7905 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7906 ac_tool_warned=yes ;;
7907 esac
7908 DLLTOOL=$ac_ct_DLLTOOL
7910 else
7911 DLLTOOL="$ac_cv_prog_DLLTOOL"
7914 if test -n "$ac_tool_prefix"; then
7915 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7916 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7919 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 else
7922 if test -n "$DLLWRAP"; then
7923 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7924 else
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 for as_dir in $PATH
7928 IFS=$as_save_IFS
7929 test -z "$as_dir" && as_dir=.
7930 for ac_exec_ext in '' $ac_executable_extensions; do
7931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7932 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7934 break 2
7936 done
7937 done
7938 IFS=$as_save_IFS
7942 DLLWRAP=$ac_cv_prog_DLLWRAP
7943 if test -n "$DLLWRAP"; then
7944 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7945 echo "${ECHO_T}$DLLWRAP" >&6; }
7946 else
7947 { echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6; }
7953 if test -z "$ac_cv_prog_DLLWRAP"; then
7954 ac_ct_DLLWRAP=$DLLWRAP
7955 # Extract the first word of "dllwrap", so it can be a program name with args.
7956 set dummy dllwrap; ac_word=$2
7957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7959 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7961 else
7962 if test -n "$ac_ct_DLLWRAP"; then
7963 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7964 else
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 for as_dir in $PATH
7968 IFS=$as_save_IFS
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7972 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 break 2
7976 done
7977 done
7978 IFS=$as_save_IFS
7982 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7983 if test -n "$ac_ct_DLLWRAP"; then
7984 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7985 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7986 else
7987 { echo "$as_me:$LINENO: result: no" >&5
7988 echo "${ECHO_T}no" >&6; }
7991 if test "x$ac_ct_DLLWRAP" = x; then
7992 DLLWRAP="false"
7993 else
7994 case $cross_compiling:$ac_tool_warned in
7995 yes:)
7996 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7997 whose name does not start with the host triplet. If you think this
7998 configuration is useful to you, please write to autoconf@gnu.org." >&5
7999 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8000 whose name does not start with the host triplet. If you think this
8001 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8002 ac_tool_warned=yes ;;
8003 esac
8004 DLLWRAP=$ac_ct_DLLWRAP
8006 else
8007 DLLWRAP="$ac_cv_prog_DLLWRAP"
8010 if test -n "$ac_tool_prefix"; then
8011 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8012 set dummy ${ac_tool_prefix}ar; ac_word=$2
8013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8015 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8017 else
8018 if test -n "$MINGWAR"; then
8019 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8028 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 MINGWAR=$ac_cv_prog_MINGWAR
8039 if test -n "$MINGWAR"; then
8040 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8041 echo "${ECHO_T}$MINGWAR" >&6; }
8042 else
8043 { echo "$as_me:$LINENO: result: no" >&5
8044 echo "${ECHO_T}no" >&6; }
8049 if test -z "$ac_cv_prog_MINGWAR"; then
8050 ac_ct_MINGWAR=$MINGWAR
8051 # Extract the first word of "ar", so it can be a program name with args.
8052 set dummy ar; ac_word=$2
8053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8055 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8057 else
8058 if test -n "$ac_ct_MINGWAR"; then
8059 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8060 else
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 for as_dir in $PATH
8064 IFS=$as_save_IFS
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8068 ac_cv_prog_ac_ct_MINGWAR="ar"
8069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 break 2
8072 done
8073 done
8074 IFS=$as_save_IFS
8078 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8079 if test -n "$ac_ct_MINGWAR"; then
8080 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8081 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8082 else
8083 { echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6; }
8087 if test "x$ac_ct_MINGWAR" = x; then
8088 MINGWAR="false"
8089 else
8090 case $cross_compiling:$ac_tool_warned in
8091 yes:)
8092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8093 whose name does not start with the host triplet. If you think this
8094 configuration is useful to you, please write to autoconf@gnu.org." >&5
8095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8096 whose name does not start with the host triplet. If you think this
8097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8098 ac_tool_warned=yes ;;
8099 esac
8100 MINGWAR=$ac_ct_MINGWAR
8102 else
8103 MINGWAR="$ac_cv_prog_MINGWAR"
8106 if test "$DLLWRAP" = "false"; then
8107 LIBEXT="a"
8108 else
8109 LIBEXT="dll"
8111 IMPLIBEXT="a"
8112 WIN16_FILES=""
8113 WIN16_INSTALL=""
8115 darwin*|macosx*)
8116 DLLEXT=".so"
8117 LIBEXT="dylib"
8118 DLLFLAGS="$DLLFLAGS -fPIC"
8119 LDDLLFLAGS="-bundle -multiply_defined suppress"
8120 LIBWINE_LDFLAGS="-multiply_defined suppress"
8121 LDSHARED="\$(CC) -dynamiclib"
8122 STRIP="$STRIP -x"
8123 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8124 COREFOUNDATIONLIB="-framework CoreFoundation"
8126 IOKITLIB="-framework IOKit -framework CoreFoundation"
8128 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8130 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8131 then
8132 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8135 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8136 then
8137 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8140 case $host_cpu in
8141 *powerpc*)
8142 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8143 esac
8144 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8145 then
8146 CARBONLIB="-framework Carbon"
8148 QUARTZFILES='$(QUARTZFILES)'
8152 DLLFLAGS="$DLLFLAGS -fPIC"
8153 DLLEXT=".so"
8154 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8155 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8156 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8157 echo $ECHO_N "(cached) $ECHO_C" >&6
8158 else
8159 ac_wine_try_cflags_saved=$CFLAGS
8160 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8161 cat >conftest.$ac_ext <<_ACEOF
8162 void myfunc() {}
8163 _ACEOF
8164 rm -f conftest.$ac_objext conftest$ac_exeext
8165 if { (ac_try="$ac_link"
8166 case "(($ac_try" in
8167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8168 *) ac_try_echo=$ac_try;;
8169 esac
8170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8171 (eval "$ac_link") 2>conftest.er1
8172 ac_status=$?
8173 grep -v '^ *+' conftest.er1 >conftest.err
8174 rm -f conftest.er1
8175 cat conftest.err >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } && {
8178 test -z "$ac_c_werror_flag" ||
8179 test ! -s conftest.err
8180 } && test -s conftest$ac_exeext &&
8181 $as_test_x conftest$ac_exeext; then
8182 ac_cv_c_dll_gnuelf="yes"
8183 else
8184 echo "$as_me: failed program was:" >&5
8185 sed 's/^/| /' conftest.$ac_ext >&5
8187 ac_cv_c_dll_gnuelf="no"
8190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8191 conftest$ac_exeext conftest.$ac_ext
8192 CFLAGS=$ac_wine_try_cflags_saved
8194 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8195 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8196 if test "$ac_cv_c_dll_gnuelf" = "yes"
8197 then
8198 LDSHARED="\$(CC) -shared"
8199 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8200 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8201 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8202 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 ac_wine_try_cflags_saved=$CFLAGS
8206 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8207 cat >conftest.$ac_ext <<_ACEOF
8208 /* confdefs.h. */
8209 _ACEOF
8210 cat confdefs.h >>conftest.$ac_ext
8211 cat >>conftest.$ac_ext <<_ACEOF
8212 /* end confdefs.h. */
8215 main ()
8219 return 0;
8221 _ACEOF
8222 rm -f conftest.$ac_objext conftest$ac_exeext
8223 if { (ac_try="$ac_link"
8224 case "(($ac_try" in
8225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8226 *) ac_try_echo=$ac_try;;
8227 esac
8228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8229 (eval "$ac_link") 2>conftest.er1
8230 ac_status=$?
8231 grep -v '^ *+' conftest.er1 >conftest.err
8232 rm -f conftest.er1
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } && {
8236 test -z "$ac_c_werror_flag" ||
8237 test ! -s conftest.err
8238 } && test -s conftest$ac_exeext &&
8239 $as_test_x conftest$ac_exeext; then
8240 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8241 else
8242 echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.$ac_ext >&5
8245 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8249 conftest$ac_exeext conftest.$ac_ext
8250 CFLAGS=$ac_wine_try_cflags_saved
8252 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8253 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8254 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8255 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8256 else
8257 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8258 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8259 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8260 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8264 cat >conftest.$ac_ext <<_ACEOF
8265 /* confdefs.h. */
8266 _ACEOF
8267 cat confdefs.h >>conftest.$ac_ext
8268 cat >>conftest.$ac_ext <<_ACEOF
8269 /* end confdefs.h. */
8272 main ()
8276 return 0;
8278 _ACEOF
8279 rm -f conftest.$ac_objext conftest$ac_exeext
8280 if { (ac_try="$ac_link"
8281 case "(($ac_try" in
8282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8283 *) ac_try_echo=$ac_try;;
8284 esac
8285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8286 (eval "$ac_link") 2>conftest.er1
8287 ac_status=$?
8288 grep -v '^ *+' conftest.er1 >conftest.err
8289 rm -f conftest.er1
8290 cat conftest.err >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } && {
8293 test -z "$ac_c_werror_flag" ||
8294 test ! -s conftest.err
8295 } && test -s conftest$ac_exeext &&
8296 $as_test_x conftest$ac_exeext; then
8297 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8298 else
8299 echo "$as_me: failed program was:" >&5
8300 sed 's/^/| /' conftest.$ac_ext >&5
8302 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8306 conftest$ac_exeext conftest.$ac_ext
8307 CFLAGS=$ac_wine_try_cflags_saved
8309 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8310 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8311 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8312 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8318 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8319 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8320 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8321 echo $ECHO_N "(cached) $ECHO_C" >&6
8322 else
8323 ac_wine_try_cflags_saved=$CFLAGS
8324 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8325 cat >conftest.$ac_ext <<_ACEOF
8326 /* confdefs.h. */
8327 _ACEOF
8328 cat confdefs.h >>conftest.$ac_ext
8329 cat >>conftest.$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8333 main ()
8337 return 0;
8339 _ACEOF
8340 rm -f conftest.$ac_objext conftest$ac_exeext
8341 if { (ac_try="$ac_link"
8342 case "(($ac_try" in
8343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8344 *) ac_try_echo=$ac_try;;
8345 esac
8346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8347 (eval "$ac_link") 2>conftest.er1
8348 ac_status=$?
8349 grep -v '^ *+' conftest.er1 >conftest.err
8350 rm -f conftest.er1
8351 cat conftest.err >&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); } && {
8354 test -z "$ac_c_werror_flag" ||
8355 test ! -s conftest.err
8356 } && test -s conftest$ac_exeext &&
8357 $as_test_x conftest$ac_exeext; then
8358 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8359 else
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.$ac_ext >&5
8363 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8367 conftest$ac_exeext conftest.$ac_ext
8368 CFLAGS=$ac_wine_try_cflags_saved
8370 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8371 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8372 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8373 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8377 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8378 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8379 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8380 echo $ECHO_N "(cached) $ECHO_C" >&6
8381 else
8382 ac_wine_try_cflags_saved=$CFLAGS
8383 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8384 cat >conftest.$ac_ext <<_ACEOF
8385 /* confdefs.h. */
8386 _ACEOF
8387 cat confdefs.h >>conftest.$ac_ext
8388 cat >>conftest.$ac_ext <<_ACEOF
8389 /* end confdefs.h. */
8392 main ()
8396 return 0;
8398 _ACEOF
8399 rm -f conftest.$ac_objext conftest$ac_exeext
8400 if { (ac_try="$ac_link"
8401 case "(($ac_try" in
8402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8403 *) ac_try_echo=$ac_try;;
8404 esac
8405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8406 (eval "$ac_link") 2>conftest.er1
8407 ac_status=$?
8408 grep -v '^ *+' conftest.er1 >conftest.err
8409 rm -f conftest.er1
8410 cat conftest.err >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } && {
8413 test -z "$ac_c_werror_flag" ||
8414 test ! -s conftest.err
8415 } && test -s conftest$ac_exeext &&
8416 $as_test_x conftest$ac_exeext; then
8417 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8418 else
8419 echo "$as_me: failed program was:" >&5
8420 sed 's/^/| /' conftest.$ac_ext >&5
8422 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8426 conftest$ac_exeext conftest.$ac_ext
8427 CFLAGS=$ac_wine_try_cflags_saved
8429 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8430 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8431 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8432 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8436 echo '{ global: *; };' >conftest.map
8437 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8438 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8439 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8444 cat >conftest.$ac_ext <<_ACEOF
8445 /* confdefs.h. */
8446 _ACEOF
8447 cat confdefs.h >>conftest.$ac_ext
8448 cat >>conftest.$ac_ext <<_ACEOF
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 if { (ac_try="$ac_link"
8461 case "(($ac_try" in
8462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8464 esac
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_link") 2>conftest.er1
8467 ac_status=$?
8468 grep -v '^ *+' conftest.er1 >conftest.err
8469 rm -f conftest.er1
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); } && {
8473 test -z "$ac_c_werror_flag" ||
8474 test ! -s conftest.err
8475 } && test -s conftest$ac_exeext &&
8476 $as_test_x conftest$ac_exeext; then
8477 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8478 else
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8490 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8491 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8492 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8495 rm -f conftest.map
8497 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8498 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8499 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 else
8502 ac_wine_try_cflags_saved=$CFLAGS
8503 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8504 cat >conftest.$ac_ext <<_ACEOF
8505 /* confdefs.h. */
8506 _ACEOF
8507 cat confdefs.h >>conftest.$ac_ext
8508 cat >>conftest.$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8512 main ()
8516 return 0;
8518 _ACEOF
8519 rm -f conftest.$ac_objext conftest$ac_exeext
8520 if { (ac_try="$ac_link"
8521 case "(($ac_try" in
8522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8523 *) ac_try_echo=$ac_try;;
8524 esac
8525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8526 (eval "$ac_link") 2>conftest.er1
8527 ac_status=$?
8528 grep -v '^ *+' conftest.er1 >conftest.err
8529 rm -f conftest.er1
8530 cat conftest.err >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } && {
8533 test -z "$ac_c_werror_flag" ||
8534 test ! -s conftest.err
8535 } && test -s conftest$ac_exeext &&
8536 $as_test_x conftest$ac_exeext; then
8537 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8538 else
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.$ac_ext >&5
8542 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8550 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8551 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8552 LDEXECFLAGS="-Wl,--export-dynamic"
8557 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8558 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8559 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8560 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8561 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 else
8563 ac_wine_try_cflags_saved=$CFLAGS
8564 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8565 cat >conftest.$ac_ext <<_ACEOF
8566 /* confdefs.h. */
8567 _ACEOF
8568 cat confdefs.h >>conftest.$ac_ext
8569 cat >>conftest.$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8573 main ()
8577 return 0;
8579 _ACEOF
8580 rm -f conftest.$ac_objext conftest$ac_exeext
8581 if { (ac_try="$ac_link"
8582 case "(($ac_try" in
8583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8584 *) ac_try_echo=$ac_try;;
8585 esac
8586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8587 (eval "$ac_link") 2>conftest.er1
8588 ac_status=$?
8589 grep -v '^ *+' conftest.er1 >conftest.err
8590 rm -f conftest.er1
8591 cat conftest.err >&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); } && {
8594 test -z "$ac_c_werror_flag" ||
8595 test ! -s conftest.err
8596 } && test -s conftest$ac_exeext &&
8597 $as_test_x conftest$ac_exeext; then
8598 eval "$as_ac_var=yes"
8599 else
8600 echo "$as_me: failed program was:" >&5
8601 sed 's/^/| /' conftest.$ac_ext >&5
8603 eval "$as_ac_var=no"
8606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8607 conftest$ac_exeext conftest.$ac_ext
8608 CFLAGS=$ac_wine_try_cflags_saved
8610 ac_res=`eval echo '${'$as_ac_var'}'`
8611 { echo "$as_me:$LINENO: result: $ac_res" >&5
8612 echo "${ECHO_T}$ac_res" >&6; }
8613 if test `eval echo '${'$as_ac_var'}'` = yes; then
8614 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8615 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8616 else
8617 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8618 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8619 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 else
8623 ac_wine_try_cflags_saved=$CFLAGS
8624 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8625 cat >conftest.$ac_ext <<_ACEOF
8626 /* confdefs.h. */
8627 _ACEOF
8628 cat confdefs.h >>conftest.$ac_ext
8629 cat >>conftest.$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8633 main ()
8637 return 0;
8639 _ACEOF
8640 rm -f conftest.$ac_objext conftest$ac_exeext
8641 if { (ac_try="$ac_link"
8642 case "(($ac_try" in
8643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8644 *) ac_try_echo=$ac_try;;
8645 esac
8646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8647 (eval "$ac_link") 2>conftest.er1
8648 ac_status=$?
8649 grep -v '^ *+' conftest.er1 >conftest.err
8650 rm -f conftest.er1
8651 cat conftest.err >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); } && {
8654 test -z "$ac_c_werror_flag" ||
8655 test ! -s conftest.err
8656 } && test -s conftest$ac_exeext &&
8657 $as_test_x conftest$ac_exeext; then
8658 eval "$as_ac_var=yes"
8659 else
8660 echo "$as_me: failed program was:" >&5
8661 sed 's/^/| /' conftest.$ac_ext >&5
8663 eval "$as_ac_var=no"
8666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 ac_res=`eval echo '${'$as_ac_var'}'`
8671 { echo "$as_me:$LINENO: result: $ac_res" >&5
8672 echo "${ECHO_T}$ac_res" >&6; }
8673 if test `eval echo '${'$as_ac_var'}'` = yes; then
8674 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8675 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8681 case $host_cpu in
8682 *i[3456789]86* | x86_64)
8683 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8684 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8685 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 else
8688 ac_wine_try_cflags_saved=$CFLAGS
8689 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8690 cat >conftest.$ac_ext <<_ACEOF
8691 /* confdefs.h. */
8692 _ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8698 main ()
8702 return 0;
8704 _ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8707 case "(($ac_try" in
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8710 esac
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8713 ac_status=$?
8714 grep -v '^ *+' conftest.er1 >conftest.err
8715 rm -f conftest.er1
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest$ac_exeext &&
8722 $as_test_x conftest$ac_exeext; then
8723 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8724 else
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8728 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8736 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8737 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8738 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8742 esac
8744 else
8745 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8746 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8747 if test "${ac_cv_c_dll_unixware+set}" = set; then
8748 echo $ECHO_N "(cached) $ECHO_C" >&6
8749 else
8750 ac_wine_try_cflags_saved=$CFLAGS
8751 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8752 cat >conftest.$ac_ext <<_ACEOF
8753 void myfunc() {}
8754 _ACEOF
8755 rm -f conftest.$ac_objext conftest$ac_exeext
8756 if { (ac_try="$ac_link"
8757 case "(($ac_try" in
8758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8759 *) ac_try_echo=$ac_try;;
8760 esac
8761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8762 (eval "$ac_link") 2>conftest.er1
8763 ac_status=$?
8764 grep -v '^ *+' conftest.er1 >conftest.err
8765 rm -f conftest.er1
8766 cat conftest.err >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); } && {
8769 test -z "$ac_c_werror_flag" ||
8770 test ! -s conftest.err
8771 } && test -s conftest$ac_exeext &&
8772 $as_test_x conftest$ac_exeext; then
8773 ac_cv_c_dll_unixware="yes"
8774 else
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.$ac_ext >&5
8778 ac_cv_c_dll_unixware="no"
8781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8786 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8787 if test "$ac_cv_c_dll_unixware" = "yes"
8788 then
8789 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8790 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8792 else
8793 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8794 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8795 if test "${ac_cv_c_dll_hpux+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8797 else
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -shared"
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_hpux="yes"
8822 else
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8826 ac_cv_c_dll_hpux="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_hpux" >&5
8834 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8835 if test "$ac_cv_c_dll_hpux" = "yes"
8836 then
8837 LIBEXT="sl"
8838 DLLEXT=".sl"
8839 LDDLLFLAGS="-shared -fPIC"
8840 LDSHARED="\$(CC) -shared"
8845 CROSSTEST=""
8847 if test "$cross_compiling" = "no"
8848 then
8849 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8851 # Extract the first word of "$ac_prog", so it can be a program name with args.
8852 set dummy $ac_prog; ac_word=$2
8853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8855 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 else
8858 if test -n "$CROSSCC"; then
8859 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8860 else
8861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8862 for as_dir in $PATH
8864 IFS=$as_save_IFS
8865 test -z "$as_dir" && as_dir=.
8866 for ac_exec_ext in '' $ac_executable_extensions; do
8867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8868 ac_cv_prog_CROSSCC="$ac_prog"
8869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8870 break 2
8872 done
8873 done
8874 IFS=$as_save_IFS
8878 CROSSCC=$ac_cv_prog_CROSSCC
8879 if test -n "$CROSSCC"; then
8880 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8881 echo "${ECHO_T}$CROSSCC" >&6; }
8882 else
8883 { echo "$as_me:$LINENO: result: no" >&5
8884 echo "${ECHO_T}no" >&6; }
8888 test -n "$CROSSCC" && break
8889 done
8890 test -n "$CROSSCC" || CROSSCC="false"
8892 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8894 # Extract the first word of "$ac_prog", so it can be a program name with args.
8895 set dummy $ac_prog; ac_word=$2
8896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8898 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8899 echo $ECHO_N "(cached) $ECHO_C" >&6
8900 else
8901 if test -n "$DLLTOOL"; then
8902 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8903 else
8904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8905 for as_dir in $PATH
8907 IFS=$as_save_IFS
8908 test -z "$as_dir" && as_dir=.
8909 for ac_exec_ext in '' $ac_executable_extensions; do
8910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8911 ac_cv_prog_DLLTOOL="$ac_prog"
8912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8913 break 2
8915 done
8916 done
8917 IFS=$as_save_IFS
8921 DLLTOOL=$ac_cv_prog_DLLTOOL
8922 if test -n "$DLLTOOL"; then
8923 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8924 echo "${ECHO_T}$DLLTOOL" >&6; }
8925 else
8926 { echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6; }
8931 test -n "$DLLTOOL" && break
8932 done
8933 test -n "$DLLTOOL" || DLLTOOL="false"
8935 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8937 # Extract the first word of "$ac_prog", so it can be a program name with args.
8938 set dummy $ac_prog; ac_word=$2
8939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8941 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 else
8944 if test -n "$CROSSWINDRES"; then
8945 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8946 else
8947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 for as_dir in $PATH
8950 IFS=$as_save_IFS
8951 test -z "$as_dir" && as_dir=.
8952 for ac_exec_ext in '' $ac_executable_extensions; do
8953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8954 ac_cv_prog_CROSSWINDRES="$ac_prog"
8955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8956 break 2
8958 done
8959 done
8960 IFS=$as_save_IFS
8964 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8965 if test -n "$CROSSWINDRES"; then
8966 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8967 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8968 else
8969 { echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6; }
8974 test -n "$CROSSWINDRES" && break
8975 done
8976 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8978 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8980 # Extract the first word of "$ac_prog", so it can be a program name with args.
8981 set dummy $ac_prog; ac_word=$2
8982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8984 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8985 echo $ECHO_N "(cached) $ECHO_C" >&6
8986 else
8987 if test -n "$MINGWAR"; then
8988 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8989 else
8990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8991 for as_dir in $PATH
8993 IFS=$as_save_IFS
8994 test -z "$as_dir" && as_dir=.
8995 for ac_exec_ext in '' $ac_executable_extensions; do
8996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8997 ac_cv_prog_MINGWAR="$ac_prog"
8998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8999 break 2
9001 done
9002 done
9003 IFS=$as_save_IFS
9007 MINGWAR=$ac_cv_prog_MINGWAR
9008 if test -n "$MINGWAR"; then
9009 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9010 echo "${ECHO_T}$MINGWAR" >&6; }
9011 else
9012 { echo "$as_me:$LINENO: result: no" >&5
9013 echo "${ECHO_T}no" >&6; }
9017 test -n "$MINGWAR" && break
9018 done
9019 test -n "$MINGWAR" || MINGWAR="false"
9021 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9024 esac
9026 if test "$LIBEXT" = "a"; then
9027 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9028 It is currently not possible to build Wine without shared library
9029 (.so) support to allow transparent switch between .so and .dll files.
9030 If you are using Linux, you will need a newer binutils.
9031 " >&5
9032 echo "$as_me: error: could not find a way to build shared libraries.
9033 It is currently not possible to build Wine without shared library
9034 (.so) support to allow transparent switch between .so and .dll files.
9035 If you are using Linux, you will need a newer binutils.
9036 " >&2;}
9037 { (exit 1); exit 1; }; }
9041 if test "$have_x" = "yes"
9042 then
9043 XLIB="-lXext -lX11"
9044 ac_save_CPPFLAGS="$CPPFLAGS"
9045 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9047 { echo "$as_me:$LINENO: checking for -lX11" >&5
9048 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9049 if test "${ac_cv_lib_soname_X11+set}" = set; then
9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9051 else
9052 ac_check_soname_save_LIBS=$LIBS
9053 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9054 cat >conftest.$ac_ext <<_ACEOF
9055 /* confdefs.h. */
9056 _ACEOF
9057 cat confdefs.h >>conftest.$ac_ext
9058 cat >>conftest.$ac_ext <<_ACEOF
9059 /* end confdefs.h. */
9061 /* Override any GCC internal prototype to avoid an error.
9062 Use char because int might match the return type of a GCC
9063 builtin and then its argument prototype would still apply. */
9064 #ifdef __cplusplus
9065 extern "C"
9066 #endif
9067 char XCreateWindow ();
9069 main ()
9071 return XCreateWindow ();
9073 return 0;
9075 _ACEOF
9076 rm -f conftest.$ac_objext conftest$ac_exeext
9077 if { (ac_try="$ac_link"
9078 case "(($ac_try" in
9079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9080 *) ac_try_echo=$ac_try;;
9081 esac
9082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9083 (eval "$ac_link") 2>conftest.er1
9084 ac_status=$?
9085 grep -v '^ *+' conftest.er1 >conftest.err
9086 rm -f conftest.er1
9087 cat conftest.err >&5
9088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089 (exit $ac_status); } && {
9090 test -z "$ac_c_werror_flag" ||
9091 test ! -s conftest.err
9092 } && test -s conftest$ac_exeext &&
9093 $as_test_x conftest$ac_exeext; then
9094 case "$LIBEXT" in
9095 dll) ;;
9096 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'` ;;
9097 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9098 esac
9099 else
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9107 conftest$ac_exeext conftest.$ac_ext
9108 LIBS=$ac_check_soname_save_LIBS
9110 if test "x$ac_cv_lib_soname_X11" = "x"; then
9111 { echo "$as_me:$LINENO: result: not found" >&5
9112 echo "${ECHO_T}not found" >&6; }
9114 else
9115 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9116 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9118 cat >>confdefs.h <<_ACEOF
9119 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9120 _ACEOF
9125 { echo "$as_me:$LINENO: checking for -lXext" >&5
9126 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9127 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9129 else
9130 ac_check_soname_save_LIBS=$LIBS
9131 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9132 cat >conftest.$ac_ext <<_ACEOF
9133 /* confdefs.h. */
9134 _ACEOF
9135 cat confdefs.h >>conftest.$ac_ext
9136 cat >>conftest.$ac_ext <<_ACEOF
9137 /* end confdefs.h. */
9139 /* Override any GCC internal prototype to avoid an error.
9140 Use char because int might match the return type of a GCC
9141 builtin and then its argument prototype would still apply. */
9142 #ifdef __cplusplus
9143 extern "C"
9144 #endif
9145 char XextCreateExtension ();
9147 main ()
9149 return XextCreateExtension ();
9151 return 0;
9153 _ACEOF
9154 rm -f conftest.$ac_objext conftest$ac_exeext
9155 if { (ac_try="$ac_link"
9156 case "(($ac_try" in
9157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9158 *) ac_try_echo=$ac_try;;
9159 esac
9160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9161 (eval "$ac_link") 2>conftest.er1
9162 ac_status=$?
9163 grep -v '^ *+' conftest.er1 >conftest.err
9164 rm -f conftest.er1
9165 cat conftest.err >&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } && {
9168 test -z "$ac_c_werror_flag" ||
9169 test ! -s conftest.err
9170 } && test -s conftest$ac_exeext &&
9171 $as_test_x conftest$ac_exeext; then
9172 case "$LIBEXT" in
9173 dll) ;;
9174 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'` ;;
9175 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9176 esac
9177 else
9178 echo "$as_me: failed program was:" >&5
9179 sed 's/^/| /' conftest.$ac_ext >&5
9184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9185 conftest$ac_exeext conftest.$ac_ext
9186 LIBS=$ac_check_soname_save_LIBS
9188 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9189 { echo "$as_me:$LINENO: result: not found" >&5
9190 echo "${ECHO_T}not found" >&6; }
9192 else
9193 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9194 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9196 cat >>confdefs.h <<_ACEOF
9197 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9198 _ACEOF
9215 for ac_header in X11/Xlib.h \
9216 X11/XKBlib.h \
9217 X11/Xutil.h \
9218 X11/Xcursor/Xcursor.h \
9219 X11/extensions/shape.h \
9220 X11/extensions/XInput.h \
9221 X11/extensions/XShm.h \
9222 X11/extensions/Xinerama.h \
9223 X11/extensions/Xrandr.h \
9224 X11/extensions/Xrender.h \
9225 X11/extensions/xf86vmode.h
9227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9228 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 else
9233 cat >conftest.$ac_ext <<_ACEOF
9234 /* confdefs.h. */
9235 _ACEOF
9236 cat confdefs.h >>conftest.$ac_ext
9237 cat >>conftest.$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 #ifdef HAVE_X11_XLIB_H
9240 # include <X11/Xlib.h>
9241 #endif
9242 #ifdef HAVE_X11_XUTIL_H
9243 # include <X11/Xutil.h>
9244 #endif
9246 #include <$ac_header>
9247 _ACEOF
9248 rm -f conftest.$ac_objext
9249 if { (ac_try="$ac_compile"
9250 case "(($ac_try" in
9251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9252 *) ac_try_echo=$ac_try;;
9253 esac
9254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9255 (eval "$ac_compile") 2>conftest.er1
9256 ac_status=$?
9257 grep -v '^ *+' conftest.er1 >conftest.err
9258 rm -f conftest.er1
9259 cat conftest.err >&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); } && {
9262 test -z "$ac_c_werror_flag" ||
9263 test ! -s conftest.err
9264 } && test -s conftest.$ac_objext; then
9265 eval "$as_ac_Header=yes"
9266 else
9267 echo "$as_me: failed program was:" >&5
9268 sed 's/^/| /' conftest.$ac_ext >&5
9270 eval "$as_ac_Header=no"
9273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9275 ac_res=`eval echo '${'$as_ac_Header'}'`
9276 { echo "$as_me:$LINENO: result: $ac_res" >&5
9277 echo "${ECHO_T}$ac_res" >&6; }
9278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9279 cat >>confdefs.h <<_ACEOF
9280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9281 _ACEOF
9285 done
9288 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9289 then
9290 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9291 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9292 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 else
9295 ac_check_lib_save_LIBS=$LIBS
9296 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9297 cat >conftest.$ac_ext <<_ACEOF
9298 /* confdefs.h. */
9299 _ACEOF
9300 cat confdefs.h >>conftest.$ac_ext
9301 cat >>conftest.$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char XkbQueryExtension ();
9312 main ()
9314 return XkbQueryExtension ();
9316 return 0;
9318 _ACEOF
9319 rm -f conftest.$ac_objext conftest$ac_exeext
9320 if { (ac_try="$ac_link"
9321 case "(($ac_try" in
9322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9323 *) ac_try_echo=$ac_try;;
9324 esac
9325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9326 (eval "$ac_link") 2>conftest.er1
9327 ac_status=$?
9328 grep -v '^ *+' conftest.er1 >conftest.err
9329 rm -f conftest.er1
9330 cat conftest.err >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } && {
9333 test -z "$ac_c_werror_flag" ||
9334 test ! -s conftest.err
9335 } && test -s conftest$ac_exeext &&
9336 $as_test_x conftest$ac_exeext; then
9337 ac_cv_lib_X11_XkbQueryExtension=yes
9338 else
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9342 ac_cv_lib_X11_XkbQueryExtension=no
9345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS
9349 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9350 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9351 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9353 cat >>confdefs.h <<\_ACEOF
9354 #define HAVE_XKB 1
9355 _ACEOF
9361 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9362 then
9363 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9364 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9365 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 else
9368 ac_check_soname_save_LIBS=$LIBS
9369 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9370 cat >conftest.$ac_ext <<_ACEOF
9371 /* confdefs.h. */
9372 _ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9380 #ifdef __cplusplus
9381 extern "C"
9382 #endif
9383 char XcursorImageLoadCursor ();
9385 main ()
9387 return XcursorImageLoadCursor ();
9389 return 0;
9391 _ACEOF
9392 rm -f conftest.$ac_objext conftest$ac_exeext
9393 if { (ac_try="$ac_link"
9394 case "(($ac_try" in
9395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9396 *) ac_try_echo=$ac_try;;
9397 esac
9398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9399 (eval "$ac_link") 2>conftest.er1
9400 ac_status=$?
9401 grep -v '^ *+' conftest.er1 >conftest.err
9402 rm -f conftest.er1
9403 cat conftest.err >&5
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); } && {
9406 test -z "$ac_c_werror_flag" ||
9407 test ! -s conftest.err
9408 } && test -s conftest$ac_exeext &&
9409 $as_test_x conftest$ac_exeext; then
9410 case "$LIBEXT" in
9411 dll) ;;
9412 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'` ;;
9413 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9414 esac
9415 else
9416 echo "$as_me: failed program was:" >&5
9417 sed 's/^/| /' conftest.$ac_ext >&5
9422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9423 conftest$ac_exeext conftest.$ac_ext
9424 LIBS=$ac_check_soname_save_LIBS
9426 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9427 { echo "$as_me:$LINENO: result: not found" >&5
9428 echo "${ECHO_T}not found" >&6; }
9430 else
9431 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9432 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9434 cat >>confdefs.h <<_ACEOF
9435 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9436 _ACEOF
9443 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9444 then
9445 { echo "$as_me:$LINENO: checking for -lXi" >&5
9446 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9447 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9448 echo $ECHO_N "(cached) $ECHO_C" >&6
9449 else
9450 ac_check_soname_save_LIBS=$LIBS
9451 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9452 cat >conftest.$ac_ext <<_ACEOF
9453 /* confdefs.h. */
9454 _ACEOF
9455 cat confdefs.h >>conftest.$ac_ext
9456 cat >>conftest.$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 char XOpenDevice ();
9467 main ()
9469 return XOpenDevice ();
9471 return 0;
9473 _ACEOF
9474 rm -f conftest.$ac_objext conftest$ac_exeext
9475 if { (ac_try="$ac_link"
9476 case "(($ac_try" in
9477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9478 *) ac_try_echo=$ac_try;;
9479 esac
9480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9481 (eval "$ac_link") 2>conftest.er1
9482 ac_status=$?
9483 grep -v '^ *+' conftest.er1 >conftest.err
9484 rm -f conftest.er1
9485 cat conftest.err >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); } && {
9488 test -z "$ac_c_werror_flag" ||
9489 test ! -s conftest.err
9490 } && test -s conftest$ac_exeext &&
9491 $as_test_x conftest$ac_exeext; then
9492 case "$LIBEXT" in
9493 dll) ;;
9494 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'` ;;
9495 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9496 esac
9497 else
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.$ac_ext >&5
9504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9505 conftest$ac_exeext conftest.$ac_ext
9506 LIBS=$ac_check_soname_save_LIBS
9508 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9509 { echo "$as_me:$LINENO: result: not found" >&5
9510 echo "${ECHO_T}not found" >&6; }
9512 else
9513 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9514 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9516 cat >>confdefs.h <<_ACEOF
9517 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9518 _ACEOF
9525 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9526 then
9527 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9528 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9529 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9530 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9534 cat >conftest.$ac_ext <<_ACEOF
9535 /* confdefs.h. */
9536 _ACEOF
9537 cat confdefs.h >>conftest.$ac_ext
9538 cat >>conftest.$ac_ext <<_ACEOF
9539 /* end confdefs.h. */
9541 /* Override any GCC internal prototype to avoid an error.
9542 Use char because int might match the return type of a GCC
9543 builtin and then its argument prototype would still apply. */
9544 #ifdef __cplusplus
9545 extern "C"
9546 #endif
9547 char XShmQueryExtension ();
9549 main ()
9551 return XShmQueryExtension ();
9553 return 0;
9555 _ACEOF
9556 rm -f conftest.$ac_objext conftest$ac_exeext
9557 if { (ac_try="$ac_link"
9558 case "(($ac_try" in
9559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9560 *) ac_try_echo=$ac_try;;
9561 esac
9562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9563 (eval "$ac_link") 2>conftest.er1
9564 ac_status=$?
9565 grep -v '^ *+' conftest.er1 >conftest.err
9566 rm -f conftest.er1
9567 cat conftest.err >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } && {
9570 test -z "$ac_c_werror_flag" ||
9571 test ! -s conftest.err
9572 } && test -s conftest$ac_exeext &&
9573 $as_test_x conftest$ac_exeext; then
9574 ac_cv_lib_Xext_XShmQueryExtension=yes
9575 else
9576 echo "$as_me: failed program was:" >&5
9577 sed 's/^/| /' conftest.$ac_ext >&5
9579 ac_cv_lib_Xext_XShmQueryExtension=no
9582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9583 conftest$ac_exeext conftest.$ac_ext
9584 LIBS=$ac_check_lib_save_LIBS
9586 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9587 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9588 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9590 cat >>confdefs.h <<\_ACEOF
9591 #define HAVE_LIBXXSHM 1
9592 _ACEOF
9597 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9598 wine_notices="$wine_notices|XShm development files not found.
9599 Wine will be built without XShm support. (winex11.drv)"
9603 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9604 then
9605 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9606 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9607 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 else
9610 ac_check_lib_save_LIBS=$LIBS
9611 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9612 cat >conftest.$ac_ext <<_ACEOF
9613 /* confdefs.h. */
9614 _ACEOF
9615 cat confdefs.h >>conftest.$ac_ext
9616 cat >>conftest.$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9619 /* Override any GCC internal prototype to avoid an error.
9620 Use char because int might match the return type of a GCC
9621 builtin and then its argument prototype would still apply. */
9622 #ifdef __cplusplus
9623 extern "C"
9624 #endif
9625 char XShapeQueryExtension ();
9627 main ()
9629 return XShapeQueryExtension ();
9631 return 0;
9633 _ACEOF
9634 rm -f conftest.$ac_objext conftest$ac_exeext
9635 if { (ac_try="$ac_link"
9636 case "(($ac_try" in
9637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9638 *) ac_try_echo=$ac_try;;
9639 esac
9640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9641 (eval "$ac_link") 2>conftest.er1
9642 ac_status=$?
9643 grep -v '^ *+' conftest.er1 >conftest.err
9644 rm -f conftest.er1
9645 cat conftest.err >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); } && {
9648 test -z "$ac_c_werror_flag" ||
9649 test ! -s conftest.err
9650 } && test -s conftest$ac_exeext &&
9651 $as_test_x conftest$ac_exeext; then
9652 ac_cv_lib_Xext_XShapeQueryExtension=yes
9653 else
9654 echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.$ac_ext >&5
9657 ac_cv_lib_Xext_XShapeQueryExtension=no
9660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9661 conftest$ac_exeext conftest.$ac_ext
9662 LIBS=$ac_check_lib_save_LIBS
9664 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9665 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9666 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9668 cat >>confdefs.h <<\_ACEOF
9669 #define HAVE_LIBXSHAPE 1
9670 _ACEOF
9675 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9676 wine_notices="$wine_notices|XShape development files not found.
9677 Wine will be built without XShape support. (winex11.drv)"
9681 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9682 then
9683 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9684 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9685 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9687 else
9688 ac_check_lib_save_LIBS=$LIBS
9689 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9690 cat >conftest.$ac_ext <<_ACEOF
9691 /* confdefs.h. */
9692 _ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9697 /* Override any GCC internal prototype to avoid an error.
9698 Use char because int might match the return type of a GCC
9699 builtin and then its argument prototype would still apply. */
9700 #ifdef __cplusplus
9701 extern "C"
9702 #endif
9703 char XF86VidModeQueryExtension ();
9705 main ()
9707 return XF86VidModeQueryExtension ();
9709 return 0;
9711 _ACEOF
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (ac_try="$ac_link"
9714 case "(($ac_try" in
9715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9717 esac
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719 (eval "$ac_link") 2>conftest.er1
9720 ac_status=$?
9721 grep -v '^ *+' conftest.er1 >conftest.err
9722 rm -f conftest.er1
9723 cat conftest.err >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } && {
9726 test -z "$ac_c_werror_flag" ||
9727 test ! -s conftest.err
9728 } && test -s conftest$ac_exeext &&
9729 $as_test_x conftest$ac_exeext; then
9730 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9731 else
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9735 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9740 LIBS=$ac_check_lib_save_LIBS
9742 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9743 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9744 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9746 cat >>confdefs.h <<\_ACEOF
9747 #define HAVE_LIBXXF86VM 1
9748 _ACEOF
9750 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9755 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9756 wine_notices="$wine_notices|Xxf86vm development files not found.
9757 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9761 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"
9762 then
9763 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9764 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9765 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 else
9768 ac_check_soname_save_LIBS=$LIBS
9769 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9770 cat >conftest.$ac_ext <<_ACEOF
9771 /* confdefs.h. */
9772 _ACEOF
9773 cat confdefs.h >>conftest.$ac_ext
9774 cat >>conftest.$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9780 #ifdef __cplusplus
9781 extern "C"
9782 #endif
9783 char XRenderQueryExtension ();
9785 main ()
9787 return XRenderQueryExtension ();
9789 return 0;
9791 _ACEOF
9792 rm -f conftest.$ac_objext conftest$ac_exeext
9793 if { (ac_try="$ac_link"
9794 case "(($ac_try" in
9795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9797 esac
9798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_link") 2>conftest.er1
9800 ac_status=$?
9801 grep -v '^ *+' conftest.er1 >conftest.err
9802 rm -f conftest.er1
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest$ac_exeext &&
9809 $as_test_x conftest$ac_exeext; then
9810 case "$LIBEXT" in
9811 dll) ;;
9812 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'` ;;
9813 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9814 esac
9815 else
9816 echo "$as_me: failed program was:" >&5
9817 sed 's/^/| /' conftest.$ac_ext >&5
9822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9823 conftest$ac_exeext conftest.$ac_ext
9824 LIBS=$ac_check_soname_save_LIBS
9826 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9827 { echo "$as_me:$LINENO: result: not found" >&5
9828 echo "${ECHO_T}not found" >&6; }
9830 else
9831 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9832 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9834 cat >>confdefs.h <<_ACEOF
9835 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9836 _ACEOF
9838 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9839 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9840 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9841 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 else
9843 ac_check_lib_save_LIBS=$LIBS
9844 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9845 cat >conftest.$ac_ext <<_ACEOF
9846 /* confdefs.h. */
9847 _ACEOF
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9852 /* Override any GCC internal prototype to avoid an error.
9853 Use char because int might match the return type of a GCC
9854 builtin and then its argument prototype would still apply. */
9855 #ifdef __cplusplus
9856 extern "C"
9857 #endif
9858 char XRenderSetPictureTransform ();
9860 main ()
9862 return XRenderSetPictureTransform ();
9864 return 0;
9866 _ACEOF
9867 rm -f conftest.$ac_objext conftest$ac_exeext
9868 if { (ac_try="$ac_link"
9869 case "(($ac_try" in
9870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9872 esac
9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9874 (eval "$ac_link") 2>conftest.er1
9875 ac_status=$?
9876 grep -v '^ *+' conftest.er1 >conftest.err
9877 rm -f conftest.er1
9878 cat conftest.err >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } && {
9881 test -z "$ac_c_werror_flag" ||
9882 test ! -s conftest.err
9883 } && test -s conftest$ac_exeext &&
9884 $as_test_x conftest$ac_exeext; then
9885 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9886 else
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9890 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_lib_save_LIBS
9897 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9898 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9899 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9901 cat >>confdefs.h <<\_ACEOF
9902 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9903 _ACEOF
9911 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9912 wine_notices="$wine_notices|XRender development files not found.
9913 Wine will be built without XRender support. (winex11.drv)"
9917 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9918 then
9919 cat >conftest.$ac_ext <<_ACEOF
9920 /* confdefs.h. */
9921 _ACEOF
9922 cat confdefs.h >>conftest.$ac_ext
9923 cat >>conftest.$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9925 #include <X11/Xlib.h>
9926 #include <X11/extensions/Xrandr.h>
9928 main ()
9930 static typeof(XRRSetScreenConfigAndRate) * func;
9932 return 0;
9934 _ACEOF
9935 rm -f conftest.$ac_objext
9936 if { (ac_try="$ac_compile"
9937 case "(($ac_try" in
9938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9939 *) ac_try_echo=$ac_try;;
9940 esac
9941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 (eval "$ac_compile") 2>conftest.er1
9943 ac_status=$?
9944 grep -v '^ *+' conftest.er1 >conftest.err
9945 rm -f conftest.er1
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } && {
9949 test -z "$ac_c_werror_flag" ||
9950 test ! -s conftest.err
9951 } && test -s conftest.$ac_objext; then
9952 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9953 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9954 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9956 else
9957 ac_check_soname_save_LIBS=$LIBS
9958 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9959 cat >conftest.$ac_ext <<_ACEOF
9960 /* confdefs.h. */
9961 _ACEOF
9962 cat confdefs.h >>conftest.$ac_ext
9963 cat >>conftest.$ac_ext <<_ACEOF
9964 /* end confdefs.h. */
9966 /* Override any GCC internal prototype to avoid an error.
9967 Use char because int might match the return type of a GCC
9968 builtin and then its argument prototype would still apply. */
9969 #ifdef __cplusplus
9970 extern "C"
9971 #endif
9972 char XRRQueryExtension ();
9974 main ()
9976 return XRRQueryExtension ();
9978 return 0;
9980 _ACEOF
9981 rm -f conftest.$ac_objext conftest$ac_exeext
9982 if { (ac_try="$ac_link"
9983 case "(($ac_try" in
9984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9985 *) ac_try_echo=$ac_try;;
9986 esac
9987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9988 (eval "$ac_link") 2>conftest.er1
9989 ac_status=$?
9990 grep -v '^ *+' conftest.er1 >conftest.err
9991 rm -f conftest.er1
9992 cat conftest.err >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); } && {
9995 test -z "$ac_c_werror_flag" ||
9996 test ! -s conftest.err
9997 } && test -s conftest$ac_exeext &&
9998 $as_test_x conftest$ac_exeext; then
9999 case "$LIBEXT" in
10000 dll) ;;
10001 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'` ;;
10002 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10003 esac
10004 else
10005 echo "$as_me: failed program was:" >&5
10006 sed 's/^/| /' conftest.$ac_ext >&5
10011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_soname_save_LIBS
10015 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10016 { echo "$as_me:$LINENO: result: not found" >&5
10017 echo "${ECHO_T}not found" >&6; }
10019 else
10020 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10021 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10023 cat >>confdefs.h <<_ACEOF
10024 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10025 _ACEOF
10030 else
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.$ac_ext >&5
10037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10039 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10040 wine_notices="$wine_notices|XRandr development files not found.
10041 Wine will be built without XRandr support. (winex11.drv)"
10045 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10046 then
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
10052 /* end confdefs.h. */
10053 #include <X11/Xlib.h>
10054 #include <X11/extensions/Xinerama.h>
10056 main ()
10058 static typeof(XineramaQueryScreens) * func;
10060 return 0;
10062 _ACEOF
10063 rm -f conftest.$ac_objext
10064 if { (ac_try="$ac_compile"
10065 case "(($ac_try" in
10066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10067 *) ac_try_echo=$ac_try;;
10068 esac
10069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10070 (eval "$ac_compile") 2>conftest.er1
10071 ac_status=$?
10072 grep -v '^ *+' conftest.er1 >conftest.err
10073 rm -f conftest.er1
10074 cat conftest.err >&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); } && {
10077 test -z "$ac_c_werror_flag" ||
10078 test ! -s conftest.err
10079 } && test -s conftest.$ac_objext; then
10080 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10081 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10082 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10084 else
10085 ac_check_soname_save_LIBS=$LIBS
10086 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10087 cat >conftest.$ac_ext <<_ACEOF
10088 /* confdefs.h. */
10089 _ACEOF
10090 cat confdefs.h >>conftest.$ac_ext
10091 cat >>conftest.$ac_ext <<_ACEOF
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10097 #ifdef __cplusplus
10098 extern "C"
10099 #endif
10100 char XineramaQueryScreens ();
10102 main ()
10104 return XineramaQueryScreens ();
10106 return 0;
10108 _ACEOF
10109 rm -f conftest.$ac_objext conftest$ac_exeext
10110 if { (ac_try="$ac_link"
10111 case "(($ac_try" in
10112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10113 *) ac_try_echo=$ac_try;;
10114 esac
10115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10116 (eval "$ac_link") 2>conftest.er1
10117 ac_status=$?
10118 grep -v '^ *+' conftest.er1 >conftest.err
10119 rm -f conftest.er1
10120 cat conftest.err >&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); } && {
10123 test -z "$ac_c_werror_flag" ||
10124 test ! -s conftest.err
10125 } && test -s conftest$ac_exeext &&
10126 $as_test_x conftest$ac_exeext; then
10127 case "$LIBEXT" in
10128 dll) ;;
10129 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'` ;;
10130 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10131 esac
10132 else
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.$ac_ext >&5
10139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_soname_save_LIBS
10143 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10144 { echo "$as_me:$LINENO: result: not found" >&5
10145 echo "${ECHO_T}not found" >&6; }
10147 else
10148 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10149 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10151 cat >>confdefs.h <<_ACEOF
10152 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10153 _ACEOF
10158 else
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.$ac_ext >&5
10165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10167 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10168 wine_notices="$wine_notices|Xinerama development files not found.
10169 Wine will be built without Xinerama support. (winex11.drv)"
10174 if test "x$with_opengl" != "xno"
10175 then
10180 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10182 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10183 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10187 else
10188 cat >conftest.$ac_ext <<_ACEOF
10189 /* confdefs.h. */
10190 _ACEOF
10191 cat confdefs.h >>conftest.$ac_ext
10192 cat >>conftest.$ac_ext <<_ACEOF
10193 /* end confdefs.h. */
10194 #ifdef HAVE_GL_GLX_H
10195 # include <GL/glx.h>
10196 #endif
10198 #include <$ac_header>
10199 _ACEOF
10200 rm -f conftest.$ac_objext
10201 if { (ac_try="$ac_compile"
10202 case "(($ac_try" in
10203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204 *) ac_try_echo=$ac_try;;
10205 esac
10206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_compile") 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } && {
10214 test -z "$ac_c_werror_flag" ||
10215 test ! -s conftest.err
10216 } && test -s conftest.$ac_objext; then
10217 eval "$as_ac_Header=yes"
10218 else
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.$ac_ext >&5
10222 eval "$as_ac_Header=no"
10225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10227 ac_res=`eval echo '${'$as_ac_Header'}'`
10228 { echo "$as_me:$LINENO: result: $ac_res" >&5
10229 echo "${ECHO_T}$ac_res" >&6; }
10230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10231 cat >>confdefs.h <<_ACEOF
10232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10233 _ACEOF
10237 done
10239 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10240 then
10241 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10242 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10243 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 else
10246 cat >conftest.$ac_ext <<_ACEOF
10247 /* confdefs.h. */
10248 _ACEOF
10249 cat confdefs.h >>conftest.$ac_ext
10250 cat >>conftest.$ac_ext <<_ACEOF
10251 /* end confdefs.h. */
10252 #include <GL/gl.h>
10254 main ()
10256 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10258 return 0;
10260 _ACEOF
10261 rm -f conftest.$ac_objext
10262 if { (ac_try="$ac_compile"
10263 case "(($ac_try" in
10264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10265 *) ac_try_echo=$ac_try;;
10266 esac
10267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10268 (eval "$ac_compile") 2>conftest.er1
10269 ac_status=$?
10270 grep -v '^ *+' conftest.er1 >conftest.err
10271 rm -f conftest.er1
10272 cat conftest.err >&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } && {
10275 test -z "$ac_c_werror_flag" ||
10276 test ! -s conftest.err
10277 } && test -s conftest.$ac_objext; then
10278 wine_cv_opengl_header_version_OK="yes"
10279 else
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10283 wine_cv_opengl_header_version_OK="no"
10286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10288 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10289 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10291 if test "$wine_cv_opengl_header_version_OK" = "yes"
10292 then
10293 { echo "$as_me:$LINENO: checking for -lGL" >&5
10294 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10295 if test "${ac_cv_lib_soname_GL+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10297 else
10298 ac_check_soname_save_LIBS=$LIBS
10299 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10300 cat >conftest.$ac_ext <<_ACEOF
10301 /* confdefs.h. */
10302 _ACEOF
10303 cat confdefs.h >>conftest.$ac_ext
10304 cat >>conftest.$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10310 #ifdef __cplusplus
10311 extern "C"
10312 #endif
10313 char glXCreateContext ();
10315 main ()
10317 return glXCreateContext ();
10319 return 0;
10321 _ACEOF
10322 rm -f conftest.$ac_objext conftest$ac_exeext
10323 if { (ac_try="$ac_link"
10324 case "(($ac_try" in
10325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10326 *) ac_try_echo=$ac_try;;
10327 esac
10328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10329 (eval "$ac_link") 2>conftest.er1
10330 ac_status=$?
10331 grep -v '^ *+' conftest.er1 >conftest.err
10332 rm -f conftest.er1
10333 cat conftest.err >&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } && {
10336 test -z "$ac_c_werror_flag" ||
10337 test ! -s conftest.err
10338 } && test -s conftest$ac_exeext &&
10339 $as_test_x conftest$ac_exeext; then
10340 case "$LIBEXT" in
10341 dll) ;;
10342 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'` ;;
10343 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10344 esac
10345 else
10346 echo "$as_me: failed program was:" >&5
10347 sed 's/^/| /' conftest.$ac_ext >&5
10352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_soname_save_LIBS
10356 if test "x$ac_cv_lib_soname_GL" = "x"; then
10357 { echo "$as_me:$LINENO: result: not found" >&5
10358 echo "${ECHO_T}not found" >&6; }
10359 if test -f /usr/X11R6/lib/libGL.a
10360 then
10361 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10362 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10363 else
10364 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10365 Wine will be build without OpenGL or Direct3D support."
10367 else
10368 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10369 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10371 cat >>confdefs.h <<_ACEOF
10372 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10373 _ACEOF
10375 OPENGL_LIBS="-lGL"
10376 OPENGLFILES='$(OPENGLFILES)'
10378 cat >>confdefs.h <<\_ACEOF
10379 #define HAVE_OPENGL 1
10380 _ACEOF
10385 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10386 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10387 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10389 else
10390 ac_check_lib_save_LIBS=$LIBS
10391 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10392 cat >conftest.$ac_ext <<_ACEOF
10393 /* confdefs.h. */
10394 _ACEOF
10395 cat confdefs.h >>conftest.$ac_ext
10396 cat >>conftest.$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10399 /* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10402 #ifdef __cplusplus
10403 extern "C"
10404 #endif
10405 char gluLookAt ();
10407 main ()
10409 return gluLookAt ();
10411 return 0;
10413 _ACEOF
10414 rm -f conftest.$ac_objext conftest$ac_exeext
10415 if { (ac_try="$ac_link"
10416 case "(($ac_try" in
10417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10418 *) ac_try_echo=$ac_try;;
10419 esac
10420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10421 (eval "$ac_link") 2>conftest.er1
10422 ac_status=$?
10423 grep -v '^ *+' conftest.er1 >conftest.err
10424 rm -f conftest.er1
10425 cat conftest.err >&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); } && {
10428 test -z "$ac_c_werror_flag" ||
10429 test ! -s conftest.err
10430 } && test -s conftest$ac_exeext &&
10431 $as_test_x conftest$ac_exeext; then
10432 ac_cv_lib_GLU_gluLookAt=yes
10433 else
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.$ac_ext >&5
10437 ac_cv_lib_GLU_gluLookAt=no
10440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_lib_save_LIBS
10444 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10445 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10446 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10447 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10448 GLU32FILES='$(GLU32FILES)'
10452 else
10453 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10454 Wine will be build without OpenGL or Direct3D support."
10456 else
10457 wine_warnings="$wine_warnings|OpenGL development headers not found.
10458 Wine will be build without OpenGL or Direct3D support."
10462 NASLIBS=""
10465 for ac_header in audio/audiolib.h
10467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10468 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10474 ac_res=`eval echo '${'$as_ac_Header'}'`
10475 { echo "$as_me:$LINENO: result: $ac_res" >&5
10476 echo "${ECHO_T}$ac_res" >&6; }
10477 else
10478 # Is the header compilable?
10479 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10481 cat >conftest.$ac_ext <<_ACEOF
10482 /* confdefs.h. */
10483 _ACEOF
10484 cat confdefs.h >>conftest.$ac_ext
10485 cat >>conftest.$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10487 $ac_includes_default
10488 #include <$ac_header>
10489 _ACEOF
10490 rm -f conftest.$ac_objext
10491 if { (ac_try="$ac_compile"
10492 case "(($ac_try" in
10493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10494 *) ac_try_echo=$ac_try;;
10495 esac
10496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10497 (eval "$ac_compile") 2>conftest.er1
10498 ac_status=$?
10499 grep -v '^ *+' conftest.er1 >conftest.err
10500 rm -f conftest.er1
10501 cat conftest.err >&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); } && {
10504 test -z "$ac_c_werror_flag" ||
10505 test ! -s conftest.err
10506 } && test -s conftest.$ac_objext; then
10507 ac_header_compiler=yes
10508 else
10509 echo "$as_me: failed program was:" >&5
10510 sed 's/^/| /' conftest.$ac_ext >&5
10512 ac_header_compiler=no
10515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10516 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10517 echo "${ECHO_T}$ac_header_compiler" >&6; }
10519 # Is the header present?
10520 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10522 cat >conftest.$ac_ext <<_ACEOF
10523 /* confdefs.h. */
10524 _ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10528 #include <$ac_header>
10529 _ACEOF
10530 if { (ac_try="$ac_cpp conftest.$ac_ext"
10531 case "(($ac_try" in
10532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10533 *) ac_try_echo=$ac_try;;
10534 esac
10535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10537 ac_status=$?
10538 grep -v '^ *+' conftest.er1 >conftest.err
10539 rm -f conftest.er1
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } >/dev/null && {
10543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10544 test ! -s conftest.err
10545 }; then
10546 ac_header_preproc=yes
10547 else
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10551 ac_header_preproc=no
10554 rm -f conftest.err conftest.$ac_ext
10555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10556 echo "${ECHO_T}$ac_header_preproc" >&6; }
10558 # So? What about this header?
10559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10560 yes:no: )
10561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10565 ac_header_preproc=yes
10567 no:yes:* )
10568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10580 ( cat <<\_ASBOX
10581 ## ------------------------------------ ##
10582 ## Report this to wine-devel@winehq.org ##
10583 ## ------------------------------------ ##
10584 _ASBOX
10585 ) | sed "s/^/$as_me: WARNING: /" >&2
10587 esac
10588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 else
10593 eval "$as_ac_Header=\$ac_header_preproc"
10595 ac_res=`eval echo '${'$as_ac_Header'}'`
10596 { echo "$as_me:$LINENO: result: $ac_res" >&5
10597 echo "${ECHO_T}$ac_res" >&6; }
10600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10601 cat >>confdefs.h <<_ACEOF
10602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10603 _ACEOF
10605 for ac_header in audio/soundlib.h
10607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10611 echo $ECHO_N "(cached) $ECHO_C" >&6
10612 else
10613 cat >conftest.$ac_ext <<_ACEOF
10614 /* confdefs.h. */
10615 _ACEOF
10616 cat confdefs.h >>conftest.$ac_ext
10617 cat >>conftest.$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10619 #include <audio/audiolib.h>
10621 #include <$ac_header>
10622 _ACEOF
10623 rm -f conftest.$ac_objext
10624 if { (ac_try="$ac_compile"
10625 case "(($ac_try" in
10626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10627 *) ac_try_echo=$ac_try;;
10628 esac
10629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10630 (eval "$ac_compile") 2>conftest.er1
10631 ac_status=$?
10632 grep -v '^ *+' conftest.er1 >conftest.err
10633 rm -f conftest.er1
10634 cat conftest.err >&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); } && {
10637 test -z "$ac_c_werror_flag" ||
10638 test ! -s conftest.err
10639 } && test -s conftest.$ac_objext; then
10640 eval "$as_ac_Header=yes"
10641 else
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.$ac_ext >&5
10645 eval "$as_ac_Header=no"
10648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10650 ac_res=`eval echo '${'$as_ac_Header'}'`
10651 { echo "$as_me:$LINENO: result: $ac_res" >&5
10652 echo "${ECHO_T}$ac_res" >&6; }
10653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10654 cat >>confdefs.h <<_ACEOF
10655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10656 _ACEOF
10660 done
10662 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10663 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10664 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 else
10667 ac_check_lib_save_LIBS=$LIBS
10668 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10669 cat >conftest.$ac_ext <<_ACEOF
10670 /* confdefs.h. */
10671 _ACEOF
10672 cat confdefs.h >>conftest.$ac_ext
10673 cat >>conftest.$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10676 /* Override any GCC internal prototype to avoid an error.
10677 Use char because int might match the return type of a GCC
10678 builtin and then its argument prototype would still apply. */
10679 #ifdef __cplusplus
10680 extern "C"
10681 #endif
10682 char AuCreateFlow ();
10684 main ()
10686 return AuCreateFlow ();
10688 return 0;
10690 _ACEOF
10691 rm -f conftest.$ac_objext conftest$ac_exeext
10692 if { (ac_try="$ac_link"
10693 case "(($ac_try" in
10694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10695 *) ac_try_echo=$ac_try;;
10696 esac
10697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10698 (eval "$ac_link") 2>conftest.er1
10699 ac_status=$?
10700 grep -v '^ *+' conftest.er1 >conftest.err
10701 rm -f conftest.er1
10702 cat conftest.err >&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } && {
10705 test -z "$ac_c_werror_flag" ||
10706 test ! -s conftest.err
10707 } && test -s conftest$ac_exeext &&
10708 $as_test_x conftest$ac_exeext; then
10709 ac_cv_lib_audio_AuCreateFlow=yes
10710 else
10711 echo "$as_me: failed program was:" >&5
10712 sed 's/^/| /' conftest.$ac_ext >&5
10714 ac_cv_lib_audio_AuCreateFlow=no
10717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10722 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10723 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10725 cat >>confdefs.h <<\_ACEOF
10726 #define HAVE_NAS 1
10727 _ACEOF
10729 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10730 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10731 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10733 else
10734 ac_check_lib_save_LIBS=$LIBS
10735 LIBS="-lXau $X_LIBS $LIBS"
10736 cat >conftest.$ac_ext <<_ACEOF
10737 /* confdefs.h. */
10738 _ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10746 #ifdef __cplusplus
10747 extern "C"
10748 #endif
10749 char XauGetBestAuthByAddr ();
10751 main ()
10753 return XauGetBestAuthByAddr ();
10755 return 0;
10757 _ACEOF
10758 rm -f conftest.$ac_objext conftest$ac_exeext
10759 if { (ac_try="$ac_link"
10760 case "(($ac_try" in
10761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10762 *) ac_try_echo=$ac_try;;
10763 esac
10764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10765 (eval "$ac_link") 2>conftest.er1
10766 ac_status=$?
10767 grep -v '^ *+' conftest.er1 >conftest.err
10768 rm -f conftest.er1
10769 cat conftest.err >&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); } && {
10772 test -z "$ac_c_werror_flag" ||
10773 test ! -s conftest.err
10774 } && test -s conftest$ac_exeext &&
10775 $as_test_x conftest$ac_exeext; then
10776 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10777 else
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.$ac_ext >&5
10781 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10785 conftest$ac_exeext conftest.$ac_ext
10786 LIBS=$ac_check_lib_save_LIBS
10788 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10789 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10790 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10791 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10792 else
10793 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10801 done
10804 CPPFLAGS="$ac_save_CPPFLAGS"
10805 XFILES='$(XFILES)'
10806 else
10807 XLIB=""
10808 X_CFLAGS=""
10809 X_LIBS=""
10810 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10811 without X support, which probably isn't what you want. You will need to install
10812 development packages of Xlib/Xfree86 at the very least."
10816 XML2LIBS=""
10818 XML2INCL=""
10820 XSLTLIBS=""
10822 XSLTINCL=""
10824 ac_save_CPPFLAGS="$CPPFLAGS"
10825 if test "$PKG_CONFIG" != "false"
10826 then
10827 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10828 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10829 else
10830 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10831 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10833 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10835 for ac_header in libxml/parser.h
10837 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10839 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10841 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10842 echo $ECHO_N "(cached) $ECHO_C" >&6
10844 ac_res=`eval echo '${'$as_ac_Header'}'`
10845 { echo "$as_me:$LINENO: result: $ac_res" >&5
10846 echo "${ECHO_T}$ac_res" >&6; }
10847 else
10848 # Is the header compilable?
10849 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10851 cat >conftest.$ac_ext <<_ACEOF
10852 /* confdefs.h. */
10853 _ACEOF
10854 cat confdefs.h >>conftest.$ac_ext
10855 cat >>conftest.$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10857 $ac_includes_default
10858 #include <$ac_header>
10859 _ACEOF
10860 rm -f conftest.$ac_objext
10861 if { (ac_try="$ac_compile"
10862 case "(($ac_try" in
10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10865 esac
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_compile") 2>conftest.er1
10868 ac_status=$?
10869 grep -v '^ *+' conftest.er1 >conftest.err
10870 rm -f conftest.er1
10871 cat conftest.err >&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && {
10874 test -z "$ac_c_werror_flag" ||
10875 test ! -s conftest.err
10876 } && test -s conftest.$ac_objext; then
10877 ac_header_compiler=yes
10878 else
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.$ac_ext >&5
10882 ac_header_compiler=no
10885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10886 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10887 echo "${ECHO_T}$ac_header_compiler" >&6; }
10889 # Is the header present?
10890 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10892 cat >conftest.$ac_ext <<_ACEOF
10893 /* confdefs.h. */
10894 _ACEOF
10895 cat confdefs.h >>conftest.$ac_ext
10896 cat >>conftest.$ac_ext <<_ACEOF
10897 /* end confdefs.h. */
10898 #include <$ac_header>
10899 _ACEOF
10900 if { (ac_try="$ac_cpp conftest.$ac_ext"
10901 case "(($ac_try" in
10902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10903 *) ac_try_echo=$ac_try;;
10904 esac
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10907 ac_status=$?
10908 grep -v '^ *+' conftest.er1 >conftest.err
10909 rm -f conftest.er1
10910 cat conftest.err >&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } >/dev/null && {
10913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10915 }; then
10916 ac_header_preproc=yes
10917 else
10918 echo "$as_me: failed program was:" >&5
10919 sed 's/^/| /' conftest.$ac_ext >&5
10921 ac_header_preproc=no
10924 rm -f conftest.err conftest.$ac_ext
10925 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10926 echo "${ECHO_T}$ac_header_preproc" >&6; }
10928 # So? What about this header?
10929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10930 yes:no: )
10931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10935 ac_header_preproc=yes
10937 no:yes:* )
10938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10950 ( cat <<\_ASBOX
10951 ## ------------------------------------ ##
10952 ## Report this to wine-devel@winehq.org ##
10953 ## ------------------------------------ ##
10954 _ASBOX
10955 ) | sed "s/^/$as_me: WARNING: /" >&2
10957 esac
10958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10961 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 else
10963 eval "$as_ac_Header=\$ac_header_preproc"
10965 ac_res=`eval echo '${'$as_ac_Header'}'`
10966 { echo "$as_me:$LINENO: result: $ac_res" >&5
10967 echo "${ECHO_T}$ac_res" >&6; }
10970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10971 cat >>confdefs.h <<_ACEOF
10972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10973 _ACEOF
10974 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10975 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10976 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10977 echo $ECHO_N "(cached) $ECHO_C" >&6
10978 else
10979 ac_check_lib_save_LIBS=$LIBS
10980 LIBS="-lxml2 $ac_xml_libs $LIBS"
10981 cat >conftest.$ac_ext <<_ACEOF
10982 /* confdefs.h. */
10983 _ACEOF
10984 cat confdefs.h >>conftest.$ac_ext
10985 cat >>conftest.$ac_ext <<_ACEOF
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10991 #ifdef __cplusplus
10992 extern "C"
10993 #endif
10994 char xmlParseMemory ();
10996 main ()
10998 return xmlParseMemory ();
11000 return 0;
11002 _ACEOF
11003 rm -f conftest.$ac_objext conftest$ac_exeext
11004 if { (ac_try="$ac_link"
11005 case "(($ac_try" in
11006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11007 *) ac_try_echo=$ac_try;;
11008 esac
11009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010 (eval "$ac_link") 2>conftest.er1
11011 ac_status=$?
11012 grep -v '^ *+' conftest.er1 >conftest.err
11013 rm -f conftest.er1
11014 cat conftest.err >&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } && {
11017 test -z "$ac_c_werror_flag" ||
11018 test ! -s conftest.err
11019 } && test -s conftest$ac_exeext &&
11020 $as_test_x conftest$ac_exeext; then
11021 ac_cv_lib_xml2_xmlParseMemory=yes
11022 else
11023 echo "$as_me: failed program was:" >&5
11024 sed 's/^/| /' conftest.$ac_ext >&5
11026 ac_cv_lib_xml2_xmlParseMemory=no
11029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11034 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11035 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11037 cat >>confdefs.h <<\_ACEOF
11038 #define HAVE_LIBXML2 1
11039 _ACEOF
11041 XML2LIBS="$ac_xml_libs"
11042 XML2INCL="$ac_xml_cflags"
11045 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11046 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11047 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 else
11050 ac_check_lib_save_LIBS=$LIBS
11051 LIBS="-lxml2 $ac_xml_libs $LIBS"
11052 cat >conftest.$ac_ext <<_ACEOF
11053 /* confdefs.h. */
11054 _ACEOF
11055 cat confdefs.h >>conftest.$ac_ext
11056 cat >>conftest.$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char xmlReadMemory ();
11067 main ()
11069 return xmlReadMemory ();
11071 return 0;
11073 _ACEOF
11074 rm -f conftest.$ac_objext conftest$ac_exeext
11075 if { (ac_try="$ac_link"
11076 case "(($ac_try" in
11077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11078 *) ac_try_echo=$ac_try;;
11079 esac
11080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11081 (eval "$ac_link") 2>conftest.er1
11082 ac_status=$?
11083 grep -v '^ *+' conftest.er1 >conftest.err
11084 rm -f conftest.er1
11085 cat conftest.err >&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } && {
11088 test -z "$ac_c_werror_flag" ||
11089 test ! -s conftest.err
11090 } && test -s conftest$ac_exeext &&
11091 $as_test_x conftest$ac_exeext; then
11092 ac_cv_lib_xml2_xmlReadMemory=yes
11093 else
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.$ac_ext >&5
11097 ac_cv_lib_xml2_xmlReadMemory=no
11100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LIBS=$ac_check_lib_save_LIBS
11104 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11105 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11106 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11108 cat >>confdefs.h <<\_ACEOF
11109 #define HAVE_XMLREADMEMORY 1
11110 _ACEOF
11114 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11115 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11116 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lxml2 $ac_xml_libs $LIBS"
11121 cat >conftest.$ac_ext <<_ACEOF
11122 /* confdefs.h. */
11123 _ACEOF
11124 cat confdefs.h >>conftest.$ac_ext
11125 cat >>conftest.$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char xmlNewDocPI ();
11136 main ()
11138 return xmlNewDocPI ();
11140 return 0;
11142 _ACEOF
11143 rm -f conftest.$ac_objext conftest$ac_exeext
11144 if { (ac_try="$ac_link"
11145 case "(($ac_try" in
11146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11147 *) ac_try_echo=$ac_try;;
11148 esac
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_link") 2>conftest.er1
11151 ac_status=$?
11152 grep -v '^ *+' conftest.er1 >conftest.err
11153 rm -f conftest.er1
11154 cat conftest.err >&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } && {
11157 test -z "$ac_c_werror_flag" ||
11158 test ! -s conftest.err
11159 } && test -s conftest$ac_exeext &&
11160 $as_test_x conftest$ac_exeext; then
11161 ac_cv_lib_xml2_xmlNewDocPI=yes
11162 else
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.$ac_ext >&5
11166 ac_cv_lib_xml2_xmlNewDocPI=no
11169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11174 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11175 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11177 cat >>confdefs.h <<\_ACEOF
11178 #define HAVE_XMLNEWDOCPI 1
11179 _ACEOF
11186 done
11188 CPPFLAGS="$ac_save_CPPFLAGS"
11189 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11190 wine_notices="$wine_notices|libxml2 development files not found.
11191 Wine will be built without XML support. (msxml.dll)"
11195 if test "$PKG_CONFIG" != "false"
11196 then
11197 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11198 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11199 else
11200 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11201 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11203 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11206 for ac_header in libxslt/pattern.h libxslt/transform.h
11208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11213 else
11214 cat >conftest.$ac_ext <<_ACEOF
11215 /* confdefs.h. */
11216 _ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 #ifdef HAVE_LIBXSLT_PATTERN_H
11221 # include <libxslt/pattern.h>
11222 #endif
11224 #include <$ac_header>
11225 _ACEOF
11226 rm -f conftest.$ac_objext
11227 if { (ac_try="$ac_compile"
11228 case "(($ac_try" in
11229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11230 *) ac_try_echo=$ac_try;;
11231 esac
11232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11233 (eval "$ac_compile") 2>conftest.er1
11234 ac_status=$?
11235 grep -v '^ *+' conftest.er1 >conftest.err
11236 rm -f conftest.er1
11237 cat conftest.err >&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); } && {
11240 test -z "$ac_c_werror_flag" ||
11241 test ! -s conftest.err
11242 } && test -s conftest.$ac_objext; then
11243 eval "$as_ac_Header=yes"
11244 else
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11248 eval "$as_ac_Header=no"
11251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11253 ac_res=`eval echo '${'$as_ac_Header'}'`
11254 { echo "$as_me:$LINENO: result: $ac_res" >&5
11255 echo "${ECHO_T}$ac_res" >&6; }
11256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11257 cat >>confdefs.h <<_ACEOF
11258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11259 _ACEOF
11260 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11261 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11262 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 else
11265 ac_check_lib_save_LIBS=$LIBS
11266 LIBS="-lxslt $ac_xslt_libs $LIBS"
11267 cat >conftest.$ac_ext <<_ACEOF
11268 /* confdefs.h. */
11269 _ACEOF
11270 cat confdefs.h >>conftest.$ac_ext
11271 cat >>conftest.$ac_ext <<_ACEOF
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11277 #ifdef __cplusplus
11278 extern "C"
11279 #endif
11280 char xsltCompilePattern ();
11282 main ()
11284 return xsltCompilePattern ();
11286 return 0;
11288 _ACEOF
11289 rm -f conftest.$ac_objext conftest$ac_exeext
11290 if { (ac_try="$ac_link"
11291 case "(($ac_try" in
11292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11294 esac
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_link") 2>conftest.er1
11297 ac_status=$?
11298 grep -v '^ *+' conftest.er1 >conftest.err
11299 rm -f conftest.er1
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } && {
11303 test -z "$ac_c_werror_flag" ||
11304 test ! -s conftest.err
11305 } && test -s conftest$ac_exeext &&
11306 $as_test_x conftest$ac_exeext; then
11307 ac_cv_lib_xslt_xsltCompilePattern=yes
11308 else
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11312 ac_cv_lib_xslt_xsltCompilePattern=no
11315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_lib_save_LIBS
11319 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11320 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11321 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11323 cat >>confdefs.h <<\_ACEOF
11324 #define HAVE_LIBXSLT 1
11325 _ACEOF
11327 XSLTLIBS="$ac_xslt_libs"
11328 XSLTINCL="$ac_xslt_cflags"
11334 done
11336 CPPFLAGS="$ac_save_CPPFLAGS"
11337 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11338 wine_notices="$wine_notices|libxslt development files not found.
11339 Wine will be built without xslt support. (msxml.dll)"
11343 HALINCL=""
11345 if test "$PKG_CONFIG" != "false"
11346 then
11347 ac_save_CPPFLAGS="$CPPFLAGS"
11348 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11349 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11350 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11353 for ac_header in dbus/dbus.h hal/libhal.h
11355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11357 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 ac_res=`eval echo '${'$as_ac_Header'}'`
11363 { echo "$as_me:$LINENO: result: $ac_res" >&5
11364 echo "${ECHO_T}$ac_res" >&6; }
11365 else
11366 # Is the header compilable?
11367 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11369 cat >conftest.$ac_ext <<_ACEOF
11370 /* confdefs.h. */
11371 _ACEOF
11372 cat confdefs.h >>conftest.$ac_ext
11373 cat >>conftest.$ac_ext <<_ACEOF
11374 /* end confdefs.h. */
11375 $ac_includes_default
11376 #include <$ac_header>
11377 _ACEOF
11378 rm -f conftest.$ac_objext
11379 if { (ac_try="$ac_compile"
11380 case "(($ac_try" in
11381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11382 *) ac_try_echo=$ac_try;;
11383 esac
11384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11385 (eval "$ac_compile") 2>conftest.er1
11386 ac_status=$?
11387 grep -v '^ *+' conftest.er1 >conftest.err
11388 rm -f conftest.er1
11389 cat conftest.err >&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); } && {
11392 test -z "$ac_c_werror_flag" ||
11393 test ! -s conftest.err
11394 } && test -s conftest.$ac_objext; then
11395 ac_header_compiler=yes
11396 else
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.$ac_ext >&5
11400 ac_header_compiler=no
11403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11404 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11405 echo "${ECHO_T}$ac_header_compiler" >&6; }
11407 # Is the header present?
11408 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11410 cat >conftest.$ac_ext <<_ACEOF
11411 /* confdefs.h. */
11412 _ACEOF
11413 cat confdefs.h >>conftest.$ac_ext
11414 cat >>conftest.$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11416 #include <$ac_header>
11417 _ACEOF
11418 if { (ac_try="$ac_cpp conftest.$ac_ext"
11419 case "(($ac_try" in
11420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11421 *) ac_try_echo=$ac_try;;
11422 esac
11423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11424 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11425 ac_status=$?
11426 grep -v '^ *+' conftest.er1 >conftest.err
11427 rm -f conftest.er1
11428 cat conftest.err >&5
11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11430 (exit $ac_status); } >/dev/null && {
11431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11432 test ! -s conftest.err
11433 }; then
11434 ac_header_preproc=yes
11435 else
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11439 ac_header_preproc=no
11442 rm -f conftest.err conftest.$ac_ext
11443 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11444 echo "${ECHO_T}$ac_header_preproc" >&6; }
11446 # So? What about this header?
11447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11448 yes:no: )
11449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11453 ac_header_preproc=yes
11455 no:yes:* )
11456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11468 ( cat <<\_ASBOX
11469 ## ------------------------------------ ##
11470 ## Report this to wine-devel@winehq.org ##
11471 ## ------------------------------------ ##
11472 _ASBOX
11473 ) | sed "s/^/$as_me: WARNING: /" >&2
11475 esac
11476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481 eval "$as_ac_Header=\$ac_header_preproc"
11483 ac_res=`eval echo '${'$as_ac_Header'}'`
11484 { echo "$as_me:$LINENO: result: $ac_res" >&5
11485 echo "${ECHO_T}$ac_res" >&6; }
11488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11489 cat >>confdefs.h <<_ACEOF
11490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11491 _ACEOF
11495 done
11497 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11498 then
11499 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11500 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11501 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 else
11504 ac_check_lib_save_LIBS=$LIBS
11505 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
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. */
11513 /* Override any GCC internal prototype to avoid an error.
11514 Use char because int might match the return type of a GCC
11515 builtin and then its argument prototype would still apply. */
11516 #ifdef __cplusplus
11517 extern "C"
11518 #endif
11519 char dbus_connection_close ();
11521 main ()
11523 return dbus_connection_close ();
11525 return 0;
11527 _ACEOF
11528 rm -f conftest.$ac_objext conftest$ac_exeext
11529 if { (ac_try="$ac_link"
11530 case "(($ac_try" in
11531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11532 *) ac_try_echo=$ac_try;;
11533 esac
11534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11535 (eval "$ac_link") 2>conftest.er1
11536 ac_status=$?
11537 grep -v '^ *+' conftest.er1 >conftest.err
11538 rm -f conftest.er1
11539 cat conftest.err >&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } && {
11542 test -z "$ac_c_werror_flag" ||
11543 test ! -s conftest.err
11544 } && test -s conftest$ac_exeext &&
11545 $as_test_x conftest$ac_exeext; then
11546 ac_cv_lib_dbus_1_dbus_connection_close=yes
11547 else
11548 echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.$ac_ext >&5
11551 ac_cv_lib_dbus_1_dbus_connection_close=no
11554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11559 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11560 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11561 { echo "$as_me:$LINENO: checking for -lhal" >&5
11562 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11563 if test "${ac_cv_lib_soname_hal+set}" = set; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11566 ac_check_soname_save_LIBS=$LIBS
11567 LIBS="-lhal $ac_hal_libs $LIBS"
11568 cat >conftest.$ac_ext <<_ACEOF
11569 /* confdefs.h. */
11570 _ACEOF
11571 cat confdefs.h >>conftest.$ac_ext
11572 cat >>conftest.$ac_ext <<_ACEOF
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char libhal_ctx_new ();
11583 main ()
11585 return libhal_ctx_new ();
11587 return 0;
11589 _ACEOF
11590 rm -f conftest.$ac_objext conftest$ac_exeext
11591 if { (ac_try="$ac_link"
11592 case "(($ac_try" in
11593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11594 *) ac_try_echo=$ac_try;;
11595 esac
11596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11597 (eval "$ac_link") 2>conftest.er1
11598 ac_status=$?
11599 grep -v '^ *+' conftest.er1 >conftest.err
11600 rm -f conftest.er1
11601 cat conftest.err >&5
11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 (exit $ac_status); } && {
11604 test -z "$ac_c_werror_flag" ||
11605 test ! -s conftest.err
11606 } && test -s conftest$ac_exeext &&
11607 $as_test_x conftest$ac_exeext; then
11608 case "$LIBEXT" in
11609 dll) ;;
11610 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'` ;;
11611 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11612 esac
11613 else
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11621 conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_soname_save_LIBS
11624 if test "x$ac_cv_lib_soname_hal" = "x"; then
11625 { echo "$as_me:$LINENO: result: not found" >&5
11626 echo "${ECHO_T}not found" >&6; }
11628 else
11629 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11630 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11632 cat >>confdefs.h <<_ACEOF
11633 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11634 _ACEOF
11636 HALINCL="$ac_hal_cflags"
11642 CPPFLAGS="$ac_save_CPPFLAGS"
11644 if test "x$ac_cv_lib_soname_hal" = "x"; then
11645 wine_notices="$wine_notices|libhal development files not found.
11646 Wine will be built without dynamic device support. (explorer.exe)"
11650 CURSESLIBS=""
11651 if test "$ac_cv_header_ncurses_h" = "yes"
11652 then
11653 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11654 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11655 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11656 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 else
11658 ac_check_soname_save_LIBS=$LIBS
11659 LIBS="-lncurses $LIBS"
11660 cat >conftest.$ac_ext <<_ACEOF
11661 /* confdefs.h. */
11662 _ACEOF
11663 cat confdefs.h >>conftest.$ac_ext
11664 cat >>conftest.$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11670 #ifdef __cplusplus
11671 extern "C"
11672 #endif
11673 char waddch ();
11675 main ()
11677 return waddch ();
11679 return 0;
11681 _ACEOF
11682 rm -f conftest.$ac_objext conftest$ac_exeext
11683 if { (ac_try="$ac_link"
11684 case "(($ac_try" in
11685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11686 *) ac_try_echo=$ac_try;;
11687 esac
11688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11689 (eval "$ac_link") 2>conftest.er1
11690 ac_status=$?
11691 grep -v '^ *+' conftest.er1 >conftest.err
11692 rm -f conftest.er1
11693 cat conftest.err >&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } && {
11696 test -z "$ac_c_werror_flag" ||
11697 test ! -s conftest.err
11698 } && test -s conftest$ac_exeext &&
11699 $as_test_x conftest$ac_exeext; then
11700 case "$LIBEXT" in
11701 dll) ;;
11702 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'` ;;
11703 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11704 esac
11705 else
11706 echo "$as_me: failed program was:" >&5
11707 sed 's/^/| /' conftest.$ac_ext >&5
11712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_soname_save_LIBS
11716 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11717 { echo "$as_me:$LINENO: result: not found" >&5
11718 echo "${ECHO_T}not found" >&6; }
11720 else
11721 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11722 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11724 cat >>confdefs.h <<_ACEOF
11725 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11726 _ACEOF
11728 CURSESLIBS="-lncurses"
11731 elif test "$ac_cv_header_curses_h" = "yes"
11732 then
11733 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11734 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11735 if test "${ac_cv_lib_soname_curses+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 else
11738 ac_check_soname_save_LIBS=$LIBS
11739 LIBS="-lcurses $LIBS"
11740 cat >conftest.$ac_ext <<_ACEOF
11741 /* confdefs.h. */
11742 _ACEOF
11743 cat confdefs.h >>conftest.$ac_ext
11744 cat >>conftest.$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 char waddch ();
11755 main ()
11757 return waddch ();
11759 return 0;
11761 _ACEOF
11762 rm -f conftest.$ac_objext conftest$ac_exeext
11763 if { (ac_try="$ac_link"
11764 case "(($ac_try" in
11765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11766 *) ac_try_echo=$ac_try;;
11767 esac
11768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11769 (eval "$ac_link") 2>conftest.er1
11770 ac_status=$?
11771 grep -v '^ *+' conftest.er1 >conftest.err
11772 rm -f conftest.er1
11773 cat conftest.err >&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); } && {
11776 test -z "$ac_c_werror_flag" ||
11777 test ! -s conftest.err
11778 } && test -s conftest$ac_exeext &&
11779 $as_test_x conftest$ac_exeext; then
11780 case "$LIBEXT" in
11781 dll) ;;
11782 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'` ;;
11783 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11784 esac
11785 else
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.$ac_ext >&5
11792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_soname_save_LIBS
11796 if test "x$ac_cv_lib_soname_curses" = "x"; then
11797 { echo "$as_me:$LINENO: result: not found" >&5
11798 echo "${ECHO_T}not found" >&6; }
11800 else
11801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11802 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11804 cat >>confdefs.h <<_ACEOF
11805 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11806 _ACEOF
11808 CURSESLIBS="-lcurses"
11812 ac_save_LIBS="$LIBS"
11813 LIBS="$LIBS $CURSESLIBS"
11815 for ac_func in mousemask
11817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11821 echo $ECHO_N "(cached) $ECHO_C" >&6
11822 else
11823 cat >conftest.$ac_ext <<_ACEOF
11824 /* confdefs.h. */
11825 _ACEOF
11826 cat confdefs.h >>conftest.$ac_ext
11827 cat >>conftest.$ac_ext <<_ACEOF
11828 /* end confdefs.h. */
11829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11831 #define $ac_func innocuous_$ac_func
11833 /* System header to define __stub macros and hopefully few prototypes,
11834 which can conflict with char $ac_func (); below.
11835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11836 <limits.h> exists even on freestanding compilers. */
11838 #ifdef __STDC__
11839 # include <limits.h>
11840 #else
11841 # include <assert.h>
11842 #endif
11844 #undef $ac_func
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char $ac_func ();
11853 /* The GNU C library defines this for functions which it implements
11854 to always fail with ENOSYS. Some functions are actually named
11855 something starting with __ and the normal name is an alias. */
11856 #if defined __stub_$ac_func || defined __stub___$ac_func
11857 choke me
11858 #endif
11861 main ()
11863 return $ac_func ();
11865 return 0;
11867 _ACEOF
11868 rm -f conftest.$ac_objext conftest$ac_exeext
11869 if { (ac_try="$ac_link"
11870 case "(($ac_try" in
11871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11872 *) ac_try_echo=$ac_try;;
11873 esac
11874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11875 (eval "$ac_link") 2>conftest.er1
11876 ac_status=$?
11877 grep -v '^ *+' conftest.er1 >conftest.err
11878 rm -f conftest.er1
11879 cat conftest.err >&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } && {
11882 test -z "$ac_c_werror_flag" ||
11883 test ! -s conftest.err
11884 } && test -s conftest$ac_exeext &&
11885 $as_test_x conftest$ac_exeext; then
11886 eval "$as_ac_var=yes"
11887 else
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 eval "$as_ac_var=no"
11894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11895 conftest$ac_exeext conftest.$ac_ext
11897 ac_res=`eval echo '${'$as_ac_var'}'`
11898 { echo "$as_me:$LINENO: result: $ac_res" >&5
11899 echo "${ECHO_T}$ac_res" >&6; }
11900 if test `eval echo '${'$as_ac_var'}'` = yes; then
11901 cat >>confdefs.h <<_ACEOF
11902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11903 _ACEOF
11906 done
11908 LIBS="$ac_save_LIBS"
11909 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11910 wine_notices="$wine_notices|lib(n)curses development files not found.
11911 Wine will be built without (n)curses support. (wineconsole.exe)"
11915 # Extract the first word of "sane-config", so it can be a program name with args.
11916 set dummy sane-config; ac_word=$2
11917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11919 if test "${ac_cv_prog_sane_devel+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 else
11922 if test -n "$sane_devel"; then
11923 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11924 else
11925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11928 IFS=$as_save_IFS
11929 test -z "$as_dir" && as_dir=.
11930 for ac_exec_ext in '' $ac_executable_extensions; do
11931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11932 ac_cv_prog_sane_devel="sane-config"
11933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11934 break 2
11936 done
11937 done
11938 IFS=$as_save_IFS
11940 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11943 sane_devel=$ac_cv_prog_sane_devel
11944 if test -n "$sane_devel"; then
11945 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11946 echo "${ECHO_T}$sane_devel" >&6; }
11947 else
11948 { echo "$as_me:$LINENO: result: no" >&5
11949 echo "${ECHO_T}no" >&6; }
11953 if test "$sane_devel" != "no"
11954 then
11955 ac_sane_incl="`$sane_devel --cflags`"
11956 ac_save_CPPFLAGS="$CPPFLAGS"
11957 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11958 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11959 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11960 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11961 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11962 echo $ECHO_N "(cached) $ECHO_C" >&6
11964 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11965 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11966 else
11967 # Is the header compilable?
11968 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11969 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11970 cat >conftest.$ac_ext <<_ACEOF
11971 /* confdefs.h. */
11972 _ACEOF
11973 cat confdefs.h >>conftest.$ac_ext
11974 cat >>conftest.$ac_ext <<_ACEOF
11975 /* end confdefs.h. */
11976 $ac_includes_default
11977 #include <sane/sane.h>
11978 _ACEOF
11979 rm -f conftest.$ac_objext
11980 if { (ac_try="$ac_compile"
11981 case "(($ac_try" in
11982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;;
11984 esac
11985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_compile") 2>conftest.er1
11987 ac_status=$?
11988 grep -v '^ *+' conftest.er1 >conftest.err
11989 rm -f conftest.er1
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } && {
11993 test -z "$ac_c_werror_flag" ||
11994 test ! -s conftest.err
11995 } && test -s conftest.$ac_objext; then
11996 ac_header_compiler=yes
11997 else
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_header_compiler=no
12004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12005 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12006 echo "${ECHO_T}$ac_header_compiler" >&6; }
12008 # Is the header present?
12009 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12010 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12011 cat >conftest.$ac_ext <<_ACEOF
12012 /* confdefs.h. */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <sane/sane.h>
12018 _ACEOF
12019 if { (ac_try="$ac_cpp conftest.$ac_ext"
12020 case "(($ac_try" in
12021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12022 *) ac_try_echo=$ac_try;;
12023 esac
12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12026 ac_status=$?
12027 grep -v '^ *+' conftest.er1 >conftest.err
12028 rm -f conftest.er1
12029 cat conftest.err >&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); } >/dev/null && {
12032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12033 test ! -s conftest.err
12034 }; then
12035 ac_header_preproc=yes
12036 else
12037 echo "$as_me: failed program was:" >&5
12038 sed 's/^/| /' conftest.$ac_ext >&5
12040 ac_header_preproc=no
12043 rm -f conftest.err conftest.$ac_ext
12044 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12045 echo "${ECHO_T}$ac_header_preproc" >&6; }
12047 # So? What about this header?
12048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12049 yes:no: )
12050 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12051 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12052 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12053 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12054 ac_header_preproc=yes
12056 no:yes:* )
12057 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12058 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12059 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12060 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12061 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12062 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12063 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12064 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12065 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12066 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12067 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12068 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12069 ( cat <<\_ASBOX
12070 ## ------------------------------------ ##
12071 ## Report this to wine-devel@winehq.org ##
12072 ## ------------------------------------ ##
12073 _ASBOX
12074 ) | sed "s/^/$as_me: WARNING: /" >&2
12076 esac
12077 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12078 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12079 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12080 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 else
12082 ac_cv_header_sane_sane_h=$ac_header_preproc
12084 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12085 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12088 if test $ac_cv_header_sane_sane_h = yes; then
12089 { echo "$as_me:$LINENO: checking for -lsane" >&5
12090 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12091 if test "${ac_cv_lib_soname_sane+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 else
12094 ac_check_soname_save_LIBS=$LIBS
12095 LIBS="-lsane $LIBS"
12096 cat >conftest.$ac_ext <<_ACEOF
12097 /* confdefs.h. */
12098 _ACEOF
12099 cat confdefs.h >>conftest.$ac_ext
12100 cat >>conftest.$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12106 #ifdef __cplusplus
12107 extern "C"
12108 #endif
12109 char sane_init ();
12111 main ()
12113 return sane_init ();
12115 return 0;
12117 _ACEOF
12118 rm -f conftest.$ac_objext conftest$ac_exeext
12119 if { (ac_try="$ac_link"
12120 case "(($ac_try" in
12121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12122 *) ac_try_echo=$ac_try;;
12123 esac
12124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12125 (eval "$ac_link") 2>conftest.er1
12126 ac_status=$?
12127 grep -v '^ *+' conftest.er1 >conftest.err
12128 rm -f conftest.er1
12129 cat conftest.err >&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } && {
12132 test -z "$ac_c_werror_flag" ||
12133 test ! -s conftest.err
12134 } && test -s conftest$ac_exeext &&
12135 $as_test_x conftest$ac_exeext; then
12136 case "$LIBEXT" in
12137 dll) ;;
12138 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'` ;;
12139 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12140 esac
12141 else
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_soname_save_LIBS
12152 if test "x$ac_cv_lib_soname_sane" = "x"; then
12153 { echo "$as_me:$LINENO: result: not found" >&5
12154 echo "${ECHO_T}not found" >&6; }
12156 else
12157 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12158 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12160 cat >>confdefs.h <<_ACEOF
12161 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12162 _ACEOF
12164 SANEINCL="$ac_sane_incl"
12171 CPPFLAGS="$ac_save_CPPFLAGS"
12173 if test "x$ac_cv_lib_soname_sane" = "x"; then
12174 wine_notices="$wine_notices|libsane development files not found.
12175 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12179 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12180 set dummy gphoto2-config; ac_word=$2
12181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12183 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 else
12186 if test -n "$gphoto2_devel"; then
12187 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12188 else
12189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12190 for as_dir in $PATH
12192 IFS=$as_save_IFS
12193 test -z "$as_dir" && as_dir=.
12194 for ac_exec_ext in '' $ac_executable_extensions; do
12195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12196 ac_cv_prog_gphoto2_devel="gphoto2-config"
12197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12198 break 2
12200 done
12201 done
12202 IFS=$as_save_IFS
12204 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12207 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12208 if test -n "$gphoto2_devel"; then
12209 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12210 echo "${ECHO_T}$gphoto2_devel" >&6; }
12211 else
12212 { echo "$as_me:$LINENO: result: no" >&5
12213 echo "${ECHO_T}no" >&6; }
12217 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12218 set dummy gphoto2-port-config; ac_word=$2
12219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12221 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 else
12224 if test -n "$gphoto2port_devel"; then
12225 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12226 else
12227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12228 for as_dir in $PATH
12230 IFS=$as_save_IFS
12231 test -z "$as_dir" && as_dir=.
12232 for ac_exec_ext in '' $ac_executable_extensions; do
12233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12234 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12236 break 2
12238 done
12239 done
12240 IFS=$as_save_IFS
12242 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12245 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12246 if test -n "$gphoto2port_devel"; then
12247 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12248 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12249 else
12250 { echo "$as_me:$LINENO: result: no" >&5
12251 echo "${ECHO_T}no" >&6; }
12255 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12256 then
12257 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12258 ac_gphoto2_libs=""
12259 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12261 case "$i" in
12262 -L/usr/lib|-L/usr/lib64) ;;
12263 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12264 esac
12265 done
12266 ac_save_CPPFLAGS="$CPPFLAGS"
12267 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12268 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12269 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12270 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12271 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12275 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12276 else
12277 # Is the header compilable?
12278 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12279 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12280 cat >conftest.$ac_ext <<_ACEOF
12281 /* confdefs.h. */
12282 _ACEOF
12283 cat confdefs.h >>conftest.$ac_ext
12284 cat >>conftest.$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 $ac_includes_default
12287 #include <gphoto2-camera.h>
12288 _ACEOF
12289 rm -f conftest.$ac_objext
12290 if { (ac_try="$ac_compile"
12291 case "(($ac_try" in
12292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12293 *) ac_try_echo=$ac_try;;
12294 esac
12295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12296 (eval "$ac_compile") 2>conftest.er1
12297 ac_status=$?
12298 grep -v '^ *+' conftest.er1 >conftest.err
12299 rm -f conftest.er1
12300 cat conftest.err >&5
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); } && {
12303 test -z "$ac_c_werror_flag" ||
12304 test ! -s conftest.err
12305 } && test -s conftest.$ac_objext; then
12306 ac_header_compiler=yes
12307 else
12308 echo "$as_me: failed program was:" >&5
12309 sed 's/^/| /' conftest.$ac_ext >&5
12311 ac_header_compiler=no
12314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12315 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12316 echo "${ECHO_T}$ac_header_compiler" >&6; }
12318 # Is the header present?
12319 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12320 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12321 cat >conftest.$ac_ext <<_ACEOF
12322 /* confdefs.h. */
12323 _ACEOF
12324 cat confdefs.h >>conftest.$ac_ext
12325 cat >>conftest.$ac_ext <<_ACEOF
12326 /* end confdefs.h. */
12327 #include <gphoto2-camera.h>
12328 _ACEOF
12329 if { (ac_try="$ac_cpp conftest.$ac_ext"
12330 case "(($ac_try" in
12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12333 esac
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12336 ac_status=$?
12337 grep -v '^ *+' conftest.er1 >conftest.err
12338 rm -f conftest.er1
12339 cat conftest.err >&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } >/dev/null && {
12342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12343 test ! -s conftest.err
12344 }; then
12345 ac_header_preproc=yes
12346 else
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12350 ac_header_preproc=no
12353 rm -f conftest.err conftest.$ac_ext
12354 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12355 echo "${ECHO_T}$ac_header_preproc" >&6; }
12357 # So? What about this header?
12358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12359 yes:no: )
12360 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12361 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12362 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12363 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12364 ac_header_preproc=yes
12366 no:yes:* )
12367 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12368 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12369 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12370 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12371 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12372 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12373 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12374 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12375 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12376 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12377 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12378 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12379 ( cat <<\_ASBOX
12380 ## ------------------------------------ ##
12381 ## Report this to wine-devel@winehq.org ##
12382 ## ------------------------------------ ##
12383 _ASBOX
12384 ) | sed "s/^/$as_me: WARNING: /" >&2
12386 esac
12387 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12388 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12389 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12391 else
12392 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12394 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12395 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12398 if test $ac_cv_header_gphoto2_camera_h = yes; then
12399 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12400 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12401 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12402 echo $ECHO_N "(cached) $ECHO_C" >&6
12403 else
12404 ac_check_lib_save_LIBS=$LIBS
12405 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12406 cat >conftest.$ac_ext <<_ACEOF
12407 /* confdefs.h. */
12408 _ACEOF
12409 cat confdefs.h >>conftest.$ac_ext
12410 cat >>conftest.$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12413 /* Override any GCC internal prototype to avoid an error.
12414 Use char because int might match the return type of a GCC
12415 builtin and then its argument prototype would still apply. */
12416 #ifdef __cplusplus
12417 extern "C"
12418 #endif
12419 char gp_camera_new ();
12421 main ()
12423 return gp_camera_new ();
12425 return 0;
12427 _ACEOF
12428 rm -f conftest.$ac_objext conftest$ac_exeext
12429 if { (ac_try="$ac_link"
12430 case "(($ac_try" in
12431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12432 *) ac_try_echo=$ac_try;;
12433 esac
12434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12435 (eval "$ac_link") 2>conftest.er1
12436 ac_status=$?
12437 grep -v '^ *+' conftest.er1 >conftest.err
12438 rm -f conftest.er1
12439 cat conftest.err >&5
12440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441 (exit $ac_status); } && {
12442 test -z "$ac_c_werror_flag" ||
12443 test ! -s conftest.err
12444 } && test -s conftest$ac_exeext &&
12445 $as_test_x conftest$ac_exeext; then
12446 ac_cv_lib_gphoto2_gp_camera_new=yes
12447 else
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.$ac_ext >&5
12451 ac_cv_lib_gphoto2_gp_camera_new=no
12454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12455 conftest$ac_exeext conftest.$ac_ext
12456 LIBS=$ac_check_lib_save_LIBS
12458 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12459 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12460 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12462 cat >>confdefs.h <<\_ACEOF
12463 #define HAVE_GPHOTO2 1
12464 _ACEOF
12466 GPHOTO2LIBS="$ac_gphoto2_libs"
12468 GPHOTO2INCL="$ac_gphoto2_incl"
12475 CPPFLAGS="$ac_save_CPPFLAGS"
12477 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12478 wine_notices="$wine_notices|libgphoto2 development files not found.
12479 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12484 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12485 then
12486 saved_libs="$LIBS"
12487 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12488 if test -n "$ICU_LIB_DIR"
12489 then
12490 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12492 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12493 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12494 LIBS="$saved_libs $icu_libs"
12495 if test "$cross_compiling" = yes; then
12496 { echo "$as_me:$LINENO: result: no" >&5
12497 echo "${ECHO_T}no" >&6; }
12498 else
12499 cat >conftest.$ac_ext <<_ACEOF
12500 /* confdefs.h. */
12501 _ACEOF
12502 cat confdefs.h >>conftest.$ac_ext
12503 cat >>conftest.$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12505 #include <unicode/ubidi.h>
12507 main ()
12509 ubidi_open()
12511 return 0;
12513 _ACEOF
12514 rm -f conftest$ac_exeext
12515 if { (ac_try="$ac_link"
12516 case "(($ac_try" in
12517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12518 *) ac_try_echo=$ac_try;;
12519 esac
12520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12521 (eval "$ac_link") 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12525 { (case "(($ac_try" in
12526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12527 *) ac_try_echo=$ac_try;;
12528 esac
12529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12530 (eval "$ac_try") 2>&5
12531 ac_status=$?
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; }; then
12535 cat >>confdefs.h <<\_ACEOF
12536 #define HAVE_ICU 1
12537 _ACEOF
12539 ICULIBS="$icu_libs"
12541 { echo "$as_me:$LINENO: result: yes" >&5
12542 echo "${ECHO_T}yes" >&6; }
12543 else
12544 echo "$as_me: program exited with status $ac_status" >&5
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.$ac_ext >&5
12548 ( exit $ac_status )
12549 { echo "$as_me:$LINENO: result: no" >&5
12550 echo "${ECHO_T}no" >&6; }
12552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12556 LIBS="$saved_libs"
12558 if test "x$ICULIBS" = "x"; then
12559 wine_notices="$wine_notices|libicu development files not found.
12560 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12564 RESOLVLIBS=""
12566 if test "$ac_cv_header_resolv_h" = "yes"
12567 then
12568 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12569 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12570 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12572 else
12573 ac_check_lib_save_LIBS=$LIBS
12574 LIBS="-lresolv $LIBS"
12575 cat >conftest.$ac_ext <<_ACEOF
12576 /* confdefs.h. */
12577 _ACEOF
12578 cat confdefs.h >>conftest.$ac_ext
12579 cat >>conftest.$ac_ext <<_ACEOF
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char res_query ();
12590 main ()
12592 return res_query ();
12594 return 0;
12596 _ACEOF
12597 rm -f conftest.$ac_objext conftest$ac_exeext
12598 if { (ac_try="$ac_link"
12599 case "(($ac_try" in
12600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12601 *) ac_try_echo=$ac_try;;
12602 esac
12603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12604 (eval "$ac_link") 2>conftest.er1
12605 ac_status=$?
12606 grep -v '^ *+' conftest.er1 >conftest.err
12607 rm -f conftest.er1
12608 cat conftest.err >&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } && {
12611 test -z "$ac_c_werror_flag" ||
12612 test ! -s conftest.err
12613 } && test -s conftest$ac_exeext &&
12614 $as_test_x conftest$ac_exeext; then
12615 ac_cv_lib_resolv_res_query=yes
12616 else
12617 echo "$as_me: failed program was:" >&5
12618 sed 's/^/| /' conftest.$ac_ext >&5
12620 ac_cv_lib_resolv_res_query=no
12623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_lib_save_LIBS
12627 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12628 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12629 if test $ac_cv_lib_resolv_res_query = yes; then
12631 cat >>confdefs.h <<\_ACEOF
12632 #define HAVE_RESOLV 1
12633 _ACEOF
12635 RESOLVLIBS="-lresolv"
12640 LCMSLIBS=""
12642 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12643 then
12644 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12645 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12646 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 else
12649 ac_check_lib_save_LIBS=$LIBS
12650 LIBS="-llcms $LIBS"
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 #ifdef __cplusplus
12662 extern "C"
12663 #endif
12664 char cmsOpenProfileFromFile ();
12666 main ()
12668 return cmsOpenProfileFromFile ();
12670 return 0;
12672 _ACEOF
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (ac_try="$ac_link"
12675 case "(($ac_try" in
12676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12678 esac
12679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12680 (eval "$ac_link") 2>conftest.er1
12681 ac_status=$?
12682 grep -v '^ *+' conftest.er1 >conftest.err
12683 rm -f conftest.er1
12684 cat conftest.err >&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); } && {
12687 test -z "$ac_c_werror_flag" ||
12688 test ! -s conftest.err
12689 } && test -s conftest$ac_exeext &&
12690 $as_test_x conftest$ac_exeext; then
12691 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12692 else
12693 echo "$as_me: failed program was:" >&5
12694 sed 's/^/| /' conftest.$ac_ext >&5
12696 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12700 conftest$ac_exeext conftest.$ac_ext
12701 LIBS=$ac_check_lib_save_LIBS
12703 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12704 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12705 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12707 cat >>confdefs.h <<\_ACEOF
12708 #define HAVE_LCMS 1
12709 _ACEOF
12711 LCMSLIBS="-llcms"
12715 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12716 wine_notices="$wine_notices|liblcms development files not found.
12717 Wine will be built without Color Management support. (mscms.dll)"
12721 LDAPLIBS=""
12723 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12724 then
12725 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12726 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12727 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 else
12730 ac_check_lib_save_LIBS=$LIBS
12731 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12732 cat >conftest.$ac_ext <<_ACEOF
12733 /* confdefs.h. */
12734 _ACEOF
12735 cat confdefs.h >>conftest.$ac_ext
12736 cat >>conftest.$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12742 #ifdef __cplusplus
12743 extern "C"
12744 #endif
12745 char ldap_initialize ();
12747 main ()
12749 return ldap_initialize ();
12751 return 0;
12753 _ACEOF
12754 rm -f conftest.$ac_objext conftest$ac_exeext
12755 if { (ac_try="$ac_link"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12759 esac
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_link") 2>conftest.er1
12762 ac_status=$?
12763 grep -v '^ *+' conftest.er1 >conftest.err
12764 rm -f conftest.er1
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest$ac_exeext &&
12771 $as_test_x conftest$ac_exeext; then
12772 ac_cv_lib_ldap_r_ldap_initialize=yes
12773 else
12774 echo "$as_me: failed program was:" >&5
12775 sed 's/^/| /' conftest.$ac_ext >&5
12777 ac_cv_lib_ldap_r_ldap_initialize=no
12780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12781 conftest$ac_exeext conftest.$ac_ext
12782 LIBS=$ac_check_lib_save_LIBS
12784 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12785 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12786 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12787 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12788 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12789 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12790 echo $ECHO_N "(cached) $ECHO_C" >&6
12791 else
12792 ac_check_lib_save_LIBS=$LIBS
12793 LIBS="-llber $LIBPTHREAD $LIBS"
12794 cat >conftest.$ac_ext <<_ACEOF
12795 /* confdefs.h. */
12796 _ACEOF
12797 cat confdefs.h >>conftest.$ac_ext
12798 cat >>conftest.$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char ber_init ();
12809 main ()
12811 return ber_init ();
12813 return 0;
12815 _ACEOF
12816 rm -f conftest.$ac_objext conftest$ac_exeext
12817 if { (ac_try="$ac_link"
12818 case "(($ac_try" in
12819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12820 *) ac_try_echo=$ac_try;;
12821 esac
12822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12823 (eval "$ac_link") 2>conftest.er1
12824 ac_status=$?
12825 grep -v '^ *+' conftest.er1 >conftest.err
12826 rm -f conftest.er1
12827 cat conftest.err >&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } && {
12830 test -z "$ac_c_werror_flag" ||
12831 test ! -s conftest.err
12832 } && test -s conftest$ac_exeext &&
12833 $as_test_x conftest$ac_exeext; then
12834 ac_cv_lib_lber_ber_init=yes
12835 else
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.$ac_ext >&5
12839 ac_cv_lib_lber_ber_init=no
12842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12843 conftest$ac_exeext conftest.$ac_ext
12844 LIBS=$ac_check_lib_save_LIBS
12846 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12847 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12848 if test $ac_cv_lib_lber_ber_init = yes; then
12850 cat >>confdefs.h <<\_ACEOF
12851 #define HAVE_LDAP 1
12852 _ACEOF
12854 LDAPLIBS="-lldap_r -llber"
12859 ac_wine_check_funcs_save_LIBS="$LIBS"
12860 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12865 for ac_func in \
12866 ldap_count_references \
12867 ldap_first_reference \
12868 ldap_next_reference \
12869 ldap_parse_reference
12871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 else
12877 cat >conftest.$ac_ext <<_ACEOF
12878 /* confdefs.h. */
12879 _ACEOF
12880 cat confdefs.h >>conftest.$ac_ext
12881 cat >>conftest.$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12885 #define $ac_func innocuous_$ac_func
12887 /* System header to define __stub macros and hopefully few prototypes,
12888 which can conflict with char $ac_func (); below.
12889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12890 <limits.h> exists even on freestanding compilers. */
12892 #ifdef __STDC__
12893 # include <limits.h>
12894 #else
12895 # include <assert.h>
12896 #endif
12898 #undef $ac_func
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12903 #ifdef __cplusplus
12904 extern "C"
12905 #endif
12906 char $ac_func ();
12907 /* The GNU C library defines this for functions which it implements
12908 to always fail with ENOSYS. Some functions are actually named
12909 something starting with __ and the normal name is an alias. */
12910 #if defined __stub_$ac_func || defined __stub___$ac_func
12911 choke me
12912 #endif
12915 main ()
12917 return $ac_func ();
12919 return 0;
12921 _ACEOF
12922 rm -f conftest.$ac_objext conftest$ac_exeext
12923 if { (ac_try="$ac_link"
12924 case "(($ac_try" in
12925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12926 *) ac_try_echo=$ac_try;;
12927 esac
12928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12929 (eval "$ac_link") 2>conftest.er1
12930 ac_status=$?
12931 grep -v '^ *+' conftest.er1 >conftest.err
12932 rm -f conftest.er1
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } && {
12936 test -z "$ac_c_werror_flag" ||
12937 test ! -s conftest.err
12938 } && test -s conftest$ac_exeext &&
12939 $as_test_x conftest$ac_exeext; then
12940 eval "$as_ac_var=yes"
12941 else
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12945 eval "$as_ac_var=no"
12948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12949 conftest$ac_exeext conftest.$ac_ext
12951 ac_res=`eval echo '${'$as_ac_var'}'`
12952 { echo "$as_me:$LINENO: result: $ac_res" >&5
12953 echo "${ECHO_T}$ac_res" >&6; }
12954 if test `eval echo '${'$as_ac_var'}'` = yes; then
12955 cat >>confdefs.h <<_ACEOF
12956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12957 _ACEOF
12960 done
12962 LIBS="$ac_wine_check_funcs_save_LIBS"
12964 if test "x$LDAPLIBS" = "x"; then
12965 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
12966 Wine will be built without LDAP support. (wldap32.dll)"
12970 for ac_prog in freetype-config freetype2-config
12972 # Extract the first word of "$ac_prog", so it can be a program name with args.
12973 set dummy $ac_prog; ac_word=$2
12974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12976 if test "${ac_cv_prog_ft_devel+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 else
12979 if test -n "$ft_devel"; then
12980 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12981 else
12982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12983 for as_dir in $PATH
12985 IFS=$as_save_IFS
12986 test -z "$as_dir" && as_dir=.
12987 for ac_exec_ext in '' $ac_executable_extensions; do
12988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12989 ac_cv_prog_ft_devel="$ac_prog"
12990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12991 break 2
12993 done
12994 done
12995 IFS=$as_save_IFS
12999 ft_devel=$ac_cv_prog_ft_devel
13000 if test -n "$ft_devel"; then
13001 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13002 echo "${ECHO_T}$ft_devel" >&6; }
13003 else
13004 { echo "$as_me:$LINENO: result: no" >&5
13005 echo "${ECHO_T}no" >&6; }
13009 test -n "$ft_devel" && break
13010 done
13011 test -n "$ft_devel" || ft_devel="false"
13013 if test "$ft_devel" != "false"
13014 then
13015 ac_freetype_libs=`$ft_devel --libs`
13016 ac_freetype_incl=`$ft_devel --cflags`
13017 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13018 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13019 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 else
13022 ac_check_soname_save_LIBS=$LIBS
13023 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13024 cat >conftest.$ac_ext <<_ACEOF
13025 /* confdefs.h. */
13026 _ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 #endif
13037 char FT_Init_FreeType ();
13039 main ()
13041 return FT_Init_FreeType ();
13043 return 0;
13045 _ACEOF
13046 rm -f conftest.$ac_objext conftest$ac_exeext
13047 if { (ac_try="$ac_link"
13048 case "(($ac_try" in
13049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13050 *) ac_try_echo=$ac_try;;
13051 esac
13052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_link") 2>conftest.er1
13054 ac_status=$?
13055 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } && {
13060 test -z "$ac_c_werror_flag" ||
13061 test ! -s conftest.err
13062 } && test -s conftest$ac_exeext &&
13063 $as_test_x conftest$ac_exeext; then
13064 case "$LIBEXT" in
13065 dll) ;;
13066 dylib) ac_cv_lib_soname_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'` ;;
13067 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13068 esac
13069 else
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13077 conftest$ac_exeext conftest.$ac_ext
13078 LIBS=$ac_check_soname_save_LIBS
13080 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13081 { echo "$as_me:$LINENO: result: not found" >&5
13082 echo "${ECHO_T}not found" >&6; }
13083 ft_lib=no
13084 else
13085 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13086 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13088 cat >>confdefs.h <<_ACEOF
13089 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13090 _ACEOF
13092 ft_lib=yes
13095 if test "$ft_lib" = "yes"
13096 then
13097 ac_save_CPPFLAGS="$CPPFLAGS"
13098 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13110 for ac_header in ft2build.h \
13111 freetype/freetype.h \
13112 freetype/ftglyph.h \
13113 freetype/tttables.h \
13114 freetype/ftnames.h \
13115 freetype/ftsnames.h \
13116 freetype/ttnameid.h \
13117 freetype/ftoutln.h \
13118 freetype/ftwinfnt.h \
13119 freetype/ftmodapi.h \
13120 freetype/internal/sfnt.h
13122 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13123 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13125 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13126 echo $ECHO_N "(cached) $ECHO_C" >&6
13127 else
13128 cat >conftest.$ac_ext <<_ACEOF
13129 /* confdefs.h. */
13130 _ACEOF
13131 cat confdefs.h >>conftest.$ac_ext
13132 cat >>conftest.$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13134 #if HAVE_FT2BUILD_H
13135 #include <ft2build.h>
13136 #endif
13138 #include <$ac_header>
13139 _ACEOF
13140 rm -f conftest.$ac_objext
13141 if { (ac_try="$ac_compile"
13142 case "(($ac_try" in
13143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13144 *) ac_try_echo=$ac_try;;
13145 esac
13146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13147 (eval "$ac_compile") 2>conftest.er1
13148 ac_status=$?
13149 grep -v '^ *+' conftest.er1 >conftest.err
13150 rm -f conftest.er1
13151 cat conftest.err >&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } && {
13154 test -z "$ac_c_werror_flag" ||
13155 test ! -s conftest.err
13156 } && test -s conftest.$ac_objext; then
13157 eval "$as_ac_Header=yes"
13158 else
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13162 eval "$as_ac_Header=no"
13165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13167 ac_res=`eval echo '${'$as_ac_Header'}'`
13168 { echo "$as_me:$LINENO: result: $ac_res" >&5
13169 echo "${ECHO_T}$ac_res" >&6; }
13170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13171 cat >>confdefs.h <<_ACEOF
13172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13173 _ACEOF
13177 done
13179 cat >conftest.$ac_ext <<_ACEOF
13180 /* confdefs.h. */
13181 _ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #include <ft2build.h>
13186 #include <freetype/fttrigon.h>
13187 _ACEOF
13188 if { (ac_try="$ac_cpp conftest.$ac_ext"
13189 case "(($ac_try" in
13190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13191 *) ac_try_echo=$ac_try;;
13192 esac
13193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13194 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13195 ac_status=$?
13196 grep -v '^ *+' conftest.er1 >conftest.err
13197 rm -f conftest.er1
13198 cat conftest.err >&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); } >/dev/null && {
13201 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13202 test ! -s conftest.err
13203 }; then
13205 cat >>confdefs.h <<\_ACEOF
13206 #define HAVE_FREETYPE_FTTRIGON_H 1
13207 _ACEOF
13209 wine_cv_fttrigon=yes
13210 else
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.$ac_ext >&5
13214 wine_cv_fttrigon=no
13217 rm -f conftest.err conftest.$ac_ext
13218 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13219 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13220 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 else
13223 cat >conftest.$ac_ext <<_ACEOF
13224 /* confdefs.h. */
13225 _ACEOF
13226 cat confdefs.h >>conftest.$ac_ext
13227 cat >>conftest.$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #include <freetype/ftmodapi.h>
13231 typedef FT_TrueTypeEngineType ac__type_new_;
13233 main ()
13235 if ((ac__type_new_ *) 0)
13236 return 0;
13237 if (sizeof (ac__type_new_))
13238 return 0;
13240 return 0;
13242 _ACEOF
13243 rm -f conftest.$ac_objext
13244 if { (ac_try="$ac_compile"
13245 case "(($ac_try" in
13246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13247 *) ac_try_echo=$ac_try;;
13248 esac
13249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13250 (eval "$ac_compile") 2>conftest.er1
13251 ac_status=$?
13252 grep -v '^ *+' conftest.er1 >conftest.err
13253 rm -f conftest.er1
13254 cat conftest.err >&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } && {
13257 test -z "$ac_c_werror_flag" ||
13258 test ! -s conftest.err
13259 } && test -s conftest.$ac_objext; then
13260 ac_cv_type_FT_TrueTypeEngineType=yes
13261 else
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.$ac_ext >&5
13265 ac_cv_type_FT_TrueTypeEngineType=no
13268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13270 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13271 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13272 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13274 cat >>confdefs.h <<_ACEOF
13275 #define HAVE_FT_TRUETYPEENGINETYPE 1
13276 _ACEOF
13281 ac_save_CFLAGS="$CFLAGS"
13282 CFLAGS="$CFLAGS $ac_freetype_libs"
13284 for ac_func in FT_Load_Sfnt_Table
13286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 else
13292 cat >conftest.$ac_ext <<_ACEOF
13293 /* confdefs.h. */
13294 _ACEOF
13295 cat confdefs.h >>conftest.$ac_ext
13296 cat >>conftest.$ac_ext <<_ACEOF
13297 /* end confdefs.h. */
13298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13300 #define $ac_func innocuous_$ac_func
13302 /* System header to define __stub macros and hopefully few prototypes,
13303 which can conflict with char $ac_func (); below.
13304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13305 <limits.h> exists even on freestanding compilers. */
13307 #ifdef __STDC__
13308 # include <limits.h>
13309 #else
13310 # include <assert.h>
13311 #endif
13313 #undef $ac_func
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13318 #ifdef __cplusplus
13319 extern "C"
13320 #endif
13321 char $ac_func ();
13322 /* The GNU C library defines this for functions which it implements
13323 to always fail with ENOSYS. Some functions are actually named
13324 something starting with __ and the normal name is an alias. */
13325 #if defined __stub_$ac_func || defined __stub___$ac_func
13326 choke me
13327 #endif
13330 main ()
13332 return $ac_func ();
13334 return 0;
13336 _ACEOF
13337 rm -f conftest.$ac_objext conftest$ac_exeext
13338 if { (ac_try="$ac_link"
13339 case "(($ac_try" in
13340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13341 *) ac_try_echo=$ac_try;;
13342 esac
13343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13344 (eval "$ac_link") 2>conftest.er1
13345 ac_status=$?
13346 grep -v '^ *+' conftest.er1 >conftest.err
13347 rm -f conftest.er1
13348 cat conftest.err >&5
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); } && {
13351 test -z "$ac_c_werror_flag" ||
13352 test ! -s conftest.err
13353 } && test -s conftest$ac_exeext &&
13354 $as_test_x conftest$ac_exeext; then
13355 eval "$as_ac_var=yes"
13356 else
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.$ac_ext >&5
13360 eval "$as_ac_var=no"
13363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13364 conftest$ac_exeext conftest.$ac_ext
13366 ac_res=`eval echo '${'$as_ac_var'}'`
13367 { echo "$as_me:$LINENO: result: $ac_res" >&5
13368 echo "${ECHO_T}$ac_res" >&6; }
13369 if test `eval echo '${'$as_ac_var'}'` = yes; then
13370 cat >>confdefs.h <<_ACEOF
13371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13372 _ACEOF
13375 done
13377 CFLAGS="$ac_save_CFLAGS"
13378 CPPFLAGS="$ac_save_CPPFLAGS"
13379 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13380 then
13382 cat >>confdefs.h <<\_ACEOF
13383 #define HAVE_FREETYPE 1
13384 _ACEOF
13386 FREETYPELIBS="$ac_freetype_libs"
13388 FREETYPEINCL="$ac_freetype_incl"
13394 if test "$FONTFORGE" = "false"
13395 then
13396 wine_warnings="$wine_warnings|FontForge is missing.
13397 Fonts will not be built. Dialog text may be invisible or unaligned."
13398 elif test "x$FREETYPELIBS" = "x"
13399 then
13400 wine_warnings="$wine_warnings|FreeType development files not found.
13401 Fonts will not be built. Dialog text may be invisible or unaligned."
13402 else
13403 FONTSSUBDIRS="fonts"
13407 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13408 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13409 if test "${ac_cv_c_ppdev+set}" = set; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13411 else
13412 cat >conftest.$ac_ext <<_ACEOF
13413 /* confdefs.h. */
13414 _ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13418 #include <linux/ppdev.h>
13420 main ()
13422 ioctl (1,PPCLAIM,0)
13424 return 0;
13426 _ACEOF
13427 rm -f conftest.$ac_objext
13428 if { (ac_try="$ac_compile"
13429 case "(($ac_try" in
13430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13431 *) ac_try_echo=$ac_try;;
13432 esac
13433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13434 (eval "$ac_compile") 2>conftest.er1
13435 ac_status=$?
13436 grep -v '^ *+' conftest.er1 >conftest.err
13437 rm -f conftest.er1
13438 cat conftest.err >&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } && {
13441 test -z "$ac_c_werror_flag" ||
13442 test ! -s conftest.err
13443 } && test -s conftest.$ac_objext; then
13444 ac_cv_c_ppdev="yes"
13445 else
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13449 ac_cv_c_ppdev="no"
13452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13454 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13455 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13456 if test "$ac_cv_c_ppdev" = "yes"
13457 then
13459 cat >>confdefs.h <<\_ACEOF
13460 #define HAVE_PPDEV 1
13461 _ACEOF
13465 { echo "$as_me:$LINENO: checking for va_copy" >&5
13466 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13467 if test "${ac_cv_c_va_copy+set}" = set; then
13468 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 else
13470 cat >conftest.$ac_ext <<_ACEOF
13471 /* confdefs.h. */
13472 _ACEOF
13473 cat confdefs.h >>conftest.$ac_ext
13474 cat >>conftest.$ac_ext <<_ACEOF
13475 /* end confdefs.h. */
13476 #include <stdarg.h>
13478 main ()
13480 va_list ap1, ap2; va_copy(ap1,ap2);
13482 return 0;
13484 _ACEOF
13485 rm -f conftest.$ac_objext conftest$ac_exeext
13486 if { (ac_try="$ac_link"
13487 case "(($ac_try" in
13488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13489 *) ac_try_echo=$ac_try;;
13490 esac
13491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13492 (eval "$ac_link") 2>conftest.er1
13493 ac_status=$?
13494 grep -v '^ *+' conftest.er1 >conftest.err
13495 rm -f conftest.er1
13496 cat conftest.err >&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); } && {
13499 test -z "$ac_c_werror_flag" ||
13500 test ! -s conftest.err
13501 } && test -s conftest$ac_exeext &&
13502 $as_test_x conftest$ac_exeext; then
13503 ac_cv_c_va_copy="yes"
13504 else
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13508 ac_cv_c_va_copy="no"
13511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13512 conftest$ac_exeext conftest.$ac_ext
13515 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13516 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13517 if test "$ac_cv_c_va_copy" = "yes"
13518 then
13520 cat >>confdefs.h <<\_ACEOF
13521 #define HAVE_VA_COPY 1
13522 _ACEOF
13525 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13526 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13527 if test "${ac_cv_c___va_copy+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530 cat >conftest.$ac_ext <<_ACEOF
13531 /* confdefs.h. */
13532 _ACEOF
13533 cat confdefs.h >>conftest.$ac_ext
13534 cat >>conftest.$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 #include <stdarg.h>
13538 main ()
13540 va_list ap1, ap2; __va_copy(ap1,ap2);
13542 return 0;
13544 _ACEOF
13545 rm -f conftest.$ac_objext conftest$ac_exeext
13546 if { (ac_try="$ac_link"
13547 case "(($ac_try" in
13548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13549 *) ac_try_echo=$ac_try;;
13550 esac
13551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13552 (eval "$ac_link") 2>conftest.er1
13553 ac_status=$?
13554 grep -v '^ *+' conftest.er1 >conftest.err
13555 rm -f conftest.er1
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } && {
13559 test -z "$ac_c_werror_flag" ||
13560 test ! -s conftest.err
13561 } && test -s conftest$ac_exeext &&
13562 $as_test_x conftest$ac_exeext; then
13563 ac_cv_c___va_copy="yes"
13564 else
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13568 ac_cv_c___va_copy="no"
13571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13572 conftest$ac_exeext conftest.$ac_ext
13575 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13576 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13577 if test "$ac_cv_c___va_copy" = "yes"
13578 then
13580 cat >>confdefs.h <<\_ACEOF
13581 #define HAVE___VA_COPY 1
13582 _ACEOF
13586 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13587 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13588 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 else
13591 cat >conftest.$ac_ext <<_ACEOF
13592 /* confdefs.h. */
13593 _ACEOF
13594 cat confdefs.h >>conftest.$ac_ext
13595 cat >>conftest.$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 #include <setjmp.h>
13599 main ()
13601 sigjmp_buf buf;
13602 sigsetjmp( buf, 1 );
13603 siglongjmp( buf, 1 );
13605 return 0;
13607 _ACEOF
13608 rm -f conftest.$ac_objext conftest$ac_exeext
13609 if { (ac_try="$ac_link"
13610 case "(($ac_try" in
13611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13612 *) ac_try_echo=$ac_try;;
13613 esac
13614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13615 (eval "$ac_link") 2>conftest.er1
13616 ac_status=$?
13617 grep -v '^ *+' conftest.er1 >conftest.err
13618 rm -f conftest.er1
13619 cat conftest.err >&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } && {
13622 test -z "$ac_c_werror_flag" ||
13623 test ! -s conftest.err
13624 } && test -s conftest$ac_exeext &&
13625 $as_test_x conftest$ac_exeext; then
13626 ac_cv_c_sigsetjmp="yes"
13627 else
13628 echo "$as_me: failed program was:" >&5
13629 sed 's/^/| /' conftest.$ac_ext >&5
13631 ac_cv_c_sigsetjmp="no"
13634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13635 conftest$ac_exeext conftest.$ac_ext
13638 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13639 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13640 if test "$ac_cv_c_sigsetjmp" = "yes"
13641 then
13643 cat >>confdefs.h <<\_ACEOF
13644 #define HAVE_SIGSETJMP 1
13645 _ACEOF
13649 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13650 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13651 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13653 else
13654 cat >conftest.$ac_ext <<_ACEOF
13655 /* confdefs.h. */
13656 _ACEOF
13657 cat confdefs.h >>conftest.$ac_ext
13658 cat >>conftest.$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 #define _GNU_SOURCE
13661 #include <pthread.h>
13663 typedef pthread_rwlock_t ac__type_new_;
13665 main ()
13667 if ((ac__type_new_ *) 0)
13668 return 0;
13669 if (sizeof (ac__type_new_))
13670 return 0;
13672 return 0;
13674 _ACEOF
13675 rm -f conftest.$ac_objext
13676 if { (ac_try="$ac_compile"
13677 case "(($ac_try" in
13678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13679 *) ac_try_echo=$ac_try;;
13680 esac
13681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13682 (eval "$ac_compile") 2>conftest.er1
13683 ac_status=$?
13684 grep -v '^ *+' conftest.er1 >conftest.err
13685 rm -f conftest.er1
13686 cat conftest.err >&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); } && {
13689 test -z "$ac_c_werror_flag" ||
13690 test ! -s conftest.err
13691 } && test -s conftest.$ac_objext; then
13692 ac_cv_type_pthread_rwlock_t=yes
13693 else
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13697 ac_cv_type_pthread_rwlock_t=no
13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13703 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13704 if test $ac_cv_type_pthread_rwlock_t = yes; then
13706 cat >>confdefs.h <<_ACEOF
13707 #define HAVE_PTHREAD_RWLOCK_T 1
13708 _ACEOF
13712 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13713 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13714 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 else
13717 cat >conftest.$ac_ext <<_ACEOF
13718 /* confdefs.h. */
13719 _ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #define _GNU_SOURCE
13724 #include <pthread.h>
13726 typedef pthread_rwlockattr_t ac__type_new_;
13728 main ()
13730 if ((ac__type_new_ *) 0)
13731 return 0;
13732 if (sizeof (ac__type_new_))
13733 return 0;
13735 return 0;
13737 _ACEOF
13738 rm -f conftest.$ac_objext
13739 if { (ac_try="$ac_compile"
13740 case "(($ac_try" in
13741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13743 esac
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_compile") 2>conftest.er1
13746 ac_status=$?
13747 grep -v '^ *+' conftest.er1 >conftest.err
13748 rm -f conftest.er1
13749 cat conftest.err >&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } && {
13752 test -z "$ac_c_werror_flag" ||
13753 test ! -s conftest.err
13754 } && test -s conftest.$ac_objext; then
13755 ac_cv_type_pthread_rwlockattr_t=yes
13756 else
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13760 ac_cv_type_pthread_rwlockattr_t=no
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13765 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13766 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13767 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13769 cat >>confdefs.h <<_ACEOF
13770 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13771 _ACEOF
13777 ac_wine_check_funcs_save_LIBS="$LIBS"
13778 LIBS="$LIBS $LIBPTHREAD"
13783 for ac_func in \
13784 pthread_attr_get_np \
13785 pthread_getattr_np \
13786 pthread_get_stackaddr_np \
13787 pthread_get_stacksize_np
13789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13790 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13792 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 else
13795 cat >conftest.$ac_ext <<_ACEOF
13796 /* confdefs.h. */
13797 _ACEOF
13798 cat confdefs.h >>conftest.$ac_ext
13799 cat >>conftest.$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13803 #define $ac_func innocuous_$ac_func
13805 /* System header to define __stub macros and hopefully few prototypes,
13806 which can conflict with char $ac_func (); below.
13807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13808 <limits.h> exists even on freestanding compilers. */
13810 #ifdef __STDC__
13811 # include <limits.h>
13812 #else
13813 # include <assert.h>
13814 #endif
13816 #undef $ac_func
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 #ifdef __cplusplus
13822 extern "C"
13823 #endif
13824 char $ac_func ();
13825 /* The GNU C library defines this for functions which it implements
13826 to always fail with ENOSYS. Some functions are actually named
13827 something starting with __ and the normal name is an alias. */
13828 #if defined __stub_$ac_func || defined __stub___$ac_func
13829 choke me
13830 #endif
13833 main ()
13835 return $ac_func ();
13837 return 0;
13839 _ACEOF
13840 rm -f conftest.$ac_objext conftest$ac_exeext
13841 if { (ac_try="$ac_link"
13842 case "(($ac_try" in
13843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;;
13845 esac
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_link") 2>conftest.er1
13848 ac_status=$?
13849 grep -v '^ *+' conftest.er1 >conftest.err
13850 rm -f conftest.er1
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } && {
13854 test -z "$ac_c_werror_flag" ||
13855 test ! -s conftest.err
13856 } && test -s conftest$ac_exeext &&
13857 $as_test_x conftest$ac_exeext; then
13858 eval "$as_ac_var=yes"
13859 else
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13863 eval "$as_ac_var=no"
13866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13867 conftest$ac_exeext conftest.$ac_ext
13869 ac_res=`eval echo '${'$as_ac_var'}'`
13870 { echo "$as_me:$LINENO: result: $ac_res" >&5
13871 echo "${ECHO_T}$ac_res" >&6; }
13872 if test `eval echo '${'$as_ac_var'}'` = yes; then
13873 cat >>confdefs.h <<_ACEOF
13874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13875 _ACEOF
13878 done
13880 LIBS="$ac_wine_check_funcs_save_LIBS"
13882 # Extract the first word of "esd-config", so it can be a program name with args.
13883 set dummy esd-config; ac_word=$2
13884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13886 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13887 echo $ECHO_N "(cached) $ECHO_C" >&6
13888 else
13889 case $ESDCONFIG in
13890 [\\/]* | ?:[\\/]*)
13891 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13895 for as_dir in $PATH
13897 IFS=$as_save_IFS
13898 test -z "$as_dir" && as_dir=.
13899 for ac_exec_ext in '' $ac_executable_extensions; do
13900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13901 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13903 break 2
13905 done
13906 done
13907 IFS=$as_save_IFS
13910 esac
13912 ESDCONFIG=$ac_cv_path_ESDCONFIG
13913 if test -n "$ESDCONFIG"; then
13914 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13915 echo "${ECHO_T}$ESDCONFIG" >&6; }
13916 else
13917 { echo "$as_me:$LINENO: result: no" >&5
13918 echo "${ECHO_T}no" >&6; }
13922 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13923 then
13924 ESD_CFLAGS=""
13925 for i in `$ESDCONFIG --cflags`
13927 case "$i" in
13928 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13929 esac
13930 done
13931 ESD_LIBS=`$ESDCONFIG --libs`
13932 save_CFLAGS="$CFLAGS"
13933 CFLAGS="$CFLAGS $ESD_CFLAGS"
13934 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13935 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13936 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13938 else
13939 ac_check_lib_save_LIBS=$LIBS
13940 LIBS="-lesd $LIBS"
13941 cat >conftest.$ac_ext <<_ACEOF
13942 /* confdefs.h. */
13943 _ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 #ifdef __cplusplus
13952 extern "C"
13953 #endif
13954 char esd_open_sound ();
13956 main ()
13958 return esd_open_sound ();
13960 return 0;
13962 _ACEOF
13963 rm -f conftest.$ac_objext conftest$ac_exeext
13964 if { (ac_try="$ac_link"
13965 case "(($ac_try" in
13966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13967 *) ac_try_echo=$ac_try;;
13968 esac
13969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970 (eval "$ac_link") 2>conftest.er1
13971 ac_status=$?
13972 grep -v '^ *+' conftest.er1 >conftest.err
13973 rm -f conftest.er1
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && {
13977 test -z "$ac_c_werror_flag" ||
13978 test ! -s conftest.err
13979 } && test -s conftest$ac_exeext &&
13980 $as_test_x conftest$ac_exeext; then
13981 ac_cv_lib_esd_esd_open_sound=yes
13982 else
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.$ac_ext >&5
13986 ac_cv_lib_esd_esd_open_sound=no
13989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13990 conftest$ac_exeext conftest.$ac_ext
13991 LIBS=$ac_check_lib_save_LIBS
13993 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13994 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13995 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13996 ESDLIBS=$ESD_LIBS
13998 ESDINCL=$ESD_CFLAGS
14001 cat >>confdefs.h <<\_ACEOF
14002 #define HAVE_ESD 1
14003 _ACEOF
14007 CFLAGS="$save_CFLAGS"
14010 ALSALIBS=""
14012 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14013 then
14014 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14015 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14016 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 else
14019 ac_check_lib_save_LIBS=$LIBS
14020 LIBS="-lasound $LIBS"
14021 cat >conftest.$ac_ext <<_ACEOF
14022 /* confdefs.h. */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14028 /* Override any GCC internal prototype to avoid an error.
14029 Use char because int might match the return type of a GCC
14030 builtin and then its argument prototype would still apply. */
14031 #ifdef __cplusplus
14032 extern "C"
14033 #endif
14034 char snd_pcm_hw_params_get_access ();
14036 main ()
14038 return snd_pcm_hw_params_get_access ();
14040 return 0;
14042 _ACEOF
14043 rm -f conftest.$ac_objext conftest$ac_exeext
14044 if { (ac_try="$ac_link"
14045 case "(($ac_try" in
14046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14047 *) ac_try_echo=$ac_try;;
14048 esac
14049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14050 (eval "$ac_link") 2>conftest.er1
14051 ac_status=$?
14052 grep -v '^ *+' conftest.er1 >conftest.err
14053 rm -f conftest.er1
14054 cat conftest.err >&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } && {
14057 test -z "$ac_c_werror_flag" ||
14058 test ! -s conftest.err
14059 } && test -s conftest$ac_exeext &&
14060 $as_test_x conftest$ac_exeext; then
14061 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14062 else
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.$ac_ext >&5
14066 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_lib_save_LIBS
14073 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14074 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14075 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14076 cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082 #ifdef HAVE_ALSA_ASOUNDLIB_H
14083 #include <alsa/asoundlib.h>
14084 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14085 #include <sys/asoundlib.h>
14086 #endif
14088 main ()
14090 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14092 return 0;
14094 _ACEOF
14095 rm -f conftest.$ac_objext
14096 if { (ac_try="$ac_compile"
14097 case "(($ac_try" in
14098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14099 *) ac_try_echo=$ac_try;;
14100 esac
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_compile") 2>conftest.er1
14103 ac_status=$?
14104 grep -v '^ *+' conftest.er1 >conftest.err
14105 rm -f conftest.er1
14106 cat conftest.err >&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } && {
14109 test -z "$ac_c_werror_flag" ||
14110 test ! -s conftest.err
14111 } && test -s conftest.$ac_objext; then
14113 cat >>confdefs.h <<\_ACEOF
14114 #define HAVE_ALSA 1
14115 _ACEOF
14117 ALSALIBS="-lasound"
14118 else
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14130 AUDIOIOLIBS=""
14132 if test "$ac_cv_header_libaudioio_h" = "yes"
14133 then
14134 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14135 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14136 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 else
14139 ac_check_lib_save_LIBS=$LIBS
14140 LIBS="-laudioio $LIBS"
14141 cat >conftest.$ac_ext <<_ACEOF
14142 /* confdefs.h. */
14143 _ACEOF
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14151 #ifdef __cplusplus
14152 extern "C"
14153 #endif
14154 char AudioIOGetVersion ();
14156 main ()
14158 return AudioIOGetVersion ();
14160 return 0;
14162 _ACEOF
14163 rm -f conftest.$ac_objext conftest$ac_exeext
14164 if { (ac_try="$ac_link"
14165 case "(($ac_try" in
14166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14167 *) ac_try_echo=$ac_try;;
14168 esac
14169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14170 (eval "$ac_link") 2>conftest.er1
14171 ac_status=$?
14172 grep -v '^ *+' conftest.er1 >conftest.err
14173 rm -f conftest.er1
14174 cat conftest.err >&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } && {
14177 test -z "$ac_c_werror_flag" ||
14178 test ! -s conftest.err
14179 } && test -s conftest$ac_exeext &&
14180 $as_test_x conftest$ac_exeext; then
14181 ac_cv_lib_audioio_AudioIOGetVersion=yes
14182 else
14183 echo "$as_me: failed program was:" >&5
14184 sed 's/^/| /' conftest.$ac_ext >&5
14186 ac_cv_lib_audioio_AudioIOGetVersion=no
14189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14190 conftest$ac_exeext conftest.$ac_ext
14191 LIBS=$ac_check_lib_save_LIBS
14193 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14194 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14195 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14196 AUDIOIOLIBS="-laudioio"
14198 cat >>confdefs.h <<\_ACEOF
14199 #define HAVE_LIBAUDIOIO 1
14200 _ACEOF
14207 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14208 then
14209 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14210 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14211 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14212 echo $ECHO_N "(cached) $ECHO_C" >&6
14213 else
14214 ac_check_soname_save_LIBS=$LIBS
14215 LIBS="-lcapi20 $LIBS"
14216 cat >conftest.$ac_ext <<_ACEOF
14217 /* confdefs.h. */
14218 _ACEOF
14219 cat confdefs.h >>conftest.$ac_ext
14220 cat >>conftest.$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14223 /* Override any GCC internal prototype to avoid an error.
14224 Use char because int might match the return type of a GCC
14225 builtin and then its argument prototype would still apply. */
14226 #ifdef __cplusplus
14227 extern "C"
14228 #endif
14229 char capi20_register ();
14231 main ()
14233 return capi20_register ();
14235 return 0;
14237 _ACEOF
14238 rm -f conftest.$ac_objext conftest$ac_exeext
14239 if { (ac_try="$ac_link"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14243 esac
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_link") 2>conftest.er1
14246 ac_status=$?
14247 grep -v '^ *+' conftest.er1 >conftest.err
14248 rm -f conftest.er1
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest$ac_exeext &&
14255 $as_test_x conftest$ac_exeext; then
14256 case "$LIBEXT" in
14257 dll) ;;
14258 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'` ;;
14259 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14260 esac
14261 else
14262 echo "$as_me: failed program was:" >&5
14263 sed 's/^/| /' conftest.$ac_ext >&5
14268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14269 conftest$ac_exeext conftest.$ac_ext
14270 LIBS=$ac_check_soname_save_LIBS
14272 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14273 { echo "$as_me:$LINENO: result: not found" >&5
14274 echo "${ECHO_T}not found" >&6; }
14276 else
14277 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14278 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14280 cat >>confdefs.h <<_ACEOF
14281 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14282 _ACEOF
14288 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14289 wine_notices="$wine_notices|libcapi20 development files not found.
14290 Wine will be built without ISDN support. (capi2032.dll)"
14294 if test "$ac_cv_header_cups_cups_h" = "yes"
14295 then
14296 { echo "$as_me:$LINENO: checking for -lcups" >&5
14297 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14298 if test "${ac_cv_lib_soname_cups+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14300 else
14301 ac_check_soname_save_LIBS=$LIBS
14302 LIBS="-lcups $LIBS"
14303 cat >conftest.$ac_ext <<_ACEOF
14304 /* confdefs.h. */
14305 _ACEOF
14306 cat confdefs.h >>conftest.$ac_ext
14307 cat >>conftest.$ac_ext <<_ACEOF
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14313 #ifdef __cplusplus
14314 extern "C"
14315 #endif
14316 char cupsGetDefault ();
14318 main ()
14320 return cupsGetDefault ();
14322 return 0;
14324 _ACEOF
14325 rm -f conftest.$ac_objext conftest$ac_exeext
14326 if { (ac_try="$ac_link"
14327 case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14330 esac
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_link") 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } && {
14339 test -z "$ac_c_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest$ac_exeext &&
14342 $as_test_x conftest$ac_exeext; then
14343 case "$LIBEXT" in
14344 dll) ;;
14345 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'` ;;
14346 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14347 esac
14348 else
14349 echo "$as_me: failed program was:" >&5
14350 sed 's/^/| /' conftest.$ac_ext >&5
14355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14356 conftest$ac_exeext conftest.$ac_ext
14357 LIBS=$ac_check_soname_save_LIBS
14359 if test "x$ac_cv_lib_soname_cups" = "x"; then
14360 { echo "$as_me:$LINENO: result: not found" >&5
14361 echo "${ECHO_T}not found" >&6; }
14363 else
14364 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14365 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14367 cat >>confdefs.h <<_ACEOF
14368 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14369 _ACEOF
14375 if test "x$ac_cv_lib_soname_cups" = "x"; then
14376 wine_notices="$wine_notices|libcups development files not found.
14377 Wine will be built without CUPS support."
14381 if test "$ac_cv_header_jack_jack_h" = "yes"
14382 then
14383 { echo "$as_me:$LINENO: checking for -ljack" >&5
14384 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14385 if test "${ac_cv_lib_soname_jack+set}" = set; then
14386 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 else
14388 ac_check_soname_save_LIBS=$LIBS
14389 LIBS="-ljack $LIBS"
14390 cat >conftest.$ac_ext <<_ACEOF
14391 /* confdefs.h. */
14392 _ACEOF
14393 cat confdefs.h >>conftest.$ac_ext
14394 cat >>conftest.$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14397 /* Override any GCC internal prototype to avoid an error.
14398 Use char because int might match the return type of a GCC
14399 builtin and then its argument prototype would still apply. */
14400 #ifdef __cplusplus
14401 extern "C"
14402 #endif
14403 char jack_client_new ();
14405 main ()
14407 return jack_client_new ();
14409 return 0;
14411 _ACEOF
14412 rm -f conftest.$ac_objext conftest$ac_exeext
14413 if { (ac_try="$ac_link"
14414 case "(($ac_try" in
14415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14416 *) ac_try_echo=$ac_try;;
14417 esac
14418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14419 (eval "$ac_link") 2>conftest.er1
14420 ac_status=$?
14421 grep -v '^ *+' conftest.er1 >conftest.err
14422 rm -f conftest.er1
14423 cat conftest.err >&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } && {
14426 test -z "$ac_c_werror_flag" ||
14427 test ! -s conftest.err
14428 } && test -s conftest$ac_exeext &&
14429 $as_test_x conftest$ac_exeext; then
14430 case "$LIBEXT" in
14431 dll) ;;
14432 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'` ;;
14433 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14434 esac
14435 else
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.$ac_ext >&5
14442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14443 conftest$ac_exeext conftest.$ac_ext
14444 LIBS=$ac_check_soname_save_LIBS
14446 if test "x$ac_cv_lib_soname_jack" = "x"; then
14447 { echo "$as_me:$LINENO: result: not found" >&5
14448 echo "${ECHO_T}not found" >&6; }
14450 else
14451 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14452 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14454 cat >>confdefs.h <<_ACEOF
14455 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14456 _ACEOF
14463 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14464 then
14465 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14466 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14467 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 else
14470 ac_check_soname_save_LIBS=$LIBS
14471 LIBS="-lfontconfig $LIBS"
14472 cat >conftest.$ac_ext <<_ACEOF
14473 /* confdefs.h. */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14479 /* Override any GCC internal prototype to avoid an error.
14480 Use char because int might match the return type of a GCC
14481 builtin and then its argument prototype would still apply. */
14482 #ifdef __cplusplus
14483 extern "C"
14484 #endif
14485 char FcInit ();
14487 main ()
14489 return FcInit ();
14491 return 0;
14493 _ACEOF
14494 rm -f conftest.$ac_objext conftest$ac_exeext
14495 if { (ac_try="$ac_link"
14496 case "(($ac_try" in
14497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14498 *) ac_try_echo=$ac_try;;
14499 esac
14500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14501 (eval "$ac_link") 2>conftest.er1
14502 ac_status=$?
14503 grep -v '^ *+' conftest.er1 >conftest.err
14504 rm -f conftest.er1
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } && {
14508 test -z "$ac_c_werror_flag" ||
14509 test ! -s conftest.err
14510 } && test -s conftest$ac_exeext &&
14511 $as_test_x conftest$ac_exeext; then
14512 case "$LIBEXT" in
14513 dll) ;;
14514 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'` ;;
14515 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14516 esac
14517 else
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5
14524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14525 conftest$ac_exeext conftest.$ac_ext
14526 LIBS=$ac_check_soname_save_LIBS
14528 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14529 { echo "$as_me:$LINENO: result: not found" >&5
14530 echo "${ECHO_T}not found" >&6; }
14532 else
14533 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14534 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14536 cat >>confdefs.h <<_ACEOF
14537 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14538 _ACEOF
14544 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14545 wine_notices="$wine_notices|fontconfig development files not found.
14546 Wine will be built without fontconfig support."
14550 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14551 then
14552 { echo "$as_me:$LINENO: checking for -lssl" >&5
14553 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14554 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 else
14557 ac_check_soname_save_LIBS=$LIBS
14558 LIBS="-lssl $LIBS"
14559 cat >conftest.$ac_ext <<_ACEOF
14560 /* confdefs.h. */
14561 _ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14569 #ifdef __cplusplus
14570 extern "C"
14571 #endif
14572 char SSL_library_init ();
14574 main ()
14576 return SSL_library_init ();
14578 return 0;
14580 _ACEOF
14581 rm -f conftest.$ac_objext conftest$ac_exeext
14582 if { (ac_try="$ac_link"
14583 case "(($ac_try" in
14584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 *) ac_try_echo=$ac_try;;
14586 esac
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_link") 2>conftest.er1
14589 ac_status=$?
14590 grep -v '^ *+' conftest.er1 >conftest.err
14591 rm -f conftest.er1
14592 cat conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } && {
14595 test -z "$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14597 } && test -s conftest$ac_exeext &&
14598 $as_test_x conftest$ac_exeext; then
14599 case "$LIBEXT" in
14600 dll) ;;
14601 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'` ;;
14602 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14603 esac
14604 else
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.$ac_ext >&5
14611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14612 conftest$ac_exeext conftest.$ac_ext
14613 LIBS=$ac_check_soname_save_LIBS
14615 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14616 { echo "$as_me:$LINENO: result: not found" >&5
14617 echo "${ECHO_T}not found" >&6; }
14619 else
14620 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14621 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14623 cat >>confdefs.h <<_ACEOF
14624 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14625 _ACEOF
14630 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14631 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14632 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 else
14635 ac_check_soname_save_LIBS=$LIBS
14636 LIBS="-lcrypto $LIBS"
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h. */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14647 #ifdef __cplusplus
14648 extern "C"
14649 #endif
14650 char BIO_new_socket ();
14652 main ()
14654 return BIO_new_socket ();
14656 return 0;
14658 _ACEOF
14659 rm -f conftest.$ac_objext conftest$ac_exeext
14660 if { (ac_try="$ac_link"
14661 case "(($ac_try" in
14662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14663 *) ac_try_echo=$ac_try;;
14664 esac
14665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14666 (eval "$ac_link") 2>conftest.er1
14667 ac_status=$?
14668 grep -v '^ *+' conftest.er1 >conftest.err
14669 rm -f conftest.er1
14670 cat conftest.err >&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } && {
14673 test -z "$ac_c_werror_flag" ||
14674 test ! -s conftest.err
14675 } && test -s conftest$ac_exeext &&
14676 $as_test_x conftest$ac_exeext; then
14677 case "$LIBEXT" in
14678 dll) ;;
14679 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'` ;;
14680 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14681 esac
14682 else
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14690 conftest$ac_exeext conftest.$ac_ext
14691 LIBS=$ac_check_soname_save_LIBS
14693 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14694 { echo "$as_me:$LINENO: result: not found" >&5
14695 echo "${ECHO_T}not found" >&6; }
14697 else
14698 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14699 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14701 cat >>confdefs.h <<_ACEOF
14702 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14703 _ACEOF
14709 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14710 wine_notices="$wine_notices|OpenSSL development files not found.
14711 Wine will be built without SSL support. (wininet.dll)"
14715 if test "$ac_cv_header_jpeglib_h" = "yes"
14716 then
14717 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14718 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14719 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 else
14722 ac_check_soname_save_LIBS=$LIBS
14723 LIBS="-ljpeg $LIBS"
14724 cat >conftest.$ac_ext <<_ACEOF
14725 /* confdefs.h. */
14726 _ACEOF
14727 cat confdefs.h >>conftest.$ac_ext
14728 cat >>conftest.$ac_ext <<_ACEOF
14729 /* end confdefs.h. */
14731 /* Override any GCC internal prototype to avoid an error.
14732 Use char because int might match the return type of a GCC
14733 builtin and then its argument prototype would still apply. */
14734 #ifdef __cplusplus
14735 extern "C"
14736 #endif
14737 char jpeg_start_decompress ();
14739 main ()
14741 return jpeg_start_decompress ();
14743 return 0;
14745 _ACEOF
14746 rm -f conftest.$ac_objext conftest$ac_exeext
14747 if { (ac_try="$ac_link"
14748 case "(($ac_try" in
14749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14750 *) ac_try_echo=$ac_try;;
14751 esac
14752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14753 (eval "$ac_link") 2>conftest.er1
14754 ac_status=$?
14755 grep -v '^ *+' conftest.er1 >conftest.err
14756 rm -f conftest.er1
14757 cat conftest.err >&5
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); } && {
14760 test -z "$ac_c_werror_flag" ||
14761 test ! -s conftest.err
14762 } && test -s conftest$ac_exeext &&
14763 $as_test_x conftest$ac_exeext; then
14764 case "$LIBEXT" in
14765 dll) ;;
14766 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'` ;;
14767 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14768 esac
14769 else
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14777 conftest$ac_exeext conftest.$ac_ext
14778 LIBS=$ac_check_soname_save_LIBS
14780 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14781 { echo "$as_me:$LINENO: result: not found" >&5
14782 echo "${ECHO_T}not found" >&6; }
14784 else
14785 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14786 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14788 cat >>confdefs.h <<_ACEOF
14789 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14790 _ACEOF
14796 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14797 wine_notices="$wine_notices|libjpeg development files not found.
14798 Wine will be built without JPEG support. (oleaut32.dll)"
14802 if test "$ac_cv_header_png_h" = "yes"
14803 then
14804 { echo "$as_me:$LINENO: checking for -lpng" >&5
14805 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14806 if test "${ac_cv_lib_soname_png+set}" = set; then
14807 echo $ECHO_N "(cached) $ECHO_C" >&6
14808 else
14809 ac_check_soname_save_LIBS=$LIBS
14810 LIBS="-lpng $LIBS"
14811 cat >conftest.$ac_ext <<_ACEOF
14812 /* confdefs.h. */
14813 _ACEOF
14814 cat confdefs.h >>conftest.$ac_ext
14815 cat >>conftest.$ac_ext <<_ACEOF
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14821 #ifdef __cplusplus
14822 extern "C"
14823 #endif
14824 char png_create_read_struct ();
14826 main ()
14828 return png_create_read_struct ();
14830 return 0;
14832 _ACEOF
14833 rm -f conftest.$ac_objext conftest$ac_exeext
14834 if { (ac_try="$ac_link"
14835 case "(($ac_try" in
14836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14837 *) ac_try_echo=$ac_try;;
14838 esac
14839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14840 (eval "$ac_link") 2>conftest.er1
14841 ac_status=$?
14842 grep -v '^ *+' conftest.er1 >conftest.err
14843 rm -f conftest.er1
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } && {
14847 test -z "$ac_c_werror_flag" ||
14848 test ! -s conftest.err
14849 } && test -s conftest$ac_exeext &&
14850 $as_test_x conftest$ac_exeext; then
14851 case "$LIBEXT" in
14852 dll) ;;
14853 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'` ;;
14854 *) 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'` ;;
14855 esac
14856 else
14857 echo "$as_me: failed program was:" >&5
14858 sed 's/^/| /' conftest.$ac_ext >&5
14863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LIBS=$ac_check_soname_save_LIBS
14867 if test "x$ac_cv_lib_soname_png" = "x"; then
14868 { echo "$as_me:$LINENO: result: not found" >&5
14869 echo "${ECHO_T}not found" >&6; }
14871 else
14872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14873 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14875 cat >>confdefs.h <<_ACEOF
14876 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14877 _ACEOF
14883 if test "x$ac_cv_lib_soname_png" = "x"; then
14884 wine_notices="$wine_notices|libpng development files not found.
14885 Wine will be built without PNG support. (oleaut32.dll)"
14889 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14890 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14891 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14892 "$ac_cv_header_soundcard_h" != "yes"; then
14893 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14898 EXTRACFLAGS=""
14900 if test "x${GCC}" = "xyes"
14901 then
14902 EXTRACFLAGS="-Wall -pipe"
14904 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14905 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14906 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 if test "$cross_compiling" = yes; then
14910 ac_cv_c_gcc_strength_bug="yes"
14911 else
14912 cat >conftest.$ac_ext <<_ACEOF
14913 /* confdefs.h. */
14914 _ACEOF
14915 cat confdefs.h >>conftest.$ac_ext
14916 cat >>conftest.$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14918 int L[4] = {0,1,2,3};
14920 main ()
14922 static int Array[3];
14923 unsigned int B = 3;
14924 int i;
14925 for(i=0; i<B; i++) Array[i] = i - 3;
14926 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14927 L[i] = 4;
14928 exit( Array[1] != -2 || L[2] != 3)
14930 return 0;
14932 _ACEOF
14933 rm -f conftest$ac_exeext
14934 if { (ac_try="$ac_link"
14935 case "(($ac_try" in
14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14938 esac
14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_link") 2>&5
14941 ac_status=$?
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14944 { (case "(($ac_try" in
14945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14946 *) ac_try_echo=$ac_try;;
14947 esac
14948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14949 (eval "$ac_try") 2>&5
14950 ac_status=$?
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); }; }; then
14953 ac_cv_c_gcc_strength_bug="no"
14954 else
14955 echo "$as_me: program exited with status $ac_status" >&5
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14959 ( exit $ac_status )
14960 ac_cv_c_gcc_strength_bug="yes"
14962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14967 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14968 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14969 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14970 then
14971 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14975 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14976 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14977 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14978 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 else
14980 ac_wine_try_cflags_saved=$CFLAGS
14981 CFLAGS="$CFLAGS -fshort-wchar"
14982 cat >conftest.$ac_ext <<_ACEOF
14983 /* confdefs.h. */
14984 _ACEOF
14985 cat confdefs.h >>conftest.$ac_ext
14986 cat >>conftest.$ac_ext <<_ACEOF
14987 /* end confdefs.h. */
14990 main ()
14994 return 0;
14996 _ACEOF
14997 rm -f conftest.$ac_objext conftest$ac_exeext
14998 if { (ac_try="$ac_link"
14999 case "(($ac_try" in
15000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15001 *) ac_try_echo=$ac_try;;
15002 esac
15003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15004 (eval "$ac_link") 2>conftest.er1
15005 ac_status=$?
15006 grep -v '^ *+' conftest.er1 >conftest.err
15007 rm -f conftest.er1
15008 cat conftest.err >&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); } && {
15011 test -z "$ac_c_werror_flag" ||
15012 test ! -s conftest.err
15013 } && test -s conftest$ac_exeext &&
15014 $as_test_x conftest$ac_exeext; then
15015 ac_cv_cflags__fshort_wchar=yes
15016 else
15017 echo "$as_me: failed program was:" >&5
15018 sed 's/^/| /' conftest.$ac_ext >&5
15020 ac_cv_cflags__fshort_wchar=no
15023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15024 conftest$ac_exeext conftest.$ac_ext
15025 CFLAGS=$ac_wine_try_cflags_saved
15027 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15028 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15029 if test $ac_cv_cflags__fshort_wchar = yes; then
15031 cat >>confdefs.h <<\_ACEOF
15032 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15033 _ACEOF
15037 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15038 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15039 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15040 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 else
15042 ac_wine_try_cflags_saved=$CFLAGS
15043 CFLAGS="$CFLAGS -fno-strict-aliasing"
15044 cat >conftest.$ac_ext <<_ACEOF
15045 /* confdefs.h. */
15046 _ACEOF
15047 cat confdefs.h >>conftest.$ac_ext
15048 cat >>conftest.$ac_ext <<_ACEOF
15049 /* end confdefs.h. */
15052 main ()
15056 return 0;
15058 _ACEOF
15059 rm -f conftest.$ac_objext conftest$ac_exeext
15060 if { (ac_try="$ac_link"
15061 case "(($ac_try" in
15062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15063 *) ac_try_echo=$ac_try;;
15064 esac
15065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15066 (eval "$ac_link") 2>conftest.er1
15067 ac_status=$?
15068 grep -v '^ *+' conftest.er1 >conftest.err
15069 rm -f conftest.er1
15070 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } && {
15073 test -z "$ac_c_werror_flag" ||
15074 test ! -s conftest.err
15075 } && test -s conftest$ac_exeext &&
15076 $as_test_x conftest$ac_exeext; then
15077 ac_cv_cflags__fno_strict_aliasing=yes
15078 else
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.$ac_ext >&5
15082 ac_cv_cflags__fno_strict_aliasing=no
15085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15086 conftest$ac_exeext conftest.$ac_ext
15087 CFLAGS=$ac_wine_try_cflags_saved
15089 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15090 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15091 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15092 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15095 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15096 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15097 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 else
15100 ac_wine_try_cflags_saved=$CFLAGS
15101 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15102 cat >conftest.$ac_ext <<_ACEOF
15103 /* confdefs.h. */
15104 _ACEOF
15105 cat confdefs.h >>conftest.$ac_ext
15106 cat >>conftest.$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15110 main ()
15114 return 0;
15116 _ACEOF
15117 rm -f conftest.$ac_objext conftest$ac_exeext
15118 if { (ac_try="$ac_link"
15119 case "(($ac_try" in
15120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15121 *) ac_try_echo=$ac_try;;
15122 esac
15123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15124 (eval "$ac_link") 2>conftest.er1
15125 ac_status=$?
15126 grep -v '^ *+' conftest.er1 >conftest.err
15127 rm -f conftest.er1
15128 cat conftest.err >&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } && {
15131 test -z "$ac_c_werror_flag" ||
15132 test ! -s conftest.err
15133 } && test -s conftest$ac_exeext &&
15134 $as_test_x conftest$ac_exeext; then
15135 ac_cv_cflags__Wdeclaration_after_statement=yes
15136 else
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.$ac_ext >&5
15140 ac_cv_cflags__Wdeclaration_after_statement=no
15143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15144 conftest$ac_exeext conftest.$ac_ext
15145 CFLAGS=$ac_wine_try_cflags_saved
15147 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15148 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15149 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15150 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15153 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15154 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15155 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 else
15158 ac_wine_try_cflags_saved=$CFLAGS
15159 CFLAGS="$CFLAGS -Wwrite-strings"
15160 cat >conftest.$ac_ext <<_ACEOF
15161 /* confdefs.h. */
15162 _ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15168 main ()
15172 return 0;
15174 _ACEOF
15175 rm -f conftest.$ac_objext conftest$ac_exeext
15176 if { (ac_try="$ac_link"
15177 case "(($ac_try" in
15178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15180 esac
15181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_link") 2>conftest.er1
15183 ac_status=$?
15184 grep -v '^ *+' conftest.er1 >conftest.err
15185 rm -f conftest.er1
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest$ac_exeext &&
15192 $as_test_x conftest$ac_exeext; then
15193 ac_cv_cflags__Wwrite_strings=yes
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15198 ac_cv_cflags__Wwrite_strings=no
15201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15202 conftest$ac_exeext conftest.$ac_ext
15203 CFLAGS=$ac_wine_try_cflags_saved
15205 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15206 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15207 if test $ac_cv_cflags__Wwrite_strings = yes; then
15208 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15212 saved_CFLAGS="$CFLAGS"
15213 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15214 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15215 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15216 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15218 else
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. */
15225 #include <string.h>
15227 main ()
15231 return 0;
15233 _ACEOF
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
15251 ac_cv_c_string_h_warnings=no
15252 else
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.$ac_ext >&5
15256 ac_cv_c_string_h_warnings=yes
15259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15261 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15262 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15263 CFLAGS="$saved_CFLAGS"
15264 if test "$ac_cv_c_string_h_warnings" = "no"
15265 then
15266 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15269 BUILTINFLAG=""
15271 saved_CFLAGS="$CFLAGS"
15272 CFLAGS="$CFLAGS -Werror"
15273 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15274 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15275 if test "${ac_cv_c_builtin_wchar_ctype+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. */
15286 main ()
15288 int iswlower(unsigned short);
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_builtin_wchar_ctype=no
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 ac_cv_c_builtin_wchar_ctype=yes
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15321 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15322 CFLAGS="$saved_CFLAGS"
15323 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15324 then
15325 BUILTINFLAG="-fno-builtin"
15330 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15331 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15332 if test "${ac_cv_asm_func_def+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 else
15335 cat >conftest.$ac_ext <<_ACEOF
15336 /* confdefs.h. */
15337 _ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15343 main ()
15345 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15347 return 0;
15349 _ACEOF
15350 rm -f conftest.$ac_objext conftest$ac_exeext
15351 if { (ac_try="$ac_link"
15352 case "(($ac_try" in
15353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15354 *) ac_try_echo=$ac_try;;
15355 esac
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_link") 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } && {
15364 test -z "$ac_c_werror_flag" ||
15365 test ! -s conftest.err
15366 } && test -s conftest$ac_exeext &&
15367 $as_test_x conftest$ac_exeext; then
15368 ac_cv_asm_func_def=".def"
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15373 cat >conftest.$ac_ext <<_ACEOF
15374 /* confdefs.h. */
15375 _ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15381 main ()
15383 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15385 return 0;
15387 _ACEOF
15388 rm -f conftest.$ac_objext conftest$ac_exeext
15389 if { (ac_try="$ac_link"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_link") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest$ac_exeext &&
15405 $as_test_x conftest$ac_exeext; then
15406 ac_cv_asm_func_def=".type @function"
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15411 cat >conftest.$ac_ext <<_ACEOF
15412 /* confdefs.h. */
15413 _ACEOF
15414 cat confdefs.h >>conftest.$ac_ext
15415 cat >>conftest.$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15419 main ()
15421 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15423 return 0;
15425 _ACEOF
15426 rm -f conftest.$ac_objext conftest$ac_exeext
15427 if { (ac_try="$ac_link"
15428 case "(($ac_try" in
15429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15430 *) ac_try_echo=$ac_try;;
15431 esac
15432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433 (eval "$ac_link") 2>conftest.er1
15434 ac_status=$?
15435 grep -v '^ *+' conftest.er1 >conftest.err
15436 rm -f conftest.er1
15437 cat conftest.err >&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } && {
15440 test -z "$ac_c_werror_flag" ||
15441 test ! -s conftest.err
15442 } && test -s conftest$ac_exeext &&
15443 $as_test_x conftest$ac_exeext; then
15444 ac_cv_asm_func_def=".type 2"
15445 else
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.$ac_ext >&5
15449 ac_cv_asm_func_def="unknown"
15452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15453 conftest$ac_exeext conftest.$ac_ext
15456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15457 conftest$ac_exeext conftest.$ac_ext
15460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15461 conftest$ac_exeext conftest.$ac_ext
15463 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15464 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15468 case "$ac_cv_asm_func_def" in
15469 ".def")
15470 cat >>confdefs.h <<\_ACEOF
15471 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15472 _ACEOF
15474 ".type @function")
15475 cat >>confdefs.h <<\_ACEOF
15476 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15477 _ACEOF
15479 ".type 2")
15480 cat >>confdefs.h <<\_ACEOF
15481 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15482 _ACEOF
15485 cat >>confdefs.h <<\_ACEOF
15486 #define __ASM_FUNC(name) ""
15487 _ACEOF
15489 esac
15492 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15493 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15494 if test "${ac_cv_c_extern_prefix+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 else
15497 cat >conftest.$ac_ext <<_ACEOF
15498 /* confdefs.h. */
15499 _ACEOF
15500 cat confdefs.h >>conftest.$ac_ext
15501 cat >>conftest.$ac_ext <<_ACEOF
15502 /* end confdefs.h. */
15503 extern int ac_test;
15505 main ()
15507 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15509 return 0;
15511 _ACEOF
15512 rm -f conftest.$ac_objext conftest$ac_exeext
15513 if { (ac_try="$ac_link"
15514 case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15517 esac
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_link") 2>conftest.er1
15520 ac_status=$?
15521 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && {
15526 test -z "$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15528 } && test -s conftest$ac_exeext &&
15529 $as_test_x conftest$ac_exeext; then
15530 ac_cv_c_extern_prefix="yes"
15531 else
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15535 ac_cv_c_extern_prefix="no"
15538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15539 conftest$ac_exeext conftest.$ac_ext
15541 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15542 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15546 if test "$ac_cv_c_extern_prefix" = "yes"
15547 then
15548 cat >>confdefs.h <<\_ACEOF
15549 #define __ASM_NAME(name) "_" name
15550 _ACEOF
15552 else
15553 cat >>confdefs.h <<\_ACEOF
15554 #define __ASM_NAME(name) name
15555 _ACEOF
15560 LDPATH=""
15562 case $build_os in
15563 cygwin*|mingw32*)
15564 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15566 darwin*|macosx*)
15568 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15569 then
15570 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15574 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15576 esac
15578 case $host_os in
15579 mingw32*)
15580 CRTLIBS="-lmsvcrt"
15582 SOCKETLIBS="-lws2_32"
15585 esac
15587 MAIN_BINARY="wine-pthread"
15588 case $host_cpu in
15589 *i[3456789]86*)
15590 case $host_os in
15591 linux* | k*bsd*-gnu)
15592 MAIN_BINARY="wine-glibc"
15594 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15596 esac
15598 esac
15662 for ac_func in \
15663 _pclose \
15664 _popen \
15665 _snprintf \
15666 _spawnvp \
15667 _stricmp \
15668 _strnicmp \
15669 _vsnprintf \
15670 asctime_r \
15671 chsize \
15672 clone \
15673 dlopen \
15674 epoll_create \
15675 ffs \
15676 finite \
15677 fork \
15678 fpclass \
15679 fstatfs \
15680 fstatvfs \
15681 ftruncate \
15682 futimes \
15683 futimesat \
15684 getdirentries \
15685 getopt_long \
15686 getpagesize \
15687 getpwuid \
15688 gettid \
15689 gettimeofday \
15690 getuid \
15691 inet_pton \
15692 kqueue \
15693 lstat \
15694 memmove \
15695 mmap \
15696 pclose \
15697 poll \
15698 popen \
15699 prctl \
15700 pread \
15701 pwrite \
15702 readlink \
15703 rfork \
15704 sched_yield \
15705 select \
15706 setrlimit \
15707 settimeofday \
15708 sigaltstack \
15709 sigprocmask \
15710 snprintf \
15711 spawnvp \
15712 statfs \
15713 statvfs \
15714 strcasecmp \
15715 strerror \
15716 strncasecmp \
15717 strtold \
15718 tcgetattr \
15719 timegm \
15720 usleep \
15721 vsnprintf \
15722 wait4 \
15723 waitpid \
15726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15727 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15729 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15731 else
15732 cat >conftest.$ac_ext <<_ACEOF
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15740 #define $ac_func innocuous_$ac_func
15742 /* System header to define __stub macros and hopefully few prototypes,
15743 which can conflict with char $ac_func (); below.
15744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15745 <limits.h> exists even on freestanding compilers. */
15747 #ifdef __STDC__
15748 # include <limits.h>
15749 #else
15750 # include <assert.h>
15751 #endif
15753 #undef $ac_func
15755 /* Override any GCC internal prototype to avoid an error.
15756 Use char because int might match the return type of a GCC
15757 builtin and then its argument prototype would still apply. */
15758 #ifdef __cplusplus
15759 extern "C"
15760 #endif
15761 char $ac_func ();
15762 /* The GNU C library defines this for functions which it implements
15763 to always fail with ENOSYS. Some functions are actually named
15764 something starting with __ and the normal name is an alias. */
15765 #if defined __stub_$ac_func || defined __stub___$ac_func
15766 choke me
15767 #endif
15770 main ()
15772 return $ac_func ();
15774 return 0;
15776 _ACEOF
15777 rm -f conftest.$ac_objext conftest$ac_exeext
15778 if { (ac_try="$ac_link"
15779 case "(($ac_try" in
15780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15781 *) ac_try_echo=$ac_try;;
15782 esac
15783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15784 (eval "$ac_link") 2>conftest.er1
15785 ac_status=$?
15786 grep -v '^ *+' conftest.er1 >conftest.err
15787 rm -f conftest.er1
15788 cat conftest.err >&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); } && {
15791 test -z "$ac_c_werror_flag" ||
15792 test ! -s conftest.err
15793 } && test -s conftest$ac_exeext &&
15794 $as_test_x conftest$ac_exeext; then
15795 eval "$as_ac_var=yes"
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15800 eval "$as_ac_var=no"
15803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15804 conftest$ac_exeext conftest.$ac_ext
15806 ac_res=`eval echo '${'$as_ac_var'}'`
15807 { echo "$as_me:$LINENO: result: $ac_res" >&5
15808 echo "${ECHO_T}$ac_res" >&6; }
15809 if test `eval echo '${'$as_ac_var'}'` = yes; then
15810 cat >>confdefs.h <<_ACEOF
15811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15812 _ACEOF
15815 done
15818 if test "$ac_cv_func_dlopen" = no
15819 then
15820 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15821 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15822 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 else
15825 ac_check_lib_save_LIBS=$LIBS
15826 LIBS="-ldl $LIBS"
15827 cat >conftest.$ac_ext <<_ACEOF
15828 /* confdefs.h. */
15829 _ACEOF
15830 cat confdefs.h >>conftest.$ac_ext
15831 cat >>conftest.$ac_ext <<_ACEOF
15832 /* end confdefs.h. */
15834 /* Override any GCC internal prototype to avoid an error.
15835 Use char because int might match the return type of a GCC
15836 builtin and then its argument prototype would still apply. */
15837 #ifdef __cplusplus
15838 extern "C"
15839 #endif
15840 char dlopen ();
15842 main ()
15844 return dlopen ();
15846 return 0;
15848 _ACEOF
15849 rm -f conftest.$ac_objext conftest$ac_exeext
15850 if { (ac_try="$ac_link"
15851 case "(($ac_try" in
15852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15853 *) ac_try_echo=$ac_try;;
15854 esac
15855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15856 (eval "$ac_link") 2>conftest.er1
15857 ac_status=$?
15858 grep -v '^ *+' conftest.er1 >conftest.err
15859 rm -f conftest.er1
15860 cat conftest.err >&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); } && {
15863 test -z "$ac_c_werror_flag" ||
15864 test ! -s conftest.err
15865 } && test -s conftest$ac_exeext &&
15866 $as_test_x conftest$ac_exeext; then
15867 ac_cv_lib_dl_dlopen=yes
15868 else
15869 echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.$ac_ext >&5
15872 ac_cv_lib_dl_dlopen=no
15875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15876 conftest$ac_exeext conftest.$ac_ext
15877 LIBS=$ac_check_lib_save_LIBS
15879 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15880 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15881 if test $ac_cv_lib_dl_dlopen = yes; then
15882 cat >>confdefs.h <<\_ACEOF
15883 #define HAVE_DLOPEN 1
15884 _ACEOF
15885 LIBDL="-ldl"
15890 ac_wine_check_funcs_save_LIBS="$LIBS"
15891 LIBS="$LIBS $LIBDL"
15893 for ac_func in dladdr
15895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 else
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15909 #define $ac_func innocuous_$ac_func
15911 /* System header to define __stub macros and hopefully few prototypes,
15912 which can conflict with char $ac_func (); below.
15913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15914 <limits.h> exists even on freestanding compilers. */
15916 #ifdef __STDC__
15917 # include <limits.h>
15918 #else
15919 # include <assert.h>
15920 #endif
15922 #undef $ac_func
15924 /* Override any GCC internal prototype to avoid an error.
15925 Use char because int might match the return type of a GCC
15926 builtin and then its argument prototype would still apply. */
15927 #ifdef __cplusplus
15928 extern "C"
15929 #endif
15930 char $ac_func ();
15931 /* The GNU C library defines this for functions which it implements
15932 to always fail with ENOSYS. Some functions are actually named
15933 something starting with __ and the normal name is an alias. */
15934 #if defined __stub_$ac_func || defined __stub___$ac_func
15935 choke me
15936 #endif
15939 main ()
15941 return $ac_func ();
15943 return 0;
15945 _ACEOF
15946 rm -f conftest.$ac_objext conftest$ac_exeext
15947 if { (ac_try="$ac_link"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15951 esac
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_link") 2>conftest.er1
15954 ac_status=$?
15955 grep -v '^ *+' conftest.er1 >conftest.err
15956 rm -f conftest.er1
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest$ac_exeext &&
15963 $as_test_x conftest$ac_exeext; then
15964 eval "$as_ac_var=yes"
15965 else
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.$ac_ext >&5
15969 eval "$as_ac_var=no"
15972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15973 conftest$ac_exeext conftest.$ac_ext
15975 ac_res=`eval echo '${'$as_ac_var'}'`
15976 { echo "$as_me:$LINENO: result: $ac_res" >&5
15977 echo "${ECHO_T}$ac_res" >&6; }
15978 if test `eval echo '${'$as_ac_var'}'` = yes; then
15979 cat >>confdefs.h <<_ACEOF
15980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15981 _ACEOF
15984 done
15986 LIBS="$ac_wine_check_funcs_save_LIBS"
15988 if test "$ac_cv_func_poll" = no
15989 then
15990 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15991 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15992 if test "${ac_cv_lib_poll_poll+set}" = set; then
15993 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 else
15995 ac_check_lib_save_LIBS=$LIBS
15996 LIBS="-lpoll $LIBS"
15997 cat >conftest.$ac_ext <<_ACEOF
15998 /* confdefs.h. */
15999 _ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16004 /* Override any GCC internal prototype to avoid an error.
16005 Use char because int might match the return type of a GCC
16006 builtin and then its argument prototype would still apply. */
16007 #ifdef __cplusplus
16008 extern "C"
16009 #endif
16010 char poll ();
16012 main ()
16014 return poll ();
16016 return 0;
16018 _ACEOF
16019 rm -f conftest.$ac_objext conftest$ac_exeext
16020 if { (ac_try="$ac_link"
16021 case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16024 esac
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_link") 2>conftest.er1
16027 ac_status=$?
16028 grep -v '^ *+' conftest.er1 >conftest.err
16029 rm -f conftest.er1
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } && {
16033 test -z "$ac_c_werror_flag" ||
16034 test ! -s conftest.err
16035 } && test -s conftest$ac_exeext &&
16036 $as_test_x conftest$ac_exeext; then
16037 ac_cv_lib_poll_poll=yes
16038 else
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16042 ac_cv_lib_poll_poll=no
16045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16046 conftest$ac_exeext conftest.$ac_ext
16047 LIBS=$ac_check_lib_save_LIBS
16049 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16050 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16051 if test $ac_cv_lib_poll_poll = yes; then
16052 cat >>confdefs.h <<\_ACEOF
16053 #define HAVE_POLL 1
16054 _ACEOF
16055 LIBPOLL="-lpoll"
16061 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16062 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16063 if test "${ac_cv_search_gethostbyname+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066 ac_func_search_save_LIBS=$LIBS
16067 cat >conftest.$ac_ext <<_ACEOF
16068 /* confdefs.h. */
16069 _ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16074 /* Override any GCC internal prototype to avoid an error.
16075 Use char because int might match the return type of a GCC
16076 builtin and then its argument prototype would still apply. */
16077 #ifdef __cplusplus
16078 extern "C"
16079 #endif
16080 char gethostbyname ();
16082 main ()
16084 return gethostbyname ();
16086 return 0;
16088 _ACEOF
16089 for ac_lib in '' nsl; do
16090 if test -z "$ac_lib"; then
16091 ac_res="none required"
16092 else
16093 ac_res=-l$ac_lib
16094 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16096 rm -f conftest.$ac_objext conftest$ac_exeext
16097 if { (ac_try="$ac_link"
16098 case "(($ac_try" in
16099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16101 esac
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link") 2>conftest.er1
16104 ac_status=$?
16105 grep -v '^ *+' conftest.er1 >conftest.err
16106 rm -f conftest.er1
16107 cat conftest.err >&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } && {
16110 test -z "$ac_c_werror_flag" ||
16111 test ! -s conftest.err
16112 } && test -s conftest$ac_exeext &&
16113 $as_test_x conftest$ac_exeext; then
16114 ac_cv_search_gethostbyname=$ac_res
16115 else
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16123 conftest$ac_exeext
16124 if test "${ac_cv_search_gethostbyname+set}" = set; then
16125 break
16127 done
16128 if test "${ac_cv_search_gethostbyname+set}" = set; then
16130 else
16131 ac_cv_search_gethostbyname=no
16133 rm conftest.$ac_ext
16134 LIBS=$ac_func_search_save_LIBS
16136 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16137 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16138 ac_res=$ac_cv_search_gethostbyname
16139 if test "$ac_res" != no; then
16140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16145 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16146 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16147 if test "${ac_cv_search_connect+set}" = set; then
16148 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 else
16150 ac_func_search_save_LIBS=$LIBS
16151 cat >conftest.$ac_ext <<_ACEOF
16152 /* confdefs.h. */
16153 _ACEOF
16154 cat confdefs.h >>conftest.$ac_ext
16155 cat >>conftest.$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16158 /* Override any GCC internal prototype to avoid an error.
16159 Use char because int might match the return type of a GCC
16160 builtin and then its argument prototype would still apply. */
16161 #ifdef __cplusplus
16162 extern "C"
16163 #endif
16164 char connect ();
16166 main ()
16168 return connect ();
16170 return 0;
16172 _ACEOF
16173 for ac_lib in '' socket; do
16174 if test -z "$ac_lib"; then
16175 ac_res="none required"
16176 else
16177 ac_res=-l$ac_lib
16178 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16180 rm -f conftest.$ac_objext conftest$ac_exeext
16181 if { (ac_try="$ac_link"
16182 case "(($ac_try" in
16183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16184 *) ac_try_echo=$ac_try;;
16185 esac
16186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16187 (eval "$ac_link") 2>conftest.er1
16188 ac_status=$?
16189 grep -v '^ *+' conftest.er1 >conftest.err
16190 rm -f conftest.er1
16191 cat conftest.err >&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } && {
16194 test -z "$ac_c_werror_flag" ||
16195 test ! -s conftest.err
16196 } && test -s conftest$ac_exeext &&
16197 $as_test_x conftest$ac_exeext; then
16198 ac_cv_search_connect=$ac_res
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16207 conftest$ac_exeext
16208 if test "${ac_cv_search_connect+set}" = set; then
16209 break
16211 done
16212 if test "${ac_cv_search_connect+set}" = set; then
16214 else
16215 ac_cv_search_connect=no
16217 rm conftest.$ac_ext
16218 LIBS=$ac_func_search_save_LIBS
16220 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16221 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16222 ac_res=$ac_cv_search_connect
16223 if test "$ac_res" != no; then
16224 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16229 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16230 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16231 if test "${ac_cv_search_inet_aton+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 else
16234 ac_func_search_save_LIBS=$LIBS
16235 cat >conftest.$ac_ext <<_ACEOF
16236 /* confdefs.h. */
16237 _ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16242 /* Override any GCC internal prototype to avoid an error.
16243 Use char because int might match the return type of a GCC
16244 builtin and then its argument prototype would still apply. */
16245 #ifdef __cplusplus
16246 extern "C"
16247 #endif
16248 char inet_aton ();
16250 main ()
16252 return inet_aton ();
16254 return 0;
16256 _ACEOF
16257 for ac_lib in '' resolv; do
16258 if test -z "$ac_lib"; then
16259 ac_res="none required"
16260 else
16261 ac_res=-l$ac_lib
16262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16264 rm -f conftest.$ac_objext conftest$ac_exeext
16265 if { (ac_try="$ac_link"
16266 case "(($ac_try" in
16267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16268 *) ac_try_echo=$ac_try;;
16269 esac
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_link") 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest$ac_exeext &&
16281 $as_test_x conftest$ac_exeext; then
16282 ac_cv_search_inet_aton=$ac_res
16283 else
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16291 conftest$ac_exeext
16292 if test "${ac_cv_search_inet_aton+set}" = set; then
16293 break
16295 done
16296 if test "${ac_cv_search_inet_aton+set}" = set; then
16298 else
16299 ac_cv_search_inet_aton=no
16301 rm conftest.$ac_ext
16302 LIBS=$ac_func_search_save_LIBS
16304 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16305 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16306 ac_res=$ac_cv_search_inet_aton
16307 if test "$ac_res" != no; then
16308 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16321 for ac_func in \
16322 getaddrinfo \
16323 getnameinfo \
16324 getnetbyname \
16325 getprotobyname \
16326 getprotobynumber \
16327 getservbyport \
16328 inet_network \
16329 sendmsg \
16332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16336 echo $ECHO_N "(cached) $ECHO_C" >&6
16337 else
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h. */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16346 #define $ac_func innocuous_$ac_func
16348 /* System header to define __stub macros and hopefully few prototypes,
16349 which can conflict with char $ac_func (); below.
16350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16351 <limits.h> exists even on freestanding compilers. */
16353 #ifdef __STDC__
16354 # include <limits.h>
16355 #else
16356 # include <assert.h>
16357 #endif
16359 #undef $ac_func
16361 /* Override any GCC internal prototype to avoid an error.
16362 Use char because int might match the return type of a GCC
16363 builtin and then its argument prototype would still apply. */
16364 #ifdef __cplusplus
16365 extern "C"
16366 #endif
16367 char $ac_func ();
16368 /* The GNU C library defines this for functions which it implements
16369 to always fail with ENOSYS. Some functions are actually named
16370 something starting with __ and the normal name is an alias. */
16371 #if defined __stub_$ac_func || defined __stub___$ac_func
16372 choke me
16373 #endif
16376 main ()
16378 return $ac_func ();
16380 return 0;
16382 _ACEOF
16383 rm -f conftest.$ac_objext conftest$ac_exeext
16384 if { (ac_try="$ac_link"
16385 case "(($ac_try" in
16386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16388 esac
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_link") 2>conftest.er1
16391 ac_status=$?
16392 grep -v '^ *+' conftest.er1 >conftest.err
16393 rm -f conftest.er1
16394 cat conftest.err >&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } && {
16397 test -z "$ac_c_werror_flag" ||
16398 test ! -s conftest.err
16399 } && test -s conftest$ac_exeext &&
16400 $as_test_x conftest$ac_exeext; then
16401 eval "$as_ac_var=yes"
16402 else
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.$ac_ext >&5
16406 eval "$as_ac_var=no"
16409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16410 conftest$ac_exeext conftest.$ac_ext
16412 ac_res=`eval echo '${'$as_ac_var'}'`
16413 { echo "$as_me:$LINENO: result: $ac_res" >&5
16414 echo "${ECHO_T}$ac_res" >&6; }
16415 if test `eval echo '${'$as_ac_var'}'` = yes; then
16416 cat >>confdefs.h <<_ACEOF
16417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16418 _ACEOF
16421 done
16425 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16426 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16427 if test "${ac_cv_c_const+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16429 else
16430 cat >conftest.$ac_ext <<_ACEOF
16431 /* confdefs.h. */
16432 _ACEOF
16433 cat confdefs.h >>conftest.$ac_ext
16434 cat >>conftest.$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16438 main ()
16440 /* FIXME: Include the comments suggested by Paul. */
16441 #ifndef __cplusplus
16442 /* Ultrix mips cc rejects this. */
16443 typedef int charset[2];
16444 const charset cs;
16445 /* SunOS 4.1.1 cc rejects this. */
16446 char const *const *pcpcc;
16447 char **ppc;
16448 /* NEC SVR4.0.2 mips cc rejects this. */
16449 struct point {int x, y;};
16450 static struct point const zero = {0,0};
16451 /* AIX XL C 1.02.0.0 rejects this.
16452 It does not let you subtract one const X* pointer from another in
16453 an arm of an if-expression whose if-part is not a constant
16454 expression */
16455 const char *g = "string";
16456 pcpcc = &g + (g ? g-g : 0);
16457 /* HPUX 7.0 cc rejects these. */
16458 ++pcpcc;
16459 ppc = (char**) pcpcc;
16460 pcpcc = (char const *const *) ppc;
16461 { /* SCO 3.2v4 cc rejects this. */
16462 char *t;
16463 char const *s = 0 ? (char *) 0 : (char const *) 0;
16465 *t++ = 0;
16466 if (s) return 0;
16468 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16469 int x[] = {25, 17};
16470 const int *foo = &x[0];
16471 ++foo;
16473 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16474 typedef const int *iptr;
16475 iptr p = 0;
16476 ++p;
16478 { /* AIX XL C 1.02.0.0 rejects this saying
16479 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16480 struct s { int j; const int *ap[3]; };
16481 struct s *b; b->j = 5;
16483 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16484 const int foo = 10;
16485 if (!foo) return 0;
16487 return !cs[0] && !zero.x;
16488 #endif
16491 return 0;
16493 _ACEOF
16494 rm -f conftest.$ac_objext
16495 if { (ac_try="$ac_compile"
16496 case "(($ac_try" in
16497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16498 *) ac_try_echo=$ac_try;;
16499 esac
16500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16501 (eval "$ac_compile") 2>conftest.er1
16502 ac_status=$?
16503 grep -v '^ *+' conftest.er1 >conftest.err
16504 rm -f conftest.er1
16505 cat conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } && {
16508 test -z "$ac_c_werror_flag" ||
16509 test ! -s conftest.err
16510 } && test -s conftest.$ac_objext; then
16511 ac_cv_c_const=yes
16512 else
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16516 ac_cv_c_const=no
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16521 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16522 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16523 if test $ac_cv_c_const = no; then
16525 cat >>confdefs.h <<\_ACEOF
16526 #define const
16527 _ACEOF
16531 { echo "$as_me:$LINENO: checking for inline" >&5
16532 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16533 if test "${ac_cv_c_inline+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 else
16536 ac_cv_c_inline=no
16537 for ac_kw in inline __inline__ __inline; do
16538 cat >conftest.$ac_ext <<_ACEOF
16539 /* confdefs.h. */
16540 _ACEOF
16541 cat confdefs.h >>conftest.$ac_ext
16542 cat >>conftest.$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16544 #ifndef __cplusplus
16545 typedef int foo_t;
16546 static $ac_kw foo_t static_foo () {return 0; }
16547 $ac_kw foo_t foo () {return 0; }
16548 #endif
16550 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (ac_try="$ac_compile"
16553 case "(($ac_try" in
16554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16556 esac
16557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16558 (eval "$ac_compile") 2>conftest.er1
16559 ac_status=$?
16560 grep -v '^ *+' conftest.er1 >conftest.err
16561 rm -f conftest.er1
16562 cat conftest.err >&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } && {
16565 test -z "$ac_c_werror_flag" ||
16566 test ! -s conftest.err
16567 } && test -s conftest.$ac_objext; then
16568 ac_cv_c_inline=$ac_kw
16569 else
16570 echo "$as_me: failed program was:" >&5
16571 sed 's/^/| /' conftest.$ac_ext >&5
16576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16577 test "$ac_cv_c_inline" != no && break
16578 done
16581 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16582 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16585 case $ac_cv_c_inline in
16586 inline | yes) ;;
16588 case $ac_cv_c_inline in
16589 no) ac_val=;;
16590 *) ac_val=$ac_cv_c_inline;;
16591 esac
16592 cat >>confdefs.h <<_ACEOF
16593 #ifndef __cplusplus
16594 #define inline $ac_val
16595 #endif
16596 _ACEOF
16598 esac
16600 { echo "$as_me:$LINENO: checking for mode_t" >&5
16601 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16602 if test "${ac_cv_type_mode_t+set}" = set; then
16603 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 else
16605 cat >conftest.$ac_ext <<_ACEOF
16606 /* confdefs.h. */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 $ac_includes_default
16612 typedef mode_t ac__type_new_;
16614 main ()
16616 if ((ac__type_new_ *) 0)
16617 return 0;
16618 if (sizeof (ac__type_new_))
16619 return 0;
16621 return 0;
16623 _ACEOF
16624 rm -f conftest.$ac_objext
16625 if { (ac_try="$ac_compile"
16626 case "(($ac_try" in
16627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16628 *) ac_try_echo=$ac_try;;
16629 esac
16630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16631 (eval "$ac_compile") 2>conftest.er1
16632 ac_status=$?
16633 grep -v '^ *+' conftest.er1 >conftest.err
16634 rm -f conftest.er1
16635 cat conftest.err >&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } && {
16638 test -z "$ac_c_werror_flag" ||
16639 test ! -s conftest.err
16640 } && test -s conftest.$ac_objext; then
16641 ac_cv_type_mode_t=yes
16642 else
16643 echo "$as_me: failed program was:" >&5
16644 sed 's/^/| /' conftest.$ac_ext >&5
16646 ac_cv_type_mode_t=no
16649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16651 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16652 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16653 if test $ac_cv_type_mode_t = yes; then
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_MODE_T 1
16657 _ACEOF
16661 { echo "$as_me:$LINENO: checking for off_t" >&5
16662 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16663 if test "${ac_cv_type_off_t+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 else
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 $ac_includes_default
16673 typedef off_t ac__type_new_;
16675 main ()
16677 if ((ac__type_new_ *) 0)
16678 return 0;
16679 if (sizeof (ac__type_new_))
16680 return 0;
16682 return 0;
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (ac_try="$ac_compile"
16687 case "(($ac_try" in
16688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16689 *) ac_try_echo=$ac_try;;
16690 esac
16691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16692 (eval "$ac_compile") 2>conftest.er1
16693 ac_status=$?
16694 grep -v '^ *+' conftest.er1 >conftest.err
16695 rm -f conftest.er1
16696 cat conftest.err >&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } && {
16699 test -z "$ac_c_werror_flag" ||
16700 test ! -s conftest.err
16701 } && test -s conftest.$ac_objext; then
16702 ac_cv_type_off_t=yes
16703 else
16704 echo "$as_me: failed program was:" >&5
16705 sed 's/^/| /' conftest.$ac_ext >&5
16707 ac_cv_type_off_t=no
16710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16712 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16713 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16714 if test $ac_cv_type_off_t = yes; then
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_OFF_T 1
16718 _ACEOF
16722 { echo "$as_me:$LINENO: checking for pid_t" >&5
16723 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16724 if test "${ac_cv_type_pid_t+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 cat >conftest.$ac_ext <<_ACEOF
16728 /* confdefs.h. */
16729 _ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 $ac_includes_default
16734 typedef pid_t ac__type_new_;
16736 main ()
16738 if ((ac__type_new_ *) 0)
16739 return 0;
16740 if (sizeof (ac__type_new_))
16741 return 0;
16743 return 0;
16745 _ACEOF
16746 rm -f conftest.$ac_objext
16747 if { (ac_try="$ac_compile"
16748 case "(($ac_try" in
16749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16750 *) ac_try_echo=$ac_try;;
16751 esac
16752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16753 (eval "$ac_compile") 2>conftest.er1
16754 ac_status=$?
16755 grep -v '^ *+' conftest.er1 >conftest.err
16756 rm -f conftest.er1
16757 cat conftest.err >&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } && {
16760 test -z "$ac_c_werror_flag" ||
16761 test ! -s conftest.err
16762 } && test -s conftest.$ac_objext; then
16763 ac_cv_type_pid_t=yes
16764 else
16765 echo "$as_me: failed program was:" >&5
16766 sed 's/^/| /' conftest.$ac_ext >&5
16768 ac_cv_type_pid_t=no
16771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16774 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16775 if test $ac_cv_type_pid_t = yes; then
16777 cat >>confdefs.h <<_ACEOF
16778 #define HAVE_PID_T 1
16779 _ACEOF
16783 { echo "$as_me:$LINENO: checking for size_t" >&5
16784 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16785 if test "${ac_cv_type_size_t+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 else
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16795 typedef size_t ac__type_new_;
16797 main ()
16799 if ((ac__type_new_ *) 0)
16800 return 0;
16801 if (sizeof (ac__type_new_))
16802 return 0;
16804 return 0;
16806 _ACEOF
16807 rm -f conftest.$ac_objext
16808 if { (ac_try="$ac_compile"
16809 case "(($ac_try" in
16810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16811 *) ac_try_echo=$ac_try;;
16812 esac
16813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814 (eval "$ac_compile") 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } && {
16821 test -z "$ac_c_werror_flag" ||
16822 test ! -s conftest.err
16823 } && test -s conftest.$ac_objext; then
16824 ac_cv_type_size_t=yes
16825 else
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.$ac_ext >&5
16829 ac_cv_type_size_t=no
16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16834 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16835 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16836 if test $ac_cv_type_size_t = yes; then
16838 cat >>confdefs.h <<_ACEOF
16839 #define HAVE_SIZE_T 1
16840 _ACEOF
16844 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16845 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16846 if test "${ac_cv_type_ssize_t+set}" = set; then
16847 echo $ECHO_N "(cached) $ECHO_C" >&6
16848 else
16849 cat >conftest.$ac_ext <<_ACEOF
16850 /* confdefs.h. */
16851 _ACEOF
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16855 $ac_includes_default
16856 typedef ssize_t ac__type_new_;
16858 main ()
16860 if ((ac__type_new_ *) 0)
16861 return 0;
16862 if (sizeof (ac__type_new_))
16863 return 0;
16865 return 0;
16867 _ACEOF
16868 rm -f conftest.$ac_objext
16869 if { (ac_try="$ac_compile"
16870 case "(($ac_try" in
16871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16872 *) ac_try_echo=$ac_try;;
16873 esac
16874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16875 (eval "$ac_compile") 2>conftest.er1
16876 ac_status=$?
16877 grep -v '^ *+' conftest.er1 >conftest.err
16878 rm -f conftest.er1
16879 cat conftest.err >&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && {
16882 test -z "$ac_c_werror_flag" ||
16883 test ! -s conftest.err
16884 } && test -s conftest.$ac_objext; then
16885 ac_cv_type_ssize_t=yes
16886 else
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.$ac_ext >&5
16890 ac_cv_type_ssize_t=no
16893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16895 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16896 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16897 if test $ac_cv_type_ssize_t = yes; then
16899 cat >>confdefs.h <<_ACEOF
16900 #define HAVE_SSIZE_T 1
16901 _ACEOF
16905 { echo "$as_me:$LINENO: checking for long long" >&5
16906 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16907 if test "${ac_cv_type_long_long+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 else
16910 cat >conftest.$ac_ext <<_ACEOF
16911 /* confdefs.h. */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 $ac_includes_default
16917 typedef long long ac__type_new_;
16919 main ()
16921 if ((ac__type_new_ *) 0)
16922 return 0;
16923 if (sizeof (ac__type_new_))
16924 return 0;
16926 return 0;
16928 _ACEOF
16929 rm -f conftest.$ac_objext
16930 if { (ac_try="$ac_compile"
16931 case "(($ac_try" in
16932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16933 *) ac_try_echo=$ac_try;;
16934 esac
16935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16936 (eval "$ac_compile") 2>conftest.er1
16937 ac_status=$?
16938 grep -v '^ *+' conftest.er1 >conftest.err
16939 rm -f conftest.er1
16940 cat conftest.err >&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } && {
16943 test -z "$ac_c_werror_flag" ||
16944 test ! -s conftest.err
16945 } && test -s conftest.$ac_objext; then
16946 ac_cv_type_long_long=yes
16947 else
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.$ac_ext >&5
16951 ac_cv_type_long_long=no
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16956 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16957 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16958 if test $ac_cv_type_long_long = yes; then
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_LONG_LONG 1
16962 _ACEOF
16966 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16967 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16968 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 else
16971 cat >conftest.$ac_ext <<_ACEOF
16972 /* confdefs.h. */
16973 _ACEOF
16974 cat confdefs.h >>conftest.$ac_ext
16975 cat >>conftest.$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16977 $ac_includes_default
16978 typedef fsblkcnt_t ac__type_new_;
16980 main ()
16982 if ((ac__type_new_ *) 0)
16983 return 0;
16984 if (sizeof (ac__type_new_))
16985 return 0;
16987 return 0;
16989 _ACEOF
16990 rm -f conftest.$ac_objext
16991 if { (ac_try="$ac_compile"
16992 case "(($ac_try" in
16993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16994 *) ac_try_echo=$ac_try;;
16995 esac
16996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16997 (eval "$ac_compile") 2>conftest.er1
16998 ac_status=$?
16999 grep -v '^ *+' conftest.er1 >conftest.err
17000 rm -f conftest.er1
17001 cat conftest.err >&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } && {
17004 test -z "$ac_c_werror_flag" ||
17005 test ! -s conftest.err
17006 } && test -s conftest.$ac_objext; then
17007 ac_cv_type_fsblkcnt_t=yes
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 ac_cv_type_fsblkcnt_t=no
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17017 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17018 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17019 if test $ac_cv_type_fsblkcnt_t = yes; then
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_FSBLKCNT_T 1
17023 _ACEOF
17027 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17028 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17029 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 else
17032 cat >conftest.$ac_ext <<_ACEOF
17033 /* confdefs.h. */
17034 _ACEOF
17035 cat confdefs.h >>conftest.$ac_ext
17036 cat >>conftest.$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 $ac_includes_default
17039 typedef fsfilcnt_t ac__type_new_;
17041 main ()
17043 if ((ac__type_new_ *) 0)
17044 return 0;
17045 if (sizeof (ac__type_new_))
17046 return 0;
17048 return 0;
17050 _ACEOF
17051 rm -f conftest.$ac_objext
17052 if { (ac_try="$ac_compile"
17053 case "(($ac_try" in
17054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17055 *) ac_try_echo=$ac_try;;
17056 esac
17057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17058 (eval "$ac_compile") 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } && {
17065 test -z "$ac_c_werror_flag" ||
17066 test ! -s conftest.err
17067 } && test -s conftest.$ac_objext; then
17068 ac_cv_type_fsfilcnt_t=yes
17069 else
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.$ac_ext >&5
17073 ac_cv_type_fsfilcnt_t=no
17076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17079 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17080 if test $ac_cv_type_fsfilcnt_t = yes; then
17082 cat >>confdefs.h <<_ACEOF
17083 #define HAVE_FSFILCNT_T 1
17084 _ACEOF
17089 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17090 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17091 if test "${ac_cv_type_sigset_t+set}" = set; then
17092 echo $ECHO_N "(cached) $ECHO_C" >&6
17093 else
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 #include <signal.h>
17102 typedef sigset_t ac__type_new_;
17104 main ()
17106 if ((ac__type_new_ *) 0)
17107 return 0;
17108 if (sizeof (ac__type_new_))
17109 return 0;
17111 return 0;
17113 _ACEOF
17114 rm -f conftest.$ac_objext
17115 if { (ac_try="$ac_compile"
17116 case "(($ac_try" in
17117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17118 *) ac_try_echo=$ac_try;;
17119 esac
17120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17121 (eval "$ac_compile") 2>conftest.er1
17122 ac_status=$?
17123 grep -v '^ *+' conftest.er1 >conftest.err
17124 rm -f conftest.er1
17125 cat conftest.err >&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } && {
17128 test -z "$ac_c_werror_flag" ||
17129 test ! -s conftest.err
17130 } && test -s conftest.$ac_objext; then
17131 ac_cv_type_sigset_t=yes
17132 else
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.$ac_ext >&5
17136 ac_cv_type_sigset_t=no
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17142 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17143 if test $ac_cv_type_sigset_t = yes; then
17145 cat >>confdefs.h <<_ACEOF
17146 #define HAVE_SIGSET_T 1
17147 _ACEOF
17152 { echo "$as_me:$LINENO: checking for request_sense" >&5
17153 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17154 if test "${ac_cv_type_request_sense+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157 cat >conftest.$ac_ext <<_ACEOF
17158 /* confdefs.h. */
17159 _ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 #include <linux/cdrom.h>
17165 typedef request_sense ac__type_new_;
17167 main ()
17169 if ((ac__type_new_ *) 0)
17170 return 0;
17171 if (sizeof (ac__type_new_))
17172 return 0;
17174 return 0;
17176 _ACEOF
17177 rm -f conftest.$ac_objext
17178 if { (ac_try="$ac_compile"
17179 case "(($ac_try" in
17180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17181 *) ac_try_echo=$ac_try;;
17182 esac
17183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17184 (eval "$ac_compile") 2>conftest.er1
17185 ac_status=$?
17186 grep -v '^ *+' conftest.er1 >conftest.err
17187 rm -f conftest.er1
17188 cat conftest.err >&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); } && {
17191 test -z "$ac_c_werror_flag" ||
17192 test ! -s conftest.err
17193 } && test -s conftest.$ac_objext; then
17194 ac_cv_type_request_sense=yes
17195 else
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17199 ac_cv_type_request_sense=no
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17204 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17205 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17206 if test $ac_cv_type_request_sense = yes; then
17208 cat >>confdefs.h <<_ACEOF
17209 #define HAVE_REQUEST_SENSE 1
17210 _ACEOF
17216 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17217 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17218 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17219 echo $ECHO_N "(cached) $ECHO_C" >&6
17220 else
17221 cat >conftest.$ac_ext <<_ACEOF
17222 /* confdefs.h. */
17223 _ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227 #ifdef HAVE_LINUX_INPUT_H
17228 #include <linux/input.h>
17229 #endif
17232 main ()
17234 static struct ff_effect ac_aggr;
17235 if (ac_aggr.direction)
17236 return 0;
17238 return 0;
17240 _ACEOF
17241 rm -f conftest.$ac_objext
17242 if { (ac_try="$ac_compile"
17243 case "(($ac_try" in
17244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17245 *) ac_try_echo=$ac_try;;
17246 esac
17247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17248 (eval "$ac_compile") 2>conftest.er1
17249 ac_status=$?
17250 grep -v '^ *+' conftest.er1 >conftest.err
17251 rm -f conftest.er1
17252 cat conftest.err >&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } && {
17255 test -z "$ac_c_werror_flag" ||
17256 test ! -s conftest.err
17257 } && test -s conftest.$ac_objext; then
17258 ac_cv_member_struct_ff_effect_direction=yes
17259 else
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.$ac_ext >&5
17263 cat >conftest.$ac_ext <<_ACEOF
17264 /* confdefs.h. */
17265 _ACEOF
17266 cat confdefs.h >>conftest.$ac_ext
17267 cat >>conftest.$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 #ifdef HAVE_LINUX_INPUT_H
17270 #include <linux/input.h>
17271 #endif
17274 main ()
17276 static struct ff_effect ac_aggr;
17277 if (sizeof ac_aggr.direction)
17278 return 0;
17280 return 0;
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (ac_try="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17288 esac
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17291 ac_status=$?
17292 grep -v '^ *+' conftest.er1 >conftest.err
17293 rm -f conftest.er1
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_c_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 ac_cv_member_struct_ff_effect_direction=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 ac_cv_member_struct_ff_effect_direction=no
17308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17313 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17314 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17315 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17317 cat >>confdefs.h <<_ACEOF
17318 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17319 _ACEOF
17325 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17326 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17327 if test "${wine_cv_have_sigaddset+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 else
17330 cat >conftest.$ac_ext <<_ACEOF
17331 /* confdefs.h. */
17332 _ACEOF
17333 cat confdefs.h >>conftest.$ac_ext
17334 cat >>conftest.$ac_ext <<_ACEOF
17335 /* end confdefs.h. */
17336 #include <signal.h>
17338 main ()
17340 sigset_t set; sigaddset(&set,SIGTERM);
17342 return 0;
17344 _ACEOF
17345 rm -f conftest.$ac_objext conftest$ac_exeext
17346 if { (ac_try="$ac_link"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17350 esac
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_link") 2>conftest.er1
17353 ac_status=$?
17354 grep -v '^ *+' conftest.er1 >conftest.err
17355 rm -f conftest.er1
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest$ac_exeext &&
17362 $as_test_x conftest$ac_exeext; then
17363 wine_cv_have_sigaddset=yes
17364 else
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 wine_cv_have_sigaddset=no
17371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17372 conftest$ac_exeext conftest.$ac_ext
17374 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17375 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17376 if test "$wine_cv_have_sigaddset" = "yes"
17377 then
17379 cat >>confdefs.h <<\_ACEOF
17380 #define HAVE_SIGADDSET 1
17381 _ACEOF
17386 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17387 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17388 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 else
17391 cat >conftest.$ac_ext <<_ACEOF
17392 /* confdefs.h. */
17393 _ACEOF
17394 cat confdefs.h >>conftest.$ac_ext
17395 cat >>conftest.$ac_ext <<_ACEOF
17396 /* end confdefs.h. */
17397 #include <netdb.h>
17399 main ()
17402 char *name=NULL;
17403 struct hostent he;
17404 struct hostent *result;
17405 char *buf=NULL;
17406 int bufsize=0;
17407 int res,errnr;
17408 char *addr=NULL;
17409 int addrlen=0;
17410 int addrtype=0;
17411 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17412 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17415 return 0;
17417 _ACEOF
17418 rm -f conftest.$ac_objext conftest$ac_exeext
17419 if { (ac_try="$ac_link"
17420 case "(($ac_try" in
17421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17422 *) ac_try_echo=$ac_try;;
17423 esac
17424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17425 (eval "$ac_link") 2>conftest.er1
17426 ac_status=$?
17427 grep -v '^ *+' conftest.er1 >conftest.err
17428 rm -f conftest.er1
17429 cat conftest.err >&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && {
17432 test -z "$ac_c_werror_flag" ||
17433 test ! -s conftest.err
17434 } && test -s conftest$ac_exeext &&
17435 $as_test_x conftest$ac_exeext; then
17436 wine_cv_linux_gethostbyname_r_6=yes
17437 else
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17441 wine_cv_linux_gethostbyname_r_6=no
17445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17446 conftest$ac_exeext conftest.$ac_ext
17449 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17450 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17451 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17452 then
17454 cat >>confdefs.h <<\_ACEOF
17455 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17456 _ACEOF
17460 if test "$ac_cv_header_linux_joystick_h" = "yes"
17461 then
17462 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17463 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17464 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467 cat >conftest.$ac_ext <<_ACEOF
17468 /* confdefs.h. */
17469 _ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17474 #include <sys/ioctl.h>
17475 #include <sys/types.h>
17476 #include <linux/joystick.h>
17478 struct js_event blub;
17479 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17480 #error "no 2.2 header"
17481 #endif
17484 main ()
17486 /*empty*/
17488 return 0;
17490 _ACEOF
17491 rm -f conftest.$ac_objext
17492 if { (ac_try="$ac_compile"
17493 case "(($ac_try" in
17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17495 *) ac_try_echo=$ac_try;;
17496 esac
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_compile") 2>conftest.er1
17499 ac_status=$?
17500 grep -v '^ *+' conftest.er1 >conftest.err
17501 rm -f conftest.er1
17502 cat conftest.err >&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } && {
17505 test -z "$ac_c_werror_flag" ||
17506 test ! -s conftest.err
17507 } && test -s conftest.$ac_objext; then
17508 wine_cv_linux_joystick_22_api=yes
17509 else
17510 echo "$as_me: failed program was:" >&5
17511 sed 's/^/| /' conftest.$ac_ext >&5
17513 wine_cv_linux_joystick_22_api=no
17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17519 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17520 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17521 if test "$wine_cv_linux_joystick_22_api" = "yes"
17522 then
17524 cat >>confdefs.h <<\_ACEOF
17525 #define HAVE_LINUX_22_JOYSTICK_API 1
17526 _ACEOF
17532 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17533 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17534 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 else
17537 cat >conftest.$ac_ext <<_ACEOF
17538 /* confdefs.h. */
17539 _ACEOF
17540 cat confdefs.h >>conftest.$ac_ext
17541 cat >>conftest.$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 #include <sys/types.h>
17544 #ifdef HAVE_SYS_PARAM_H
17545 # include <sys/param.h>
17546 #endif
17547 #ifdef HAVE_SYS_MOUNT_H
17548 # include <sys/mount.h>
17549 #endif
17550 #ifdef HAVE_SYS_VFS_H
17551 # include <sys/vfs.h>
17552 #endif
17553 #ifdef HAVE_SYS_STATFS_H
17554 # include <sys/statfs.h>
17555 #endif
17558 main ()
17560 static struct statfs ac_aggr;
17561 if (ac_aggr.f_bfree)
17562 return 0;
17564 return 0;
17566 _ACEOF
17567 rm -f conftest.$ac_objext
17568 if { (ac_try="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17572 esac
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17575 ac_status=$?
17576 grep -v '^ *+' conftest.er1 >conftest.err
17577 rm -f conftest.er1
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_c_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.$ac_objext; then
17584 ac_cv_member_struct_statfs_f_bfree=yes
17585 else
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17589 cat >conftest.$ac_ext <<_ACEOF
17590 /* confdefs.h. */
17591 _ACEOF
17592 cat confdefs.h >>conftest.$ac_ext
17593 cat >>conftest.$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 #include <sys/types.h>
17596 #ifdef HAVE_SYS_PARAM_H
17597 # include <sys/param.h>
17598 #endif
17599 #ifdef HAVE_SYS_MOUNT_H
17600 # include <sys/mount.h>
17601 #endif
17602 #ifdef HAVE_SYS_VFS_H
17603 # include <sys/vfs.h>
17604 #endif
17605 #ifdef HAVE_SYS_STATFS_H
17606 # include <sys/statfs.h>
17607 #endif
17610 main ()
17612 static struct statfs ac_aggr;
17613 if (sizeof ac_aggr.f_bfree)
17614 return 0;
17616 return 0;
17618 _ACEOF
17619 rm -f conftest.$ac_objext
17620 if { (ac_try="$ac_compile"
17621 case "(($ac_try" in
17622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17623 *) ac_try_echo=$ac_try;;
17624 esac
17625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17626 (eval "$ac_compile") 2>conftest.er1
17627 ac_status=$?
17628 grep -v '^ *+' conftest.er1 >conftest.err
17629 rm -f conftest.er1
17630 cat conftest.err >&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } && {
17633 test -z "$ac_c_werror_flag" ||
17634 test ! -s conftest.err
17635 } && test -s conftest.$ac_objext; then
17636 ac_cv_member_struct_statfs_f_bfree=yes
17637 else
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.$ac_ext >&5
17641 ac_cv_member_struct_statfs_f_bfree=no
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17650 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17651 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17653 cat >>confdefs.h <<_ACEOF
17654 #define HAVE_STRUCT_STATFS_F_BFREE 1
17655 _ACEOF
17659 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17660 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17661 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17662 echo $ECHO_N "(cached) $ECHO_C" >&6
17663 else
17664 cat >conftest.$ac_ext <<_ACEOF
17665 /* confdefs.h. */
17666 _ACEOF
17667 cat confdefs.h >>conftest.$ac_ext
17668 cat >>conftest.$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 #include <sys/types.h>
17671 #ifdef HAVE_SYS_PARAM_H
17672 # include <sys/param.h>
17673 #endif
17674 #ifdef HAVE_SYS_MOUNT_H
17675 # include <sys/mount.h>
17676 #endif
17677 #ifdef HAVE_SYS_VFS_H
17678 # include <sys/vfs.h>
17679 #endif
17680 #ifdef HAVE_SYS_STATFS_H
17681 # include <sys/statfs.h>
17682 #endif
17685 main ()
17687 static struct statfs ac_aggr;
17688 if (ac_aggr.f_bavail)
17689 return 0;
17691 return 0;
17693 _ACEOF
17694 rm -f conftest.$ac_objext
17695 if { (ac_try="$ac_compile"
17696 case "(($ac_try" in
17697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17698 *) ac_try_echo=$ac_try;;
17699 esac
17700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17701 (eval "$ac_compile") 2>conftest.er1
17702 ac_status=$?
17703 grep -v '^ *+' conftest.er1 >conftest.err
17704 rm -f conftest.er1
17705 cat conftest.err >&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } && {
17708 test -z "$ac_c_werror_flag" ||
17709 test ! -s conftest.err
17710 } && test -s conftest.$ac_objext; then
17711 ac_cv_member_struct_statfs_f_bavail=yes
17712 else
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17716 cat >conftest.$ac_ext <<_ACEOF
17717 /* confdefs.h. */
17718 _ACEOF
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 #include <sys/types.h>
17723 #ifdef HAVE_SYS_PARAM_H
17724 # include <sys/param.h>
17725 #endif
17726 #ifdef HAVE_SYS_MOUNT_H
17727 # include <sys/mount.h>
17728 #endif
17729 #ifdef HAVE_SYS_VFS_H
17730 # include <sys/vfs.h>
17731 #endif
17732 #ifdef HAVE_SYS_STATFS_H
17733 # include <sys/statfs.h>
17734 #endif
17737 main ()
17739 static struct statfs ac_aggr;
17740 if (sizeof ac_aggr.f_bavail)
17741 return 0;
17743 return 0;
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_c_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 ac_cv_member_struct_statfs_f_bavail=yes
17764 else
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17768 ac_cv_member_struct_statfs_f_bavail=no
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17777 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17778 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17780 cat >>confdefs.h <<_ACEOF
17781 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17782 _ACEOF
17786 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17787 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17788 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17789 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 else
17791 cat >conftest.$ac_ext <<_ACEOF
17792 /* confdefs.h. */
17793 _ACEOF
17794 cat confdefs.h >>conftest.$ac_ext
17795 cat >>conftest.$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 #include <sys/types.h>
17798 #ifdef HAVE_SYS_PARAM_H
17799 # include <sys/param.h>
17800 #endif
17801 #ifdef HAVE_SYS_MOUNT_H
17802 # include <sys/mount.h>
17803 #endif
17804 #ifdef HAVE_SYS_VFS_H
17805 # include <sys/vfs.h>
17806 #endif
17807 #ifdef HAVE_SYS_STATFS_H
17808 # include <sys/statfs.h>
17809 #endif
17812 main ()
17814 static struct statfs ac_aggr;
17815 if (ac_aggr.f_frsize)
17816 return 0;
17818 return 0;
17820 _ACEOF
17821 rm -f conftest.$ac_objext
17822 if { (ac_try="$ac_compile"
17823 case "(($ac_try" in
17824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17825 *) ac_try_echo=$ac_try;;
17826 esac
17827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17828 (eval "$ac_compile") 2>conftest.er1
17829 ac_status=$?
17830 grep -v '^ *+' conftest.er1 >conftest.err
17831 rm -f conftest.er1
17832 cat conftest.err >&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); } && {
17835 test -z "$ac_c_werror_flag" ||
17836 test ! -s conftest.err
17837 } && test -s conftest.$ac_objext; then
17838 ac_cv_member_struct_statfs_f_frsize=yes
17839 else
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.$ac_ext >&5
17843 cat >conftest.$ac_ext <<_ACEOF
17844 /* confdefs.h. */
17845 _ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 #include <sys/types.h>
17850 #ifdef HAVE_SYS_PARAM_H
17851 # include <sys/param.h>
17852 #endif
17853 #ifdef HAVE_SYS_MOUNT_H
17854 # include <sys/mount.h>
17855 #endif
17856 #ifdef HAVE_SYS_VFS_H
17857 # include <sys/vfs.h>
17858 #endif
17859 #ifdef HAVE_SYS_STATFS_H
17860 # include <sys/statfs.h>
17861 #endif
17864 main ()
17866 static struct statfs ac_aggr;
17867 if (sizeof ac_aggr.f_frsize)
17868 return 0;
17870 return 0;
17872 _ACEOF
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17877 *) ac_try_echo=$ac_try;;
17878 esac
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17881 ac_status=$?
17882 grep -v '^ *+' conftest.er1 >conftest.err
17883 rm -f conftest.er1
17884 cat conftest.err >&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_c_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.$ac_objext; then
17890 ac_cv_member_struct_statfs_f_frsize=yes
17891 else
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17895 ac_cv_member_struct_statfs_f_frsize=no
17898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17903 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17904 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17905 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17907 cat >>confdefs.h <<_ACEOF
17908 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17909 _ACEOF
17913 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17914 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17915 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 else
17918 cat >conftest.$ac_ext <<_ACEOF
17919 /* confdefs.h. */
17920 _ACEOF
17921 cat confdefs.h >>conftest.$ac_ext
17922 cat >>conftest.$ac_ext <<_ACEOF
17923 /* end confdefs.h. */
17924 #include <sys/types.h>
17925 #ifdef HAVE_SYS_PARAM_H
17926 # include <sys/param.h>
17927 #endif
17928 #ifdef HAVE_SYS_MOUNT_H
17929 # include <sys/mount.h>
17930 #endif
17931 #ifdef HAVE_SYS_VFS_H
17932 # include <sys/vfs.h>
17933 #endif
17934 #ifdef HAVE_SYS_STATFS_H
17935 # include <sys/statfs.h>
17936 #endif
17939 main ()
17941 static struct statfs ac_aggr;
17942 if (ac_aggr.f_ffree)
17943 return 0;
17945 return 0;
17947 _ACEOF
17948 rm -f conftest.$ac_objext
17949 if { (ac_try="$ac_compile"
17950 case "(($ac_try" in
17951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17952 *) ac_try_echo=$ac_try;;
17953 esac
17954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17955 (eval "$ac_compile") 2>conftest.er1
17956 ac_status=$?
17957 grep -v '^ *+' conftest.er1 >conftest.err
17958 rm -f conftest.er1
17959 cat conftest.err >&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); } && {
17962 test -z "$ac_c_werror_flag" ||
17963 test ! -s conftest.err
17964 } && test -s conftest.$ac_objext; then
17965 ac_cv_member_struct_statfs_f_ffree=yes
17966 else
17967 echo "$as_me: failed program was:" >&5
17968 sed 's/^/| /' conftest.$ac_ext >&5
17970 cat >conftest.$ac_ext <<_ACEOF
17971 /* confdefs.h. */
17972 _ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 #include <sys/types.h>
17977 #ifdef HAVE_SYS_PARAM_H
17978 # include <sys/param.h>
17979 #endif
17980 #ifdef HAVE_SYS_MOUNT_H
17981 # include <sys/mount.h>
17982 #endif
17983 #ifdef HAVE_SYS_VFS_H
17984 # include <sys/vfs.h>
17985 #endif
17986 #ifdef HAVE_SYS_STATFS_H
17987 # include <sys/statfs.h>
17988 #endif
17991 main ()
17993 static struct statfs ac_aggr;
17994 if (sizeof ac_aggr.f_ffree)
17995 return 0;
17997 return 0;
17999 _ACEOF
18000 rm -f conftest.$ac_objext
18001 if { (ac_try="$ac_compile"
18002 case "(($ac_try" in
18003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18004 *) ac_try_echo=$ac_try;;
18005 esac
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_compile") 2>conftest.er1
18008 ac_status=$?
18009 grep -v '^ *+' conftest.er1 >conftest.err
18010 rm -f conftest.er1
18011 cat conftest.err >&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_c_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest.$ac_objext; then
18017 ac_cv_member_struct_statfs_f_ffree=yes
18018 else
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18022 ac_cv_member_struct_statfs_f_ffree=no
18025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18030 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18031 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18032 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18034 cat >>confdefs.h <<_ACEOF
18035 #define HAVE_STRUCT_STATFS_F_FFREE 1
18036 _ACEOF
18040 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18041 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18042 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #include <sys/types.h>
18052 #ifdef HAVE_SYS_PARAM_H
18053 # include <sys/param.h>
18054 #endif
18055 #ifdef HAVE_SYS_MOUNT_H
18056 # include <sys/mount.h>
18057 #endif
18058 #ifdef HAVE_SYS_VFS_H
18059 # include <sys/vfs.h>
18060 #endif
18061 #ifdef HAVE_SYS_STATFS_H
18062 # include <sys/statfs.h>
18063 #endif
18066 main ()
18068 static struct statfs ac_aggr;
18069 if (ac_aggr.f_favail)
18070 return 0;
18072 return 0;
18074 _ACEOF
18075 rm -f conftest.$ac_objext
18076 if { (ac_try="$ac_compile"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18080 esac
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_compile") 2>conftest.er1
18083 ac_status=$?
18084 grep -v '^ *+' conftest.er1 >conftest.err
18085 rm -f conftest.er1
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } && {
18089 test -z "$ac_c_werror_flag" ||
18090 test ! -s conftest.err
18091 } && test -s conftest.$ac_objext; then
18092 ac_cv_member_struct_statfs_f_favail=yes
18093 else
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.$ac_ext >&5
18097 cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h. */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 #include <sys/types.h>
18104 #ifdef HAVE_SYS_PARAM_H
18105 # include <sys/param.h>
18106 #endif
18107 #ifdef HAVE_SYS_MOUNT_H
18108 # include <sys/mount.h>
18109 #endif
18110 #ifdef HAVE_SYS_VFS_H
18111 # include <sys/vfs.h>
18112 #endif
18113 #ifdef HAVE_SYS_STATFS_H
18114 # include <sys/statfs.h>
18115 #endif
18118 main ()
18120 static struct statfs ac_aggr;
18121 if (sizeof ac_aggr.f_favail)
18122 return 0;
18124 return 0;
18126 _ACEOF
18127 rm -f conftest.$ac_objext
18128 if { (ac_try="$ac_compile"
18129 case "(($ac_try" in
18130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18131 *) ac_try_echo=$ac_try;;
18132 esac
18133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18134 (eval "$ac_compile") 2>conftest.er1
18135 ac_status=$?
18136 grep -v '^ *+' conftest.er1 >conftest.err
18137 rm -f conftest.er1
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } && {
18141 test -z "$ac_c_werror_flag" ||
18142 test ! -s conftest.err
18143 } && test -s conftest.$ac_objext; then
18144 ac_cv_member_struct_statfs_f_favail=yes
18145 else
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.$ac_ext >&5
18149 ac_cv_member_struct_statfs_f_favail=no
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18157 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18158 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18159 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18161 cat >>confdefs.h <<_ACEOF
18162 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18163 _ACEOF
18167 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18168 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18169 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172 cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h. */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <sys/types.h>
18179 #ifdef HAVE_SYS_PARAM_H
18180 # include <sys/param.h>
18181 #endif
18182 #ifdef HAVE_SYS_MOUNT_H
18183 # include <sys/mount.h>
18184 #endif
18185 #ifdef HAVE_SYS_VFS_H
18186 # include <sys/vfs.h>
18187 #endif
18188 #ifdef HAVE_SYS_STATFS_H
18189 # include <sys/statfs.h>
18190 #endif
18193 main ()
18195 static struct statfs ac_aggr;
18196 if (ac_aggr.f_namelen)
18197 return 0;
18199 return 0;
18201 _ACEOF
18202 rm -f conftest.$ac_objext
18203 if { (ac_try="$ac_compile"
18204 case "(($ac_try" in
18205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18206 *) ac_try_echo=$ac_try;;
18207 esac
18208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18209 (eval "$ac_compile") 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } && {
18216 test -z "$ac_c_werror_flag" ||
18217 test ! -s conftest.err
18218 } && test -s conftest.$ac_objext; then
18219 ac_cv_member_struct_statfs_f_namelen=yes
18220 else
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18224 cat >conftest.$ac_ext <<_ACEOF
18225 /* confdefs.h. */
18226 _ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #include <sys/types.h>
18231 #ifdef HAVE_SYS_PARAM_H
18232 # include <sys/param.h>
18233 #endif
18234 #ifdef HAVE_SYS_MOUNT_H
18235 # include <sys/mount.h>
18236 #endif
18237 #ifdef HAVE_SYS_VFS_H
18238 # include <sys/vfs.h>
18239 #endif
18240 #ifdef HAVE_SYS_STATFS_H
18241 # include <sys/statfs.h>
18242 #endif
18245 main ()
18247 static struct statfs ac_aggr;
18248 if (sizeof ac_aggr.f_namelen)
18249 return 0;
18251 return 0;
18253 _ACEOF
18254 rm -f conftest.$ac_objext
18255 if { (ac_try="$ac_compile"
18256 case "(($ac_try" in
18257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18258 *) ac_try_echo=$ac_try;;
18259 esac
18260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18261 (eval "$ac_compile") 2>conftest.er1
18262 ac_status=$?
18263 grep -v '^ *+' conftest.er1 >conftest.err
18264 rm -f conftest.er1
18265 cat conftest.err >&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } && {
18268 test -z "$ac_c_werror_flag" ||
18269 test ! -s conftest.err
18270 } && test -s conftest.$ac_objext; then
18271 ac_cv_member_struct_statfs_f_namelen=yes
18272 else
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18276 ac_cv_member_struct_statfs_f_namelen=no
18279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18284 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18285 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18286 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18288 cat >>confdefs.h <<_ACEOF
18289 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18290 _ACEOF
18296 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18297 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18298 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18299 echo $ECHO_N "(cached) $ECHO_C" >&6
18300 else
18301 cat >conftest.$ac_ext <<_ACEOF
18302 /* confdefs.h. */
18303 _ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307 #ifdef HAVE_SYS_STATVFS_H
18308 #include <sys/statvfs.h>
18309 #endif
18312 main ()
18314 static struct statvfs ac_aggr;
18315 if (ac_aggr.f_blocks)
18316 return 0;
18318 return 0;
18320 _ACEOF
18321 rm -f conftest.$ac_objext
18322 if { (ac_try="$ac_compile"
18323 case "(($ac_try" in
18324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18325 *) ac_try_echo=$ac_try;;
18326 esac
18327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18328 (eval "$ac_compile") 2>conftest.er1
18329 ac_status=$?
18330 grep -v '^ *+' conftest.er1 >conftest.err
18331 rm -f conftest.er1
18332 cat conftest.err >&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } && {
18335 test -z "$ac_c_werror_flag" ||
18336 test ! -s conftest.err
18337 } && test -s conftest.$ac_objext; then
18338 ac_cv_member_struct_statvfs_f_blocks=yes
18339 else
18340 echo "$as_me: failed program was:" >&5
18341 sed 's/^/| /' conftest.$ac_ext >&5
18343 cat >conftest.$ac_ext <<_ACEOF
18344 /* confdefs.h. */
18345 _ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349 #ifdef HAVE_SYS_STATVFS_H
18350 #include <sys/statvfs.h>
18351 #endif
18354 main ()
18356 static struct statvfs ac_aggr;
18357 if (sizeof ac_aggr.f_blocks)
18358 return 0;
18360 return 0;
18362 _ACEOF
18363 rm -f conftest.$ac_objext
18364 if { (ac_try="$ac_compile"
18365 case "(($ac_try" in
18366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18367 *) ac_try_echo=$ac_try;;
18368 esac
18369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18370 (eval "$ac_compile") 2>conftest.er1
18371 ac_status=$?
18372 grep -v '^ *+' conftest.er1 >conftest.err
18373 rm -f conftest.er1
18374 cat conftest.err >&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } && {
18377 test -z "$ac_c_werror_flag" ||
18378 test ! -s conftest.err
18379 } && test -s conftest.$ac_objext; then
18380 ac_cv_member_struct_statvfs_f_blocks=yes
18381 else
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.$ac_ext >&5
18385 ac_cv_member_struct_statvfs_f_blocks=no
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18393 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18394 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18395 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18397 cat >>confdefs.h <<_ACEOF
18398 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18399 _ACEOF
18405 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18406 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18407 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410 cat >conftest.$ac_ext <<_ACEOF
18411 /* confdefs.h. */
18412 _ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 #include <sys/types.h>
18417 #ifdef HAVE_SYS_SOCKET_H
18418 # include <sys/socket.h>
18419 #endif
18420 #ifdef HAVE_SYS_UN_H
18421 # include <sys/un.h>
18422 #endif
18425 main ()
18427 static struct msghdr ac_aggr;
18428 if (ac_aggr.msg_accrights)
18429 return 0;
18431 return 0;
18433 _ACEOF
18434 rm -f conftest.$ac_objext
18435 if { (ac_try="$ac_compile"
18436 case "(($ac_try" in
18437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18438 *) ac_try_echo=$ac_try;;
18439 esac
18440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18441 (eval "$ac_compile") 2>conftest.er1
18442 ac_status=$?
18443 grep -v '^ *+' conftest.er1 >conftest.err
18444 rm -f conftest.er1
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } && {
18448 test -z "$ac_c_werror_flag" ||
18449 test ! -s conftest.err
18450 } && test -s conftest.$ac_objext; then
18451 ac_cv_member_struct_msghdr_msg_accrights=yes
18452 else
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.$ac_ext >&5
18456 cat >conftest.$ac_ext <<_ACEOF
18457 /* confdefs.h. */
18458 _ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 #include <sys/types.h>
18463 #ifdef HAVE_SYS_SOCKET_H
18464 # include <sys/socket.h>
18465 #endif
18466 #ifdef HAVE_SYS_UN_H
18467 # include <sys/un.h>
18468 #endif
18471 main ()
18473 static struct msghdr ac_aggr;
18474 if (sizeof ac_aggr.msg_accrights)
18475 return 0;
18477 return 0;
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (ac_try="$ac_compile"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484 *) ac_try_echo=$ac_try;;
18485 esac
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_compile") 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_c_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest.$ac_objext; then
18497 ac_cv_member_struct_msghdr_msg_accrights=yes
18498 else
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18502 ac_cv_member_struct_msghdr_msg_accrights=no
18505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18511 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18512 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18514 cat >>confdefs.h <<_ACEOF
18515 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18516 _ACEOF
18520 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18521 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18522 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18524 else
18525 cat >conftest.$ac_ext <<_ACEOF
18526 /* confdefs.h. */
18527 _ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #include <sys/types.h>
18532 #ifdef HAVE_SYS_SOCKET_H
18533 # include <sys/socket.h>
18534 #endif
18535 #ifdef HAVE_SYS_UN_H
18536 # include <sys/un.h>
18537 #endif
18540 main ()
18542 static struct sockaddr ac_aggr;
18543 if (ac_aggr.sa_len)
18544 return 0;
18546 return 0;
18548 _ACEOF
18549 rm -f conftest.$ac_objext
18550 if { (ac_try="$ac_compile"
18551 case "(($ac_try" in
18552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18554 esac
18555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18556 (eval "$ac_compile") 2>conftest.er1
18557 ac_status=$?
18558 grep -v '^ *+' conftest.er1 >conftest.err
18559 rm -f conftest.er1
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } && {
18563 test -z "$ac_c_werror_flag" ||
18564 test ! -s conftest.err
18565 } && test -s conftest.$ac_objext; then
18566 ac_cv_member_struct_sockaddr_sa_len=yes
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 #include <sys/types.h>
18578 #ifdef HAVE_SYS_SOCKET_H
18579 # include <sys/socket.h>
18580 #endif
18581 #ifdef HAVE_SYS_UN_H
18582 # include <sys/un.h>
18583 #endif
18586 main ()
18588 static struct sockaddr ac_aggr;
18589 if (sizeof ac_aggr.sa_len)
18590 return 0;
18592 return 0;
18594 _ACEOF
18595 rm -f conftest.$ac_objext
18596 if { (ac_try="$ac_compile"
18597 case "(($ac_try" in
18598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18599 *) ac_try_echo=$ac_try;;
18600 esac
18601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18602 (eval "$ac_compile") 2>conftest.er1
18603 ac_status=$?
18604 grep -v '^ *+' conftest.er1 >conftest.err
18605 rm -f conftest.er1
18606 cat conftest.err >&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); } && {
18609 test -z "$ac_c_werror_flag" ||
18610 test ! -s conftest.err
18611 } && test -s conftest.$ac_objext; then
18612 ac_cv_member_struct_sockaddr_sa_len=yes
18613 else
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.$ac_ext >&5
18617 ac_cv_member_struct_sockaddr_sa_len=no
18620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18626 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18627 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18629 cat >>confdefs.h <<_ACEOF
18630 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18631 _ACEOF
18635 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18636 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18637 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18639 else
18640 cat >conftest.$ac_ext <<_ACEOF
18641 /* confdefs.h. */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 #include <sys/types.h>
18647 #ifdef HAVE_SYS_SOCKET_H
18648 # include <sys/socket.h>
18649 #endif
18650 #ifdef HAVE_SYS_UN_H
18651 # include <sys/un.h>
18652 #endif
18655 main ()
18657 static struct sockaddr_un ac_aggr;
18658 if (ac_aggr.sun_len)
18659 return 0;
18661 return 0;
18663 _ACEOF
18664 rm -f conftest.$ac_objext
18665 if { (ac_try="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18669 esac
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.$ac_objext; then
18681 ac_cv_member_struct_sockaddr_un_sun_len=yes
18682 else
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 cat >conftest.$ac_ext <<_ACEOF
18687 /* confdefs.h. */
18688 _ACEOF
18689 cat confdefs.h >>conftest.$ac_ext
18690 cat >>conftest.$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 #include <sys/types.h>
18693 #ifdef HAVE_SYS_SOCKET_H
18694 # include <sys/socket.h>
18695 #endif
18696 #ifdef HAVE_SYS_UN_H
18697 # include <sys/un.h>
18698 #endif
18701 main ()
18703 static struct sockaddr_un ac_aggr;
18704 if (sizeof ac_aggr.sun_len)
18705 return 0;
18707 return 0;
18709 _ACEOF
18710 rm -f conftest.$ac_objext
18711 if { (ac_try="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18715 esac
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.$ac_objext; then
18727 ac_cv_member_struct_sockaddr_un_sun_len=yes
18728 else
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5
18732 ac_cv_member_struct_sockaddr_un_sun_len=no
18735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18740 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18741 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18742 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18746 _ACEOF
18752 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18753 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18754 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 else
18757 cat >conftest.$ac_ext <<_ACEOF
18758 /* confdefs.h. */
18759 _ACEOF
18760 cat confdefs.h >>conftest.$ac_ext
18761 cat >>conftest.$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18763 #include <sys/types.h>
18764 #ifdef HAVE_SCSI_SG_H
18765 #include <scsi/sg.h>
18766 #endif
18769 main ()
18771 static scsireq_t ac_aggr;
18772 if (ac_aggr.cmd)
18773 return 0;
18775 return 0;
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18786 ac_status=$?
18787 grep -v '^ *+' conftest.er1 >conftest.err
18788 rm -f conftest.er1
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 ac_cv_member_scsireq_t_cmd=yes
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18800 cat >conftest.$ac_ext <<_ACEOF
18801 /* confdefs.h. */
18802 _ACEOF
18803 cat confdefs.h >>conftest.$ac_ext
18804 cat >>conftest.$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 #include <sys/types.h>
18807 #ifdef HAVE_SCSI_SG_H
18808 #include <scsi/sg.h>
18809 #endif
18812 main ()
18814 static scsireq_t ac_aggr;
18815 if (sizeof ac_aggr.cmd)
18816 return 0;
18818 return 0;
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (ac_try="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18825 *) ac_try_echo=$ac_try;;
18826 esac
18827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18829 ac_status=$?
18830 grep -v '^ *+' conftest.er1 >conftest.err
18831 rm -f conftest.er1
18832 cat conftest.err >&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.$ac_objext; then
18838 ac_cv_member_scsireq_t_cmd=yes
18839 else
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.$ac_ext >&5
18843 ac_cv_member_scsireq_t_cmd=no
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18852 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18853 if test $ac_cv_member_scsireq_t_cmd = yes; then
18855 cat >>confdefs.h <<_ACEOF
18856 #define HAVE_SCSIREQ_T_CMD 1
18857 _ACEOF
18861 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18862 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18863 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18864 echo $ECHO_N "(cached) $ECHO_C" >&6
18865 else
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 sg_io_hdr_t ac_aggr;
18881 if (ac_aggr.interface_id)
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_sg_io_hdr_t_interface_id=yes
18905 else
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 cat >conftest.$ac_ext <<_ACEOF
18910 /* confdefs.h. */
18911 _ACEOF
18912 cat confdefs.h >>conftest.$ac_ext
18913 cat >>conftest.$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 #include <sys/types.h>
18916 #ifdef HAVE_SCSI_SG_H
18917 #include <scsi/sg.h>
18918 #endif
18921 main ()
18923 static sg_io_hdr_t ac_aggr;
18924 if (sizeof ac_aggr.interface_id)
18925 return 0;
18927 return 0;
18929 _ACEOF
18930 rm -f conftest.$ac_objext
18931 if { (ac_try="$ac_compile"
18932 case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18935 esac
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_compile") 2>conftest.er1
18938 ac_status=$?
18939 grep -v '^ *+' conftest.er1 >conftest.err
18940 rm -f conftest.er1
18941 cat conftest.err >&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } && {
18944 test -z "$ac_c_werror_flag" ||
18945 test ! -s conftest.err
18946 } && test -s conftest.$ac_objext; then
18947 ac_cv_member_sg_io_hdr_t_interface_id=yes
18948 else
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.$ac_ext >&5
18952 ac_cv_member_sg_io_hdr_t_interface_id=no
18955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18961 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18962 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18966 _ACEOF
18972 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18973 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18974 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 else
18977 cat >conftest.$ac_ext <<_ACEOF
18978 /* confdefs.h. */
18979 _ACEOF
18980 cat confdefs.h >>conftest.$ac_ext
18981 cat >>conftest.$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 #include <signal.h>
18986 main ()
18988 static siginfo_t ac_aggr;
18989 if (ac_aggr.si_fd)
18990 return 0;
18992 return 0;
18994 _ACEOF
18995 rm -f conftest.$ac_objext
18996 if { (ac_try="$ac_compile"
18997 case "(($ac_try" in
18998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19000 esac
19001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_compile") 2>conftest.er1
19003 ac_status=$?
19004 grep -v '^ *+' conftest.er1 >conftest.err
19005 rm -f conftest.er1
19006 cat conftest.err >&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); } && {
19009 test -z "$ac_c_werror_flag" ||
19010 test ! -s conftest.err
19011 } && test -s conftest.$ac_objext; then
19012 ac_cv_member_siginfo_t_si_fd=yes
19013 else
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19017 cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h. */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <signal.h>
19026 main ()
19028 static siginfo_t ac_aggr;
19029 if (sizeof ac_aggr.si_fd)
19030 return 0;
19032 return 0;
19034 _ACEOF
19035 rm -f conftest.$ac_objext
19036 if { (ac_try="$ac_compile"
19037 case "(($ac_try" in
19038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19039 *) ac_try_echo=$ac_try;;
19040 esac
19041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19042 (eval "$ac_compile") 2>conftest.er1
19043 ac_status=$?
19044 grep -v '^ *+' conftest.er1 >conftest.err
19045 rm -f conftest.er1
19046 cat conftest.err >&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } && {
19049 test -z "$ac_c_werror_flag" ||
19050 test ! -s conftest.err
19051 } && test -s conftest.$ac_objext; then
19052 ac_cv_member_siginfo_t_si_fd=yes
19053 else
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.$ac_ext >&5
19057 ac_cv_member_siginfo_t_si_fd=no
19060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19065 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19066 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19067 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_SIGINFO_T_SI_FD 1
19071 _ACEOF
19077 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19078 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19079 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 else
19082 cat >conftest.$ac_ext <<_ACEOF
19083 /* confdefs.h. */
19084 _ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <sys/types.h>
19089 #ifdef HAVE_SYS_MTIO_H
19090 #include <sys/mtio.h>
19091 #endif
19094 main ()
19096 static struct mtget ac_aggr;
19097 if (ac_aggr.mt_blksiz)
19098 return 0;
19100 return 0;
19102 _ACEOF
19103 rm -f conftest.$ac_objext
19104 if { (ac_try="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19108 esac
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19111 ac_status=$?
19112 grep -v '^ *+' conftest.er1 >conftest.err
19113 rm -f conftest.er1
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 ac_cv_member_struct_mtget_mt_blksiz=yes
19121 else
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19125 cat >conftest.$ac_ext <<_ACEOF
19126 /* confdefs.h. */
19127 _ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 #include <sys/types.h>
19132 #ifdef HAVE_SYS_MTIO_H
19133 #include <sys/mtio.h>
19134 #endif
19137 main ()
19139 static struct mtget ac_aggr;
19140 if (sizeof ac_aggr.mt_blksiz)
19141 return 0;
19143 return 0;
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (ac_try="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19151 esac
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19154 ac_status=$?
19155 grep -v '^ *+' conftest.er1 >conftest.err
19156 rm -f conftest.er1
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.$ac_objext; then
19163 ac_cv_member_struct_mtget_mt_blksiz=yes
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19168 ac_cv_member_struct_mtget_mt_blksiz=no
19171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19176 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19177 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19178 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19182 _ACEOF
19186 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19187 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19188 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
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 (ac_aggr.mt_gstat)
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_gstat=yes
19230 else
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.$ac_ext >&5
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 #include <sys/types.h>
19241 #ifdef HAVE_SYS_MTIO_H
19242 #include <sys/mtio.h>
19243 #endif
19246 main ()
19248 static struct mtget ac_aggr;
19249 if (sizeof ac_aggr.mt_gstat)
19250 return 0;
19252 return 0;
19254 _ACEOF
19255 rm -f conftest.$ac_objext
19256 if { (ac_try="$ac_compile"
19257 case "(($ac_try" in
19258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19259 *) ac_try_echo=$ac_try;;
19260 esac
19261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19262 (eval "$ac_compile") 2>conftest.er1
19263 ac_status=$?
19264 grep -v '^ *+' conftest.er1 >conftest.err
19265 rm -f conftest.er1
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && {
19269 test -z "$ac_c_werror_flag" ||
19270 test ! -s conftest.err
19271 } && test -s conftest.$ac_objext; then
19272 ac_cv_member_struct_mtget_mt_gstat=yes
19273 else
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19277 ac_cv_member_struct_mtget_mt_gstat=no
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19285 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19286 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19287 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19291 _ACEOF
19295 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19296 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19297 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 else
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 (ac_aggr.mt_blkno)
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_blkno=yes
19339 else
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.$ac_ext >&5
19343 cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h. */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <sys/types.h>
19350 #ifdef HAVE_SYS_MTIO_H
19351 #include <sys/mtio.h>
19352 #endif
19355 main ()
19357 static struct mtget ac_aggr;
19358 if (sizeof ac_aggr.mt_blkno)
19359 return 0;
19361 return 0;
19363 _ACEOF
19364 rm -f conftest.$ac_objext
19365 if { (ac_try="$ac_compile"
19366 case "(($ac_try" in
19367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19368 *) ac_try_echo=$ac_try;;
19369 esac
19370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19371 (eval "$ac_compile") 2>conftest.er1
19372 ac_status=$?
19373 grep -v '^ *+' conftest.er1 >conftest.err
19374 rm -f conftest.er1
19375 cat conftest.err >&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } && {
19378 test -z "$ac_c_werror_flag" ||
19379 test ! -s conftest.err
19380 } && test -s conftest.$ac_objext; then
19381 ac_cv_member_struct_mtget_mt_blkno=yes
19382 else
19383 echo "$as_me: failed program was:" >&5
19384 sed 's/^/| /' conftest.$ac_ext >&5
19386 ac_cv_member_struct_mtget_mt_blkno=no
19389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19394 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19395 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19396 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19398 cat >>confdefs.h <<_ACEOF
19399 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19400 _ACEOF
19406 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19407 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19408 if test "${ac_cv_member_struct_option_name+set}" = set; then
19409 echo $ECHO_N "(cached) $ECHO_C" >&6
19410 else
19411 cat >conftest.$ac_ext <<_ACEOF
19412 /* confdefs.h. */
19413 _ACEOF
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 #ifdef HAVE_GETOPT_H
19418 #include <getopt.h>
19419 #endif
19422 main ()
19424 static struct option ac_aggr;
19425 if (ac_aggr.name)
19426 return 0;
19428 return 0;
19430 _ACEOF
19431 rm -f conftest.$ac_objext
19432 if { (ac_try="$ac_compile"
19433 case "(($ac_try" in
19434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19435 *) ac_try_echo=$ac_try;;
19436 esac
19437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19438 (eval "$ac_compile") 2>conftest.er1
19439 ac_status=$?
19440 grep -v '^ *+' conftest.er1 >conftest.err
19441 rm -f conftest.er1
19442 cat conftest.err >&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } && {
19445 test -z "$ac_c_werror_flag" ||
19446 test ! -s conftest.err
19447 } && test -s conftest.$ac_objext; then
19448 ac_cv_member_struct_option_name=yes
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 cat >conftest.$ac_ext <<_ACEOF
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 #ifdef HAVE_GETOPT_H
19460 #include <getopt.h>
19461 #endif
19464 main ()
19466 static struct option ac_aggr;
19467 if (sizeof ac_aggr.name)
19468 return 0;
19470 return 0;
19472 _ACEOF
19473 rm -f conftest.$ac_objext
19474 if { (ac_try="$ac_compile"
19475 case "(($ac_try" in
19476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19477 *) ac_try_echo=$ac_try;;
19478 esac
19479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19480 (eval "$ac_compile") 2>conftest.er1
19481 ac_status=$?
19482 grep -v '^ *+' conftest.er1 >conftest.err
19483 rm -f conftest.er1
19484 cat conftest.err >&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); } && {
19487 test -z "$ac_c_werror_flag" ||
19488 test ! -s conftest.err
19489 } && test -s conftest.$ac_objext; then
19490 ac_cv_member_struct_option_name=yes
19491 else
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19495 ac_cv_member_struct_option_name=no
19498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19504 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19505 if test $ac_cv_member_struct_option_name = yes; then
19507 cat >>confdefs.h <<_ACEOF
19508 #define HAVE_STRUCT_OPTION_NAME 1
19509 _ACEOF
19515 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19516 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19517 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19518 echo $ECHO_N "(cached) $ECHO_C" >&6
19519 else
19520 cat >conftest.$ac_ext <<_ACEOF
19521 /* confdefs.h. */
19522 _ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526 $ac_includes_default
19528 main ()
19530 static struct stat ac_aggr;
19531 if (ac_aggr.st_blocks)
19532 return 0;
19534 return 0;
19536 _ACEOF
19537 rm -f conftest.$ac_objext
19538 if { (ac_try="$ac_compile"
19539 case "(($ac_try" in
19540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19542 esac
19543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_compile") 2>conftest.er1
19545 ac_status=$?
19546 grep -v '^ *+' conftest.er1 >conftest.err
19547 rm -f conftest.er1
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } && {
19551 test -z "$ac_c_werror_flag" ||
19552 test ! -s conftest.err
19553 } && test -s conftest.$ac_objext; then
19554 ac_cv_member_struct_stat_st_blocks=yes
19555 else
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19559 cat >conftest.$ac_ext <<_ACEOF
19560 /* confdefs.h. */
19561 _ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 $ac_includes_default
19567 main ()
19569 static struct stat ac_aggr;
19570 if (sizeof ac_aggr.st_blocks)
19571 return 0;
19573 return 0;
19575 _ACEOF
19576 rm -f conftest.$ac_objext
19577 if { (ac_try="$ac_compile"
19578 case "(($ac_try" in
19579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19580 *) ac_try_echo=$ac_try;;
19581 esac
19582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19583 (eval "$ac_compile") 2>conftest.er1
19584 ac_status=$?
19585 grep -v '^ *+' conftest.er1 >conftest.err
19586 rm -f conftest.er1
19587 cat conftest.err >&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } && {
19590 test -z "$ac_c_werror_flag" ||
19591 test ! -s conftest.err
19592 } && test -s conftest.$ac_objext; then
19593 ac_cv_member_struct_stat_st_blocks=yes
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19598 ac_cv_member_struct_stat_st_blocks=no
19601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19606 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19607 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19608 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19610 cat >>confdefs.h <<_ACEOF
19611 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19612 _ACEOF
19618 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19619 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19620 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 else
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #ifdef HAVE_SYS_TYPES_H
19630 #include <sys/types.h>
19631 #endif
19632 #ifdef HAVE_NETINET_IN_H
19633 #include <netinet/in.h>
19634 #endif
19637 main ()
19639 static struct sockaddr_in6 ac_aggr;
19640 if (ac_aggr.sin6_scope_id)
19641 return 0;
19643 return 0;
19645 _ACEOF
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19651 esac
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_c_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.$ac_objext; then
19663 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19664 else
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.$ac_ext >&5
19668 cat >conftest.$ac_ext <<_ACEOF
19669 /* confdefs.h. */
19670 _ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 #ifdef HAVE_SYS_TYPES_H
19675 #include <sys/types.h>
19676 #endif
19677 #ifdef HAVE_NETINET_IN_H
19678 #include <netinet/in.h>
19679 #endif
19682 main ()
19684 static struct sockaddr_in6 ac_aggr;
19685 if (sizeof ac_aggr.sin6_scope_id)
19686 return 0;
19688 return 0;
19690 _ACEOF
19691 rm -f conftest.$ac_objext
19692 if { (ac_try="$ac_compile"
19693 case "(($ac_try" in
19694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19695 *) ac_try_echo=$ac_try;;
19696 esac
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_compile") 2>conftest.er1
19699 ac_status=$?
19700 grep -v '^ *+' conftest.er1 >conftest.err
19701 rm -f conftest.er1
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } && {
19705 test -z "$ac_c_werror_flag" ||
19706 test ! -s conftest.err
19707 } && test -s conftest.$ac_objext; then
19708 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19709 else
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19713 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19722 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19723 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19725 cat >>confdefs.h <<_ACEOF
19726 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19727 _ACEOF
19733 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19734 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19735 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 else
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h. */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 #ifdef HAVE_SYS_TYPES_H
19745 #include <sys/types.h>
19746 #endif
19747 #ifdef HAVE_NETINET_IN_H
19748 # include <netinet/in.h>
19749 #endif
19750 #ifdef HAVE_ARPA_NAMESER_H
19751 # include <arpa/nameser.h>
19752 #endif
19755 main ()
19757 static ns_msg ac_aggr;
19758 if (ac_aggr._msg_ptr)
19759 return 0;
19761 return 0;
19763 _ACEOF
19764 rm -f conftest.$ac_objext
19765 if { (ac_try="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19768 *) ac_try_echo=$ac_try;;
19769 esac
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19772 ac_status=$?
19773 grep -v '^ *+' conftest.er1 >conftest.err
19774 rm -f conftest.er1
19775 cat conftest.err >&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } && {
19778 test -z "$ac_c_werror_flag" ||
19779 test ! -s conftest.err
19780 } && test -s conftest.$ac_objext; then
19781 ac_cv_member_ns_msg__msg_ptr=yes
19782 else
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19786 cat >conftest.$ac_ext <<_ACEOF
19787 /* confdefs.h. */
19788 _ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19792 #ifdef HAVE_SYS_TYPES_H
19793 #include <sys/types.h>
19794 #endif
19795 #ifdef HAVE_NETINET_IN_H
19796 # include <netinet/in.h>
19797 #endif
19798 #ifdef HAVE_ARPA_NAMESER_H
19799 # include <arpa/nameser.h>
19800 #endif
19803 main ()
19805 static ns_msg ac_aggr;
19806 if (sizeof ac_aggr._msg_ptr)
19807 return 0;
19809 return 0;
19811 _ACEOF
19812 rm -f conftest.$ac_objext
19813 if { (ac_try="$ac_compile"
19814 case "(($ac_try" in
19815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19817 esac
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_compile") 2>conftest.er1
19820 ac_status=$?
19821 grep -v '^ *+' conftest.er1 >conftest.err
19822 rm -f conftest.er1
19823 cat conftest.err >&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } && {
19826 test -z "$ac_c_werror_flag" ||
19827 test ! -s conftest.err
19828 } && test -s conftest.$ac_objext; then
19829 ac_cv_member_ns_msg__msg_ptr=yes
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19834 ac_cv_member_ns_msg__msg_ptr=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19842 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19843 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19844 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19846 cat >>confdefs.h <<_ACEOF
19847 #define HAVE_NS_MSG__MSG_PTR 1
19848 _ACEOF
19854 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19855 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19856 if test "${ac_cv_have_timezone+set}" = set; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19858 else
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 #include <time.h>
19867 main ()
19869 timezone = 1
19871 return 0;
19873 _ACEOF
19874 rm -f conftest.$ac_objext conftest$ac_exeext
19875 if { (ac_try="$ac_link"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19879 esac
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_link") 2>conftest.er1
19882 ac_status=$?
19883 grep -v '^ *+' conftest.er1 >conftest.err
19884 rm -f conftest.er1
19885 cat conftest.err >&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); } && {
19888 test -z "$ac_c_werror_flag" ||
19889 test ! -s conftest.err
19890 } && test -s conftest$ac_exeext &&
19891 $as_test_x conftest$ac_exeext; then
19892 ac_cv_have_timezone="yes"
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_have_timezone="no"
19900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19901 conftest$ac_exeext conftest.$ac_ext
19903 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19904 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19905 if test "$ac_cv_have_timezone" = "yes"
19906 then
19908 cat >>confdefs.h <<\_ACEOF
19909 #define HAVE_TIMEZONE 1
19910 _ACEOF
19913 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19914 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19915 if test "${ac_cv_have_daylight+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 else
19918 cat >conftest.$ac_ext <<_ACEOF
19919 /* confdefs.h. */
19920 _ACEOF
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 #include <time.h>
19926 main ()
19928 daylight = 1
19930 return 0;
19932 _ACEOF
19933 rm -f conftest.$ac_objext conftest$ac_exeext
19934 if { (ac_try="$ac_link"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19938 esac
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_link") 2>conftest.er1
19941 ac_status=$?
19942 grep -v '^ *+' conftest.er1 >conftest.err
19943 rm -f conftest.er1
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } && {
19947 test -z "$ac_c_werror_flag" ||
19948 test ! -s conftest.err
19949 } && test -s conftest$ac_exeext &&
19950 $as_test_x conftest$ac_exeext; then
19951 ac_cv_have_daylight="yes"
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19956 ac_cv_have_daylight="no"
19959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19960 conftest$ac_exeext conftest.$ac_ext
19962 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19963 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19964 if test "$ac_cv_have_daylight" = "yes"
19965 then
19967 cat >>confdefs.h <<\_ACEOF
19968 #define HAVE_DAYLIGHT 1
19969 _ACEOF
19974 case $host_cpu in
19975 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19976 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19977 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19979 else
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 #ifndef __i386__
19988 #endif
19989 _ACEOF
19990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19991 $EGREP "yes" >/dev/null 2>&1; then
19992 ac_cv_cpp_def___i386__=yes
19993 else
19994 ac_cv_cpp_def___i386__=no
19996 rm -f conftest*
19999 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20000 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20001 if test $ac_cv_cpp_def___i386__ = yes; then
20002 CFLAGS="$CFLAGS -D__i386__"
20003 LINTFLAGS="$LINTFLAGS -D__i386__"
20006 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20007 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20008 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 else
20011 cat >conftest.$ac_ext <<_ACEOF
20012 /* confdefs.h. */
20013 _ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 #ifndef __x86_64__
20019 #endif
20020 _ACEOF
20021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20022 $EGREP "yes" >/dev/null 2>&1; then
20023 ac_cv_cpp_def___x86_64__=yes
20024 else
20025 ac_cv_cpp_def___x86_64__=no
20027 rm -f conftest*
20030 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20031 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20032 if test $ac_cv_cpp_def___x86_64__ = yes; then
20033 CFLAGS="$CFLAGS -D__x86_64__"
20034 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20037 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20038 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20039 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20040 echo $ECHO_N "(cached) $ECHO_C" >&6
20041 else
20042 cat >conftest.$ac_ext <<_ACEOF
20043 /* confdefs.h. */
20044 _ACEOF
20045 cat confdefs.h >>conftest.$ac_ext
20046 cat >>conftest.$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 #ifndef __ALPHA__
20050 #endif
20051 _ACEOF
20052 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20053 $EGREP "yes" >/dev/null 2>&1; then
20054 ac_cv_cpp_def___ALPHA__=yes
20055 else
20056 ac_cv_cpp_def___ALPHA__=no
20058 rm -f conftest*
20061 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20062 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20063 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20064 CFLAGS="$CFLAGS -D__ALPHA__"
20065 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20068 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20069 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20070 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20072 else
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h. */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #ifndef __sparc__
20081 #endif
20082 _ACEOF
20083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20084 $EGREP "yes" >/dev/null 2>&1; then
20085 ac_cv_cpp_def___sparc__=yes
20086 else
20087 ac_cv_cpp_def___sparc__=no
20089 rm -f conftest*
20092 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20093 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20094 if test $ac_cv_cpp_def___sparc__ = yes; then
20095 CFLAGS="$CFLAGS -D__sparc__"
20096 LINTFLAGS="$LINTFLAGS -D__sparc__"
20099 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20100 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20101 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20103 else
20104 cat >conftest.$ac_ext <<_ACEOF
20105 /* confdefs.h. */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 #ifndef __powerpc__
20112 #endif
20113 _ACEOF
20114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20115 $EGREP "yes" >/dev/null 2>&1; then
20116 ac_cv_cpp_def___powerpc__=yes
20117 else
20118 ac_cv_cpp_def___powerpc__=no
20120 rm -f conftest*
20123 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20124 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20125 if test $ac_cv_cpp_def___powerpc__ = yes; then
20126 CFLAGS="$CFLAGS -D__powerpc__"
20127 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20130 esac
20132 case $host_vendor in
20133 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20134 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20135 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20137 else
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 #ifndef __sun__
20146 #endif
20147 _ACEOF
20148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20149 $EGREP "yes" >/dev/null 2>&1; then
20150 ac_cv_cpp_def___sun__=yes
20151 else
20152 ac_cv_cpp_def___sun__=no
20154 rm -f conftest*
20157 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20158 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20159 if test $ac_cv_cpp_def___sun__ = yes; then
20160 CFLAGS="$CFLAGS -D__sun__"
20161 LINTFLAGS="$LINTFLAGS -D__sun__"
20164 esac
20167 DEPENDENCIES="### Dependencies:
20169 .INIT: Makefile
20170 .BEGIN: Makefile
20171 Makefile: dummy
20172 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20174 \$(OBJS): \$(IDL_GEN_HEADERS)
20175 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20176 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20177 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20183 ac_config_commands="$ac_config_commands include/stamp-h"
20186 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20188 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20190 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20192 ac_config_commands="$ac_config_commands dlls/user32/resources"
20194 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20196 ac_config_commands="$ac_config_commands include/wine"
20199 MAKE_RULES=Make.rules
20202 MAKE_DLL_RULES=dlls/Makedll.rules
20205 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20208 MAKE_TEST_RULES=dlls/Maketest.rules
20211 MAKE_PROG_RULES=programs/Makeprog.rules
20214 ac_config_files="$ac_config_files Make.rules"
20216 ac_config_files="$ac_config_files dlls/Makedll.rules"
20218 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20220 ac_config_files="$ac_config_files dlls/Maketest.rules"
20222 ac_config_files="$ac_config_files programs/Makeprog.rules"
20224 ac_config_files="$ac_config_files Makefile"
20226 ac_config_files="$ac_config_files dlls/Makefile"
20228 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20230 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20232 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20234 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20236 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20238 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20240 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20242 ac_config_files="$ac_config_files dlls/atl/Makefile"
20244 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20246 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20248 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20250 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20252 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20254 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20256 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20258 ac_config_files="$ac_config_files dlls/cards/Makefile"
20260 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20262 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20264 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20266 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20268 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20270 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20272 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20274 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20276 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20278 ac_config_files="$ac_config_files dlls/credui/Makefile"
20280 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20282 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20284 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20286 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20288 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20290 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20292 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20294 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20296 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20298 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20300 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20302 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20304 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20306 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20308 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20310 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20312 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20314 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20316 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20318 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20320 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20322 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20324 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20326 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20328 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20330 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20332 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20334 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20336 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20338 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20340 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20342 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20344 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20346 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20348 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20350 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20352 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20354 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20356 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20358 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20360 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20362 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20364 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20366 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20368 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20370 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20372 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20374 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20376 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20378 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20380 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20382 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20384 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20386 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20388 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20390 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20392 ac_config_files="$ac_config_files dlls/hal/Makefile"
20394 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20396 ac_config_files="$ac_config_files dlls/hid/Makefile"
20398 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20400 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20402 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20404 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20406 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20408 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20410 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20412 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20414 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20416 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20418 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20420 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20422 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20424 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20426 ac_config_files="$ac_config_files dlls/itss/Makefile"
20428 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20430 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20432 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20434 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20436 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20438 ac_config_files="$ac_config_files dlls/localui/Makefile"
20440 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20442 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20444 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20446 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20448 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20450 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20452 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20454 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20456 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20458 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20460 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20462 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20464 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20466 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20468 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20470 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20472 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20474 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20476 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20478 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20480 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20482 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20484 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20486 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20488 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20490 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20492 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20494 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20496 ac_config_files="$ac_config_files dlls/msi/Makefile"
20498 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20500 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20502 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20504 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20506 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20508 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20510 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20512 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20514 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20516 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20518 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20520 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20522 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20524 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20526 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20528 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20530 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20532 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20534 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20536 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20538 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20540 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20542 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20544 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20546 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20548 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20552 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20554 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20556 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20558 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20560 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20562 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20564 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20566 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20568 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20570 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20572 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20574 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20576 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20578 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20580 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20582 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20584 ac_config_files="$ac_config_files dlls/printui/Makefile"
20586 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20588 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20590 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20592 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20594 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20596 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/query/Makefile"
20600 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20602 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20604 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20606 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20608 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20610 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20612 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20614 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20616 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20618 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20620 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20622 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20624 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20626 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20628 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20630 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20632 ac_config_files="$ac_config_files dlls/security/Makefile"
20634 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20636 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20638 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20640 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20642 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20646 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20648 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20650 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20652 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20654 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20656 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20658 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20660 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20662 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20664 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20666 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20670 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20672 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20674 ac_config_files="$ac_config_files dlls/sti/Makefile"
20676 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20678 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20680 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20682 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20684 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20686 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20688 ac_config_files="$ac_config_files dlls/url/Makefile"
20690 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20692 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/user32/Makefile"
20696 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20700 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20702 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20704 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20706 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20708 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20710 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20712 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20714 ac_config_files="$ac_config_files dlls/version/Makefile"
20716 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20718 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20720 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20722 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20724 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20726 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20728 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20730 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20732 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20734 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20736 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20738 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20740 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20742 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20744 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20746 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20748 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20750 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20752 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20754 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20756 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20758 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20760 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20762 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20764 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20766 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20768 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20770 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20772 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20774 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20776 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20778 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20780 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20782 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20784 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20786 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20788 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20790 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20792 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20794 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20796 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20798 ac_config_files="$ac_config_files documentation/Makefile"
20800 ac_config_files="$ac_config_files fonts/Makefile"
20802 ac_config_files="$ac_config_files include/Makefile"
20804 ac_config_files="$ac_config_files libs/Makefile"
20806 ac_config_files="$ac_config_files libs/port/Makefile"
20808 ac_config_files="$ac_config_files libs/wine/Makefile"
20810 ac_config_files="$ac_config_files libs/wpp/Makefile"
20812 ac_config_files="$ac_config_files loader/Makefile"
20814 ac_config_files="$ac_config_files programs/Makefile"
20816 ac_config_files="$ac_config_files programs/clock/Makefile"
20818 ac_config_files="$ac_config_files programs/cmd/Makefile"
20820 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20822 ac_config_files="$ac_config_files programs/control/Makefile"
20824 ac_config_files="$ac_config_files programs/eject/Makefile"
20826 ac_config_files="$ac_config_files programs/expand/Makefile"
20828 ac_config_files="$ac_config_files programs/explorer/Makefile"
20830 ac_config_files="$ac_config_files programs/hh/Makefile"
20832 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20834 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20836 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20838 ac_config_files="$ac_config_files programs/net/Makefile"
20840 ac_config_files="$ac_config_files programs/notepad/Makefile"
20842 ac_config_files="$ac_config_files programs/oleview/Makefile"
20844 ac_config_files="$ac_config_files programs/progman/Makefile"
20846 ac_config_files="$ac_config_files programs/regedit/Makefile"
20848 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20850 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20852 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20854 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20856 ac_config_files="$ac_config_files programs/start/Makefile"
20858 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20860 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20862 ac_config_files="$ac_config_files programs/view/Makefile"
20864 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20866 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20868 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20870 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20872 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20874 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20876 ac_config_files="$ac_config_files programs/winefile/Makefile"
20878 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20880 ac_config_files="$ac_config_files programs/winemine/Makefile"
20882 ac_config_files="$ac_config_files programs/winepath/Makefile"
20884 ac_config_files="$ac_config_files programs/winetest/Makefile"
20886 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20888 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20890 ac_config_files="$ac_config_files programs/winver/Makefile"
20892 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20894 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20896 ac_config_files="$ac_config_files server/Makefile"
20898 ac_config_files="$ac_config_files tools/Makefile"
20900 ac_config_files="$ac_config_files tools/widl/Makefile"
20902 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20904 ac_config_files="$ac_config_files tools/winedump/Makefile"
20906 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20908 ac_config_files="$ac_config_files tools/wmc/Makefile"
20910 ac_config_files="$ac_config_files tools/wrc/Makefile"
20913 cat >confcache <<\_ACEOF
20914 # This file is a shell script that caches the results of configure
20915 # tests run on this system so they can be shared between configure
20916 # scripts and configure runs, see configure's option --config-cache.
20917 # It is not useful on other systems. If it contains results you don't
20918 # want to keep, you may remove or edit it.
20920 # config.status only pays attention to the cache file if you give it
20921 # the --recheck option to rerun configure.
20923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20925 # following values.
20927 _ACEOF
20929 # The following way of writing the cache mishandles newlines in values,
20930 # but we know of no workaround that is simple, portable, and efficient.
20931 # So, we kill variables containing newlines.
20932 # Ultrix sh set writes to stderr and can't be redirected directly,
20933 # and sets the high bit in the cache file unless we assign to the vars.
20935 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20936 eval ac_val=\$$ac_var
20937 case $ac_val in #(
20938 *${as_nl}*)
20939 case $ac_var in #(
20940 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20941 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20942 esac
20943 case $ac_var in #(
20944 _ | IFS | as_nl) ;; #(
20945 *) $as_unset $ac_var ;;
20946 esac ;;
20947 esac
20948 done
20950 (set) 2>&1 |
20951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20952 *${as_nl}ac_space=\ *)
20953 # `set' does not quote correctly, so add quotes (double-quote
20954 # substitution turns \\\\ into \\, and sed turns \\ into \).
20955 sed -n \
20956 "s/'/'\\\\''/g;
20957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20958 ;; #(
20960 # `set' quotes correctly as required by POSIX, so do not add quotes.
20961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20963 esac |
20964 sort
20966 sed '
20967 /^ac_cv_env_/b end
20968 t clear
20969 :clear
20970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20971 t end
20972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20973 :end' >>confcache
20974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20975 if test -w "$cache_file"; then
20976 test "x$cache_file" != "x/dev/null" &&
20977 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20978 echo "$as_me: updating cache $cache_file" >&6;}
20979 cat confcache >$cache_file
20980 else
20981 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20982 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20985 rm -f confcache
20987 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20988 # Let make expand exec_prefix.
20989 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20991 DEFS=-DHAVE_CONFIG_H
20993 ac_libobjs=
20994 ac_ltlibobjs=
20995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20996 # 1. Remove the extension, and $U if already installed.
20997 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20998 ac_i=`echo "$ac_i" | sed "$ac_script"`
20999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21000 # will be set to the directory where LIBOBJS objects are built.
21001 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21002 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21003 done
21004 LIBOBJS=$ac_libobjs
21006 LTLIBOBJS=$ac_ltlibobjs
21010 : ${CONFIG_STATUS=./config.status}
21011 ac_clean_files_save=$ac_clean_files
21012 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21013 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21014 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21015 cat >$CONFIG_STATUS <<_ACEOF
21016 #! $SHELL
21017 # Generated by $as_me.
21018 # Run this file to recreate the current configuration.
21019 # Compiler output produced by configure, useful for debugging
21020 # configure, is in config.log if it exists.
21022 debug=false
21023 ac_cs_recheck=false
21024 ac_cs_silent=false
21025 SHELL=\${CONFIG_SHELL-$SHELL}
21026 _ACEOF
21028 cat >>$CONFIG_STATUS <<\_ACEOF
21029 ## --------------------- ##
21030 ## M4sh Initialization. ##
21031 ## --------------------- ##
21033 # Be more Bourne compatible
21034 DUALCASE=1; export DUALCASE # for MKS sh
21035 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21036 emulate sh
21037 NULLCMD=:
21038 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21039 # is contrary to our usage. Disable this feature.
21040 alias -g '${1+"$@"}'='"$@"'
21041 setopt NO_GLOB_SUBST
21042 else
21043 case `(set -o) 2>/dev/null` in
21044 *posix*) set -o posix ;;
21045 esac
21052 # PATH needs CR
21053 # Avoid depending upon Character Ranges.
21054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21057 as_cr_digits='0123456789'
21058 as_cr_alnum=$as_cr_Letters$as_cr_digits
21060 # The user is always right.
21061 if test "${PATH_SEPARATOR+set}" != set; then
21062 echo "#! /bin/sh" >conf$$.sh
21063 echo "exit 0" >>conf$$.sh
21064 chmod +x conf$$.sh
21065 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21066 PATH_SEPARATOR=';'
21067 else
21068 PATH_SEPARATOR=:
21070 rm -f conf$$.sh
21073 # Support unset when possible.
21074 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21075 as_unset=unset
21076 else
21077 as_unset=false
21081 # IFS
21082 # We need space, tab and new line, in precisely that order. Quoting is
21083 # there to prevent editors from complaining about space-tab.
21084 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21085 # splitting by setting IFS to empty value.)
21086 as_nl='
21088 IFS=" "" $as_nl"
21090 # Find who we are. Look in the path if we contain no directory separator.
21091 case $0 in
21092 *[\\/]* ) as_myself=$0 ;;
21093 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21094 for as_dir in $PATH
21096 IFS=$as_save_IFS
21097 test -z "$as_dir" && as_dir=.
21098 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21099 done
21100 IFS=$as_save_IFS
21103 esac
21104 # We did not find ourselves, most probably we were run as `sh COMMAND'
21105 # in which case we are not to be found in the path.
21106 if test "x$as_myself" = x; then
21107 as_myself=$0
21109 if test ! -f "$as_myself"; then
21110 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21111 { (exit 1); exit 1; }
21114 # Work around bugs in pre-3.0 UWIN ksh.
21115 for as_var in ENV MAIL MAILPATH
21116 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21117 done
21118 PS1='$ '
21119 PS2='> '
21120 PS4='+ '
21122 # NLS nuisances.
21123 for as_var in \
21124 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21125 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21126 LC_TELEPHONE LC_TIME
21128 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21129 eval $as_var=C; export $as_var
21130 else
21131 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21133 done
21135 # Required to use basename.
21136 if expr a : '\(a\)' >/dev/null 2>&1 &&
21137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21138 as_expr=expr
21139 else
21140 as_expr=false
21143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21144 as_basename=basename
21145 else
21146 as_basename=false
21150 # Name of the executable.
21151 as_me=`$as_basename -- "$0" ||
21152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21153 X"$0" : 'X\(//\)$' \| \
21154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21155 echo X/"$0" |
21156 sed '/^.*\/\([^/][^/]*\)\/*$/{
21157 s//\1/
21160 /^X\/\(\/\/\)$/{
21161 s//\1/
21164 /^X\/\(\/\).*/{
21165 s//\1/
21168 s/.*/./; q'`
21170 # CDPATH.
21171 $as_unset CDPATH
21175 as_lineno_1=$LINENO
21176 as_lineno_2=$LINENO
21177 test "x$as_lineno_1" != "x$as_lineno_2" &&
21178 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21180 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21181 # uniformly replaced by the line number. The first 'sed' inserts a
21182 # line-number line after each line using $LINENO; the second 'sed'
21183 # does the real work. The second script uses 'N' to pair each
21184 # line-number line with the line containing $LINENO, and appends
21185 # trailing '-' during substitution so that $LINENO is not a special
21186 # case at line end.
21187 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21188 # scripts with optimization help from Paolo Bonzini. Blame Lee
21189 # E. McMahon (1931-1989) for sed's syntax. :-)
21190 sed -n '
21192 /[$]LINENO/=
21193 ' <$as_myself |
21194 sed '
21195 s/[$]LINENO.*/&-/
21196 t lineno
21198 :lineno
21200 :loop
21201 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21202 t loop
21203 s/-\n.*//
21204 ' >$as_me.lineno &&
21205 chmod +x "$as_me.lineno" ||
21206 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21207 { (exit 1); exit 1; }; }
21209 # Don't try to exec as it changes $[0], causing all sort of problems
21210 # (the dirname of $[0] is not the place where we might find the
21211 # original and so on. Autoconf is especially sensitive to this).
21212 . "./$as_me.lineno"
21213 # Exit status is that of the last command.
21214 exit
21218 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21219 as_dirname=dirname
21220 else
21221 as_dirname=false
21224 ECHO_C= ECHO_N= ECHO_T=
21225 case `echo -n x` in
21226 -n*)
21227 case `echo 'x\c'` in
21228 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21229 *) ECHO_C='\c';;
21230 esac;;
21232 ECHO_N='-n';;
21233 esac
21235 if expr a : '\(a\)' >/dev/null 2>&1 &&
21236 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21237 as_expr=expr
21238 else
21239 as_expr=false
21242 rm -f conf$$ conf$$.exe conf$$.file
21243 if test -d conf$$.dir; then
21244 rm -f conf$$.dir/conf$$.file
21245 else
21246 rm -f conf$$.dir
21247 mkdir conf$$.dir
21249 echo >conf$$.file
21250 if ln -s conf$$.file conf$$ 2>/dev/null; then
21251 as_ln_s='ln -s'
21252 # ... but there are two gotchas:
21253 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21254 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21255 # In both cases, we have to default to `cp -p'.
21256 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21257 as_ln_s='cp -p'
21258 elif ln conf$$.file conf$$ 2>/dev/null; then
21259 as_ln_s=ln
21260 else
21261 as_ln_s='cp -p'
21263 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21264 rmdir conf$$.dir 2>/dev/null
21266 if mkdir -p . 2>/dev/null; then
21267 as_mkdir_p=:
21268 else
21269 test -d ./-p && rmdir ./-p
21270 as_mkdir_p=false
21273 if test -x / >/dev/null 2>&1; then
21274 as_test_x='test -x'
21275 else
21276 if ls -dL / >/dev/null 2>&1; then
21277 as_ls_L_option=L
21278 else
21279 as_ls_L_option=
21281 as_test_x='
21282 eval sh -c '\''
21283 if test -d "$1"; then
21284 test -d "$1/.";
21285 else
21286 case $1 in
21287 -*)set "./$1";;
21288 esac;
21289 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21290 ???[sx]*):;;*)false;;esac;fi
21291 '\'' sh
21294 as_executable_p=$as_test_x
21296 # Sed expression to map a string onto a valid CPP name.
21297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21299 # Sed expression to map a string onto a valid variable name.
21300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21303 exec 6>&1
21305 # Save the log message, to keep $[0] and so on meaningful, and to
21306 # report actual input values of CONFIG_FILES etc. instead of their
21307 # values after options handling.
21308 ac_log="
21309 This file was extended by Wine $as_me 0.9.41, which was
21310 generated by GNU Autoconf 2.61. Invocation command line was
21312 CONFIG_FILES = $CONFIG_FILES
21313 CONFIG_HEADERS = $CONFIG_HEADERS
21314 CONFIG_LINKS = $CONFIG_LINKS
21315 CONFIG_COMMANDS = $CONFIG_COMMANDS
21316 $ $0 $@
21318 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21321 _ACEOF
21323 cat >>$CONFIG_STATUS <<_ACEOF
21324 # Files that config.status was made for.
21325 config_files="$ac_config_files"
21326 config_headers="$ac_config_headers"
21327 config_commands="$ac_config_commands"
21329 _ACEOF
21331 cat >>$CONFIG_STATUS <<\_ACEOF
21332 ac_cs_usage="\
21333 \`$as_me' instantiates files from templates according to the
21334 current configuration.
21336 Usage: $0 [OPTIONS] [FILE]...
21338 -h, --help print this help, then exit
21339 -V, --version print version number and configuration settings, then exit
21340 -q, --quiet do not print progress messages
21341 -d, --debug don't remove temporary files
21342 --recheck update $as_me by reconfiguring in the same conditions
21343 --file=FILE[:TEMPLATE]
21344 instantiate the configuration file FILE
21345 --header=FILE[:TEMPLATE]
21346 instantiate the configuration header FILE
21348 Configuration files:
21349 $config_files
21351 Configuration headers:
21352 $config_headers
21354 Configuration commands:
21355 $config_commands
21357 Report bugs to <bug-autoconf@gnu.org>."
21359 _ACEOF
21360 cat >>$CONFIG_STATUS <<_ACEOF
21361 ac_cs_version="\\
21362 Wine config.status 0.9.41
21363 configured by $0, generated by GNU Autoconf 2.61,
21364 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21366 Copyright (C) 2006 Free Software Foundation, Inc.
21367 This config.status script is free software; the Free Software Foundation
21368 gives unlimited permission to copy, distribute and modify it."
21370 ac_pwd='$ac_pwd'
21371 srcdir='$srcdir'
21372 INSTALL='$INSTALL'
21373 _ACEOF
21375 cat >>$CONFIG_STATUS <<\_ACEOF
21376 # If no file are specified by the user, then we need to provide default
21377 # value. By we need to know if files were specified by the user.
21378 ac_need_defaults=:
21379 while test $# != 0
21381 case $1 in
21382 --*=*)
21383 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21384 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21385 ac_shift=:
21388 ac_option=$1
21389 ac_optarg=$2
21390 ac_shift=shift
21392 esac
21394 case $ac_option in
21395 # Handling of the options.
21396 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21397 ac_cs_recheck=: ;;
21398 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21399 echo "$ac_cs_version"; exit ;;
21400 --debug | --debu | --deb | --de | --d | -d )
21401 debug=: ;;
21402 --file | --fil | --fi | --f )
21403 $ac_shift
21404 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21405 ac_need_defaults=false;;
21406 --header | --heade | --head | --hea )
21407 $ac_shift
21408 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21409 ac_need_defaults=false;;
21410 --he | --h)
21411 # Conflict between --help and --header
21412 { echo "$as_me: error: ambiguous option: $1
21413 Try \`$0 --help' for more information." >&2
21414 { (exit 1); exit 1; }; };;
21415 --help | --hel | -h )
21416 echo "$ac_cs_usage"; exit ;;
21417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21418 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21419 ac_cs_silent=: ;;
21421 # This is an error.
21422 -*) { echo "$as_me: error: unrecognized option: $1
21423 Try \`$0 --help' for more information." >&2
21424 { (exit 1); exit 1; }; } ;;
21426 *) ac_config_targets="$ac_config_targets $1"
21427 ac_need_defaults=false ;;
21429 esac
21430 shift
21431 done
21433 ac_configure_extra_args=
21435 if $ac_cs_silent; then
21436 exec 6>/dev/null
21437 ac_configure_extra_args="$ac_configure_extra_args --silent"
21440 _ACEOF
21441 cat >>$CONFIG_STATUS <<_ACEOF
21442 if \$ac_cs_recheck; then
21443 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21444 CONFIG_SHELL=$SHELL
21445 export CONFIG_SHELL
21446 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21449 _ACEOF
21450 cat >>$CONFIG_STATUS <<\_ACEOF
21451 exec 5>>config.log
21453 echo
21454 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21455 ## Running $as_me. ##
21456 _ASBOX
21457 echo "$ac_log"
21458 } >&5
21460 _ACEOF
21461 cat >>$CONFIG_STATUS <<_ACEOF
21462 _ACEOF
21464 cat >>$CONFIG_STATUS <<\_ACEOF
21466 # Handling of arguments.
21467 for ac_config_target in $ac_config_targets
21469 case $ac_config_target in
21470 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21471 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21472 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21473 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21474 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21475 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21476 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21477 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21478 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21479 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21480 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21481 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21482 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21483 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21484 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21485 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21486 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21487 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21488 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21489 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21490 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21491 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21492 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21493 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21494 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21495 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21496 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21497 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21498 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21499 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21500 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21501 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21502 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21503 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21504 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21505 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21506 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21507 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21508 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21509 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21510 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21511 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21512 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21513 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21514 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21515 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21516 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21517 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21518 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21519 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21520 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21521 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21522 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21523 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21524 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21525 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21526 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21527 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21528 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21529 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21530 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21531 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21532 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21533 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21534 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21535 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21536 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21537 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21538 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21539 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21540 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21541 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21542 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21543 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21544 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21545 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21546 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21547 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21548 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21549 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21550 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21551 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21552 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21553 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21554 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21555 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21556 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21557 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21558 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21559 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21560 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21561 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21562 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21563 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21564 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21565 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21566 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21567 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21568 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21569 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21570 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21571 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21572 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21573 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21574 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21575 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21576 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21577 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21578 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21579 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21580 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21581 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21582 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21583 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21584 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21585 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21586 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21587 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21588 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21589 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21590 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21591 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21592 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21593 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21594 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21595 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21596 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21597 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21598 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21599 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21600 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21601 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21602 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21603 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21604 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21605 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21606 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21607 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21608 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21609 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21610 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21611 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21612 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21613 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21614 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21615 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21616 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21617 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21618 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21619 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21620 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21621 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21622 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21623 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21624 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21625 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21626 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21627 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21628 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21629 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21630 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21631 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21632 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21633 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21634 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21635 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21636 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21637 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21638 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21639 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21640 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21641 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21642 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21643 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21644 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21645 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21646 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21647 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21648 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21649 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21650 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21651 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21652 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21653 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21654 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21655 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21656 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21657 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21658 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21659 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21660 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21661 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21662 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21663 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21664 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21665 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21666 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21667 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21668 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21669 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21670 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21671 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21672 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21673 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21674 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21675 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21676 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21677 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21678 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21679 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21680 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21681 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21682 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21683 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21684 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21685 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21686 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21687 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21688 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21689 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21690 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21691 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21692 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21693 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21694 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21695 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21696 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21697 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21698 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21699 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21700 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21701 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21702 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21703 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21704 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21705 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21706 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21707 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21708 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21709 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21710 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21711 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21712 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21713 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21714 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21715 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21716 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21717 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21718 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21719 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21720 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21721 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21722 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21723 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21724 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21725 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21726 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21727 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21728 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21729 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21730 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21731 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21732 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21733 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21734 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21735 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21736 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21737 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21738 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21739 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21740 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21741 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21742 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21743 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21744 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21745 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21746 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21747 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21748 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21749 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21750 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21751 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21752 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21753 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21754 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21755 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21756 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21757 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21758 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21759 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21760 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21761 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21762 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21763 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21764 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21765 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21766 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21767 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21768 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21769 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21770 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21771 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21772 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21773 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21774 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21775 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21776 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21777 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21778 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21779 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21780 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21781 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21782 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21783 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21784 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21785 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21786 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21787 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21788 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21789 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21790 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21791 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21792 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21793 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21794 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21795 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21796 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21797 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21798 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21799 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21800 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21801 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21802 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21803 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21804 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21805 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21806 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21807 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21808 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21809 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21810 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21811 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21812 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21813 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21814 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21815 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21816 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21817 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21818 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21819 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21820 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21821 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21822 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21823 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21824 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21825 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21826 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21828 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21829 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21830 { (exit 1); exit 1; }; };;
21831 esac
21832 done
21835 # If the user did not use the arguments to specify the items to instantiate,
21836 # then the envvar interface is used. Set only those that are not.
21837 # We use the long form for the default assignment because of an extremely
21838 # bizarre bug on SunOS 4.1.3.
21839 if $ac_need_defaults; then
21840 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21841 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21842 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21845 # Have a temporary directory for convenience. Make it in the build tree
21846 # simply because there is no reason against having it here, and in addition,
21847 # creating and moving files from /tmp can sometimes cause problems.
21848 # Hook for its removal unless debugging.
21849 # Note that there is a small window in which the directory will not be cleaned:
21850 # after its creation but before its name has been assigned to `$tmp'.
21851 $debug ||
21853 tmp=
21854 trap 'exit_status=$?
21855 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21857 trap '{ (exit 1); exit 1; }' 1 2 13 15
21859 # Create a (secure) tmp directory for tmp files.
21862 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21863 test -n "$tmp" && test -d "$tmp"
21864 } ||
21866 tmp=./conf$$-$RANDOM
21867 (umask 077 && mkdir "$tmp")
21868 } ||
21870 echo "$me: cannot create a temporary directory in ." >&2
21871 { (exit 1); exit 1; }
21875 # Set up the sed scripts for CONFIG_FILES section.
21878 # No need to generate the scripts if there are no CONFIG_FILES.
21879 # This happens for instance when ./config.status config.h
21880 if test -n "$CONFIG_FILES"; then
21882 _ACEOF
21884 # Create sed commands to just substitute file output variables.
21886 # Remaining file output variables are in a fragment that also has non-file
21887 # output varibles.
21891 ac_delim='%!_!# '
21892 for ac_last_try in false false false false false :; do
21893 cat >conf$$subs.sed <<_ACEOF
21894 SHELL!$SHELL$ac_delim
21895 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21896 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21897 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21898 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21899 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21900 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21901 exec_prefix!$exec_prefix$ac_delim
21902 prefix!$prefix$ac_delim
21903 program_transform_name!$program_transform_name$ac_delim
21904 bindir!$bindir$ac_delim
21905 sbindir!$sbindir$ac_delim
21906 libexecdir!$libexecdir$ac_delim
21907 datarootdir!$datarootdir$ac_delim
21908 datadir!$datadir$ac_delim
21909 sysconfdir!$sysconfdir$ac_delim
21910 sharedstatedir!$sharedstatedir$ac_delim
21911 localstatedir!$localstatedir$ac_delim
21912 includedir!$includedir$ac_delim
21913 oldincludedir!$oldincludedir$ac_delim
21914 docdir!$docdir$ac_delim
21915 infodir!$infodir$ac_delim
21916 htmldir!$htmldir$ac_delim
21917 dvidir!$dvidir$ac_delim
21918 pdfdir!$pdfdir$ac_delim
21919 psdir!$psdir$ac_delim
21920 libdir!$libdir$ac_delim
21921 localedir!$localedir$ac_delim
21922 mandir!$mandir$ac_delim
21923 DEFS!$DEFS$ac_delim
21924 ECHO_C!$ECHO_C$ac_delim
21925 ECHO_N!$ECHO_N$ac_delim
21926 ECHO_T!$ECHO_T$ac_delim
21927 LIBS!$LIBS$ac_delim
21928 build_alias!$build_alias$ac_delim
21929 host_alias!$host_alias$ac_delim
21930 target_alias!$target_alias$ac_delim
21931 build!$build$ac_delim
21932 build_cpu!$build_cpu$ac_delim
21933 build_vendor!$build_vendor$ac_delim
21934 build_os!$build_os$ac_delim
21935 host!$host$ac_delim
21936 host_cpu!$host_cpu$ac_delim
21937 host_vendor!$host_vendor$ac_delim
21938 host_os!$host_os$ac_delim
21939 WIN16_FILES!$WIN16_FILES$ac_delim
21940 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21941 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
21942 WINETEST!$WINETEST$ac_delim
21943 SET_MAKE!$SET_MAKE$ac_delim
21944 CC!$CC$ac_delim
21945 CFLAGS!$CFLAGS$ac_delim
21946 LDFLAGS!$LDFLAGS$ac_delim
21947 CPPFLAGS!$CPPFLAGS$ac_delim
21948 ac_ct_CC!$ac_ct_CC$ac_delim
21949 EXEEXT!$EXEEXT$ac_delim
21950 OBJEXT!$OBJEXT$ac_delim
21951 CXX!$CXX$ac_delim
21952 CXXFLAGS!$CXXFLAGS$ac_delim
21953 ac_ct_CXX!$ac_ct_CXX$ac_delim
21954 CPPBIN!$CPPBIN$ac_delim
21955 TOOLSDIR!$TOOLSDIR$ac_delim
21956 XMKMF!$XMKMF$ac_delim
21957 CPP!$CPP$ac_delim
21958 X_CFLAGS!$X_CFLAGS$ac_delim
21959 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21960 X_LIBS!$X_LIBS$ac_delim
21961 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21962 FLEX!$FLEX$ac_delim
21963 BISON!$BISON$ac_delim
21964 AS!$AS$ac_delim
21965 ac_ct_AS!$ac_ct_AS$ac_delim
21966 LD!$LD$ac_delim
21967 AR!$AR$ac_delim
21968 RANLIB!$RANLIB$ac_delim
21969 STRIP!$STRIP$ac_delim
21970 WINDRES!$WINDRES$ac_delim
21971 LN_S!$LN_S$ac_delim
21972 LN!$LN$ac_delim
21973 GREP!$GREP$ac_delim
21974 EGREP!$EGREP$ac_delim
21975 LDCONFIG!$LDCONFIG$ac_delim
21976 _ACEOF
21978 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21979 break
21980 elif $ac_last_try; then
21981 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21982 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21983 { (exit 1); exit 1; }; }
21984 else
21985 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21987 done
21989 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21990 if test -n "$ac_eof"; then
21991 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21992 ac_eof=`expr $ac_eof + 1`
21995 cat >>$CONFIG_STATUS <<_ACEOF
21996 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21998 /^[ ]*@MAKE_RULES@[ ]*$/{
21999 r $MAKE_RULES
22002 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22003 r $MAKE_DLL_RULES
22006 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22007 r $MAKE_IMPLIB_RULES
22010 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22011 r $MAKE_TEST_RULES
22014 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22015 r $MAKE_PROG_RULES
22018 _ACEOF
22019 sed '
22020 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22021 s/^/s,@/; s/!/@,|#_!!_#|/
22024 s/'"$ac_delim"'$/,g/; t
22025 s/$/\\/; p
22026 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22027 ' >>$CONFIG_STATUS <conf$$subs.sed
22028 rm -f conf$$subs.sed
22029 cat >>$CONFIG_STATUS <<_ACEOF
22030 CEOF$ac_eof
22031 _ACEOF
22034 ac_delim='%!_!# '
22035 for ac_last_try in false false false false false :; do
22036 cat >conf$$subs.sed <<_ACEOF
22037 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22038 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22039 INSTALL_DATA!$INSTALL_DATA$ac_delim
22040 LINT!$LINT$ac_delim
22041 LINTFLAGS!$LINTFLAGS$ac_delim
22042 FONTFORGE!$FONTFORGE$ac_delim
22043 PKG_CONFIG!$PKG_CONFIG$ac_delim
22044 PRELINK!$PRELINK$ac_delim
22045 LIBPTHREAD!$LIBPTHREAD$ac_delim
22046 XLIB!$XLIB$ac_delim
22047 XFILES!$XFILES$ac_delim
22048 OPENGLFILES!$OPENGLFILES$ac_delim
22049 GLU32FILES!$GLU32FILES$ac_delim
22050 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22051 QUARTZFILES!$QUARTZFILES$ac_delim
22052 DLLEXT!$DLLEXT$ac_delim
22053 DLLFLAGS!$DLLFLAGS$ac_delim
22054 LDSHARED!$LDSHARED$ac_delim
22055 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22056 LIBEXT!$LIBEXT$ac_delim
22057 IMPLIBEXT!$IMPLIBEXT$ac_delim
22058 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22059 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22060 LDD!$LDD$ac_delim
22061 DLLTOOL!$DLLTOOL$ac_delim
22062 DLLWRAP!$DLLWRAP$ac_delim
22063 MINGWAR!$MINGWAR$ac_delim
22064 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22065 IOKITLIB!$IOKITLIB$ac_delim
22066 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22067 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22068 COREAUDIO!$COREAUDIO$ac_delim
22069 CARBONLIB!$CARBONLIB$ac_delim
22070 CROSSTEST!$CROSSTEST$ac_delim
22071 CROSSCC!$CROSSCC$ac_delim
22072 CROSSWINDRES!$CROSSWINDRES$ac_delim
22073 NASLIBS!$NASLIBS$ac_delim
22074 XML2LIBS!$XML2LIBS$ac_delim
22075 XML2INCL!$XML2INCL$ac_delim
22076 XSLTLIBS!$XSLTLIBS$ac_delim
22077 XSLTINCL!$XSLTINCL$ac_delim
22078 HALINCL!$HALINCL$ac_delim
22079 sane_devel!$sane_devel$ac_delim
22080 SANEINCL!$SANEINCL$ac_delim
22081 gphoto2_devel!$gphoto2_devel$ac_delim
22082 gphoto2port_devel!$gphoto2port_devel$ac_delim
22083 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22084 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22085 ICULIBS!$ICULIBS$ac_delim
22086 RESOLVLIBS!$RESOLVLIBS$ac_delim
22087 LCMSLIBS!$LCMSLIBS$ac_delim
22088 LDAPLIBS!$LDAPLIBS$ac_delim
22089 ft_devel!$ft_devel$ac_delim
22090 FREETYPELIBS!$FREETYPELIBS$ac_delim
22091 FREETYPEINCL!$FREETYPEINCL$ac_delim
22092 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22093 ESDCONFIG!$ESDCONFIG$ac_delim
22094 ESDLIBS!$ESDLIBS$ac_delim
22095 ESDINCL!$ESDINCL$ac_delim
22096 ALSALIBS!$ALSALIBS$ac_delim
22097 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22098 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22099 BUILTINFLAG!$BUILTINFLAG$ac_delim
22100 LDPATH!$LDPATH$ac_delim
22101 CRTLIBS!$CRTLIBS$ac_delim
22102 SOCKETLIBS!$SOCKETLIBS$ac_delim
22103 MAIN_BINARY!$MAIN_BINARY$ac_delim
22104 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22105 LIBDL!$LIBDL$ac_delim
22106 LIBPOLL!$LIBPOLL$ac_delim
22107 DEPENDENCIES!$DEPENDENCIES$ac_delim
22108 LIBOBJS!$LIBOBJS$ac_delim
22109 LTLIBOBJS!$LTLIBOBJS$ac_delim
22110 _ACEOF
22112 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22113 break
22114 elif $ac_last_try; then
22115 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22116 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22117 { (exit 1); exit 1; }; }
22118 else
22119 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22121 done
22123 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22124 if test -n "$ac_eof"; then
22125 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22126 ac_eof=`expr $ac_eof + 1`
22129 cat >>$CONFIG_STATUS <<_ACEOF
22130 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22131 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22132 _ACEOF
22133 sed '
22134 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22135 s/^/s,@/; s/!/@,|#_!!_#|/
22138 s/'"$ac_delim"'$/,g/; t
22139 s/$/\\/; p
22140 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22141 ' >>$CONFIG_STATUS <conf$$subs.sed
22142 rm -f conf$$subs.sed
22143 cat >>$CONFIG_STATUS <<_ACEOF
22144 :end
22145 s/|#_!!_#|//g
22146 CEOF$ac_eof
22147 _ACEOF
22150 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22151 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22152 # trailing colons and then remove the whole line if VPATH becomes empty
22153 # (actually we leave an empty line to preserve line numbers).
22154 if test "x$srcdir" = x.; then
22155 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22156 s/:*\$(srcdir):*/:/
22157 s/:*\${srcdir}:*/:/
22158 s/:*@srcdir@:*/:/
22159 s/^\([^=]*=[ ]*\):*/\1/
22160 s/:*$//
22161 s/^[^=]*=[ ]*$//
22165 cat >>$CONFIG_STATUS <<\_ACEOF
22166 fi # test -n "$CONFIG_FILES"
22169 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22171 case $ac_tag in
22172 :[FHLC]) ac_mode=$ac_tag; continue;;
22173 esac
22174 case $ac_mode$ac_tag in
22175 :[FHL]*:*);;
22176 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22177 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22178 { (exit 1); exit 1; }; };;
22179 :[FH]-) ac_tag=-:-;;
22180 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22181 esac
22182 ac_save_IFS=$IFS
22183 IFS=:
22184 set x $ac_tag
22185 IFS=$ac_save_IFS
22186 shift
22187 ac_file=$1
22188 shift
22190 case $ac_mode in
22191 :L) ac_source=$1;;
22192 :[FH])
22193 ac_file_inputs=
22194 for ac_f
22196 case $ac_f in
22197 -) ac_f="$tmp/stdin";;
22198 *) # Look for the file first in the build tree, then in the source tree
22199 # (if the path is not absolute). The absolute path cannot be DOS-style,
22200 # because $ac_f cannot contain `:'.
22201 test -f "$ac_f" ||
22202 case $ac_f in
22203 [\\/$]*) false;;
22204 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22205 esac ||
22206 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22207 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22208 { (exit 1); exit 1; }; };;
22209 esac
22210 ac_file_inputs="$ac_file_inputs $ac_f"
22211 done
22213 # Let's still pretend it is `configure' which instantiates (i.e., don't
22214 # use $as_me), people would be surprised to read:
22215 # /* config.h. Generated by config.status. */
22216 configure_input="Generated from "`IFS=:
22217 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22218 if test x"$ac_file" != x-; then
22219 configure_input="$ac_file. $configure_input"
22220 { echo "$as_me:$LINENO: creating $ac_file" >&5
22221 echo "$as_me: creating $ac_file" >&6;}
22224 case $ac_tag in
22225 *:-:* | *:-) cat >"$tmp/stdin";;
22226 esac
22228 esac
22230 ac_dir=`$as_dirname -- "$ac_file" ||
22231 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22232 X"$ac_file" : 'X\(//\)[^/]' \| \
22233 X"$ac_file" : 'X\(//\)$' \| \
22234 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22235 echo X"$ac_file" |
22236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22237 s//\1/
22240 /^X\(\/\/\)[^/].*/{
22241 s//\1/
22244 /^X\(\/\/\)$/{
22245 s//\1/
22248 /^X\(\/\).*/{
22249 s//\1/
22252 s/.*/./; q'`
22253 { as_dir="$ac_dir"
22254 case $as_dir in #(
22255 -*) as_dir=./$as_dir;;
22256 esac
22257 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22258 as_dirs=
22259 while :; do
22260 case $as_dir in #(
22261 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22262 *) as_qdir=$as_dir;;
22263 esac
22264 as_dirs="'$as_qdir' $as_dirs"
22265 as_dir=`$as_dirname -- "$as_dir" ||
22266 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22267 X"$as_dir" : 'X\(//\)[^/]' \| \
22268 X"$as_dir" : 'X\(//\)$' \| \
22269 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22270 echo X"$as_dir" |
22271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22272 s//\1/
22275 /^X\(\/\/\)[^/].*/{
22276 s//\1/
22279 /^X\(\/\/\)$/{
22280 s//\1/
22283 /^X\(\/\).*/{
22284 s//\1/
22287 s/.*/./; q'`
22288 test -d "$as_dir" && break
22289 done
22290 test -z "$as_dirs" || eval "mkdir $as_dirs"
22291 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22292 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22293 { (exit 1); exit 1; }; }; }
22294 ac_builddir=.
22296 case "$ac_dir" in
22297 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22299 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22300 # A ".." for each directory in $ac_dir_suffix.
22301 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22302 case $ac_top_builddir_sub in
22303 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22304 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22305 esac ;;
22306 esac
22307 ac_abs_top_builddir=$ac_pwd
22308 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22309 # for backward compatibility:
22310 ac_top_builddir=$ac_top_build_prefix
22312 case $srcdir in
22313 .) # We are building in place.
22314 ac_srcdir=.
22315 ac_top_srcdir=$ac_top_builddir_sub
22316 ac_abs_top_srcdir=$ac_pwd ;;
22317 [\\/]* | ?:[\\/]* ) # Absolute name.
22318 ac_srcdir=$srcdir$ac_dir_suffix;
22319 ac_top_srcdir=$srcdir
22320 ac_abs_top_srcdir=$srcdir ;;
22321 *) # Relative name.
22322 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22323 ac_top_srcdir=$ac_top_build_prefix$srcdir
22324 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22325 esac
22326 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22329 case $ac_mode in
22332 # CONFIG_FILE
22335 case $INSTALL in
22336 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22337 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22338 esac
22339 _ACEOF
22341 cat >>$CONFIG_STATUS <<\_ACEOF
22342 # If the template does not know about datarootdir, expand it.
22343 # FIXME: This hack should be removed a few years after 2.60.
22344 ac_datarootdir_hack=; ac_datarootdir_seen=
22346 case `sed -n '/datarootdir/ {
22350 /@datadir@/p
22351 /@docdir@/p
22352 /@infodir@/p
22353 /@localedir@/p
22354 /@mandir@/p
22355 ' $ac_file_inputs` in
22356 *datarootdir*) ac_datarootdir_seen=yes;;
22357 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22358 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22359 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22360 _ACEOF
22361 cat >>$CONFIG_STATUS <<_ACEOF
22362 ac_datarootdir_hack='
22363 s&@datadir@&$datadir&g
22364 s&@docdir@&$docdir&g
22365 s&@infodir@&$infodir&g
22366 s&@localedir@&$localedir&g
22367 s&@mandir@&$mandir&g
22368 s&\\\${datarootdir}&$datarootdir&g' ;;
22369 esac
22370 _ACEOF
22372 # Neutralize VPATH when `$srcdir' = `.'.
22373 # Shell code in configure.ac might set extrasub.
22374 # FIXME: do we really want to maintain this feature?
22375 cat >>$CONFIG_STATUS <<_ACEOF
22376 sed "$ac_vpsub
22377 $extrasub
22378 _ACEOF
22379 cat >>$CONFIG_STATUS <<\_ACEOF
22381 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22382 s&@configure_input@&$configure_input&;t t
22383 s&@top_builddir@&$ac_top_builddir_sub&;t t
22384 s&@srcdir@&$ac_srcdir&;t t
22385 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22386 s&@top_srcdir@&$ac_top_srcdir&;t t
22387 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22388 s&@builddir@&$ac_builddir&;t t
22389 s&@abs_builddir@&$ac_abs_builddir&;t t
22390 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22391 s&@INSTALL@&$ac_INSTALL&;t t
22392 $ac_datarootdir_hack
22393 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22395 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22396 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22397 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22398 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22399 which seems to be undefined. Please make sure it is defined." >&5
22400 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22401 which seems to be undefined. Please make sure it is defined." >&2;}
22403 rm -f "$tmp/stdin"
22404 case $ac_file in
22405 -) cat "$tmp/out"; rm -f "$tmp/out";;
22406 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22407 esac
22411 # CONFIG_HEADER
22413 _ACEOF
22415 # Transform confdefs.h into a sed script `conftest.defines', that
22416 # substitutes the proper values into config.h.in to produce config.h.
22417 rm -f conftest.defines conftest.tail
22418 # First, append a space to every undef/define line, to ease matching.
22419 echo 's/$/ /' >conftest.defines
22420 # Then, protect against being on the right side of a sed subst, or in
22421 # an unquoted here document, in config.status. If some macros were
22422 # called several times there might be several #defines for the same
22423 # symbol, which is useless. But do not sort them, since the last
22424 # AC_DEFINE must be honored.
22425 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22426 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22427 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22428 # PARAMS is the parameter list in the macro definition--in most cases, it's
22429 # just an empty string.
22430 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22431 ac_dB='\\)[ (].*,\\1define\\2'
22432 ac_dC=' '
22433 ac_dD=' ,'
22435 uniq confdefs.h |
22436 sed -n '
22437 t rset
22438 :rset
22439 s/^[ ]*#[ ]*define[ ][ ]*//
22440 t ok
22443 s/[\\&,]/\\&/g
22444 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22445 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22446 ' >>conftest.defines
22448 # Remove the space that was appended to ease matching.
22449 # Then replace #undef with comments. This is necessary, for
22450 # example, in the case of _POSIX_SOURCE, which is predefined and required
22451 # on some systems where configure will not decide to define it.
22452 # (The regexp can be short, since the line contains either #define or #undef.)
22453 echo 's/ $//
22454 s,^[ #]*u.*,/* & */,' >>conftest.defines
22456 # Break up conftest.defines:
22457 ac_max_sed_lines=50
22459 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22460 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22461 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22462 # et cetera.
22463 ac_in='$ac_file_inputs'
22464 ac_out='"$tmp/out1"'
22465 ac_nxt='"$tmp/out2"'
22467 while :
22469 # Write a here document:
22470 cat >>$CONFIG_STATUS <<_ACEOF
22471 # First, check the format of the line:
22472 cat >"\$tmp/defines.sed" <<\\CEOF
22473 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22474 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22476 :def
22477 _ACEOF
22478 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22479 echo 'CEOF
22480 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22481 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22482 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22483 grep . conftest.tail >/dev/null || break
22484 rm -f conftest.defines
22485 mv conftest.tail conftest.defines
22486 done
22487 rm -f conftest.defines conftest.tail
22489 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22490 cat >>$CONFIG_STATUS <<\_ACEOF
22491 if test x"$ac_file" != x-; then
22492 echo "/* $configure_input */" >"$tmp/config.h"
22493 cat "$ac_result" >>"$tmp/config.h"
22494 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22495 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22496 echo "$as_me: $ac_file is unchanged" >&6;}
22497 else
22498 rm -f $ac_file
22499 mv "$tmp/config.h" $ac_file
22501 else
22502 echo "/* $configure_input */"
22503 cat "$ac_result"
22505 rm -f "$tmp/out12"
22508 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22509 echo "$as_me: executing $ac_file commands" >&6;}
22511 esac
22514 case $ac_file$ac_mode in
22515 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22516 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22517 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22518 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22519 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22520 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22521 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22522 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22523 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22524 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22525 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22526 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22527 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22529 esac
22530 done # for ac_tag
22533 { (exit 0); exit 0; }
22534 _ACEOF
22535 chmod +x $CONFIG_STATUS
22536 ac_clean_files=$ac_clean_files_save
22539 # configure is writing to config.log, and then calls config.status.
22540 # config.status does its own redirection, appending to config.log.
22541 # Unfortunately, on DOS this fails, as config.log is still kept open
22542 # by configure, so config.status won't be able to write to it; its
22543 # output is simply discarded. So we exec the FD to /dev/null,
22544 # effectively closing config.log, so it can be properly (re)opened and
22545 # appended to by config.status. When coming back to configure, we
22546 # need to make the FD available again.
22547 if test "$no_create" != yes; then
22548 ac_cs_success=:
22549 ac_config_status_args=
22550 test "$silent" = yes &&
22551 ac_config_status_args="$ac_config_status_args --quiet"
22552 exec 5>/dev/null
22553 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22554 exec 5>>config.log
22555 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22556 # would make configure fail if this is the last instruction.
22557 $ac_cs_success || { (exit 1); exit 1; }
22561 if test "$no_create" = "yes"
22562 then
22563 exit 0
22566 ac_save_IFS="$IFS"
22567 IFS="|"
22568 if test "$verbose" = "yes"; then
22569 for msg in $wine_notices; do
22570 if test -n "$msg"; then
22571 echo >&2
22572 { echo "$as_me:$LINENO: $msg" >&5
22573 echo "$as_me: $msg" >&6;}
22575 done
22577 for msg in $wine_warnings; do
22578 if test -n "$msg"; then
22579 echo >&2
22580 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22581 echo "$as_me: WARNING: $msg" >&2;}
22583 done
22584 IFS="$ac_save_IFS"
22586 echo
22587 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22588 echo