push b5232b2081a0e20e4bf07d6ded424d0101e4a589
[wine/hacks.git] / configure
blobc4ba7c4482d8f393dc637f4eb0e5e15750eab990
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.45.
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.45'
578 PACKAGE_STRING='Wine 0.9.45'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 DLLEXT
716 DLLFLAGS
717 LDSHARED
718 LDDLLFLAGS
719 LIBEXT
720 IMPLIBEXT
721 LDRPATH_INSTALL
722 LDRPATH_LOCAL
724 DLLTOOL
725 DLLWRAP
726 MINGWAR
727 COREFOUNDATIONLIB
728 IOKITLIB
729 LDEXECFLAGS
730 DISKARBITRATIONLIB
731 COREAUDIO
732 CARBONLIB
733 CROSSTEST
734 CROSSCC
735 CROSSWINDRES
736 NASLIBS
737 XML2LIBS
738 XML2INCL
739 XSLTLIBS
740 XSLTINCL
741 HALINCL
742 sane_devel
743 SANEINCL
744 gphoto2_devel
745 gphoto2port_devel
746 GPHOTO2LIBS
747 GPHOTO2INCL
748 RESOLVLIBS
749 LCMSLIBS
750 LDAPLIBS
751 ft_devel
752 FREETYPELIBS
753 FREETYPEINCL
754 FONTSSUBDIRS
755 ESDCONFIG
756 ESDLIBS
757 ESDINCL
758 ALSALIBS
759 AUDIOIOLIBS
760 EXTRACFLAGS
761 BUILTINFLAG
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.45 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.45:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1371 --disable-tests do not build the testsuites
1373 Optional Packages:
1374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1376 --without-opengl do not use OpenGL
1377 --with-wine-tools=<dir> use Wine tools from directory <dir>
1378 --with-x use the X Window System
1380 Some influential environment variables:
1381 CC C compiler command
1382 CFLAGS C compiler flags
1383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 nonstandard directory <lib dir>
1385 LIBS libraries to pass to the linker, e.g. -l<library>
1386 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1387 you have headers in a nonstandard directory <include dir>
1388 CXX C++ compiler command
1389 CXXFLAGS C++ compiler flags
1390 XMKMF Path to xmkmf, Makefile generator for X Window System
1391 CPP C preprocessor
1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1396 Report bugs to <wine-devel@winehq.org>.
1397 _ACEOF
1398 ac_status=$?
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1404 test -d "$ac_dir" || continue
1405 ac_builddir=.
1407 case "$ac_dir" in
1408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1411 # A ".." for each directory in $ac_dir_suffix.
1412 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1413 case $ac_top_builddir_sub in
1414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1416 esac ;;
1417 esac
1418 ac_abs_top_builddir=$ac_pwd
1419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1420 # for backward compatibility:
1421 ac_top_builddir=$ac_top_build_prefix
1423 case $srcdir in
1424 .) # We are building in place.
1425 ac_srcdir=.
1426 ac_top_srcdir=$ac_top_builddir_sub
1427 ac_abs_top_srcdir=$ac_pwd ;;
1428 [\\/]* | ?:[\\/]* ) # Absolute name.
1429 ac_srcdir=$srcdir$ac_dir_suffix;
1430 ac_top_srcdir=$srcdir
1431 ac_abs_top_srcdir=$srcdir ;;
1432 *) # Relative name.
1433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1434 ac_top_srcdir=$ac_top_build_prefix$srcdir
1435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 esac
1437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1439 cd "$ac_dir" || { ac_status=$?; continue; }
1440 # Check for guested configure.
1441 if test -f "$ac_srcdir/configure.gnu"; then
1442 echo &&
1443 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1444 elif test -f "$ac_srcdir/configure"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure" --help=recursive
1447 else
1448 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 fi || ac_status=$?
1450 cd "$ac_pwd" || { ac_status=$?; break; }
1451 done
1454 test -n "$ac_init_help" && exit $ac_status
1455 if $ac_init_version; then
1456 cat <<\_ACEOF
1457 Wine configure 0.9.45
1458 generated by GNU Autoconf 2.61
1460 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1461 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1462 This configure script is free software; the Free Software Foundation
1463 gives unlimited permission to copy, distribute and modify it.
1464 _ACEOF
1465 exit
1467 cat >config.log <<_ACEOF
1468 This file contains any messages produced by compilers while
1469 running configure, to aid debugging if configure makes a mistake.
1471 It was created by Wine $as_me 0.9.45, which was
1472 generated by GNU Autoconf 2.61. Invocation command line was
1474 $ $0 $@
1476 _ACEOF
1477 exec 5>>config.log
1479 cat <<_ASUNAME
1480 ## --------- ##
1481 ## Platform. ##
1482 ## --------- ##
1484 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1485 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1486 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1487 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1488 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1491 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1494 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1495 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1496 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1497 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1498 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1499 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501 _ASUNAME
1503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504 for as_dir in $PATH
1506 IFS=$as_save_IFS
1507 test -z "$as_dir" && as_dir=.
1508 echo "PATH: $as_dir"
1509 done
1510 IFS=$as_save_IFS
1512 } >&5
1514 cat >&5 <<_ACEOF
1517 ## ----------- ##
1518 ## Core tests. ##
1519 ## ----------- ##
1521 _ACEOF
1524 # Keep a trace of the command line.
1525 # Strip out --no-create and --no-recursion so they do not pile up.
1526 # Strip out --silent because we don't want to record it for future runs.
1527 # Also quote any args containing shell meta-characters.
1528 # Make two passes to allow for proper duplicate-argument suppression.
1529 ac_configure_args=
1530 ac_configure_args0=
1531 ac_configure_args1=
1532 ac_must_keep_next=false
1533 for ac_pass in 1 2
1535 for ac_arg
1537 case $ac_arg in
1538 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1540 | -silent | --silent | --silen | --sile | --sil)
1541 continue ;;
1542 *\'*)
1543 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1544 esac
1545 case $ac_pass in
1546 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1548 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1549 if test $ac_must_keep_next = true; then
1550 ac_must_keep_next=false # Got value, back to normal.
1551 else
1552 case $ac_arg in
1553 *=* | --config-cache | -C | -disable-* | --disable-* \
1554 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1555 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1556 | -with-* | --with-* | -without-* | --without-* | --x)
1557 case "$ac_configure_args0 " in
1558 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1559 esac
1561 -* ) ac_must_keep_next=true ;;
1562 esac
1564 ac_configure_args="$ac_configure_args '$ac_arg'"
1566 esac
1567 done
1568 done
1569 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1570 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1572 # When interrupted or exit'd, cleanup temporary files, and complete
1573 # config.log. We remove comments because anyway the quotes in there
1574 # would cause problems or look ugly.
1575 # WARNING: Use '\'' to represent an apostrophe within the trap.
1576 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1577 trap 'exit_status=$?
1578 # Save into config.log some information that might help in debugging.
1580 echo
1582 cat <<\_ASBOX
1583 ## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##
1586 _ASBOX
1587 echo
1588 # The following way of writing the cache mishandles newlines in values,
1590 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1591 eval ac_val=\$$ac_var
1592 case $ac_val in #(
1593 *${as_nl}*)
1594 case $ac_var in #(
1595 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1596 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1597 esac
1598 case $ac_var in #(
1599 _ | IFS | as_nl) ;; #(
1600 *) $as_unset $ac_var ;;
1601 esac ;;
1602 esac
1603 done
1604 (set) 2>&1 |
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1607 sed -n \
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 ;; #(
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614 esac |
1615 sort
1617 echo
1619 cat <<\_ASBOX
1620 ## ----------------- ##
1621 ## Output variables. ##
1622 ## ----------------- ##
1623 _ASBOX
1624 echo
1625 for ac_var in $ac_subst_vars
1627 eval ac_val=\$$ac_var
1628 case $ac_val in
1629 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 esac
1631 echo "$ac_var='\''$ac_val'\''"
1632 done | sort
1633 echo
1635 if test -n "$ac_subst_files"; then
1636 cat <<\_ASBOX
1637 ## ------------------- ##
1638 ## File substitutions. ##
1639 ## ------------------- ##
1640 _ASBOX
1641 echo
1642 for ac_var in $ac_subst_files
1644 eval ac_val=\$$ac_var
1645 case $ac_val in
1646 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 esac
1648 echo "$ac_var='\''$ac_val'\''"
1649 done | sort
1650 echo
1653 if test -s confdefs.h; then
1654 cat <<\_ASBOX
1655 ## ----------- ##
1656 ## confdefs.h. ##
1657 ## ----------- ##
1658 _ASBOX
1659 echo
1660 cat confdefs.h
1661 echo
1663 test "$ac_signal" != 0 &&
1664 echo "$as_me: caught signal $ac_signal"
1665 echo "$as_me: exit $exit_status"
1666 } >&5
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 exit $exit_status
1671 for ac_signal in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1673 done
1674 ac_signal=0
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest* confdefs.h
1679 # Predefined preprocessor variables.
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_NAME "$PACKAGE_NAME"
1683 _ACEOF
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1688 _ACEOF
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1693 _ACEOF
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_STRING "$PACKAGE_STRING"
1698 _ACEOF
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1703 _ACEOF
1706 # Let the site file select an alternate cache file if it wants to.
1707 # Prefer explicitly selected file to automatically selected ones.
1708 if test -n "$CONFIG_SITE"; then
1709 set x "$CONFIG_SITE"
1710 elif test "x$prefix" != xNONE; then
1711 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1712 else
1713 set x "$ac_default_prefix/share/config.site" \
1714 "$ac_default_prefix/etc/config.site"
1716 shift
1717 for ac_site_file
1719 if test -r "$ac_site_file"; then
1720 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1721 echo "$as_me: loading site script $ac_site_file" >&6;}
1722 sed 's/^/| /' "$ac_site_file" >&5
1723 . "$ac_site_file"
1725 done
1727 if test -r "$cache_file"; then
1728 # Some versions of bash will fail to source /dev/null (special
1729 # files actually), so we avoid doing that.
1730 if test -f "$cache_file"; then
1731 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1732 echo "$as_me: loading cache $cache_file" >&6;}
1733 case $cache_file in
1734 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1735 *) . "./$cache_file";;
1736 esac
1738 else
1739 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1740 echo "$as_me: creating cache $cache_file" >&6;}
1741 >$cache_file
1744 # Check that the precious variables saved in the cache have kept the same
1745 # value.
1746 ac_cache_corrupted=false
1747 for ac_var in $ac_precious_vars; do
1748 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1749 eval ac_new_set=\$ac_env_${ac_var}_set
1750 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1751 eval ac_new_val=\$ac_env_${ac_var}_value
1752 case $ac_old_set,$ac_new_set in
1753 set,)
1754 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1755 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1756 ac_cache_corrupted=: ;;
1757 ,set)
1758 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1759 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1760 ac_cache_corrupted=: ;;
1761 ,);;
1763 if test "x$ac_old_val" != "x$ac_new_val"; then
1764 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1765 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1766 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1767 echo "$as_me: former value: $ac_old_val" >&2;}
1768 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1769 echo "$as_me: current value: $ac_new_val" >&2;}
1770 ac_cache_corrupted=:
1771 fi;;
1772 esac
1773 # Pass precious variables to config.status.
1774 if test "$ac_new_set" = set; then
1775 case $ac_new_val in
1776 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1777 *) ac_arg=$ac_var=$ac_new_val ;;
1778 esac
1779 case " $ac_configure_args " in
1780 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1781 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1782 esac
1784 done
1785 if $ac_cache_corrupted; then
1786 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1787 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1788 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1789 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1790 { (exit 1); exit 1; }; }
1817 ac_ext=c
1818 ac_cpp='$CPP $CPPFLAGS'
1819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1825 ac_config_headers="$ac_config_headers include/config.h"
1827 ac_aux_dir=
1828 for ac_dir in tools "$srcdir"/tools; do
1829 if test -f "$ac_dir/install-sh"; then
1830 ac_aux_dir=$ac_dir
1831 ac_install_sh="$ac_aux_dir/install-sh -c"
1832 break
1833 elif test -f "$ac_dir/install.sh"; then
1834 ac_aux_dir=$ac_dir
1835 ac_install_sh="$ac_aux_dir/install.sh -c"
1836 break
1837 elif test -f "$ac_dir/shtool"; then
1838 ac_aux_dir=$ac_dir
1839 ac_install_sh="$ac_aux_dir/shtool install -c"
1840 break
1842 done
1843 if test -z "$ac_aux_dir"; then
1844 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1845 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1846 { (exit 1); exit 1; }; }
1849 # These three variables are undocumented and unsupported,
1850 # and are intended to be withdrawn in a future Autoconf release.
1851 # They can cause serious problems if a builder's source tree is in a directory
1852 # whose full name contains unusual characters.
1853 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1854 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1855 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1860 # Check whether --enable-win16 was given.
1861 if test "${enable_win16+set}" = set; then
1862 enableval=$enable_win16;
1865 # Check whether --enable-win64 was given.
1866 if test "${enable_win64+set}" = set; then
1867 enableval=$enable_win64;
1872 # Check whether --with-opengl was given.
1873 if test "${with_opengl+set}" = set; then
1874 withval=$with_opengl;
1878 # Check whether --with-wine-tools was given.
1879 if test "${with_wine_tools+set}" = set; then
1880 withval=$with_wine_tools;
1883 # Check whether --enable-tests was given.
1884 if test "${enable_tests+set}" = set; then
1885 enableval=$enable_tests;
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1891 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: checking build system type" >&5
1896 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 else
1900 ac_build_alias=$build_alias
1901 test "x$ac_build_alias" = x &&
1902 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x &&
1904 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906 { (exit 1); exit 1; }; }
1907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910 { (exit 1); exit 1; }; }
1913 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 echo "${ECHO_T}$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1916 *-*-*) ;;
1917 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 echo "$as_me: error: invalid value of canonical build" >&2;}
1919 { (exit 1); exit 1; }; };;
1920 esac
1921 build=$ac_cv_build
1922 ac_save_IFS=$IFS; IFS='-'
1923 set x $ac_cv_build
1924 shift
1925 build_cpu=$1
1926 build_vendor=$2
1927 shift; shift
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1930 build_os=$*
1931 IFS=$ac_save_IFS
1932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1935 { echo "$as_me:$LINENO: checking host system type" >&5
1936 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1937 if test "${ac_cv_host+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 else
1940 if test "x$host_alias" = x; then
1941 ac_cv_host=$ac_cv_build
1942 else
1943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1951 echo "${ECHO_T}$ac_cv_host" >&6; }
1952 case $ac_cv_host in
1953 *-*-*) ;;
1954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1955 echo "$as_me: error: invalid value of canonical host" >&2;}
1956 { (exit 1); exit 1; }; };;
1957 esac
1958 host=$ac_cv_host
1959 ac_save_IFS=$IFS; IFS='-'
1960 set x $ac_cv_host
1961 shift
1962 host_cpu=$1
1963 host_vendor=$2
1964 shift; shift
1965 # Remember, the first character of IFS is used to create $*,
1966 # except with old shells:
1967 host_os=$*
1968 IFS=$ac_save_IFS
1969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1972 case $host in
1973 x86_64*linux*)
1974 if test "x$enable_win64" != "xyes"
1975 then
1976 test -n "$CC" || CC="gcc -m32"
1977 test -n "$CXX"|| CXX="g++ -m32"
1978 test -n "$LD" || LD="ld -m elf_i386"
1979 test -n "$AS" || AS="as --32"
1980 host_cpu="i386"
1983 esac
1985 case $host_cpu in
1986 *i[3456789]86*)
1987 if test "x$enable_win16" != "xno"
1988 then
1989 enable_win16="yes"
1992 esac
1994 WIN16_FILES="\$(WIN16_FILES)"
1996 WIN16_INSTALL="\$(WIN16_INSTALL)"
1998 if test "x$enable_win16" != "xyes"
1999 then
2000 WIN16_FILES=""
2001 WIN16_INSTALL=""
2004 if test "x$enable_tests" == "xno"
2005 then
2006 TESTSUBDIRS=""
2008 WINETEST=""
2010 else
2011 TESTSUBDIRS="\$(TESTSUBDIRS)"
2013 WINETEST="winetest"
2017 case "$srcdir" in
2018 .) ;;
2019 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2020 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2021 You need to run 'make distclean' in the source tree first." >&5
2022 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&2;}
2024 { (exit 1); exit 1; }; }
2025 fi ;;
2026 esac
2029 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2030 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2031 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2032 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 else
2035 cat >conftest.make <<\_ACEOF
2036 SHELL = /bin/sh
2037 all:
2038 @echo '@@@%%%=$(MAKE)=@@@%%%'
2039 _ACEOF
2040 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2042 *@@@%%%=?*=@@@%%%*)
2043 eval ac_cv_prog_make_${ac_make}_set=yes;;
2045 eval ac_cv_prog_make_${ac_make}_set=no;;
2046 esac
2047 rm -f conftest.make
2049 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2050 { echo "$as_me:$LINENO: result: yes" >&5
2051 echo "${ECHO_T}yes" >&6; }
2052 SET_MAKE=
2053 else
2054 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6; }
2056 SET_MAKE="MAKE=${MAKE-make}"
2059 ac_ext=c
2060 ac_cpp='$CPP $CPPFLAGS'
2061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2088 IFS=$as_save_IFS
2092 CC=$ac_cv_prog_CC
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2096 else
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2103 if test -z "$ac_cv_prog_CC"; then
2104 ac_ct_CC=$CC
2105 # Extract the first word of "gcc", so it can be a program name with args.
2106 set dummy gcc; ac_word=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112 if test -n "$ac_ct_CC"; then
2113 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2118 IFS=$as_save_IFS
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_ac_ct_CC="gcc"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2
2126 done
2127 done
2128 IFS=$as_save_IFS
2132 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6; }
2136 else
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2141 if test "x$ac_ct_CC" = x; then
2142 CC=""
2143 else
2144 case $cross_compiling:$ac_tool_warned in
2145 yes:)
2146 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&5
2149 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150 whose name does not start with the host triplet. If you think this
2151 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2152 ac_tool_warned=yes ;;
2153 esac
2154 CC=$ac_ct_CC
2156 else
2157 CC="$ac_cv_prog_CC"
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy ${ac_tool_prefix}cc; ac_word=$2
2164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 else
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 else
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2175 IFS=$as_save_IFS
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC="${ac_tool_prefix}cc"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 break 2
2183 done
2184 done
2185 IFS=$as_save_IFS
2189 CC=$ac_cv_prog_CC
2190 if test -n "$CC"; then
2191 { echo "$as_me:$LINENO: result: $CC" >&5
2192 echo "${ECHO_T}$CC" >&6; }
2193 else
2194 { echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212 ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected=yes
2222 continue
2224 ac_cv_prog_CC="cc"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2228 done
2229 done
2230 IFS=$as_save_IFS
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy $ac_cv_prog_CC
2235 shift
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2240 shift
2241 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2246 CC=$ac_cv_prog_CC
2247 if test -n "$CC"; then
2248 { echo "$as_me:$LINENO: result: $CC" >&5
2249 echo "${ECHO_T}$CC" >&6; }
2250 else
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 else
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 else
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2274 IFS=$as_save_IFS
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 break 2
2282 done
2283 done
2284 IFS=$as_save_IFS
2288 CC=$ac_cv_prog_CC
2289 if test -n "$CC"; then
2290 { echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6; }
2292 else
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$CC" && break
2299 done
2301 if test -z "$CC"; then
2302 ac_ct_CC=$CC
2303 for ac_prog in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy $ac_prog; ac_word=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 else
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2314 else
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 for as_dir in $PATH
2318 IFS=$as_save_IFS
2319 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC="$ac_prog"
2323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 break 2
2326 done
2327 done
2328 IFS=$as_save_IFS
2332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2335 echo "${ECHO_T}$ac_ct_CC" >&6; }
2336 else
2337 { echo "$as_me:$LINENO: result: no" >&5
2338 echo "${ECHO_T}no" >&6; }
2342 test -n "$ac_ct_CC" && break
2343 done
2345 if test "x$ac_ct_CC" = x; then
2346 CC=""
2347 else
2348 case $cross_compiling:$ac_tool_warned in
2349 yes:)
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned=yes ;;
2357 esac
2358 CC=$ac_ct_CC
2365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2366 See \`config.log' for more details." >&5
2367 echo "$as_me: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&2;}
2369 { (exit 1); exit 1; }; }
2371 # Provide some information about the compiler.
2372 echo "$as_me:$LINENO: checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (ac_try="$ac_compiler --version >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler --version >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (ac_try="$ac_compiler -v >&5"
2385 case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388 esac
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_compiler -v >&5") 2>&5
2391 ac_status=$?
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }
2394 { (ac_try="$ac_compiler -V >&5"
2395 case "(($ac_try" in
2396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2398 esac
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_compiler -V >&5") 2>&5
2401 ac_status=$?
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }
2405 cat >conftest.$ac_ext <<_ACEOF
2406 /* confdefs.h. */
2407 _ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2413 main ()
2417 return 0;
2419 _ACEOF
2420 ac_clean_files_save=$ac_clean_files
2421 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2422 # Try to create an executable without -o first, disregard a.out.
2423 # It will help us diagnose broken compilers, and finding out an intuition
2424 # of exeext.
2425 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2426 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2427 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2429 # List of possible output files, starting from the most likely.
2430 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2431 # only as a last resort. b.out is created by i960 compilers.
2432 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2434 # The IRIX 6 linker writes into existing files which may not be
2435 # executable, retaining their permissions. Remove them first so a
2436 # subsequent execution test works.
2437 ac_rmfiles=
2438 for ac_file in $ac_files
2440 case $ac_file in
2441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2442 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2443 esac
2444 done
2445 rm -f $ac_rmfiles
2447 if { (ac_try="$ac_link_default"
2448 case "(($ac_try" in
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2451 esac
2452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_link_default") 2>&5
2454 ac_status=$?
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2461 # Autoconf.
2462 for ac_file in $ac_files ''
2464 test -f "$ac_file" || continue
2465 case $ac_file in
2466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2474 then :; else
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2481 # actually working.
2482 break;;
2484 break;;
2485 esac
2486 done
2487 test "$ac_cv_exeext" = no && ac_cv_exeext=
2489 else
2490 ac_file=''
2493 { echo "$as_me:$LINENO: result: $ac_file" >&5
2494 echo "${ECHO_T}$ac_file" >&6; }
2495 if test -z "$ac_file"; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2499 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2500 See \`config.log' for more details." >&5
2501 echo "$as_me: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&2;}
2503 { (exit 77); exit 77; }; }
2506 ac_exeext=$ac_cv_exeext
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2511 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2512 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2513 # If not cross compiling, check that we can run a simple program.
2514 if test "$cross_compiling" != yes; then
2515 if { ac_try='./$ac_file'
2516 { (case "(($ac_try" in
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2519 esac
2520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2521 (eval "$ac_try") 2>&5
2522 ac_status=$?
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2525 cross_compiling=no
2526 else
2527 if test "$cross_compiling" = maybe; then
2528 cross_compiling=yes
2529 else
2530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2531 If you meant to cross compile, use \`--host'.
2532 See \`config.log' for more details." >&5
2533 echo "$as_me: error: cannot run C compiled programs.
2534 If you meant to cross compile, use \`--host'.
2535 See \`config.log' for more details." >&2;}
2536 { (exit 1); exit 1; }; }
2540 { echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6; }
2543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2544 ac_clean_files=$ac_clean_files_save
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2549 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2550 echo "${ECHO_T}$cross_compiling" >&6; }
2552 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2554 if { (ac_try="$ac_link"
2555 case "(($ac_try" in
2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557 *) ac_try_echo=$ac_try;;
2558 esac
2559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2560 (eval "$ac_link") 2>&5
2561 ac_status=$?
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; then
2564 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2565 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2566 # work properly (i.e., refer to `conftest.exe'), while it won't with
2567 # `rm'.
2568 for ac_file in conftest.exe conftest conftest.*; do
2569 test -f "$ac_file" || continue
2570 case $ac_file in
2571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2572 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2573 break;;
2574 * ) break;;
2575 esac
2576 done
2577 else
2578 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2579 See \`config.log' for more details." >&5
2580 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&2;}
2582 { (exit 1); exit 1; }; }
2585 rm -f conftest$ac_cv_exeext
2586 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2587 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2589 rm -f conftest.$ac_ext
2590 EXEEXT=$ac_cv_exeext
2591 ac_exeext=$EXEEXT
2592 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2593 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2594 if test "${ac_cv_objext+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 else
2597 cat >conftest.$ac_ext <<_ACEOF
2598 /* confdefs.h. */
2599 _ACEOF
2600 cat confdefs.h >>conftest.$ac_ext
2601 cat >>conftest.$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2605 main ()
2609 return 0;
2611 _ACEOF
2612 rm -f conftest.o conftest.obj
2613 if { (ac_try="$ac_compile"
2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_compile") 2>&5
2620 ac_status=$?
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; then
2623 for ac_file in conftest.o conftest.obj conftest.*; do
2624 test -f "$ac_file" || continue;
2625 case $ac_file in
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2628 break;;
2629 esac
2630 done
2631 else
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2636 See \`config.log' for more details." >&5
2637 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details." >&2;}
2639 { (exit 1); exit 1; }; }
2642 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2644 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2645 echo "${ECHO_T}$ac_cv_objext" >&6; }
2646 OBJEXT=$ac_cv_objext
2647 ac_objext=$OBJEXT
2648 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2649 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2650 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 else
2653 cat >conftest.$ac_ext <<_ACEOF
2654 /* confdefs.h. */
2655 _ACEOF
2656 cat confdefs.h >>conftest.$ac_ext
2657 cat >>conftest.$ac_ext <<_ACEOF
2658 /* end confdefs.h. */
2661 main ()
2663 #ifndef __GNUC__
2664 choke me
2665 #endif
2668 return 0;
2670 _ACEOF
2671 rm -f conftest.$ac_objext
2672 if { (ac_try="$ac_compile"
2673 case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676 esac
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_compile") 2>conftest.er1
2679 ac_status=$?
2680 grep -v '^ *+' conftest.er1 >conftest.err
2681 rm -f conftest.er1
2682 cat conftest.err >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); } && {
2685 test -z "$ac_c_werror_flag" ||
2686 test ! -s conftest.err
2687 } && test -s conftest.$ac_objext; then
2688 ac_compiler_gnu=yes
2689 else
2690 echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2693 ac_compiler_gnu=no
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2700 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2701 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2702 GCC=`test $ac_compiler_gnu = yes && echo yes`
2703 ac_test_CFLAGS=${CFLAGS+set}
2704 ac_save_CFLAGS=$CFLAGS
2705 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2707 if test "${ac_cv_prog_cc_g+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 else
2710 ac_save_c_werror_flag=$ac_c_werror_flag
2711 ac_c_werror_flag=yes
2712 ac_cv_prog_cc_g=no
2713 CFLAGS="-g"
2714 cat >conftest.$ac_ext <<_ACEOF
2715 /* confdefs.h. */
2716 _ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2722 main ()
2726 return 0;
2728 _ACEOF
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2731 case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2737 ac_status=$?
2738 grep -v '^ *+' conftest.er1 >conftest.err
2739 rm -f conftest.er1
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2746 ac_cv_prog_cc_g=yes
2747 else
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 CFLAGS=""
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 main ()
2764 return 0;
2766 _ACEOF
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2775 ac_status=$?
2776 grep -v '^ *+' conftest.er1 >conftest.err
2777 rm -f conftest.er1
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } && {
2781 test -z "$ac_c_werror_flag" ||
2782 test ! -s conftest.err
2783 } && test -s conftest.$ac_objext; then
2785 else
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_c_werror_flag=$ac_save_c_werror_flag
2790 CFLAGS="-g"
2791 cat >conftest.$ac_ext <<_ACEOF
2792 /* confdefs.h. */
2793 _ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2799 main ()
2803 return 0;
2805 _ACEOF
2806 rm -f conftest.$ac_objext
2807 if { (ac_try="$ac_compile"
2808 case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2813 (eval "$ac_compile") 2>conftest.er1
2814 ac_status=$?
2815 grep -v '^ *+' conftest.er1 >conftest.err
2816 rm -f conftest.er1
2817 cat conftest.err >&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext; then
2823 ac_cv_prog_cc_g=yes
2824 else
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2841 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2842 if test "$ac_test_CFLAGS" = set; then
2843 CFLAGS=$ac_save_CFLAGS
2844 elif test $ac_cv_prog_cc_g = yes; then
2845 if test "$GCC" = yes; then
2846 CFLAGS="-g -O2"
2847 else
2848 CFLAGS="-g"
2850 else
2851 if test "$GCC" = yes; then
2852 CFLAGS="-O2"
2853 else
2854 CFLAGS=
2857 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2858 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2859 if test "${ac_cv_prog_cc_c89+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862 ac_cv_prog_cc_c89=no
2863 ac_save_CC=$CC
2864 cat >conftest.$ac_ext <<_ACEOF
2865 /* confdefs.h. */
2866 _ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2870 #include <stdarg.h>
2871 #include <stdio.h>
2872 #include <sys/types.h>
2873 #include <sys/stat.h>
2874 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2875 struct buf { int x; };
2876 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2877 static char *e (p, i)
2878 char **p;
2879 int i;
2881 return p[i];
2883 static char *f (char * (*g) (char **, int), char **p, ...)
2885 char *s;
2886 va_list v;
2887 va_start (v,p);
2888 s = g (p, va_arg (v,int));
2889 va_end (v);
2890 return s;
2893 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2894 function prototypes and stuff, but not '\xHH' hex character constants.
2895 These don't provoke an error unfortunately, instead are silently treated
2896 as 'x'. The following induces an error, until -std is added to get
2897 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2898 array size at least. It's necessary to write '\x00'==0 to get something
2899 that's true only with -std. */
2900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2903 inside strings and character constants. */
2904 #define FOO(x) 'x'
2905 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2907 int test (int i, double x);
2908 struct s1 {int (*f) (int a);};
2909 struct s2 {int (*f) (double a);};
2910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2911 int argc;
2912 char **argv;
2914 main ()
2916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2918 return 0;
2920 _ACEOF
2921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2924 CC="$ac_save_CC $ac_arg"
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2933 ac_status=$?
2934 grep -v '^ *+' conftest.er1 >conftest.err
2935 rm -f conftest.er1
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_c_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then
2942 ac_cv_prog_cc_c89=$ac_arg
2943 else
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2950 rm -f core conftest.err conftest.$ac_objext
2951 test "x$ac_cv_prog_cc_c89" != "xno" && break
2952 done
2953 rm -f conftest.$ac_ext
2954 CC=$ac_save_CC
2957 # AC_CACHE_VAL
2958 case "x$ac_cv_prog_cc_c89" in
2960 { echo "$as_me:$LINENO: result: none needed" >&5
2961 echo "${ECHO_T}none needed" >&6; } ;;
2962 xno)
2963 { echo "$as_me:$LINENO: result: unsupported" >&5
2964 echo "${ECHO_T}unsupported" >&6; } ;;
2966 CC="$CC $ac_cv_prog_cc_c89"
2967 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2968 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2969 esac
2972 ac_ext=c
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2978 ac_ext=cpp
2979 ac_cpp='$CXXCPP $CPPFLAGS'
2980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2983 if test -z "$CXX"; then
2984 if test -n "$CCC"; then
2985 CXX=$CCC
2986 else
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2994 if test "${ac_cv_prog_CXX+set}" = set; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2996 else
2997 if test -n "$CXX"; then
2998 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2999 else
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 break 2
3011 done
3012 done
3013 IFS=$as_save_IFS
3017 CXX=$ac_cv_prog_CXX
3018 if test -n "$CXX"; then
3019 { echo "$as_me:$LINENO: result: $CXX" >&5
3020 echo "${ECHO_T}$CXX" >&6; }
3021 else
3022 { echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6; }
3027 test -n "$CXX" && break
3028 done
3030 if test -z "$CXX"; then
3031 ac_ct_CXX=$CXX
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy $ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3038 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 else
3041 if test -n "$ac_ct_CXX"; then
3042 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3043 else
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 for as_dir in $PATH
3047 IFS=$as_save_IFS
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CXX="$ac_prog"
3052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053 break 2
3055 done
3056 done
3057 IFS=$as_save_IFS
3061 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3062 if test -n "$ac_ct_CXX"; then
3063 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3064 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3065 else
3066 { echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6; }
3071 test -n "$ac_ct_CXX" && break
3072 done
3074 if test "x$ac_ct_CXX" = x; then
3075 CXX="g++"
3076 else
3077 case $cross_compiling:$ac_tool_warned in
3078 yes:)
3079 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3080 whose name does not start with the host triplet. If you think this
3081 configuration is useful to you, please write to autoconf@gnu.org." >&5
3082 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3083 whose name does not start with the host triplet. If you think this
3084 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3085 ac_tool_warned=yes ;;
3086 esac
3087 CXX=$ac_ct_CXX
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3095 ac_compiler=`set X $ac_compile; echo $2`
3096 { (ac_try="$ac_compiler --version >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler --version >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3106 { (ac_try="$ac_compiler -v >&5"
3107 case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3110 esac
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_compiler -v >&5") 2>&5
3113 ac_status=$?
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }
3116 { (ac_try="$ac_compiler -V >&5"
3117 case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compiler -V >&5") 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }
3127 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3128 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3129 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 else
3132 cat >conftest.$ac_ext <<_ACEOF
3133 /* confdefs.h. */
3134 _ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3140 main ()
3142 #ifndef __GNUC__
3143 choke me
3144 #endif
3147 return 0;
3149 _ACEOF
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_cxx_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_compiler_gnu=yes
3168 else
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3172 ac_compiler_gnu=no
3175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3179 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3180 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3181 GXX=`test $ac_compiler_gnu = yes && echo yes`
3182 ac_test_CXXFLAGS=${CXXFLAGS+set}
3183 ac_save_CXXFLAGS=$CXXFLAGS
3184 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3185 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3186 if test "${ac_cv_prog_cxx_g+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 else
3189 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3190 ac_cxx_werror_flag=yes
3191 ac_cv_prog_cxx_g=no
3192 CXXFLAGS="-g"
3193 cat >conftest.$ac_ext <<_ACEOF
3194 /* confdefs.h. */
3195 _ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3201 main ()
3205 return 0;
3207 _ACEOF
3208 rm -f conftest.$ac_objext
3209 if { (ac_try="$ac_compile"
3210 case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3213 esac
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_compile") 2>conftest.er1
3216 ac_status=$?
3217 grep -v '^ *+' conftest.er1 >conftest.err
3218 rm -f conftest.er1
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_cxx_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then
3225 ac_cv_prog_cxx_g=yes
3226 else
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3230 CXXFLAGS=""
3231 cat >conftest.$ac_ext <<_ACEOF
3232 /* confdefs.h. */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3239 main ()
3243 return 0;
3245 _ACEOF
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3248 case "(($ac_try" in
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3251 esac
3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_compile") 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } && {
3260 test -z "$ac_cxx_werror_flag" ||
3261 test ! -s conftest.err
3262 } && test -s conftest.$ac_objext; then
3264 else
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3269 CXXFLAGS="-g"
3270 cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h. */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3278 main ()
3282 return 0;
3284 _ACEOF
3285 rm -f conftest.$ac_objext
3286 if { (ac_try="$ac_compile"
3287 case "(($ac_try" in
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3290 esac
3291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_cxx_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cxx_g=yes
3303 else
3304 echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3319 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3320 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3321 if test "$ac_test_CXXFLAGS" = set; then
3322 CXXFLAGS=$ac_save_CXXFLAGS
3323 elif test $ac_cv_prog_cxx_g = yes; then
3324 if test "$GXX" = yes; then
3325 CXXFLAGS="-g -O2"
3326 else
3327 CXXFLAGS="-g"
3329 else
3330 if test "$GXX" = yes; then
3331 CXXFLAGS="-O2"
3332 else
3333 CXXFLAGS=
3336 ac_ext=c
3337 ac_cpp='$CPP $CPPFLAGS'
3338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3347 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 else
3350 if test -n "$CPPBIN"; then
3351 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 CPPBIN=$ac_cv_prog_CPPBIN
3371 if test -n "$CPPBIN"; then
3372 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3373 echo "${ECHO_T}$CPPBIN" >&6; }
3374 else
3375 { echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6; }
3381 if test -z "$ac_cv_prog_CPPBIN"; then
3382 ac_ct_CPPBIN=$CPPBIN
3383 # Extract the first word of "cpp", so it can be a program name with args.
3384 set dummy cpp; ac_word=$2
3385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3387 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3388 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 else
3390 if test -n "$ac_ct_CPPBIN"; then
3391 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_CPPBIN="cpp"
3401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3411 if test -n "$ac_ct_CPPBIN"; then
3412 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3413 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3414 else
3415 { echo "$as_me:$LINENO: result: no" >&5
3416 echo "${ECHO_T}no" >&6; }
3419 if test "x$ac_ct_CPPBIN" = x; then
3420 CPPBIN="cpp"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3425 whose name does not start with the host triplet. If you think this
3426 configuration is useful to you, please write to autoconf@gnu.org." >&5
3427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3428 whose name does not start with the host triplet. If you think this
3429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3430 ac_tool_warned=yes ;;
3431 esac
3432 CPPBIN=$ac_ct_CPPBIN
3434 else
3435 CPPBIN="$ac_cv_prog_CPPBIN"
3439 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3440 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3441 if test "${wine_cv_toolsdir+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 else
3444 if test -z "$with_wine_tools"; then
3445 if test "$cross_compiling" = "yes"; then
3446 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3447 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3448 { (exit 1); exit 1; }; }
3449 else
3450 wine_cv_toolsdir="\$(TOPOBJDIR)"
3452 elif test -d "$with_wine_tools/tools/winebuild"; then
3453 case $with_wine_tools in
3454 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3455 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3456 esac
3457 else
3458 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3459 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3460 { (exit 1); exit 1; }; }
3463 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3464 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3465 TOOLSDIR=$wine_cv_toolsdir
3469 ac_ext=c
3470 ac_cpp='$CPP $CPPFLAGS'
3471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3474 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3475 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3476 # On Suns, sometimes $CPP names a directory.
3477 if test -n "$CPP" && test -d "$CPP"; then
3478 CPP=
3480 if test -z "$CPP"; then
3481 if test "${ac_cv_prog_CPP+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 else
3484 # Double quotes because CPP needs to be expanded
3485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3487 ac_preproc_ok=false
3488 for ac_c_preproc_warn_flag in '' yes
3490 # Use a header file that comes with gcc, so configuring glibc
3491 # with a fresh cross-compiler works.
3492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3493 # <limits.h> exists even on freestanding compilers.
3494 # On the NeXT, cc -E runs the code through the compiler's parser,
3495 # not just through cpp. "Syntax error" is here to catch this case.
3496 cat >conftest.$ac_ext <<_ACEOF
3497 /* confdefs.h. */
3498 _ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 #ifdef __STDC__
3503 # include <limits.h>
3504 #else
3505 # include <assert.h>
3506 #endif
3507 Syntax error
3508 _ACEOF
3509 if { (ac_try="$ac_cpp conftest.$ac_ext"
3510 case "(($ac_try" in
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3513 esac
3514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3516 ac_status=$?
3517 grep -v '^ *+' conftest.er1 >conftest.err
3518 rm -f conftest.er1
3519 cat conftest.err >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } >/dev/null && {
3522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3524 }; then
3526 else
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3530 # Broken: fails on valid input.
3531 continue
3534 rm -f conftest.err conftest.$ac_ext
3536 # OK, works on sane cases. Now check whether nonexistent headers
3537 # can be detected and how.
3538 cat >conftest.$ac_ext <<_ACEOF
3539 /* confdefs.h. */
3540 _ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 #include <ac_nonexistent.h>
3545 _ACEOF
3546 if { (ac_try="$ac_cpp conftest.$ac_ext"
3547 case "(($ac_try" in
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3550 esac
3551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3553 ac_status=$?
3554 grep -v '^ *+' conftest.er1 >conftest.err
3555 rm -f conftest.er1
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3561 }; then
3562 # Broken: success on invalid input.
3563 continue
3564 else
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3569 ac_preproc_ok=:
3570 break
3573 rm -f conftest.err conftest.$ac_ext
3575 done
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.$ac_ext
3578 if $ac_preproc_ok; then
3579 break
3582 done
3583 ac_cv_prog_CPP=$CPP
3586 CPP=$ac_cv_prog_CPP
3587 else
3588 ac_cv_prog_CPP=$CPP
3590 { echo "$as_me:$LINENO: result: $CPP" >&5
3591 echo "${ECHO_T}$CPP" >&6; }
3592 ac_preproc_ok=false
3593 for ac_c_preproc_warn_flag in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error" is here to catch this case.
3601 cat >conftest.$ac_ext <<_ACEOF
3602 /* confdefs.h. */
3603 _ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3607 #ifdef __STDC__
3608 # include <limits.h>
3609 #else
3610 # include <assert.h>
3611 #endif
3612 Syntax error
3613 _ACEOF
3614 if { (ac_try="$ac_cpp conftest.$ac_ext"
3615 case "(($ac_try" in
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3618 esac
3619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3621 ac_status=$?
3622 grep -v '^ *+' conftest.er1 >conftest.err
3623 rm -f conftest.er1
3624 cat conftest.err >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); } >/dev/null && {
3627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3628 test ! -s conftest.err
3629 }; then
3631 else
3632 echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.$ac_ext >&5
3635 # Broken: fails on valid input.
3636 continue
3639 rm -f conftest.err conftest.$ac_ext
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat >conftest.$ac_ext <<_ACEOF
3644 /* confdefs.h. */
3645 _ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3649 #include <ac_nonexistent.h>
3650 _ACEOF
3651 if { (ac_try="$ac_cpp conftest.$ac_ext"
3652 case "(($ac_try" in
3653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3654 *) ac_try_echo=$ac_try;;
3655 esac
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev/null && {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3666 }; then
3667 # Broken: success on invalid input.
3668 continue
3669 else
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Passes both tests.
3674 ac_preproc_ok=:
3675 break
3678 rm -f conftest.err conftest.$ac_ext
3680 done
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.err conftest.$ac_ext
3683 if $ac_preproc_ok; then
3685 else
3686 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3687 See \`config.log' for more details." >&5
3688 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log' for more details." >&2;}
3690 { (exit 1); exit 1; }; }
3693 ac_ext=c
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3700 { echo "$as_me:$LINENO: checking for X" >&5
3701 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3704 # Check whether --with-x was given.
3705 if test "${with_x+set}" = set; then
3706 withval=$with_x;
3709 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3710 if test "x$with_x" = xno; then
3711 # The user explicitly disabled X.
3712 have_x=disabled
3713 else
3714 case $x_includes,$x_libraries in #(
3715 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3716 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3717 { (exit 1); exit 1; }; };; #(
3718 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 else
3721 # One or both of the vars are not set, and there is no cached value.
3722 ac_x_includes=no ac_x_libraries=no
3723 rm -f -r conftest.dir
3724 if mkdir conftest.dir; then
3725 cd conftest.dir
3726 cat >Imakefile <<'_ACEOF'
3727 incroot:
3728 @echo incroot='${INCROOT}'
3729 usrlibdir:
3730 @echo usrlibdir='${USRLIBDIR}'
3731 libdir:
3732 @echo libdir='${LIBDIR}'
3733 _ACEOF
3734 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3735 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3736 for ac_var in incroot usrlibdir libdir; do
3737 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3738 done
3739 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3740 for ac_extension in a so sl; do
3741 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3742 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3743 ac_im_usrlibdir=$ac_im_libdir; break
3745 done
3746 # Screen out bogus values from the imake configuration. They are
3747 # bogus both because they are the default anyway, and because
3748 # using them would break gcc on systems where it needs fixed includes.
3749 case $ac_im_incroot in
3750 /usr/include) ac_x_includes= ;;
3751 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3752 esac
3753 case $ac_im_usrlibdir in
3754 /usr/lib | /lib) ;;
3755 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3756 esac
3758 cd ..
3759 rm -f -r conftest.dir
3762 # Standard set of common directories for X headers.
3763 # Check X11 before X11Rn because it is often a symlink to the current release.
3764 ac_x_header_dirs='
3765 /usr/X11/include
3766 /usr/X11R6/include
3767 /usr/X11R5/include
3768 /usr/X11R4/include
3770 /usr/include/X11
3771 /usr/include/X11R6
3772 /usr/include/X11R5
3773 /usr/include/X11R4
3775 /usr/local/X11/include
3776 /usr/local/X11R6/include
3777 /usr/local/X11R5/include
3778 /usr/local/X11R4/include
3780 /usr/local/include/X11
3781 /usr/local/include/X11R6
3782 /usr/local/include/X11R5
3783 /usr/local/include/X11R4
3785 /usr/X386/include
3786 /usr/x386/include
3787 /usr/XFree86/include/X11
3789 /usr/include
3790 /usr/local/include
3791 /usr/unsupported/include
3792 /usr/athena/include
3793 /usr/local/x11r5/include
3794 /usr/lpp/Xamples/include
3796 /usr/openwin/include
3797 /usr/openwin/share/include'
3799 if test "$ac_x_includes" = no; then
3800 # Guess where to find include files, by looking for Xlib.h.
3801 # First, try using that file with no special directory specified.
3802 cat >conftest.$ac_ext <<_ACEOF
3803 /* confdefs.h. */
3804 _ACEOF
3805 cat confdefs.h >>conftest.$ac_ext
3806 cat >>conftest.$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 #include <X11/Xlib.h>
3809 _ACEOF
3810 if { (ac_try="$ac_cpp conftest.$ac_ext"
3811 case "(($ac_try" in
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3814 esac
3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3817 ac_status=$?
3818 grep -v '^ *+' conftest.er1 >conftest.err
3819 rm -f conftest.er1
3820 cat conftest.err >&5
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); } >/dev/null && {
3823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3824 test ! -s conftest.err
3825 }; then
3826 # We can compile using X headers with no special include directory.
3827 ac_x_includes=
3828 else
3829 echo "$as_me: failed program was:" >&5
3830 sed 's/^/| /' conftest.$ac_ext >&5
3832 for ac_dir in $ac_x_header_dirs; do
3833 if test -r "$ac_dir/X11/Xlib.h"; then
3834 ac_x_includes=$ac_dir
3835 break
3837 done
3840 rm -f conftest.err conftest.$ac_ext
3841 fi # $ac_x_includes = no
3843 if test "$ac_x_libraries" = no; then
3844 # Check for the libraries.
3845 # See if we find them without any special options.
3846 # Don't add to $LIBS permanently.
3847 ac_save_LIBS=$LIBS
3848 LIBS="-lX11 $LIBS"
3849 cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h. */
3851 _ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <X11/Xlib.h>
3857 main ()
3859 XrmInitialize ()
3861 return 0;
3863 _ACEOF
3864 rm -f conftest.$ac_objext conftest$ac_exeext
3865 if { (ac_try="$ac_link"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3871 (eval "$ac_link") 2>conftest.er1
3872 ac_status=$?
3873 grep -v '^ *+' conftest.er1 >conftest.err
3874 rm -f conftest.er1
3875 cat conftest.err >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); } && {
3878 test -z "$ac_c_werror_flag" ||
3879 test ! -s conftest.err
3880 } && test -s conftest$ac_exeext &&
3881 $as_test_x conftest$ac_exeext; then
3882 LIBS=$ac_save_LIBS
3883 # We can link X programs with no special library path.
3884 ac_x_libraries=
3885 else
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3889 LIBS=$ac_save_LIBS
3890 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3892 # Don't even attempt the hair of trying to link an X program!
3893 for ac_extension in a so sl; do
3894 if test -r "$ac_dir/libX11.$ac_extension"; then
3895 ac_x_libraries=$ac_dir
3896 break 2
3898 done
3899 done
3902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3903 conftest$ac_exeext conftest.$ac_ext
3904 fi # $ac_x_libraries = no
3906 case $ac_x_includes,$ac_x_libraries in #(
3907 no,* | *,no | *\'*)
3908 # Didn't find X, or a directory has "'" in its name.
3909 ac_cv_have_x="have_x=no";; #(
3911 # Record where we found X for the cache.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$ac_x_includes'\
3914 ac_x_libraries='$ac_x_libraries'"
3915 esac
3917 ;; #(
3918 *) have_x=yes;;
3919 esac
3920 eval "$ac_cv_have_x"
3921 fi # $with_x != no
3923 if test "$have_x" != yes; then
3924 { echo "$as_me:$LINENO: result: $have_x" >&5
3925 echo "${ECHO_T}$have_x" >&6; }
3926 no_x=yes
3927 else
3928 # If each of the values was on the command line, it overrides each guess.
3929 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3930 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3931 # Update the cache value to reflect the command line values.
3932 ac_cv_have_x="have_x=yes\
3933 ac_x_includes='$x_includes'\
3934 ac_x_libraries='$x_libraries'"
3935 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3936 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3939 if test "$no_x" = yes; then
3940 # Not all programs may use this symbol, but it does not hurt to define it.
3942 cat >>confdefs.h <<\_ACEOF
3943 #define X_DISPLAY_MISSING 1
3944 _ACEOF
3946 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3947 else
3948 if test -n "$x_includes"; then
3949 X_CFLAGS="$X_CFLAGS -I$x_includes"
3952 # It would also be nice to do this for all -L options, not just this one.
3953 if test -n "$x_libraries"; then
3954 X_LIBS="$X_LIBS -L$x_libraries"
3955 # For Solaris; some versions of Sun CC require a space after -R and
3956 # others require no space. Words are not sufficient . . . .
3957 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3958 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3959 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3960 ac_xsave_c_werror_flag=$ac_c_werror_flag
3961 ac_c_werror_flag=yes
3962 cat >conftest.$ac_ext <<_ACEOF
3963 /* confdefs.h. */
3964 _ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3970 main ()
3974 return 0;
3976 _ACEOF
3977 rm -f conftest.$ac_objext conftest$ac_exeext
3978 if { (ac_try="$ac_link"
3979 case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3984 (eval "$ac_link") 2>conftest.er1
3985 ac_status=$?
3986 grep -v '^ *+' conftest.er1 >conftest.err
3987 rm -f conftest.er1
3988 cat conftest.err >&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } && {
3991 test -z "$ac_c_werror_flag" ||
3992 test ! -s conftest.err
3993 } && test -s conftest$ac_exeext &&
3994 $as_test_x conftest$ac_exeext; then
3995 { echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6; }
3997 X_LIBS="$X_LIBS -R$x_libraries"
3998 else
3999 echo "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4002 LIBS="$ac_xsave_LIBS -R $x_libraries"
4003 cat >conftest.$ac_ext <<_ACEOF
4004 /* confdefs.h. */
4005 _ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4011 main ()
4015 return 0;
4017 _ACEOF
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4020 case "(($ac_try" in
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4023 esac
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4026 ac_status=$?
4027 grep -v '^ *+' conftest.er1 >conftest.err
4028 rm -f conftest.er1
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } && {
4032 test -z "$ac_c_werror_flag" ||
4033 test ! -s conftest.err
4034 } && test -s conftest$ac_exeext &&
4035 $as_test_x conftest$ac_exeext; then
4036 { echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6; }
4038 X_LIBS="$X_LIBS -R $x_libraries"
4039 else
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { echo "$as_me:$LINENO: result: neither works" >&5
4044 echo "${ECHO_T}neither works" >&6; }
4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4048 conftest$ac_exeext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4052 conftest$ac_exeext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_xsave_c_werror_flag
4054 LIBS=$ac_xsave_LIBS
4057 # Check for system-dependent libraries X programs must link with.
4058 # Do this before checking for the system-independent R6 libraries
4059 # (-lICE), since we may need -lsocket or whatever for X linking.
4061 if test "$ISC" = yes; then
4062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4063 else
4064 # Martyn Johnson says this is needed for Ultrix, if the X
4065 # libraries were built with DECnet support. And Karl Berry says
4066 # the Alpha needs dnet_stub (dnet does not exist).
4067 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4068 cat >conftest.$ac_ext <<_ACEOF
4069 /* confdefs.h. */
4070 _ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4075 /* Override any GCC internal prototype to avoid an error.
4076 Use char because int might match the return type of a GCC
4077 builtin and then its argument prototype would still apply. */
4078 #ifdef __cplusplus
4079 extern "C"
4080 #endif
4081 char XOpenDisplay ();
4083 main ()
4085 return XOpenDisplay ();
4087 return 0;
4089 _ACEOF
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (ac_try="$ac_link"
4092 case "(($ac_try" in
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4095 esac
4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097 (eval "$ac_link") 2>conftest.er1
4098 ac_status=$?
4099 grep -v '^ *+' conftest.er1 >conftest.err
4100 rm -f conftest.er1
4101 cat conftest.err >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } && {
4104 test -z "$ac_c_werror_flag" ||
4105 test ! -s conftest.err
4106 } && test -s conftest$ac_exeext &&
4107 $as_test_x conftest$ac_exeext; then
4109 else
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 else
4118 ac_check_lib_save_LIBS=$LIBS
4119 LIBS="-ldnet $LIBS"
4120 cat >conftest.$ac_ext <<_ACEOF
4121 /* confdefs.h. */
4122 _ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any GCC internal prototype to avoid an error.
4128 Use char because int might match the return type of a GCC
4129 builtin and then its argument prototype would still apply. */
4130 #ifdef __cplusplus
4131 extern "C"
4132 #endif
4133 char dnet_ntoa ();
4135 main ()
4137 return dnet_ntoa ();
4139 return 0;
4141 _ACEOF
4142 rm -f conftest.$ac_objext conftest$ac_exeext
4143 if { (ac_try="$ac_link"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149 (eval "$ac_link") 2>conftest.er1
4150 ac_status=$?
4151 grep -v '^ *+' conftest.er1 >conftest.err
4152 rm -f conftest.er1
4153 cat conftest.err >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } && {
4156 test -z "$ac_c_werror_flag" ||
4157 test ! -s conftest.err
4158 } && test -s conftest$ac_exeext &&
4159 $as_test_x conftest$ac_exeext; then
4160 ac_cv_lib_dnet_dnet_ntoa=yes
4161 else
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 ac_cv_lib_dnet_dnet_ntoa=no
4168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4169 conftest$ac_exeext conftest.$ac_ext
4170 LIBS=$ac_check_lib_save_LIBS
4172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4173 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4174 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4175 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4178 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4179 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4180 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4181 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4183 else
4184 ac_check_lib_save_LIBS=$LIBS
4185 LIBS="-ldnet_stub $LIBS"
4186 cat >conftest.$ac_ext <<_ACEOF
4187 /* confdefs.h. */
4188 _ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4193 /* Override any GCC internal prototype to avoid an error.
4194 Use char because int might match the return type of a GCC
4195 builtin and then its argument prototype would still apply. */
4196 #ifdef __cplusplus
4197 extern "C"
4198 #endif
4199 char dnet_ntoa ();
4201 main ()
4203 return dnet_ntoa ();
4205 return 0;
4207 _ACEOF
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (ac_try="$ac_link"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_link") 2>conftest.er1
4216 ac_status=$?
4217 grep -v '^ *+' conftest.er1 >conftest.err
4218 rm -f conftest.er1
4219 cat conftest.err >&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); } && {
4222 test -z "$ac_c_werror_flag" ||
4223 test ! -s conftest.err
4224 } && test -s conftest$ac_exeext &&
4225 $as_test_x conftest$ac_exeext; then
4226 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4227 else
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 ac_cv_lib_dnet_stub_dnet_ntoa=no
4234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4235 conftest$ac_exeext conftest.$ac_ext
4236 LIBS=$ac_check_lib_save_LIBS
4238 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4239 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4240 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4241 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4248 conftest$ac_exeext conftest.$ac_ext
4249 LIBS="$ac_xsave_LIBS"
4251 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4252 # to get the SysV transport functions.
4253 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4254 # needs -lnsl.
4255 # The nsl library prevents programs from opening the X display
4256 # on Irix 5.2, according to T.E. Dickey.
4257 # The functions gethostbyname, getservbyname, and inet_addr are
4258 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4259 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4260 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4261 if test "${ac_cv_func_gethostbyname+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 else
4264 cat >conftest.$ac_ext <<_ACEOF
4265 /* confdefs.h. */
4266 _ACEOF
4267 cat confdefs.h >>conftest.$ac_ext
4268 cat >>conftest.$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4270 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4272 #define gethostbyname innocuous_gethostbyname
4274 /* System header to define __stub macros and hopefully few prototypes,
4275 which can conflict with char gethostbyname (); below.
4276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277 <limits.h> exists even on freestanding compilers. */
4279 #ifdef __STDC__
4280 # include <limits.h>
4281 #else
4282 # include <assert.h>
4283 #endif
4285 #undef gethostbyname
4287 /* Override any GCC internal prototype to avoid an error.
4288 Use char because int might match the return type of a GCC
4289 builtin and then its argument prototype would still apply. */
4290 #ifdef __cplusplus
4291 extern "C"
4292 #endif
4293 char gethostbyname ();
4294 /* The GNU C library defines this for functions which it implements
4295 to always fail with ENOSYS. Some functions are actually named
4296 something starting with __ and the normal name is an alias. */
4297 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4298 choke me
4299 #endif
4302 main ()
4304 return gethostbyname ();
4306 return 0;
4308 _ACEOF
4309 rm -f conftest.$ac_objext conftest$ac_exeext
4310 if { (ac_try="$ac_link"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_link") 2>conftest.er1
4317 ac_status=$?
4318 grep -v '^ *+' conftest.er1 >conftest.err
4319 rm -f conftest.er1
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_c_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest$ac_exeext &&
4326 $as_test_x conftest$ac_exeext; then
4327 ac_cv_func_gethostbyname=yes
4328 else
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4332 ac_cv_func_gethostbyname=no
4335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4336 conftest$ac_exeext conftest.$ac_ext
4338 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4339 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4341 if test $ac_cv_func_gethostbyname = no; then
4342 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4343 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4344 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 else
4347 ac_check_lib_save_LIBS=$LIBS
4348 LIBS="-lnsl $LIBS"
4349 cat >conftest.$ac_ext <<_ACEOF
4350 /* confdefs.h. */
4351 _ACEOF
4352 cat confdefs.h >>conftest.$ac_ext
4353 cat >>conftest.$ac_ext <<_ACEOF
4354 /* end confdefs.h. */
4356 /* Override any GCC internal prototype to avoid an error.
4357 Use char because int might match the return type of a GCC
4358 builtin and then its argument prototype would still apply. */
4359 #ifdef __cplusplus
4360 extern "C"
4361 #endif
4362 char gethostbyname ();
4364 main ()
4366 return gethostbyname ();
4368 return 0;
4370 _ACEOF
4371 rm -f conftest.$ac_objext conftest$ac_exeext
4372 if { (ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_link") 2>conftest.er1
4379 ac_status=$?
4380 grep -v '^ *+' conftest.er1 >conftest.err
4381 rm -f conftest.er1
4382 cat conftest.err >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } && {
4385 test -z "$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4387 } && test -s conftest$ac_exeext &&
4388 $as_test_x conftest$ac_exeext; then
4389 ac_cv_lib_nsl_gethostbyname=yes
4390 else
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.$ac_ext >&5
4394 ac_cv_lib_nsl_gethostbyname=no
4397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4398 conftest$ac_exeext conftest.$ac_ext
4399 LIBS=$ac_check_lib_save_LIBS
4401 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4402 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4403 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4407 if test $ac_cv_lib_nsl_gethostbyname = no; then
4408 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4409 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4410 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 else
4413 ac_check_lib_save_LIBS=$LIBS
4414 LIBS="-lbsd $LIBS"
4415 cat >conftest.$ac_ext <<_ACEOF
4416 /* confdefs.h. */
4417 _ACEOF
4418 cat confdefs.h >>conftest.$ac_ext
4419 cat >>conftest.$ac_ext <<_ACEOF
4420 /* end confdefs.h. */
4422 /* Override any GCC internal prototype to avoid an error.
4423 Use char because int might match the return type of a GCC
4424 builtin and then its argument prototype would still apply. */
4425 #ifdef __cplusplus
4426 extern "C"
4427 #endif
4428 char gethostbyname ();
4430 main ()
4432 return gethostbyname ();
4434 return 0;
4436 _ACEOF
4437 rm -f conftest.$ac_objext conftest$ac_exeext
4438 if { (ac_try="$ac_link"
4439 case "(($ac_try" in
4440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4441 *) ac_try_echo=$ac_try;;
4442 esac
4443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4444 (eval "$ac_link") 2>conftest.er1
4445 ac_status=$?
4446 grep -v '^ *+' conftest.er1 >conftest.err
4447 rm -f conftest.er1
4448 cat conftest.err >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } && {
4451 test -z "$ac_c_werror_flag" ||
4452 test ! -s conftest.err
4453 } && test -s conftest$ac_exeext &&
4454 $as_test_x conftest$ac_exeext; then
4455 ac_cv_lib_bsd_gethostbyname=yes
4456 else
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_cv_lib_bsd_gethostbyname=no
4463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4464 conftest$ac_exeext conftest.$ac_ext
4465 LIBS=$ac_check_lib_save_LIBS
4467 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4468 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4469 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4476 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4477 # socket/setsockopt and other routines are undefined under SCO ODT
4478 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4479 # on later versions), says Simon Leinen: it contains gethostby*
4480 # variants that don't use the name server (or something). -lsocket
4481 # must be given before -lnsl if both are needed. We assume that
4482 # if connect needs -lnsl, so does gethostbyname.
4483 { echo "$as_me:$LINENO: checking for connect" >&5
4484 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4485 if test "${ac_cv_func_connect+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 else
4488 cat >conftest.$ac_ext <<_ACEOF
4489 /* confdefs.h. */
4490 _ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4496 #define connect innocuous_connect
4498 /* System header to define __stub macros and hopefully few prototypes,
4499 which can conflict with char connect (); below.
4500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4501 <limits.h> exists even on freestanding compilers. */
4503 #ifdef __STDC__
4504 # include <limits.h>
4505 #else
4506 # include <assert.h>
4507 #endif
4509 #undef connect
4511 /* Override any GCC internal prototype to avoid an error.
4512 Use char because int might match the return type of a GCC
4513 builtin and then its argument prototype would still apply. */
4514 #ifdef __cplusplus
4515 extern "C"
4516 #endif
4517 char connect ();
4518 /* The GNU C library defines this for functions which it implements
4519 to always fail with ENOSYS. Some functions are actually named
4520 something starting with __ and the normal name is an alias. */
4521 #if defined __stub_connect || defined __stub___connect
4522 choke me
4523 #endif
4526 main ()
4528 return connect ();
4530 return 0;
4532 _ACEOF
4533 rm -f conftest.$ac_objext conftest$ac_exeext
4534 if { (ac_try="$ac_link"
4535 case "(($ac_try" in
4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4538 esac
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_link") 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest$ac_exeext &&
4550 $as_test_x conftest$ac_exeext; then
4551 ac_cv_func_connect=yes
4552 else
4553 echo "$as_me: failed program was:" >&5
4554 sed 's/^/| /' conftest.$ac_ext >&5
4556 ac_cv_func_connect=no
4559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4560 conftest$ac_exeext conftest.$ac_ext
4562 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4563 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4565 if test $ac_cv_func_connect = no; then
4566 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4567 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4568 if test "${ac_cv_lib_socket_connect+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571 ac_check_lib_save_LIBS=$LIBS
4572 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4573 cat >conftest.$ac_ext <<_ACEOF
4574 /* confdefs.h. */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any GCC internal prototype to avoid an error.
4581 Use char because int might match the return type of a GCC
4582 builtin and then its argument prototype would still apply. */
4583 #ifdef __cplusplus
4584 extern "C"
4585 #endif
4586 char connect ();
4588 main ()
4590 return connect ();
4592 return 0;
4594 _ACEOF
4595 rm -f conftest.$ac_objext conftest$ac_exeext
4596 if { (ac_try="$ac_link"
4597 case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4600 esac
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_link") 2>conftest.er1
4603 ac_status=$?
4604 grep -v '^ *+' conftest.er1 >conftest.err
4605 rm -f conftest.er1
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } && {
4609 test -z "$ac_c_werror_flag" ||
4610 test ! -s conftest.err
4611 } && test -s conftest$ac_exeext &&
4612 $as_test_x conftest$ac_exeext; then
4613 ac_cv_lib_socket_connect=yes
4614 else
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_socket_connect=no
4621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4622 conftest$ac_exeext conftest.$ac_ext
4623 LIBS=$ac_check_lib_save_LIBS
4625 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4626 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4627 if test $ac_cv_lib_socket_connect = yes; then
4628 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4633 # Guillermo Gomez says -lposix is necessary on A/UX.
4634 { echo "$as_me:$LINENO: checking for remove" >&5
4635 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4636 if test "${ac_cv_func_remove+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639 cat >conftest.$ac_ext <<_ACEOF
4640 /* confdefs.h. */
4641 _ACEOF
4642 cat confdefs.h >>conftest.$ac_ext
4643 cat >>conftest.$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4645 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4647 #define remove innocuous_remove
4649 /* System header to define __stub macros and hopefully few prototypes,
4650 which can conflict with char remove (); below.
4651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 <limits.h> exists even on freestanding compilers. */
4654 #ifdef __STDC__
4655 # include <limits.h>
4656 #else
4657 # include <assert.h>
4658 #endif
4660 #undef remove
4662 /* Override any GCC internal prototype to avoid an error.
4663 Use char because int might match the return type of a GCC
4664 builtin and then its argument prototype would still apply. */
4665 #ifdef __cplusplus
4666 extern "C"
4667 #endif
4668 char remove ();
4669 /* The GNU C library defines this for functions which it implements
4670 to always fail with ENOSYS. Some functions are actually named
4671 something starting with __ and the normal name is an alias. */
4672 #if defined __stub_remove || defined __stub___remove
4673 choke me
4674 #endif
4677 main ()
4679 return remove ();
4681 return 0;
4683 _ACEOF
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (ac_try="$ac_link"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 (eval "$ac_link") 2>conftest.er1
4692 ac_status=$?
4693 grep -v '^ *+' conftest.er1 >conftest.err
4694 rm -f conftest.er1
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && {
4698 test -z "$ac_c_werror_flag" ||
4699 test ! -s conftest.err
4700 } && test -s conftest$ac_exeext &&
4701 $as_test_x conftest$ac_exeext; then
4702 ac_cv_func_remove=yes
4703 else
4704 echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 ac_cv_func_remove=no
4710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4711 conftest$ac_exeext conftest.$ac_ext
4713 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4714 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4716 if test $ac_cv_func_remove = no; then
4717 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4718 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4719 if test "${ac_cv_lib_posix_remove+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 else
4722 ac_check_lib_save_LIBS=$LIBS
4723 LIBS="-lposix $LIBS"
4724 cat >conftest.$ac_ext <<_ACEOF
4725 /* confdefs.h. */
4726 _ACEOF
4727 cat confdefs.h >>conftest.$ac_ext
4728 cat >>conftest.$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4734 #ifdef __cplusplus
4735 extern "C"
4736 #endif
4737 char remove ();
4739 main ()
4741 return remove ();
4743 return 0;
4745 _ACEOF
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (ac_try="$ac_link"
4748 case "(($ac_try" in
4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4751 esac
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_link") 2>conftest.er1
4754 ac_status=$?
4755 grep -v '^ *+' conftest.er1 >conftest.err
4756 rm -f conftest.er1
4757 cat conftest.err >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } && {
4760 test -z "$ac_c_werror_flag" ||
4761 test ! -s conftest.err
4762 } && test -s conftest$ac_exeext &&
4763 $as_test_x conftest$ac_exeext; then
4764 ac_cv_lib_posix_remove=yes
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 ac_cv_lib_posix_remove=no
4772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4773 conftest$ac_exeext conftest.$ac_ext
4774 LIBS=$ac_check_lib_save_LIBS
4776 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4777 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4778 if test $ac_cv_lib_posix_remove = yes; then
4779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4785 { echo "$as_me:$LINENO: checking for shmat" >&5
4786 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4787 if test "${ac_cv_func_shmat+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 else
4790 cat >conftest.$ac_ext <<_ACEOF
4791 /* confdefs.h. */
4792 _ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4798 #define shmat innocuous_shmat
4800 /* System header to define __stub macros and hopefully few prototypes,
4801 which can conflict with char shmat (); below.
4802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4803 <limits.h> exists even on freestanding compilers. */
4805 #ifdef __STDC__
4806 # include <limits.h>
4807 #else
4808 # include <assert.h>
4809 #endif
4811 #undef shmat
4813 /* Override any GCC internal prototype to avoid an error.
4814 Use char because int might match the return type of a GCC
4815 builtin and then its argument prototype would still apply. */
4816 #ifdef __cplusplus
4817 extern "C"
4818 #endif
4819 char shmat ();
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined __stub_shmat || defined __stub___shmat
4824 choke me
4825 #endif
4828 main ()
4830 return shmat ();
4832 return 0;
4834 _ACEOF
4835 rm -f conftest.$ac_objext conftest$ac_exeext
4836 if { (ac_try="$ac_link"
4837 case "(($ac_try" in
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4840 esac
4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4843 ac_status=$?
4844 grep -v '^ *+' conftest.er1 >conftest.err
4845 rm -f conftest.er1
4846 cat conftest.err >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } && {
4849 test -z "$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4851 } && test -s conftest$ac_exeext &&
4852 $as_test_x conftest$ac_exeext; then
4853 ac_cv_func_shmat=yes
4854 else
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 ac_cv_func_shmat=no
4861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4862 conftest$ac_exeext conftest.$ac_ext
4864 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4865 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4867 if test $ac_cv_func_shmat = no; then
4868 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4869 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4870 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873 ac_check_lib_save_LIBS=$LIBS
4874 LIBS="-lipc $LIBS"
4875 cat >conftest.$ac_ext <<_ACEOF
4876 /* confdefs.h. */
4877 _ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4885 #ifdef __cplusplus
4886 extern "C"
4887 #endif
4888 char shmat ();
4890 main ()
4892 return shmat ();
4894 return 0;
4896 _ACEOF
4897 rm -f conftest.$ac_objext conftest$ac_exeext
4898 if { (ac_try="$ac_link"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_link") 2>conftest.er1
4905 ac_status=$?
4906 grep -v '^ *+' conftest.er1 >conftest.err
4907 rm -f conftest.er1
4908 cat conftest.err >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest$ac_exeext &&
4914 $as_test_x conftest$ac_exeext; then
4915 ac_cv_lib_ipc_shmat=yes
4916 else
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 ac_cv_lib_ipc_shmat=no
4923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4924 conftest$ac_exeext conftest.$ac_ext
4925 LIBS=$ac_check_lib_save_LIBS
4927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4928 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4929 if test $ac_cv_lib_ipc_shmat = yes; then
4930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4936 # Check for libraries that X11R6 Xt/Xaw programs need.
4937 ac_save_LDFLAGS=$LDFLAGS
4938 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4939 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4940 # check for ICE first), but we must link in the order -lSM -lICE or
4941 # we get undefined symbols. So assume we have SM if we have ICE.
4942 # These have to be linked with before -lX11, unlike the other
4943 # libraries we check for below, so use a different variable.
4944 # John Interrante, Karl Berry
4945 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4946 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4947 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 else
4950 ac_check_lib_save_LIBS=$LIBS
4951 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4952 cat >conftest.$ac_ext <<_ACEOF
4953 /* confdefs.h. */
4954 _ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4959 /* Override any GCC internal prototype to avoid an error.
4960 Use char because int might match the return type of a GCC
4961 builtin and then its argument prototype would still apply. */
4962 #ifdef __cplusplus
4963 extern "C"
4964 #endif
4965 char IceConnectionNumber ();
4967 main ()
4969 return IceConnectionNumber ();
4971 return 0;
4973 _ACEOF
4974 rm -f conftest.$ac_objext conftest$ac_exeext
4975 if { (ac_try="$ac_link"
4976 case "(($ac_try" in
4977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978 *) ac_try_echo=$ac_try;;
4979 esac
4980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981 (eval "$ac_link") 2>conftest.er1
4982 ac_status=$?
4983 grep -v '^ *+' conftest.er1 >conftest.err
4984 rm -f conftest.er1
4985 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && {
4988 test -z "$ac_c_werror_flag" ||
4989 test ! -s conftest.err
4990 } && test -s conftest$ac_exeext &&
4991 $as_test_x conftest$ac_exeext; then
4992 ac_cv_lib_ICE_IceConnectionNumber=yes
4993 else
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4997 ac_cv_lib_ICE_IceConnectionNumber=no
5000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5001 conftest$ac_exeext conftest.$ac_ext
5002 LIBS=$ac_check_lib_save_LIBS
5004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5005 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5006 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5007 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5010 LDFLAGS=$ac_save_LDFLAGS
5015 for ac_prog in flex
5017 # Extract the first word of "$ac_prog", so it can be a program name with args.
5018 set dummy $ac_prog; ac_word=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_prog_FLEX+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5023 else
5024 if test -n "$FLEX"; then
5025 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5026 else
5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5028 for as_dir in $PATH
5030 IFS=$as_save_IFS
5031 test -z "$as_dir" && as_dir=.
5032 for ac_exec_ext in '' $ac_executable_extensions; do
5033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5034 ac_cv_prog_FLEX="$ac_prog"
5035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 break 2
5038 done
5039 done
5040 IFS=$as_save_IFS
5044 FLEX=$ac_cv_prog_FLEX
5045 if test -n "$FLEX"; then
5046 { echo "$as_me:$LINENO: result: $FLEX" >&5
5047 echo "${ECHO_T}$FLEX" >&6; }
5048 else
5049 { echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6; }
5054 test -n "$FLEX" && break
5055 done
5056 test -n "$FLEX" || FLEX="none"
5058 if test "$FLEX" = "none"
5059 then
5060 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5061 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5062 { (exit 1); exit 1; }; }
5065 for ac_prog in bison
5067 # Extract the first word of "$ac_prog", so it can be a program name with args.
5068 set dummy $ac_prog; ac_word=$2
5069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5071 if test "${ac_cv_prog_BISON+set}" = set; then
5072 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 else
5074 if test -n "$BISON"; then
5075 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084 ac_cv_prog_BISON="$ac_prog"
5085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 BISON=$ac_cv_prog_BISON
5095 if test -n "$BISON"; then
5096 { echo "$as_me:$LINENO: result: $BISON" >&5
5097 echo "${ECHO_T}$BISON" >&6; }
5098 else
5099 { echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6; }
5104 test -n "$BISON" && break
5105 done
5106 test -n "$BISON" || BISON="none"
5108 if test "$BISON" = "none"
5109 then
5110 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5111 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5112 { (exit 1); exit 1; }; }
5115 if test -n "$ac_tool_prefix"; then
5116 for ac_prog in gas as
5118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5119 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5122 if test "${ac_cv_prog_AS+set}" = set; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 else
5125 if test -n "$AS"; then
5126 ac_cv_prog_AS="$AS" # Let the user override the test.
5127 else
5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH
5131 IFS=$as_save_IFS
5132 test -z "$as_dir" && as_dir=.
5133 for ac_exec_ext in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 break 2
5139 done
5140 done
5141 IFS=$as_save_IFS
5145 AS=$ac_cv_prog_AS
5146 if test -n "$AS"; then
5147 { echo "$as_me:$LINENO: result: $AS" >&5
5148 echo "${ECHO_T}$AS" >&6; }
5149 else
5150 { echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6; }
5155 test -n "$AS" && break
5156 done
5158 if test -z "$AS"; then
5159 ac_ct_AS=$AS
5160 for ac_prog in gas as
5162 # Extract the first word of "$ac_prog", so it can be a program name with args.
5163 set dummy $ac_prog; ac_word=$2
5164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5166 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 else
5169 if test -n "$ac_ct_AS"; then
5170 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_ac_ct_AS="$ac_prog"
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5183 done
5184 done
5185 IFS=$as_save_IFS
5189 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5190 if test -n "$ac_ct_AS"; then
5191 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5192 echo "${ECHO_T}$ac_ct_AS" >&6; }
5193 else
5194 { echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6; }
5199 test -n "$ac_ct_AS" && break
5200 done
5202 if test "x$ac_ct_AS" = x; then
5203 AS="as"
5204 else
5205 case $cross_compiling:$ac_tool_warned in
5206 yes:)
5207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5208 whose name does not start with the host triplet. If you think this
5209 configuration is useful to you, please write to autoconf@gnu.org." >&5
5210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5211 whose name does not start with the host triplet. If you think this
5212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5213 ac_tool_warned=yes ;;
5214 esac
5215 AS=$ac_ct_AS
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}ld; ac_word=$2
5222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5224 if test "${ac_cv_prog_LD+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 else
5227 if test -n "$LD"; then
5228 ac_cv_prog_LD="$LD" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5237 ac_cv_prog_LD="${ac_tool_prefix}ld"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5243 IFS=$as_save_IFS
5247 LD=$ac_cv_prog_LD
5248 if test -n "$LD"; then
5249 { echo "$as_me:$LINENO: result: $LD" >&5
5250 echo "${ECHO_T}$LD" >&6; }
5251 else
5252 { echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; }
5258 if test -z "$ac_cv_prog_LD"; then
5259 ac_ct_LD=$LD
5260 # Extract the first word of "ld", so it can be a program name with args.
5261 set dummy ld; ac_word=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 else
5267 if test -n "$ac_ct_LD"; then
5268 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_ac_ct_LD="ld"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5288 if test -n "$ac_ct_LD"; then
5289 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5290 echo "${ECHO_T}$ac_ct_LD" >&6; }
5291 else
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5296 if test "x$ac_ct_LD" = x; then
5297 LD="ld"
5298 else
5299 case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5302 whose name does not start with the host triplet. If you think this
5303 configuration is useful to you, please write to autoconf@gnu.org." >&5
5304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5305 whose name does not start with the host triplet. If you think this
5306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5307 ac_tool_warned=yes ;;
5308 esac
5309 LD=$ac_ct_LD
5311 else
5312 LD="$ac_cv_prog_LD"
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5317 set dummy ${ac_tool_prefix}ar; ac_word=$2
5318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5320 if test "${ac_cv_prog_AR+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 else
5323 if test -n "$AR"; then
5324 ac_cv_prog_AR="$AR" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_AR="${ac_tool_prefix}ar"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 break 2
5337 done
5338 done
5339 IFS=$as_save_IFS
5343 AR=$ac_cv_prog_AR
5344 if test -n "$AR"; then
5345 { echo "$as_me:$LINENO: result: $AR" >&5
5346 echo "${ECHO_T}$AR" >&6; }
5347 else
5348 { echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6; }
5354 if test -z "$ac_cv_prog_AR"; then
5355 ac_ct_AR=$AR
5356 # Extract the first word of "ar", so it can be a program name with args.
5357 set dummy ar; ac_word=$2
5358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 else
5363 if test -n "$ac_ct_AR"; then
5364 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5365 else
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_AR="ar"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 break 2
5377 done
5378 done
5379 IFS=$as_save_IFS
5383 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5384 if test -n "$ac_ct_AR"; then
5385 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5386 echo "${ECHO_T}$ac_ct_AR" >&6; }
5387 else
5388 { echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6; }
5392 if test "x$ac_ct_AR" = x; then
5393 AR="ar"
5394 else
5395 case $cross_compiling:$ac_tool_warned in
5396 yes:)
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned=yes ;;
5404 esac
5405 AR=$ac_ct_AR
5407 else
5408 AR="$ac_cv_prog_AR"
5411 if test -n "$ac_tool_prefix"; then
5412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5413 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5416 if test "${ac_cv_prog_RANLIB+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 else
5419 if test -n "$RANLIB"; then
5420 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5421 else
5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 for as_dir in $PATH
5425 IFS=$as_save_IFS
5426 test -z "$as_dir" && as_dir=.
5427 for ac_exec_ext in '' $ac_executable_extensions; do
5428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 break 2
5433 done
5434 done
5435 IFS=$as_save_IFS
5439 RANLIB=$ac_cv_prog_RANLIB
5440 if test -n "$RANLIB"; then
5441 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5442 echo "${ECHO_T}$RANLIB" >&6; }
5443 else
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5450 if test -z "$ac_cv_prog_RANLIB"; then
5451 ac_ct_RANLIB=$RANLIB
5452 # Extract the first word of "ranlib", so it can be a program name with args.
5453 set dummy ranlib; ac_word=$2
5454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5459 if test -n "$ac_ct_RANLIB"; then
5460 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5469 ac_cv_prog_ac_ct_RANLIB="ranlib"
5470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5480 if test -n "$ac_ct_RANLIB"; then
5481 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5482 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5483 else
5484 { echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6; }
5488 if test "x$ac_ct_RANLIB" = x; then
5489 RANLIB=":"
5490 else
5491 case $cross_compiling:$ac_tool_warned in
5492 yes:)
5493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&5
5496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5497 whose name does not start with the host triplet. If you think this
5498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5499 ac_tool_warned=yes ;;
5500 esac
5501 RANLIB=$ac_ct_RANLIB
5503 else
5504 RANLIB="$ac_cv_prog_RANLIB"
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5509 set dummy ${ac_tool_prefix}strip; ac_word=$2
5510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5512 if test "${ac_cv_prog_STRIP+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 else
5515 if test -n "$STRIP"; then
5516 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5525 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 STRIP=$ac_cv_prog_STRIP
5536 if test -n "$STRIP"; then
5537 { echo "$as_me:$LINENO: result: $STRIP" >&5
5538 echo "${ECHO_T}$STRIP" >&6; }
5539 else
5540 { echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6; }
5546 if test -z "$ac_cv_prog_STRIP"; then
5547 ac_ct_STRIP=$STRIP
5548 # Extract the first word of "strip", so it can be a program name with args.
5549 set dummy strip; ac_word=$2
5550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 else
5555 if test -n "$ac_ct_STRIP"; then
5556 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_STRIP="strip"
5566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5576 if test -n "$ac_ct_STRIP"; then
5577 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5578 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5579 else
5580 { echo "$as_me:$LINENO: result: no" >&5
5581 echo "${ECHO_T}no" >&6; }
5584 if test "x$ac_ct_STRIP" = x; then
5585 STRIP="strip"
5586 else
5587 case $cross_compiling:$ac_tool_warned in
5588 yes:)
5589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&5
5592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5593 whose name does not start with the host triplet. If you think this
5594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5595 ac_tool_warned=yes ;;
5596 esac
5597 STRIP=$ac_ct_STRIP
5599 else
5600 STRIP="$ac_cv_prog_STRIP"
5603 if test -n "$ac_tool_prefix"; then
5604 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5605 set dummy ${ac_tool_prefix}windres; ac_word=$2
5606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5608 if test "${ac_cv_prog_WINDRES+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 else
5611 if test -n "$WINDRES"; then
5612 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 WINDRES=$ac_cv_prog_WINDRES
5632 if test -n "$WINDRES"; then
5633 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5634 echo "${ECHO_T}$WINDRES" >&6; }
5635 else
5636 { echo "$as_me:$LINENO: result: no" >&5
5637 echo "${ECHO_T}no" >&6; }
5642 if test -z "$ac_cv_prog_WINDRES"; then
5643 ac_ct_WINDRES=$WINDRES
5644 # Extract the first word of "windres", so it can be a program name with args.
5645 set dummy windres; ac_word=$2
5646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 else
5651 if test -n "$ac_ct_WINDRES"; then
5652 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5653 else
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 for as_dir in $PATH
5657 IFS=$as_save_IFS
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_ac_ct_WINDRES="windres"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 break 2
5665 done
5666 done
5667 IFS=$as_save_IFS
5671 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5672 if test -n "$ac_ct_WINDRES"; then
5673 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5674 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5675 else
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5680 if test "x$ac_ct_WINDRES" = x; then
5681 WINDRES="false"
5682 else
5683 case $cross_compiling:$ac_tool_warned in
5684 yes:)
5685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&5
5688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5691 ac_tool_warned=yes ;;
5692 esac
5693 WINDRES=$ac_ct_WINDRES
5695 else
5696 WINDRES="$ac_cv_prog_WINDRES"
5699 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5700 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5701 LN_S=$as_ln_s
5702 if test "$LN_S" = "ln -s"; then
5703 { echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6; }
5705 else
5706 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5707 echo "${ECHO_T}no, using $LN_S" >&6; }
5710 { echo "$as_me:$LINENO: checking whether ln works" >&5
5711 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5712 rm -f conf$$ conf$$.file
5713 echo >conf$$.file
5714 if ln conf$$.file conf$$ 2>/dev/null; then
5715 LN=ln
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6; }
5719 else
5720 LN="cp -p"
5722 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5723 echo "${ECHO_T}no, using $LN" >&6; }
5725 rm -f conf$$ conf$$.file
5726 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5727 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5728 if test "${ac_cv_path_GREP+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 else
5731 # Extract the first word of "grep ggrep" to use in msg output
5732 if test -z "$GREP"; then
5733 set dummy grep ggrep; ac_prog_name=$2
5734 if test "${ac_cv_path_GREP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 else
5737 ac_path_GREP_found=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_prog in grep ggrep; do
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5748 # Check for GNU ac_path_GREP and select it if it is found.
5749 # Check for GNU $ac_path_GREP
5750 case `"$ac_path_GREP" --version 2>&1` in
5751 *GNU*)
5752 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5754 ac_count=0
5755 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5756 while :
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 echo 'GREP' >> "conftest.nl"
5762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5764 ac_count=`expr $ac_count + 1`
5765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_GREP="$ac_path_GREP"
5768 ac_path_GREP_max=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5772 done
5773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5774 esac
5777 $ac_path_GREP_found && break 3
5778 done
5779 done
5781 done
5782 IFS=$as_save_IFS
5787 GREP="$ac_cv_path_GREP"
5788 if test -z "$GREP"; then
5789 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5790 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5791 { (exit 1); exit 1; }; }
5794 else
5795 ac_cv_path_GREP=$GREP
5800 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5801 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5802 GREP="$ac_cv_path_GREP"
5805 { echo "$as_me:$LINENO: checking for egrep" >&5
5806 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5807 if test "${ac_cv_path_EGREP+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 else
5810 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5811 then ac_cv_path_EGREP="$GREP -E"
5812 else
5813 # Extract the first word of "egrep" to use in msg output
5814 if test -z "$EGREP"; then
5815 set dummy egrep; ac_prog_name=$2
5816 if test "${ac_cv_path_EGREP+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819 ac_path_EGREP_found=false
5820 # Loop through the user's path and test for each of PROGNAME-LIST
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_prog in egrep; do
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5829 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5830 # Check for GNU ac_path_EGREP and select it if it is found.
5831 # Check for GNU $ac_path_EGREP
5832 case `"$ac_path_EGREP" --version 2>&1` in
5833 *GNU*)
5834 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5836 ac_count=0
5837 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5838 while :
5840 cat "conftest.in" "conftest.in" >"conftest.tmp"
5841 mv "conftest.tmp" "conftest.in"
5842 cp "conftest.in" "conftest.nl"
5843 echo 'EGREP' >> "conftest.nl"
5844 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5845 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5846 ac_count=`expr $ac_count + 1`
5847 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5848 # Best one so far, save it but keep looking for a better one
5849 ac_cv_path_EGREP="$ac_path_EGREP"
5850 ac_path_EGREP_max=$ac_count
5852 # 10*(2^10) chars as input seems more than enough
5853 test $ac_count -gt 10 && break
5854 done
5855 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5856 esac
5859 $ac_path_EGREP_found && break 3
5860 done
5861 done
5863 done
5864 IFS=$as_save_IFS
5869 EGREP="$ac_cv_path_EGREP"
5870 if test -z "$EGREP"; then
5871 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5872 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5873 { (exit 1); exit 1; }; }
5876 else
5877 ac_cv_path_EGREP=$EGREP
5883 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5884 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5885 EGREP="$ac_cv_path_EGREP"
5888 # Extract the first word of "ldconfig", so it can be a program name with args.
5889 set dummy ldconfig; ac_word=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 else
5895 case $LDCONFIG in
5896 [\\/]* | ?:[\\/]*)
5897 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in /sbin /usr/sbin $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5915 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5917 esac
5919 LDCONFIG=$ac_cv_path_LDCONFIG
5920 if test -n "$LDCONFIG"; then
5921 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5922 echo "${ECHO_T}$LDCONFIG" >&6; }
5923 else
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 # Find a good install program. We prefer a C program (faster),
5930 # so one script is as good as another. But avoid the broken or
5931 # incompatible versions:
5932 # SysV /etc/install, /usr/sbin/install
5933 # SunOS /usr/etc/install
5934 # IRIX /sbin/install
5935 # AIX /bin/install
5936 # AmigaOS /C/install, which installs bootblocks on floppy discs
5937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5940 # OS/2's system install, which has a completely different semantic
5941 # ./install, which can be erroneously created by make from ./install.sh.
5942 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5943 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5944 if test -z "$INSTALL"; then
5945 if test "${ac_cv_path_install+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 else
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 for as_dir in $PATH
5951 IFS=$as_save_IFS
5952 test -z "$as_dir" && as_dir=.
5953 # Account for people who put trailing slashes in PATH elements.
5954 case $as_dir/ in
5955 ./ | .// | /cC/* | \
5956 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5957 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5958 /usr/ucb/* ) ;;
5960 # OSF1 and SCO ODT 3.0 have their own names for install.
5961 # Don't use installbsd from OSF since it installs stuff as root
5962 # by default.
5963 for ac_prog in ginstall scoinst install; do
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5966 if test $ac_prog = install &&
5967 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5968 # AIX install. It has an incompatible calling convention.
5970 elif test $ac_prog = install &&
5971 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5972 # program-specific install script used by HP pwplus--don't use.
5974 else
5975 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5976 break 3
5979 done
5980 done
5982 esac
5983 done
5984 IFS=$as_save_IFS
5988 if test "${ac_cv_path_install+set}" = set; then
5989 INSTALL=$ac_cv_path_install
5990 else
5991 # As a last resort, use the slow shell script. Don't cache a
5992 # value for INSTALL within a source directory, because that will
5993 # break other packages using the cache if that directory is
5994 # removed, or if the value is a relative name.
5995 INSTALL=$ac_install_sh
5998 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5999 echo "${ECHO_T}$INSTALL" >&6; }
6001 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6002 # It thinks the first close brace ends the variable substitution.
6003 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6005 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6007 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6009 case "$INSTALL" in
6010 [\\/$]* | ?:[\\/]* ) ;;
6011 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6012 esac
6014 for ac_prog in lclint lint
6016 # Extract the first word of "$ac_prog", so it can be a program name with args.
6017 set dummy $ac_prog; ac_word=$2
6018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6020 if test "${ac_cv_prog_LINT+set}" = set; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6022 else
6023 if test -n "$LINT"; then
6024 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6025 else
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in $PATH
6029 IFS=$as_save_IFS
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6033 ac_cv_prog_LINT="$ac_prog"
6034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6043 LINT=$ac_cv_prog_LINT
6044 if test -n "$LINT"; then
6045 { echo "$as_me:$LINENO: result: $LINT" >&5
6046 echo "${ECHO_T}$LINT" >&6; }
6047 else
6048 { echo "$as_me:$LINENO: result: no" >&5
6049 echo "${ECHO_T}no" >&6; }
6053 test -n "$LINT" && break
6054 done
6056 if test "$LINT" = "lint"
6057 then
6058 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6063 for ac_prog in fontforge
6065 # Extract the first word of "$ac_prog", so it can be a program name with args.
6066 set dummy $ac_prog; ac_word=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 if test -n "$FONTFORGE"; then
6073 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6074 else
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076 for as_dir in $PATH
6078 IFS=$as_save_IFS
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_FONTFORGE="$ac_prog"
6083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 FONTFORGE=$ac_cv_prog_FONTFORGE
6093 if test -n "$FONTFORGE"; then
6094 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6095 echo "${ECHO_T}$FONTFORGE" >&6; }
6096 else
6097 { echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6; }
6102 test -n "$FONTFORGE" && break
6103 done
6104 test -n "$FONTFORGE" || FONTFORGE="false"
6106 for ac_prog in pkg-config
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy $ac_prog; ac_word=$2
6110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6112 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 else
6115 if test -n "$PKG_CONFIG"; then
6116 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6125 ac_cv_prog_PKG_CONFIG="$ac_prog"
6126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 break 2
6129 done
6130 done
6131 IFS=$as_save_IFS
6135 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6136 if test -n "$PKG_CONFIG"; then
6137 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6138 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6139 else
6140 { echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6; }
6145 test -n "$PKG_CONFIG" && break
6146 done
6147 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6150 case $host_cpu in
6151 *i[3456789]86*)
6152 # Extract the first word of "prelink", so it can be a program name with args.
6153 set dummy prelink; ac_word=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_path_PRELINK+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 else
6159 case $PRELINK in
6160 [\\/]* | ?:[\\/]*)
6161 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165 for as_dir in /sbin /usr/sbin $PATH
6167 IFS=$as_save_IFS
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 break 2
6175 done
6176 done
6177 IFS=$as_save_IFS
6179 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6181 esac
6183 PRELINK=$ac_cv_path_PRELINK
6184 if test -n "$PRELINK"; then
6185 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6186 echo "${ECHO_T}$PRELINK" >&6; }
6187 else
6188 { echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6; }
6194 esac
6198 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6199 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6200 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 ac_check_lib_save_LIBS=$LIBS
6204 LIBS="-li386 $LIBS"
6205 cat >conftest.$ac_ext <<_ACEOF
6206 /* confdefs.h. */
6207 _ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any GCC internal prototype to avoid an error.
6213 Use char because int might match the return type of a GCC
6214 builtin and then its argument prototype would still apply. */
6215 #ifdef __cplusplus
6216 extern "C"
6217 #endif
6218 char i386_set_ldt ();
6220 main ()
6222 return i386_set_ldt ();
6224 return 0;
6226 _ACEOF
6227 rm -f conftest.$ac_objext conftest$ac_exeext
6228 if { (ac_try="$ac_link"
6229 case "(($ac_try" in
6230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6232 esac
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_link") 2>conftest.er1
6235 ac_status=$?
6236 grep -v '^ *+' conftest.er1 >conftest.err
6237 rm -f conftest.er1
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } && {
6241 test -z "$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6243 } && test -s conftest$ac_exeext &&
6244 $as_test_x conftest$ac_exeext; then
6245 ac_cv_lib_i386_i386_set_ldt=yes
6246 else
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 ac_cv_lib_i386_i386_set_ldt=no
6253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6254 conftest$ac_exeext conftest.$ac_ext
6255 LIBS=$ac_check_lib_save_LIBS
6257 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6258 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6259 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6260 cat >>confdefs.h <<_ACEOF
6261 #define HAVE_LIBI386 1
6262 _ACEOF
6264 LIBS="-li386 $LIBS"
6269 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6270 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6271 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 else
6274 ac_check_lib_save_LIBS=$LIBS
6275 LIBS="-lossaudio $LIBS"
6276 cat >conftest.$ac_ext <<_ACEOF
6277 /* confdefs.h. */
6278 _ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6283 /* Override any GCC internal prototype to avoid an error.
6284 Use char because int might match the return type of a GCC
6285 builtin and then its argument prototype would still apply. */
6286 #ifdef __cplusplus
6287 extern "C"
6288 #endif
6289 char _oss_ioctl ();
6291 main ()
6293 return _oss_ioctl ();
6295 return 0;
6297 _ACEOF
6298 rm -f conftest.$ac_objext conftest$ac_exeext
6299 if { (ac_try="$ac_link"
6300 case "(($ac_try" in
6301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6302 *) ac_try_echo=$ac_try;;
6303 esac
6304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6305 (eval "$ac_link") 2>conftest.er1
6306 ac_status=$?
6307 grep -v '^ *+' conftest.er1 >conftest.err
6308 rm -f conftest.er1
6309 cat conftest.err >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && {
6312 test -z "$ac_c_werror_flag" ||
6313 test ! -s conftest.err
6314 } && test -s conftest$ac_exeext &&
6315 $as_test_x conftest$ac_exeext; then
6316 ac_cv_lib_ossaudio__oss_ioctl=yes
6317 else
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.$ac_ext >&5
6321 ac_cv_lib_ossaudio__oss_ioctl=no
6324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6325 conftest$ac_exeext conftest.$ac_ext
6326 LIBS=$ac_check_lib_save_LIBS
6328 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6329 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6330 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6331 cat >>confdefs.h <<_ACEOF
6332 #define HAVE_LIBOSSAUDIO 1
6333 _ACEOF
6335 LIBS="-lossaudio $LIBS"
6339 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6340 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6341 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 else
6344 ac_check_lib_save_LIBS=$LIBS
6345 LIBS="-lpthread $LIBS"
6346 cat >conftest.$ac_ext <<_ACEOF
6347 /* confdefs.h. */
6348 _ACEOF
6349 cat confdefs.h >>conftest.$ac_ext
6350 cat >>conftest.$ac_ext <<_ACEOF
6351 /* end confdefs.h. */
6353 /* Override any GCC internal prototype to avoid an error.
6354 Use char because int might match the return type of a GCC
6355 builtin and then its argument prototype would still apply. */
6356 #ifdef __cplusplus
6357 extern "C"
6358 #endif
6359 char pthread_create ();
6361 main ()
6363 return pthread_create ();
6365 return 0;
6367 _ACEOF
6368 rm -f conftest.$ac_objext conftest$ac_exeext
6369 if { (ac_try="$ac_link"
6370 case "(($ac_try" in
6371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6372 *) ac_try_echo=$ac_try;;
6373 esac
6374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6375 (eval "$ac_link") 2>conftest.er1
6376 ac_status=$?
6377 grep -v '^ *+' conftest.er1 >conftest.err
6378 rm -f conftest.er1
6379 cat conftest.err >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); } && {
6382 test -z "$ac_c_werror_flag" ||
6383 test ! -s conftest.err
6384 } && test -s conftest$ac_exeext &&
6385 $as_test_x conftest$ac_exeext; then
6386 ac_cv_lib_pthread_pthread_create=yes
6387 else
6388 echo "$as_me: failed program was:" >&5
6389 sed 's/^/| /' conftest.$ac_ext >&5
6391 ac_cv_lib_pthread_pthread_create=no
6394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6395 conftest$ac_exeext conftest.$ac_ext
6396 LIBS=$ac_check_lib_save_LIBS
6398 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6399 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6400 if test $ac_cv_lib_pthread_pthread_create = yes; then
6401 LIBPTHREAD="-lpthread"
6406 XLIB=""
6408 XFILES=""
6410 OPENGLFILES=""
6412 GLU32FILES=""
6414 OPENGL_LIBS=""
6416 QUARTZFILES=""
6420 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6421 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6422 if test "${ac_cv_header_stdc+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 else
6425 cat >conftest.$ac_ext <<_ACEOF
6426 /* confdefs.h. */
6427 _ACEOF
6428 cat confdefs.h >>conftest.$ac_ext
6429 cat >>conftest.$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6431 #include <stdlib.h>
6432 #include <stdarg.h>
6433 #include <string.h>
6434 #include <float.h>
6437 main ()
6441 return 0;
6443 _ACEOF
6444 rm -f conftest.$ac_objext
6445 if { (ac_try="$ac_compile"
6446 case "(($ac_try" in
6447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6448 *) ac_try_echo=$ac_try;;
6449 esac
6450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6451 (eval "$ac_compile") 2>conftest.er1
6452 ac_status=$?
6453 grep -v '^ *+' conftest.er1 >conftest.err
6454 rm -f conftest.er1
6455 cat conftest.err >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } && {
6458 test -z "$ac_c_werror_flag" ||
6459 test ! -s conftest.err
6460 } && test -s conftest.$ac_objext; then
6461 ac_cv_header_stdc=yes
6462 else
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 ac_cv_header_stdc=no
6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471 if test $ac_cv_header_stdc = yes; then
6472 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6473 cat >conftest.$ac_ext <<_ACEOF
6474 /* confdefs.h. */
6475 _ACEOF
6476 cat confdefs.h >>conftest.$ac_ext
6477 cat >>conftest.$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6479 #include <string.h>
6481 _ACEOF
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "memchr" >/dev/null 2>&1; then
6485 else
6486 ac_cv_header_stdc=no
6488 rm -f conftest*
6492 if test $ac_cv_header_stdc = yes; then
6493 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6494 cat >conftest.$ac_ext <<_ACEOF
6495 /* confdefs.h. */
6496 _ACEOF
6497 cat confdefs.h >>conftest.$ac_ext
6498 cat >>conftest.$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6500 #include <stdlib.h>
6502 _ACEOF
6503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6504 $EGREP "free" >/dev/null 2>&1; then
6506 else
6507 ac_cv_header_stdc=no
6509 rm -f conftest*
6513 if test $ac_cv_header_stdc = yes; then
6514 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6515 if test "$cross_compiling" = yes; then
6517 else
6518 cat >conftest.$ac_ext <<_ACEOF
6519 /* confdefs.h. */
6520 _ACEOF
6521 cat confdefs.h >>conftest.$ac_ext
6522 cat >>conftest.$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6524 #include <ctype.h>
6525 #include <stdlib.h>
6526 #if ((' ' & 0x0FF) == 0x020)
6527 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6528 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6529 #else
6530 # define ISLOWER(c) \
6531 (('a' <= (c) && (c) <= 'i') \
6532 || ('j' <= (c) && (c) <= 'r') \
6533 || ('s' <= (c) && (c) <= 'z'))
6534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6535 #endif
6537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6539 main ()
6541 int i;
6542 for (i = 0; i < 256; i++)
6543 if (XOR (islower (i), ISLOWER (i))
6544 || toupper (i) != TOUPPER (i))
6545 return 2;
6546 return 0;
6548 _ACEOF
6549 rm -f conftest$ac_exeext
6550 if { (ac_try="$ac_link"
6551 case "(($ac_try" in
6552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6554 esac
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_link") 2>&5
6557 ac_status=$?
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6560 { (case "(($ac_try" in
6561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562 *) ac_try_echo=$ac_try;;
6563 esac
6564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6565 (eval "$ac_try") 2>&5
6566 ac_status=$?
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6570 else
6571 echo "$as_me: program exited with status $ac_status" >&5
6572 echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.$ac_ext >&5
6575 ( exit $ac_status )
6576 ac_cv_header_stdc=no
6578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6584 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6585 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6586 if test $ac_cv_header_stdc = yes; then
6588 cat >>confdefs.h <<\_ACEOF
6589 #define STDC_HEADERS 1
6590 _ACEOF
6594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6604 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6605 inttypes.h stdint.h unistd.h
6607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6611 echo $ECHO_N "(cached) $ECHO_C" >&6
6612 else
6613 cat >conftest.$ac_ext <<_ACEOF
6614 /* confdefs.h. */
6615 _ACEOF
6616 cat confdefs.h >>conftest.$ac_ext
6617 cat >>conftest.$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 $ac_includes_default
6621 #include <$ac_header>
6622 _ACEOF
6623 rm -f conftest.$ac_objext
6624 if { (ac_try="$ac_compile"
6625 case "(($ac_try" in
6626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6627 *) ac_try_echo=$ac_try;;
6628 esac
6629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6630 (eval "$ac_compile") 2>conftest.er1
6631 ac_status=$?
6632 grep -v '^ *+' conftest.er1 >conftest.err
6633 rm -f conftest.er1
6634 cat conftest.err >&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } && {
6637 test -z "$ac_c_werror_flag" ||
6638 test ! -s conftest.err
6639 } && test -s conftest.$ac_objext; then
6640 eval "$as_ac_Header=yes"
6641 else
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.$ac_ext >&5
6645 eval "$as_ac_Header=no"
6648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6650 ac_res=`eval echo '${'$as_ac_Header'}'`
6651 { echo "$as_me:$LINENO: result: $ac_res" >&5
6652 echo "${ECHO_T}$ac_res" >&6; }
6653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6654 cat >>confdefs.h <<_ACEOF
6655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6656 _ACEOF
6660 done
6773 for ac_header in \
6774 AudioUnit/AudioUnit.h \
6775 Carbon/Carbon.h \
6776 CoreAudio/CoreAudio.h \
6777 DiskArbitration/DiskArbitration.h \
6778 IOKit/IOKitLib.h \
6779 alsa/asoundlib.h \
6780 arpa/inet.h \
6781 arpa/nameser.h \
6782 asm/types.h \
6783 capi20.h \
6784 cups/cups.h \
6785 curses.h \
6786 direct.h \
6787 dlfcn.h \
6788 elf.h \
6789 float.h \
6790 fontconfig/fontconfig.h \
6791 getopt.h \
6792 ieeefp.h \
6793 io.h \
6794 jack/jack.h \
6795 jpeglib.h \
6796 lber.h \
6797 lcms.h \
6798 lcms/lcms.h \
6799 ldap.h \
6800 libaudioio.h \
6801 link.h \
6802 linux/cdrom.h \
6803 linux/compiler.h \
6804 linux/hdreg.h \
6805 linux/input.h \
6806 linux/ioctl.h \
6807 linux/joystick.h \
6808 linux/major.h \
6809 linux/param.h \
6810 linux/serial.h \
6811 linux/ucdrom.h \
6812 mach/mach.h \
6813 mach/machine.h \
6814 machine/cpu.h \
6815 machine/limits.h \
6816 machine/soundcard.h \
6817 mntent.h \
6818 ncurses.h \
6819 netdb.h \
6820 netinet/in.h \
6821 netinet/in_systm.h \
6822 netinet/tcp.h \
6823 netinet/tcp_fsm.h \
6824 openssl/err.h \
6825 openssl/ssl.h \
6826 png.h \
6827 poll.h \
6828 process.h \
6829 pthread.h \
6830 pwd.h \
6831 regex.h \
6832 sched.h \
6833 scsi/scsi.h \
6834 scsi/scsi_ioctl.h \
6835 scsi/sg.h \
6836 soundcard.h \
6837 stdint.h \
6838 strings.h \
6839 sys/asoundlib.h \
6840 sys/cdio.h \
6841 sys/elf32.h \
6842 sys/epoll.h \
6843 sys/errno.h \
6844 sys/event.h \
6845 sys/exec_elf.h \
6846 sys/filio.h \
6847 sys/ioctl.h \
6848 sys/ipc.h \
6849 sys/limits.h \
6850 sys/link.h \
6851 sys/lwp.h \
6852 sys/mman.h \
6853 sys/modem.h \
6854 sys/msg.h \
6855 sys/mtio.h \
6856 sys/param.h \
6857 sys/poll.h \
6858 sys/prctl.h \
6859 sys/ptrace.h \
6860 sys/reg.h \
6861 sys/resource.h \
6862 sys/scsiio.h \
6863 sys/shm.h \
6864 sys/signal.h \
6865 sys/socket.h \
6866 sys/socketvar.h \
6867 sys/sockio.h \
6868 sys/soundcard.h \
6869 sys/statvfs.h \
6870 sys/strtio.h \
6871 sys/syscall.h \
6872 sys/sysctl.h \
6873 sys/time.h \
6874 sys/times.h \
6875 sys/uio.h \
6876 sys/un.h \
6877 sys/vm86.h \
6878 sys/wait.h \
6879 syscall.h \
6880 termios.h \
6881 unistd.h \
6882 utime.h \
6883 valgrind/memcheck.h
6886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 echo $ECHO_N "(cached) $ECHO_C" >&6
6893 ac_res=`eval echo '${'$as_ac_Header'}'`
6894 { echo "$as_me:$LINENO: result: $ac_res" >&5
6895 echo "${ECHO_T}$ac_res" >&6; }
6896 else
6897 # Is the header compilable?
6898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6900 cat >conftest.$ac_ext <<_ACEOF
6901 /* confdefs.h. */
6902 _ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 $ac_includes_default
6907 #include <$ac_header>
6908 _ACEOF
6909 rm -f conftest.$ac_objext
6910 if { (ac_try="$ac_compile"
6911 case "(($ac_try" in
6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;;
6914 esac
6915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6916 (eval "$ac_compile") 2>conftest.er1
6917 ac_status=$?
6918 grep -v '^ *+' conftest.er1 >conftest.err
6919 rm -f conftest.er1
6920 cat conftest.err >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } && {
6923 test -z "$ac_c_werror_flag" ||
6924 test ! -s conftest.err
6925 } && test -s conftest.$ac_objext; then
6926 ac_header_compiler=yes
6927 else
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 ac_header_compiler=no
6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6936 echo "${ECHO_T}$ac_header_compiler" >&6; }
6938 # Is the header present?
6939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6941 cat >conftest.$ac_ext <<_ACEOF
6942 /* confdefs.h. */
6943 _ACEOF
6944 cat confdefs.h >>conftest.$ac_ext
6945 cat >>conftest.$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 #include <$ac_header>
6948 _ACEOF
6949 if { (ac_try="$ac_cpp conftest.$ac_ext"
6950 case "(($ac_try" in
6951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6952 *) ac_try_echo=$ac_try;;
6953 esac
6954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6956 ac_status=$?
6957 grep -v '^ *+' conftest.er1 >conftest.err
6958 rm -f conftest.er1
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } >/dev/null && {
6962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6963 test ! -s conftest.err
6964 }; then
6965 ac_header_preproc=yes
6966 else
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6970 ac_header_preproc=no
6973 rm -f conftest.err conftest.$ac_ext
6974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6975 echo "${ECHO_T}$ac_header_preproc" >&6; }
6977 # So? What about this header?
6978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6979 yes:no: )
6980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6984 ac_header_preproc=yes
6986 no:yes:* )
6987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6999 ( cat <<\_ASBOX
7000 ## ------------------------------------ ##
7001 ## Report this to wine-devel@winehq.org ##
7002 ## ------------------------------------ ##
7003 _ASBOX
7004 ) | sed "s/^/$as_me: WARNING: /" >&2
7006 esac
7007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 else
7012 eval "$as_ac_Header=\$ac_header_preproc"
7014 ac_res=`eval echo '${'$as_ac_Header'}'`
7015 { echo "$as_me:$LINENO: result: $ac_res" >&5
7016 echo "${ECHO_T}$ac_res" >&6; }
7019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7020 cat >>confdefs.h <<_ACEOF
7021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7022 _ACEOF
7026 done
7028 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7029 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7030 if test "${ac_cv_header_stat_broken+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 else
7033 cat >conftest.$ac_ext <<_ACEOF
7034 /* confdefs.h. */
7035 _ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 #include <sys/types.h>
7040 #include <sys/stat.h>
7042 #if defined S_ISBLK && defined S_IFDIR
7043 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7044 #endif
7046 #if defined S_ISBLK && defined S_IFCHR
7047 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7048 #endif
7050 #if defined S_ISLNK && defined S_IFREG
7051 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7052 #endif
7054 #if defined S_ISSOCK && defined S_IFREG
7055 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7056 #endif
7058 _ACEOF
7059 rm -f conftest.$ac_objext
7060 if { (ac_try="$ac_compile"
7061 case "(($ac_try" in
7062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7063 *) ac_try_echo=$ac_try;;
7064 esac
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_compile") 2>conftest.er1
7067 ac_status=$?
7068 grep -v '^ *+' conftest.er1 >conftest.err
7069 rm -f conftest.er1
7070 cat conftest.err >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } && {
7073 test -z "$ac_c_werror_flag" ||
7074 test ! -s conftest.err
7075 } && test -s conftest.$ac_objext; then
7076 ac_cv_header_stat_broken=no
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_cv_header_stat_broken=yes
7084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7086 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7087 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7088 if test $ac_cv_header_stat_broken = yes; then
7090 cat >>confdefs.h <<\_ACEOF
7091 #define STAT_MACROS_BROKEN 1
7092 _ACEOF
7102 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7109 else
7110 cat >conftest.$ac_ext <<_ACEOF
7111 /* confdefs.h. */
7112 _ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7116 #include <sys/types.h>
7117 #if HAVE_SYS_PARAM_H
7118 # include <sys/param.h>
7119 #endif
7121 #include <$ac_header>
7122 _ACEOF
7123 rm -f conftest.$ac_objext
7124 if { (ac_try="$ac_compile"
7125 case "(($ac_try" in
7126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7127 *) ac_try_echo=$ac_try;;
7128 esac
7129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7130 (eval "$ac_compile") 2>conftest.er1
7131 ac_status=$?
7132 grep -v '^ *+' conftest.er1 >conftest.err
7133 rm -f conftest.er1
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } && {
7137 test -z "$ac_c_werror_flag" ||
7138 test ! -s conftest.err
7139 } && test -s conftest.$ac_objext; then
7140 eval "$as_ac_Header=yes"
7141 else
7142 echo "$as_me: failed program was:" >&5
7143 sed 's/^/| /' conftest.$ac_ext >&5
7145 eval "$as_ac_Header=no"
7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7150 ac_res=`eval echo '${'$as_ac_Header'}'`
7151 { echo "$as_me:$LINENO: result: $ac_res" >&5
7152 echo "${ECHO_T}$ac_res" >&6; }
7153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7154 cat >>confdefs.h <<_ACEOF
7155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7156 _ACEOF
7160 done
7171 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7178 else
7179 cat >conftest.$ac_ext <<_ACEOF
7180 /* confdefs.h. */
7181 _ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <sys/types.h>
7186 #if HAVE_SYS_SOCKET_H
7187 # include <sys/socket.h>
7188 #endif
7190 #include <$ac_header>
7191 _ACEOF
7192 rm -f conftest.$ac_objext
7193 if { (ac_try="$ac_compile"
7194 case "(($ac_try" in
7195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7196 *) ac_try_echo=$ac_try;;
7197 esac
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_compile") 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } && {
7206 test -z "$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 } && test -s conftest.$ac_objext; then
7209 eval "$as_ac_Header=yes"
7210 else
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 eval "$as_ac_Header=no"
7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7219 ac_res=`eval echo '${'$as_ac_Header'}'`
7220 { echo "$as_me:$LINENO: result: $ac_res" >&5
7221 echo "${ECHO_T}$ac_res" >&6; }
7222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7223 cat >>confdefs.h <<_ACEOF
7224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7225 _ACEOF
7229 done
7231 #if HAVE_SYS_SOCKETVAR_H
7232 # include <sys/socketvar.h>
7233 #endif
7236 for ac_header in netinet/tcp_var.h
7238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7243 else
7244 cat >conftest.$ac_ext <<_ACEOF
7245 /* confdefs.h. */
7246 _ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 #include <sys/types.h>
7251 #if HAVE_SYS_SOCKET_H
7252 # include <sys/socket.h>
7253 #endif
7254 #if HAVE_SYS_SOCKETVAR_H
7255 # include <sys/socketvar.h>
7256 #endif
7257 #if HAVE_NETINET_IN_H
7258 # include <netinet/in.h>
7259 #endif
7260 #ifdef HAVE_NETINET_TCP_H
7261 # include <netinet/tcp.h>
7262 #endif
7264 #include <$ac_header>
7265 _ACEOF
7266 rm -f conftest.$ac_objext
7267 if { (ac_try="$ac_compile"
7268 case "(($ac_try" in
7269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7271 esac
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7274 ac_status=$?
7275 grep -v '^ *+' conftest.er1 >conftest.err
7276 rm -f conftest.er1
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 eval "$as_ac_Header=yes"
7284 else
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 eval "$as_ac_Header=no"
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 ac_res=`eval echo '${'$as_ac_Header'}'`
7294 { echo "$as_me:$LINENO: result: $ac_res" >&5
7295 echo "${ECHO_T}$ac_res" >&6; }
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h <<_ACEOF
7298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7299 _ACEOF
7303 done
7307 for ac_header in linux/ipx.h
7309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 else
7315 cat >conftest.$ac_ext <<_ACEOF
7316 /* confdefs.h. */
7317 _ACEOF
7318 cat confdefs.h >>conftest.$ac_ext
7319 cat >>conftest.$ac_ext <<_ACEOF
7320 /* end confdefs.h. */
7321 #include <sys/types.h>
7322 #ifdef HAVE_ASM_TYPES_H
7323 # include <asm/types.h>
7324 #endif
7325 #if HAVE_SYS_SOCKET_H
7326 # include <sys/socket.h>
7327 #endif
7329 #include <$ac_header>
7330 _ACEOF
7331 rm -f conftest.$ac_objext
7332 if { (ac_try="$ac_compile"
7333 case "(($ac_try" in
7334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7335 *) ac_try_echo=$ac_try;;
7336 esac
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_compile") 2>conftest.er1
7339 ac_status=$?
7340 grep -v '^ *+' conftest.er1 >conftest.err
7341 rm -f conftest.er1
7342 cat conftest.err >&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); } && {
7345 test -z "$ac_c_werror_flag" ||
7346 test ! -s conftest.err
7347 } && test -s conftest.$ac_objext; then
7348 eval "$as_ac_Header=yes"
7349 else
7350 echo "$as_me: failed program was:" >&5
7351 sed 's/^/| /' conftest.$ac_ext >&5
7353 eval "$as_ac_Header=no"
7356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7358 ac_res=`eval echo '${'$as_ac_Header'}'`
7359 { echo "$as_me:$LINENO: result: $ac_res" >&5
7360 echo "${ECHO_T}$ac_res" >&6; }
7361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7362 cat >>confdefs.h <<_ACEOF
7363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7364 _ACEOF
7368 done
7372 for ac_header in resolv.h
7374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 else
7380 cat >conftest.$ac_ext <<_ACEOF
7381 /* confdefs.h. */
7382 _ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 #include <sys/types.h>
7387 #if HAVE_SYS_SOCKET_H
7388 # include <sys/socket.h>
7389 #endif
7390 #if HAVE_NETINET_IN_H
7391 # include <netinet/in.h>
7392 #endif
7393 #if HAVE_ARPA_NAMESER_H
7394 # include <arpa/nameser.h>
7395 #endif
7397 #include <$ac_header>
7398 _ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (ac_try="$ac_compile"
7401 case "(($ac_try" in
7402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7404 esac
7405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7406 (eval "$ac_compile") 2>conftest.er1
7407 ac_status=$?
7408 grep -v '^ *+' conftest.er1 >conftest.err
7409 rm -f conftest.er1
7410 cat conftest.err >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } && {
7413 test -z "$ac_c_werror_flag" ||
7414 test ! -s conftest.err
7415 } && test -s conftest.$ac_objext; then
7416 eval "$as_ac_Header=yes"
7417 else
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7421 eval "$as_ac_Header=no"
7424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7426 ac_res=`eval echo '${'$as_ac_Header'}'`
7427 { echo "$as_me:$LINENO: result: $ac_res" >&5
7428 echo "${ECHO_T}$ac_res" >&6; }
7429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7430 cat >>confdefs.h <<_ACEOF
7431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7432 _ACEOF
7436 done
7440 for ac_header in ucontext.h
7442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7447 else
7448 cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h. */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 #include <signal.h>
7456 #include <$ac_header>
7457 _ACEOF
7458 rm -f conftest.$ac_objext
7459 if { (ac_try="$ac_compile"
7460 case "(($ac_try" in
7461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7462 *) ac_try_echo=$ac_try;;
7463 esac
7464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 (eval "$ac_compile") 2>conftest.er1
7466 ac_status=$?
7467 grep -v '^ *+' conftest.er1 >conftest.err
7468 rm -f conftest.er1
7469 cat conftest.err >&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); } && {
7472 test -z "$ac_c_werror_flag" ||
7473 test ! -s conftest.err
7474 } && test -s conftest.$ac_objext; then
7475 eval "$as_ac_Header=yes"
7476 else
7477 echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.$ac_ext >&5
7480 eval "$as_ac_Header=no"
7483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7485 ac_res=`eval echo '${'$as_ac_Header'}'`
7486 { echo "$as_me:$LINENO: result: $ac_res" >&5
7487 echo "${ECHO_T}$ac_res" >&6; }
7488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7489 cat >>confdefs.h <<_ACEOF
7490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7491 _ACEOF
7495 done
7499 for ac_header in sys/thr.h
7501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7506 else
7507 cat >conftest.$ac_ext <<_ACEOF
7508 /* confdefs.h. */
7509 _ACEOF
7510 cat confdefs.h >>conftest.$ac_ext
7511 cat >>conftest.$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7513 #include <sys/types.h>
7514 #if HAVE_UCONTEXT_H
7515 #include <ucontext.h>
7516 #endif
7518 #include <$ac_header>
7519 _ACEOF
7520 rm -f conftest.$ac_objext
7521 if { (ac_try="$ac_compile"
7522 case "(($ac_try" in
7523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7525 esac
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7528 ac_status=$?
7529 grep -v '^ *+' conftest.er1 >conftest.err
7530 rm -f conftest.er1
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.$ac_objext; then
7537 eval "$as_ac_Header=yes"
7538 else
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7561 for ac_header in pthread_np.h
7563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 cat >conftest.$ac_ext <<_ACEOF
7570 /* confdefs.h. */
7571 _ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 #ifdef HAVE_PTHREAD_H
7576 #include <pthread.h>
7577 #endif
7579 #include <$ac_header>
7580 _ACEOF
7581 rm -f conftest.$ac_objext
7582 if { (ac_try="$ac_compile"
7583 case "(($ac_try" in
7584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7585 *) ac_try_echo=$ac_try;;
7586 esac
7587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7588 (eval "$ac_compile") 2>conftest.er1
7589 ac_status=$?
7590 grep -v '^ *+' conftest.er1 >conftest.err
7591 rm -f conftest.er1
7592 cat conftest.err >&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } && {
7595 test -z "$ac_c_werror_flag" ||
7596 test ! -s conftest.err
7597 } && test -s conftest.$ac_objext; then
7598 eval "$as_ac_Header=yes"
7599 else
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.$ac_ext >&5
7603 eval "$as_ac_Header=no"
7606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7608 ac_res=`eval echo '${'$as_ac_Header'}'`
7609 { echo "$as_me:$LINENO: result: $ac_res" >&5
7610 echo "${ECHO_T}$ac_res" >&6; }
7611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7612 cat >>confdefs.h <<_ACEOF
7613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7614 _ACEOF
7618 done
7622 for ac_header in linux/videodev.h
7624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 else
7630 cat >conftest.$ac_ext <<_ACEOF
7631 /* confdefs.h. */
7632 _ACEOF
7633 cat confdefs.h >>conftest.$ac_ext
7634 cat >>conftest.$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 #ifdef HAVE_SYS_TIME_H
7637 #include <sys/time.h>
7638 #endif
7639 #include <sys/types.h>
7640 #ifdef HAVE_ASM_TYPES_H
7641 #include <asm/types.h>
7642 #endif
7644 #include <$ac_header>
7645 _ACEOF
7646 rm -f conftest.$ac_objext
7647 if { (ac_try="$ac_compile"
7648 case "(($ac_try" in
7649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7650 *) ac_try_echo=$ac_try;;
7651 esac
7652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_compile") 2>conftest.er1
7654 ac_status=$?
7655 grep -v '^ *+' conftest.er1 >conftest.err
7656 rm -f conftest.er1
7657 cat conftest.err >&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } && {
7660 test -z "$ac_c_werror_flag" ||
7661 test ! -s conftest.err
7662 } && test -s conftest.$ac_objext; then
7663 eval "$as_ac_Header=yes"
7664 else
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 eval "$as_ac_Header=no"
7671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7673 ac_res=`eval echo '${'$as_ac_Header'}'`
7674 { echo "$as_me:$LINENO: result: $ac_res" >&5
7675 echo "${ECHO_T}$ac_res" >&6; }
7676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7677 cat >>confdefs.h <<_ACEOF
7678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7679 _ACEOF
7683 done
7687 for ac_header in linux/capi.h
7689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 else
7695 cat >conftest.$ac_ext <<_ACEOF
7696 /* confdefs.h. */
7697 _ACEOF
7698 cat confdefs.h >>conftest.$ac_ext
7699 cat >>conftest.$ac_ext <<_ACEOF
7700 /* end confdefs.h. */
7701 #define __user
7703 #include <$ac_header>
7704 _ACEOF
7705 rm -f conftest.$ac_objext
7706 if { (ac_try="$ac_compile"
7707 case "(($ac_try" in
7708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7709 *) ac_try_echo=$ac_try;;
7710 esac
7711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7712 (eval "$ac_compile") 2>conftest.er1
7713 ac_status=$?
7714 grep -v '^ *+' conftest.er1 >conftest.err
7715 rm -f conftest.er1
7716 cat conftest.err >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } && {
7719 test -z "$ac_c_werror_flag" ||
7720 test ! -s conftest.err
7721 } && test -s conftest.$ac_objext; then
7722 eval "$as_ac_Header=yes"
7723 else
7724 echo "$as_me: failed program was:" >&5
7725 sed 's/^/| /' conftest.$ac_ext >&5
7727 eval "$as_ac_Header=no"
7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7732 ac_res=`eval echo '${'$as_ac_Header'}'`
7733 { echo "$as_me:$LINENO: result: $ac_res" >&5
7734 echo "${ECHO_T}$ac_res" >&6; }
7735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7736 cat >>confdefs.h <<_ACEOF
7737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7738 _ACEOF
7742 done
7746 DLLEXT=""
7748 DLLFLAGS="-D_REENTRANT"
7750 LDSHARED=""
7752 LDDLLFLAGS=""
7754 LIBEXT="so"
7756 IMPLIBEXT="def"
7758 LDRPATH_INSTALL=""
7760 LDRPATH_LOCAL=""
7762 # Extract the first word of "ldd", so it can be a program name with args.
7763 set dummy ldd; ac_word=$2
7764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7766 if test "${ac_cv_path_LDD+set}" = set; then
7767 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 else
7769 case $LDD in
7770 [\\/]* | ?:[\\/]*)
7771 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 as_dummy="/sbin:/usr/sbin:$PATH"
7776 for as_dir in $as_dummy
7778 IFS=$as_save_IFS
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 break 2
7786 done
7787 done
7788 IFS=$as_save_IFS
7790 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7792 esac
7794 LDD=$ac_cv_path_LDD
7795 if test -n "$LDD"; then
7796 { echo "$as_me:$LINENO: result: $LDD" >&5
7797 echo "${ECHO_T}$LDD" >&6; }
7798 else
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7805 case $host_os in
7806 cygwin*|mingw32*)
7807 if test -n "$ac_tool_prefix"; then
7808 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7809 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7812 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 else
7815 if test -n "$DLLTOOL"; then
7816 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7817 else
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 for as_dir in $PATH
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 break 2
7829 done
7830 done
7831 IFS=$as_save_IFS
7835 DLLTOOL=$ac_cv_prog_DLLTOOL
7836 if test -n "$DLLTOOL"; then
7837 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7838 echo "${ECHO_T}$DLLTOOL" >&6; }
7839 else
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7846 if test -z "$ac_cv_prog_DLLTOOL"; then
7847 ac_ct_DLLTOOL=$DLLTOOL
7848 # Extract the first word of "dlltool", so it can be a program name with args.
7849 set dummy dlltool; ac_word=$2
7850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7852 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7853 echo $ECHO_N "(cached) $ECHO_C" >&6
7854 else
7855 if test -n "$ac_ct_DLLTOOL"; then
7856 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7857 else
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 for as_dir in $PATH
7861 IFS=$as_save_IFS
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7867 break 2
7869 done
7870 done
7871 IFS=$as_save_IFS
7875 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7876 if test -n "$ac_ct_DLLTOOL"; then
7877 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7878 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7879 else
7880 { echo "$as_me:$LINENO: result: no" >&5
7881 echo "${ECHO_T}no" >&6; }
7884 if test "x$ac_ct_DLLTOOL" = x; then
7885 DLLTOOL="false"
7886 else
7887 case $cross_compiling:$ac_tool_warned in
7888 yes:)
7889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7890 whose name does not start with the host triplet. If you think this
7891 configuration is useful to you, please write to autoconf@gnu.org." >&5
7892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7893 whose name does not start with the host triplet. If you think this
7894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7895 ac_tool_warned=yes ;;
7896 esac
7897 DLLTOOL=$ac_ct_DLLTOOL
7899 else
7900 DLLTOOL="$ac_cv_prog_DLLTOOL"
7903 if test -n "$ac_tool_prefix"; then
7904 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7905 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7908 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 else
7911 if test -n "$DLLWRAP"; then
7912 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7913 else
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 for as_dir in $PATH
7917 IFS=$as_save_IFS
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7921 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 break 2
7925 done
7926 done
7927 IFS=$as_save_IFS
7931 DLLWRAP=$ac_cv_prog_DLLWRAP
7932 if test -n "$DLLWRAP"; then
7933 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7934 echo "${ECHO_T}$DLLWRAP" >&6; }
7935 else
7936 { echo "$as_me:$LINENO: result: no" >&5
7937 echo "${ECHO_T}no" >&6; }
7942 if test -z "$ac_cv_prog_DLLWRAP"; then
7943 ac_ct_DLLWRAP=$DLLWRAP
7944 # Extract the first word of "dllwrap", so it can be a program name with args.
7945 set dummy dllwrap; ac_word=$2
7946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7948 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 else
7951 if test -n "$ac_ct_DLLWRAP"; then
7952 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7953 else
7954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 for as_dir in $PATH
7957 IFS=$as_save_IFS
7958 test -z "$as_dir" && as_dir=.
7959 for ac_exec_ext in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7963 break 2
7965 done
7966 done
7967 IFS=$as_save_IFS
7971 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7972 if test -n "$ac_ct_DLLWRAP"; then
7973 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7974 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7975 else
7976 { echo "$as_me:$LINENO: result: no" >&5
7977 echo "${ECHO_T}no" >&6; }
7980 if test "x$ac_ct_DLLWRAP" = x; then
7981 DLLWRAP="false"
7982 else
7983 case $cross_compiling:$ac_tool_warned in
7984 yes:)
7985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7986 whose name does not start with the host triplet. If you think this
7987 configuration is useful to you, please write to autoconf@gnu.org." >&5
7988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7989 whose name does not start with the host triplet. If you think this
7990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7991 ac_tool_warned=yes ;;
7992 esac
7993 DLLWRAP=$ac_ct_DLLWRAP
7995 else
7996 DLLWRAP="$ac_cv_prog_DLLWRAP"
7999 if test -n "$ac_tool_prefix"; then
8000 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8001 set dummy ${ac_tool_prefix}ar; ac_word=$2
8002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8004 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8006 else
8007 if test -n "$MINGWAR"; then
8008 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8009 else
8010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011 for as_dir in $PATH
8013 IFS=$as_save_IFS
8014 test -z "$as_dir" && as_dir=.
8015 for ac_exec_ext in '' $ac_executable_extensions; do
8016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8017 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8019 break 2
8021 done
8022 done
8023 IFS=$as_save_IFS
8027 MINGWAR=$ac_cv_prog_MINGWAR
8028 if test -n "$MINGWAR"; then
8029 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8030 echo "${ECHO_T}$MINGWAR" >&6; }
8031 else
8032 { echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6; }
8038 if test -z "$ac_cv_prog_MINGWAR"; then
8039 ac_ct_MINGWAR=$MINGWAR
8040 # Extract the first word of "ar", so it can be a program name with args.
8041 set dummy ar; ac_word=$2
8042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8044 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8046 else
8047 if test -n "$ac_ct_MINGWAR"; then
8048 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8049 else
8050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051 for as_dir in $PATH
8053 IFS=$as_save_IFS
8054 test -z "$as_dir" && as_dir=.
8055 for ac_exec_ext in '' $ac_executable_extensions; do
8056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8057 ac_cv_prog_ac_ct_MINGWAR="ar"
8058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8059 break 2
8061 done
8062 done
8063 IFS=$as_save_IFS
8067 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8068 if test -n "$ac_ct_MINGWAR"; then
8069 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8070 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8071 else
8072 { echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6; }
8076 if test "x$ac_ct_MINGWAR" = x; then
8077 MINGWAR="false"
8078 else
8079 case $cross_compiling:$ac_tool_warned in
8080 yes:)
8081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8082 whose name does not start with the host triplet. If you think this
8083 configuration is useful to you, please write to autoconf@gnu.org." >&5
8084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8085 whose name does not start with the host triplet. If you think this
8086 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8087 ac_tool_warned=yes ;;
8088 esac
8089 MINGWAR=$ac_ct_MINGWAR
8091 else
8092 MINGWAR="$ac_cv_prog_MINGWAR"
8095 if test "$DLLWRAP" = "false"; then
8096 LIBEXT="a"
8097 else
8098 LIBEXT="dll"
8100 IMPLIBEXT="a"
8101 WIN16_FILES=""
8102 WIN16_INSTALL=""
8104 darwin*|macosx*)
8105 DLLEXT=".so"
8106 LIBEXT="dylib"
8107 DLLFLAGS="$DLLFLAGS -fPIC"
8108 LDDLLFLAGS="-bundle -multiply_defined suppress"
8109 LIBWINE_LDFLAGS="-multiply_defined suppress"
8110 LDSHARED="\$(CC) -dynamiclib"
8111 STRIP="$STRIP -x"
8112 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8113 COREFOUNDATIONLIB="-framework CoreFoundation"
8115 IOKITLIB="-framework IOKit -framework CoreFoundation"
8117 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8119 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8120 then
8121 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8124 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8125 then
8126 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8129 case $host_cpu in
8130 *powerpc*)
8131 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8132 esac
8133 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8134 then
8135 CARBONLIB="-framework Carbon"
8137 QUARTZFILES='$(QUARTZFILES)'
8141 DLLFLAGS="$DLLFLAGS -fPIC"
8142 DLLEXT=".so"
8143 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8144 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8145 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8147 else
8148 ac_wine_try_cflags_saved=$CFLAGS
8149 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8150 cat >conftest.$ac_ext <<_ACEOF
8151 void myfunc() {}
8152 _ACEOF
8153 rm -f conftest.$ac_objext conftest$ac_exeext
8154 if { (ac_try="$ac_link"
8155 case "(($ac_try" in
8156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8158 esac
8159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8160 (eval "$ac_link") 2>conftest.er1
8161 ac_status=$?
8162 grep -v '^ *+' conftest.er1 >conftest.err
8163 rm -f conftest.er1
8164 cat conftest.err >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } && {
8167 test -z "$ac_c_werror_flag" ||
8168 test ! -s conftest.err
8169 } && test -s conftest$ac_exeext &&
8170 $as_test_x conftest$ac_exeext; then
8171 ac_cv_c_dll_gnuelf="yes"
8172 else
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.$ac_ext >&5
8176 ac_cv_c_dll_gnuelf="no"
8179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8180 conftest$ac_exeext conftest.$ac_ext
8181 CFLAGS=$ac_wine_try_cflags_saved
8183 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8184 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8185 if test "$ac_cv_c_dll_gnuelf" = "yes"
8186 then
8187 LDSHARED="\$(CC) -shared"
8188 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8189 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8190 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8191 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8192 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 else
8194 ac_wine_try_cflags_saved=$CFLAGS
8195 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8196 cat >conftest.$ac_ext <<_ACEOF
8197 /* confdefs.h. */
8198 _ACEOF
8199 cat confdefs.h >>conftest.$ac_ext
8200 cat >>conftest.$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8204 main ()
8208 return 0;
8210 _ACEOF
8211 rm -f conftest.$ac_objext conftest$ac_exeext
8212 if { (ac_try="$ac_link"
8213 case "(($ac_try" in
8214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8215 *) ac_try_echo=$ac_try;;
8216 esac
8217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8218 (eval "$ac_link") 2>conftest.er1
8219 ac_status=$?
8220 grep -v '^ *+' conftest.er1 >conftest.err
8221 rm -f conftest.er1
8222 cat conftest.err >&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } && {
8225 test -z "$ac_c_werror_flag" ||
8226 test ! -s conftest.err
8227 } && test -s conftest$ac_exeext &&
8228 $as_test_x conftest$ac_exeext; then
8229 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8230 else
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.$ac_ext >&5
8234 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8238 conftest$ac_exeext conftest.$ac_ext
8239 CFLAGS=$ac_wine_try_cflags_saved
8241 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8242 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8243 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8244 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8245 else
8246 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8247 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8248 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 else
8251 ac_wine_try_cflags_saved=$CFLAGS
8252 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8253 cat >conftest.$ac_ext <<_ACEOF
8254 /* confdefs.h. */
8255 _ACEOF
8256 cat confdefs.h >>conftest.$ac_ext
8257 cat >>conftest.$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8261 main ()
8265 return 0;
8267 _ACEOF
8268 rm -f conftest.$ac_objext conftest$ac_exeext
8269 if { (ac_try="$ac_link"
8270 case "(($ac_try" in
8271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8272 *) ac_try_echo=$ac_try;;
8273 esac
8274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8275 (eval "$ac_link") 2>conftest.er1
8276 ac_status=$?
8277 grep -v '^ *+' conftest.er1 >conftest.err
8278 rm -f conftest.er1
8279 cat conftest.err >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && {
8282 test -z "$ac_c_werror_flag" ||
8283 test ! -s conftest.err
8284 } && test -s conftest$ac_exeext &&
8285 $as_test_x conftest$ac_exeext; then
8286 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8287 else
8288 echo "$as_me: failed program was:" >&5
8289 sed 's/^/| /' conftest.$ac_ext >&5
8291 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8299 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8300 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8301 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8307 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8308 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8309 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 else
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8314 cat >conftest.$ac_ext <<_ACEOF
8315 /* confdefs.h. */
8316 _ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8322 main ()
8326 return 0;
8328 _ACEOF
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (ac_try="$ac_link"
8331 case "(($ac_try" in
8332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8333 *) ac_try_echo=$ac_try;;
8334 esac
8335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8336 (eval "$ac_link") 2>conftest.er1
8337 ac_status=$?
8338 grep -v '^ *+' conftest.er1 >conftest.err
8339 rm -f conftest.er1
8340 cat conftest.err >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } && {
8343 test -z "$ac_c_werror_flag" ||
8344 test ! -s conftest.err
8345 } && test -s conftest$ac_exeext &&
8346 $as_test_x conftest$ac_exeext; then
8347 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8348 else
8349 echo "$as_me: failed program was:" >&5
8350 sed 's/^/| /' conftest.$ac_ext >&5
8352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8356 conftest$ac_exeext conftest.$ac_ext
8357 CFLAGS=$ac_wine_try_cflags_saved
8359 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8360 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8361 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8362 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8366 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8367 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8368 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 else
8371 ac_wine_try_cflags_saved=$CFLAGS
8372 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8373 cat >conftest.$ac_ext <<_ACEOF
8374 /* confdefs.h. */
8375 _ACEOF
8376 cat confdefs.h >>conftest.$ac_ext
8377 cat >>conftest.$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8381 main ()
8385 return 0;
8387 _ACEOF
8388 rm -f conftest.$ac_objext conftest$ac_exeext
8389 if { (ac_try="$ac_link"
8390 case "(($ac_try" in
8391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8392 *) ac_try_echo=$ac_try;;
8393 esac
8394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8395 (eval "$ac_link") 2>conftest.er1
8396 ac_status=$?
8397 grep -v '^ *+' conftest.er1 >conftest.err
8398 rm -f conftest.er1
8399 cat conftest.err >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); } && {
8402 test -z "$ac_c_werror_flag" ||
8403 test ! -s conftest.err
8404 } && test -s conftest$ac_exeext &&
8405 $as_test_x conftest$ac_exeext; then
8406 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8407 else
8408 echo "$as_me: failed program was:" >&5
8409 sed 's/^/| /' conftest.$ac_ext >&5
8411 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8415 conftest$ac_exeext conftest.$ac_ext
8416 CFLAGS=$ac_wine_try_cflags_saved
8418 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8419 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8420 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8421 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8425 echo '{ global: *; };' >conftest.map
8426 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8427 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8428 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8433 cat >conftest.$ac_ext <<_ACEOF
8434 /* confdefs.h. */
8435 _ACEOF
8436 cat confdefs.h >>conftest.$ac_ext
8437 cat >>conftest.$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8441 main ()
8445 return 0;
8447 _ACEOF
8448 rm -f conftest.$ac_objext conftest$ac_exeext
8449 if { (ac_try="$ac_link"
8450 case "(($ac_try" in
8451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8452 *) ac_try_echo=$ac_try;;
8453 esac
8454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8455 (eval "$ac_link") 2>conftest.er1
8456 ac_status=$?
8457 grep -v '^ *+' conftest.er1 >conftest.err
8458 rm -f conftest.er1
8459 cat conftest.err >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } && {
8462 test -z "$ac_c_werror_flag" ||
8463 test ! -s conftest.err
8464 } && test -s conftest$ac_exeext &&
8465 $as_test_x conftest$ac_exeext; then
8466 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8467 else
8468 echo "$as_me: failed program was:" >&5
8469 sed 's/^/| /' conftest.$ac_ext >&5
8471 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8475 conftest$ac_exeext conftest.$ac_ext
8476 CFLAGS=$ac_wine_try_cflags_saved
8478 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8479 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8480 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8481 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8484 rm -f conftest.map
8486 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8487 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8488 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8493 cat >conftest.$ac_ext <<_ACEOF
8494 /* confdefs.h. */
8495 _ACEOF
8496 cat confdefs.h >>conftest.$ac_ext
8497 cat >>conftest.$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8501 main ()
8505 return 0;
8507 _ACEOF
8508 rm -f conftest.$ac_objext conftest$ac_exeext
8509 if { (ac_try="$ac_link"
8510 case "(($ac_try" in
8511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8512 *) ac_try_echo=$ac_try;;
8513 esac
8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8515 (eval "$ac_link") 2>conftest.er1
8516 ac_status=$?
8517 grep -v '^ *+' conftest.er1 >conftest.err
8518 rm -f conftest.er1
8519 cat conftest.err >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } && {
8522 test -z "$ac_c_werror_flag" ||
8523 test ! -s conftest.err
8524 } && test -s conftest$ac_exeext &&
8525 $as_test_x conftest$ac_exeext; then
8526 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8527 else
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8535 conftest$ac_exeext conftest.$ac_ext
8536 CFLAGS=$ac_wine_try_cflags_saved
8538 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8539 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8540 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8541 LDEXECFLAGS="-Wl,--export-dynamic"
8546 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8547 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8548 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 else
8552 ac_wine_try_cflags_saved=$CFLAGS
8553 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8554 cat >conftest.$ac_ext <<_ACEOF
8555 /* confdefs.h. */
8556 _ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8562 main ()
8566 return 0;
8568 _ACEOF
8569 rm -f conftest.$ac_objext conftest$ac_exeext
8570 if { (ac_try="$ac_link"
8571 case "(($ac_try" in
8572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8573 *) ac_try_echo=$ac_try;;
8574 esac
8575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576 (eval "$ac_link") 2>conftest.er1
8577 ac_status=$?
8578 grep -v '^ *+' conftest.er1 >conftest.err
8579 rm -f conftest.er1
8580 cat conftest.err >&5
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); } && {
8583 test -z "$ac_c_werror_flag" ||
8584 test ! -s conftest.err
8585 } && test -s conftest$ac_exeext &&
8586 $as_test_x conftest$ac_exeext; then
8587 eval "$as_ac_var=yes"
8588 else
8589 echo "$as_me: failed program was:" >&5
8590 sed 's/^/| /' conftest.$ac_ext >&5
8592 eval "$as_ac_var=no"
8595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 ac_res=`eval echo '${'$as_ac_var'}'`
8600 { echo "$as_me:$LINENO: result: $ac_res" >&5
8601 echo "${ECHO_T}$ac_res" >&6; }
8602 if test `eval echo '${'$as_ac_var'}'` = yes; then
8603 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8604 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8605 else
8606 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8607 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8608 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 else
8612 ac_wine_try_cflags_saved=$CFLAGS
8613 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8614 cat >conftest.$ac_ext <<_ACEOF
8615 /* confdefs.h. */
8616 _ACEOF
8617 cat confdefs.h >>conftest.$ac_ext
8618 cat >>conftest.$ac_ext <<_ACEOF
8619 /* end confdefs.h. */
8622 main ()
8626 return 0;
8628 _ACEOF
8629 rm -f conftest.$ac_objext conftest$ac_exeext
8630 if { (ac_try="$ac_link"
8631 case "(($ac_try" in
8632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8633 *) ac_try_echo=$ac_try;;
8634 esac
8635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8636 (eval "$ac_link") 2>conftest.er1
8637 ac_status=$?
8638 grep -v '^ *+' conftest.er1 >conftest.err
8639 rm -f conftest.er1
8640 cat conftest.err >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); } && {
8643 test -z "$ac_c_werror_flag" ||
8644 test ! -s conftest.err
8645 } && test -s conftest$ac_exeext &&
8646 $as_test_x conftest$ac_exeext; then
8647 eval "$as_ac_var=yes"
8648 else
8649 echo "$as_me: failed program was:" >&5
8650 sed 's/^/| /' conftest.$ac_ext >&5
8652 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 ac_res=`eval echo '${'$as_ac_var'}'`
8660 { echo "$as_me:$LINENO: result: $ac_res" >&5
8661 echo "${ECHO_T}$ac_res" >&6; }
8662 if test `eval echo '${'$as_ac_var'}'` = yes; then
8663 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8664 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8670 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8671 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8672 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8677 cat >conftest.$ac_ext <<_ACEOF
8678 /* confdefs.h. */
8679 _ACEOF
8680 cat confdefs.h >>conftest.$ac_ext
8681 cat >>conftest.$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8685 main ()
8689 return 0;
8691 _ACEOF
8692 rm -f conftest.$ac_objext conftest$ac_exeext
8693 if { (ac_try="$ac_link"
8694 case "(($ac_try" in
8695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8696 *) ac_try_echo=$ac_try;;
8697 esac
8698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699 (eval "$ac_link") 2>conftest.er1
8700 ac_status=$?
8701 grep -v '^ *+' conftest.er1 >conftest.err
8702 rm -f conftest.er1
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } && {
8706 test -z "$ac_c_werror_flag" ||
8707 test ! -s conftest.err
8708 } && test -s conftest$ac_exeext &&
8709 $as_test_x conftest$ac_exeext; then
8710 ac_cv_cflags__Wl___enable_new_dtags=yes
8711 else
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8715 ac_cv_cflags__Wl___enable_new_dtags=no
8718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8723 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8724 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8725 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8729 case $host_cpu in
8730 *i[3456789]86* | x86_64)
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8732 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8738 cat >conftest.$ac_ext <<_ACEOF
8739 /* confdefs.h. */
8740 _ACEOF
8741 cat confdefs.h >>conftest.$ac_ext
8742 cat >>conftest.$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8746 main ()
8750 return 0;
8752 _ACEOF
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (ac_try="$ac_link"
8755 case "(($ac_try" in
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8758 esac
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8761 ac_status=$?
8762 grep -v '^ *+' conftest.er1 >conftest.err
8763 rm -f conftest.er1
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } && {
8767 test -z "$ac_c_werror_flag" ||
8768 test ! -s conftest.err
8769 } && test -s conftest$ac_exeext &&
8770 $as_test_x conftest$ac_exeext; then
8771 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8772 else
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8785 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8786 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8790 esac
8792 else
8793 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8794 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8795 if test "${ac_cv_c_dll_unixware+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8797 else
8798 ac_wine_try_cflags_saved=$CFLAGS
8799 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8800 cat >conftest.$ac_ext <<_ACEOF
8801 void myfunc() {}
8802 _ACEOF
8803 rm -f conftest.$ac_objext conftest$ac_exeext
8804 if { (ac_try="$ac_link"
8805 case "(($ac_try" in
8806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8807 *) ac_try_echo=$ac_try;;
8808 esac
8809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8810 (eval "$ac_link") 2>conftest.er1
8811 ac_status=$?
8812 grep -v '^ *+' conftest.er1 >conftest.err
8813 rm -f conftest.er1
8814 cat conftest.err >&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } && {
8817 test -z "$ac_c_werror_flag" ||
8818 test ! -s conftest.err
8819 } && test -s conftest$ac_exeext &&
8820 $as_test_x conftest$ac_exeext; then
8821 ac_cv_c_dll_unixware="yes"
8822 else
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8826 ac_cv_c_dll_unixware="no"
8829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8834 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8835 if test "$ac_cv_c_dll_unixware" = "yes"
8836 then
8837 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8838 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8840 else
8841 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8842 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8843 if test "${ac_cv_c_dll_hpux+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 else
8846 ac_wine_try_cflags_saved=$CFLAGS
8847 CFLAGS="$CFLAGS -shared"
8848 cat >conftest.$ac_ext <<_ACEOF
8849 void myfunc() {}
8850 _ACEOF
8851 rm -f conftest.$ac_objext conftest$ac_exeext
8852 if { (ac_try="$ac_link"
8853 case "(($ac_try" in
8854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8856 esac
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_link") 2>conftest.er1
8859 ac_status=$?
8860 grep -v '^ *+' conftest.er1 >conftest.err
8861 rm -f conftest.er1
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest$ac_exeext &&
8868 $as_test_x conftest$ac_exeext; then
8869 ac_cv_c_dll_hpux="yes"
8870 else
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8874 ac_cv_c_dll_hpux="no"
8877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8882 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8883 if test "$ac_cv_c_dll_hpux" = "yes"
8884 then
8885 LIBEXT="sl"
8886 DLLEXT=".sl"
8887 LDDLLFLAGS="-shared -fPIC"
8888 LDSHARED="\$(CC) -shared"
8893 CROSSTEST=""
8895 if test "$cross_compiling" = "no"
8896 then
8897 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8899 # Extract the first word of "$ac_prog", so it can be a program name with args.
8900 set dummy $ac_prog; ac_word=$2
8901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8903 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8905 else
8906 if test -n "$CROSSCC"; then
8907 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8908 else
8909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8910 for as_dir in $PATH
8912 IFS=$as_save_IFS
8913 test -z "$as_dir" && as_dir=.
8914 for ac_exec_ext in '' $ac_executable_extensions; do
8915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8916 ac_cv_prog_CROSSCC="$ac_prog"
8917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8918 break 2
8920 done
8921 done
8922 IFS=$as_save_IFS
8926 CROSSCC=$ac_cv_prog_CROSSCC
8927 if test -n "$CROSSCC"; then
8928 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8929 echo "${ECHO_T}$CROSSCC" >&6; }
8930 else
8931 { echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6; }
8936 test -n "$CROSSCC" && break
8937 done
8938 test -n "$CROSSCC" || CROSSCC="false"
8940 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8942 # Extract the first word of "$ac_prog", so it can be a program name with args.
8943 set dummy $ac_prog; ac_word=$2
8944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8946 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8948 else
8949 if test -n "$DLLTOOL"; then
8950 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8951 else
8952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8953 for as_dir in $PATH
8955 IFS=$as_save_IFS
8956 test -z "$as_dir" && as_dir=.
8957 for ac_exec_ext in '' $ac_executable_extensions; do
8958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959 ac_cv_prog_DLLTOOL="$ac_prog"
8960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 break 2
8963 done
8964 done
8965 IFS=$as_save_IFS
8969 DLLTOOL=$ac_cv_prog_DLLTOOL
8970 if test -n "$DLLTOOL"; then
8971 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8972 echo "${ECHO_T}$DLLTOOL" >&6; }
8973 else
8974 { echo "$as_me:$LINENO: result: no" >&5
8975 echo "${ECHO_T}no" >&6; }
8979 test -n "$DLLTOOL" && break
8980 done
8981 test -n "$DLLTOOL" || DLLTOOL="false"
8983 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8985 # Extract the first word of "$ac_prog", so it can be a program name with args.
8986 set dummy $ac_prog; ac_word=$2
8987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8989 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 else
8992 if test -n "$CROSSWINDRES"; then
8993 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8994 else
8995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8996 for as_dir in $PATH
8998 IFS=$as_save_IFS
8999 test -z "$as_dir" && as_dir=.
9000 for ac_exec_ext in '' $ac_executable_extensions; do
9001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9002 ac_cv_prog_CROSSWINDRES="$ac_prog"
9003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9004 break 2
9006 done
9007 done
9008 IFS=$as_save_IFS
9012 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9013 if test -n "$CROSSWINDRES"; then
9014 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9015 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9016 else
9017 { echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6; }
9022 test -n "$CROSSWINDRES" && break
9023 done
9024 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9026 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9028 # Extract the first word of "$ac_prog", so it can be a program name with args.
9029 set dummy $ac_prog; ac_word=$2
9030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9032 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 else
9035 if test -n "$MINGWAR"; then
9036 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9037 else
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9039 for as_dir in $PATH
9041 IFS=$as_save_IFS
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_MINGWAR="$ac_prog"
9046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9047 break 2
9049 done
9050 done
9051 IFS=$as_save_IFS
9055 MINGWAR=$ac_cv_prog_MINGWAR
9056 if test -n "$MINGWAR"; then
9057 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9058 echo "${ECHO_T}$MINGWAR" >&6; }
9059 else
9060 { echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6; }
9065 test -n "$MINGWAR" && break
9066 done
9067 test -n "$MINGWAR" || MINGWAR="false"
9069 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9072 esac
9074 if test "$LIBEXT" = "a"; then
9075 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9076 It is currently not possible to build Wine without shared library
9077 (.so) support to allow transparent switch between .so and .dll files.
9078 If you are using Linux, you will need a newer binutils.
9079 " >&5
9080 echo "$as_me: error: could not find a way to build shared libraries.
9081 It is currently not possible to build Wine without shared library
9082 (.so) support to allow transparent switch between .so and .dll files.
9083 If you are using Linux, you will need a newer binutils.
9084 " >&2;}
9085 { (exit 1); exit 1; }; }
9089 if test "$have_x" = "yes"
9090 then
9091 XLIB="-lXext -lX11"
9092 ac_save_CPPFLAGS="$CPPFLAGS"
9093 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9095 { echo "$as_me:$LINENO: checking for -lX11" >&5
9096 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9097 if test "${ac_cv_lib_soname_X11+set}" = set; then
9098 echo $ECHO_N "(cached) $ECHO_C" >&6
9099 else
9100 ac_check_soname_save_LIBS=$LIBS
9101 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9102 cat >conftest.$ac_ext <<_ACEOF
9103 /* confdefs.h. */
9104 _ACEOF
9105 cat confdefs.h >>conftest.$ac_ext
9106 cat >>conftest.$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9109 /* Override any GCC internal prototype to avoid an error.
9110 Use char because int might match the return type of a GCC
9111 builtin and then its argument prototype would still apply. */
9112 #ifdef __cplusplus
9113 extern "C"
9114 #endif
9115 char XCreateWindow ();
9117 main ()
9119 return XCreateWindow ();
9121 return 0;
9123 _ACEOF
9124 rm -f conftest.$ac_objext conftest$ac_exeext
9125 if { (ac_try="$ac_link"
9126 case "(($ac_try" in
9127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9128 *) ac_try_echo=$ac_try;;
9129 esac
9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9131 (eval "$ac_link") 2>conftest.er1
9132 ac_status=$?
9133 grep -v '^ *+' conftest.er1 >conftest.err
9134 rm -f conftest.er1
9135 cat conftest.err >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } && {
9138 test -z "$ac_c_werror_flag" ||
9139 test ! -s conftest.err
9140 } && test -s conftest$ac_exeext &&
9141 $as_test_x conftest$ac_exeext; then
9142 case "$LIBEXT" in
9143 dll) ;;
9144 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9145 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9146 esac
9147 else
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.$ac_ext >&5
9154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9155 conftest$ac_exeext conftest.$ac_ext
9156 LIBS=$ac_check_soname_save_LIBS
9158 if test "x$ac_cv_lib_soname_X11" = "x"; then
9159 { echo "$as_me:$LINENO: result: not found" >&5
9160 echo "${ECHO_T}not found" >&6; }
9162 else
9163 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9164 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9166 cat >>confdefs.h <<_ACEOF
9167 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9168 _ACEOF
9173 { echo "$as_me:$LINENO: checking for -lXext" >&5
9174 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9175 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 else
9178 ac_check_soname_save_LIBS=$LIBS
9179 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9180 cat >conftest.$ac_ext <<_ACEOF
9181 /* confdefs.h. */
9182 _ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9190 #ifdef __cplusplus
9191 extern "C"
9192 #endif
9193 char XextCreateExtension ();
9195 main ()
9197 return XextCreateExtension ();
9199 return 0;
9201 _ACEOF
9202 rm -f conftest.$ac_objext conftest$ac_exeext
9203 if { (ac_try="$ac_link"
9204 case "(($ac_try" in
9205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9206 *) ac_try_echo=$ac_try;;
9207 esac
9208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209 (eval "$ac_link") 2>conftest.er1
9210 ac_status=$?
9211 grep -v '^ *+' conftest.er1 >conftest.err
9212 rm -f conftest.er1
9213 cat conftest.err >&5
9214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215 (exit $ac_status); } && {
9216 test -z "$ac_c_werror_flag" ||
9217 test ! -s conftest.err
9218 } && test -s conftest$ac_exeext &&
9219 $as_test_x conftest$ac_exeext; then
9220 case "$LIBEXT" in
9221 dll) ;;
9222 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9223 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9224 esac
9225 else
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.$ac_ext >&5
9232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LIBS=$ac_check_soname_save_LIBS
9236 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9237 { echo "$as_me:$LINENO: result: not found" >&5
9238 echo "${ECHO_T}not found" >&6; }
9240 else
9241 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9242 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9244 cat >>confdefs.h <<_ACEOF
9245 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9246 _ACEOF
9263 for ac_header in X11/Xlib.h \
9264 X11/XKBlib.h \
9265 X11/Xutil.h \
9266 X11/Xcursor/Xcursor.h \
9267 X11/extensions/shape.h \
9268 X11/extensions/XInput.h \
9269 X11/extensions/XShm.h \
9270 X11/extensions/Xinerama.h \
9271 X11/extensions/Xrandr.h \
9272 X11/extensions/Xrender.h \
9273 X11/extensions/xf86vmode.h
9275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9280 else
9281 cat >conftest.$ac_ext <<_ACEOF
9282 /* confdefs.h. */
9283 _ACEOF
9284 cat confdefs.h >>conftest.$ac_ext
9285 cat >>conftest.$ac_ext <<_ACEOF
9286 /* end confdefs.h. */
9287 #ifdef HAVE_X11_XLIB_H
9288 # include <X11/Xlib.h>
9289 #endif
9290 #ifdef HAVE_X11_XUTIL_H
9291 # include <X11/Xutil.h>
9292 #endif
9294 #include <$ac_header>
9295 _ACEOF
9296 rm -f conftest.$ac_objext
9297 if { (ac_try="$ac_compile"
9298 case "(($ac_try" in
9299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9300 *) ac_try_echo=$ac_try;;
9301 esac
9302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9303 (eval "$ac_compile") 2>conftest.er1
9304 ac_status=$?
9305 grep -v '^ *+' conftest.er1 >conftest.err
9306 rm -f conftest.er1
9307 cat conftest.err >&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); } && {
9310 test -z "$ac_c_werror_flag" ||
9311 test ! -s conftest.err
9312 } && test -s conftest.$ac_objext; then
9313 eval "$as_ac_Header=yes"
9314 else
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.$ac_ext >&5
9318 eval "$as_ac_Header=no"
9321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9323 ac_res=`eval echo '${'$as_ac_Header'}'`
9324 { echo "$as_me:$LINENO: result: $ac_res" >&5
9325 echo "${ECHO_T}$ac_res" >&6; }
9326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9327 cat >>confdefs.h <<_ACEOF
9328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9329 _ACEOF
9333 done
9336 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9337 then
9338 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9339 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9340 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9341 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 else
9343 ac_check_lib_save_LIBS=$LIBS
9344 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9345 cat >conftest.$ac_ext <<_ACEOF
9346 /* confdefs.h. */
9347 _ACEOF
9348 cat confdefs.h >>conftest.$ac_ext
9349 cat >>conftest.$ac_ext <<_ACEOF
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9355 #ifdef __cplusplus
9356 extern "C"
9357 #endif
9358 char XkbQueryExtension ();
9360 main ()
9362 return XkbQueryExtension ();
9364 return 0;
9366 _ACEOF
9367 rm -f conftest.$ac_objext conftest$ac_exeext
9368 if { (ac_try="$ac_link"
9369 case "(($ac_try" in
9370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9371 *) ac_try_echo=$ac_try;;
9372 esac
9373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9374 (eval "$ac_link") 2>conftest.er1
9375 ac_status=$?
9376 grep -v '^ *+' conftest.er1 >conftest.err
9377 rm -f conftest.er1
9378 cat conftest.err >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } && {
9381 test -z "$ac_c_werror_flag" ||
9382 test ! -s conftest.err
9383 } && test -s conftest$ac_exeext &&
9384 $as_test_x conftest$ac_exeext; then
9385 ac_cv_lib_X11_XkbQueryExtension=yes
9386 else
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 ac_cv_lib_X11_XkbQueryExtension=no
9393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9398 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9399 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9401 cat >>confdefs.h <<\_ACEOF
9402 #define HAVE_XKB 1
9403 _ACEOF
9409 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9410 then
9411 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9412 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9413 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9414 echo $ECHO_N "(cached) $ECHO_C" >&6
9415 else
9416 ac_check_soname_save_LIBS=$LIBS
9417 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9418 cat >conftest.$ac_ext <<_ACEOF
9419 /* confdefs.h. */
9420 _ACEOF
9421 cat confdefs.h >>conftest.$ac_ext
9422 cat >>conftest.$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9428 #ifdef __cplusplus
9429 extern "C"
9430 #endif
9431 char XcursorImageLoadCursor ();
9433 main ()
9435 return XcursorImageLoadCursor ();
9437 return 0;
9439 _ACEOF
9440 rm -f conftest.$ac_objext conftest$ac_exeext
9441 if { (ac_try="$ac_link"
9442 case "(($ac_try" in
9443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9444 *) ac_try_echo=$ac_try;;
9445 esac
9446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9447 (eval "$ac_link") 2>conftest.er1
9448 ac_status=$?
9449 grep -v '^ *+' conftest.er1 >conftest.err
9450 rm -f conftest.er1
9451 cat conftest.err >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } && {
9454 test -z "$ac_c_werror_flag" ||
9455 test ! -s conftest.err
9456 } && test -s conftest$ac_exeext &&
9457 $as_test_x conftest$ac_exeext; then
9458 case "$LIBEXT" in
9459 dll) ;;
9460 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'` ;;
9461 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9462 esac
9463 else
9464 echo "$as_me: failed program was:" >&5
9465 sed 's/^/| /' conftest.$ac_ext >&5
9470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9471 conftest$ac_exeext conftest.$ac_ext
9472 LIBS=$ac_check_soname_save_LIBS
9474 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9475 { echo "$as_me:$LINENO: result: not found" >&5
9476 echo "${ECHO_T}not found" >&6; }
9478 else
9479 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9480 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9482 cat >>confdefs.h <<_ACEOF
9483 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9484 _ACEOF
9491 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9492 then
9493 { echo "$as_me:$LINENO: checking for -lXi" >&5
9494 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9495 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498 ac_check_soname_save_LIBS=$LIBS
9499 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char XOpenDevice ();
9515 main ()
9517 return XOpenDevice ();
9519 return 0;
9521 _ACEOF
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (ac_try="$ac_link"
9524 case "(($ac_try" in
9525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9527 esac
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_link") 2>conftest.er1
9530 ac_status=$?
9531 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && {
9536 test -z "$ac_c_werror_flag" ||
9537 test ! -s conftest.err
9538 } && test -s conftest$ac_exeext &&
9539 $as_test_x conftest$ac_exeext; then
9540 case "$LIBEXT" in
9541 dll) ;;
9542 dylib) ac_cv_lib_soname_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'` ;;
9543 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9544 esac
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_soname_save_LIBS
9556 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9557 { echo "$as_me:$LINENO: result: not found" >&5
9558 echo "${ECHO_T}not found" >&6; }
9560 else
9561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9562 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9564 cat >>confdefs.h <<_ACEOF
9565 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9566 _ACEOF
9573 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9574 then
9575 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9576 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9577 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9578 echo $ECHO_N "(cached) $ECHO_C" >&6
9579 else
9580 ac_check_lib_save_LIBS=$LIBS
9581 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9582 cat >conftest.$ac_ext <<_ACEOF
9583 /* confdefs.h. */
9584 _ACEOF
9585 cat confdefs.h >>conftest.$ac_ext
9586 cat >>conftest.$ac_ext <<_ACEOF
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char XShmQueryExtension ();
9597 main ()
9599 return XShmQueryExtension ();
9601 return 0;
9603 _ACEOF
9604 rm -f conftest.$ac_objext conftest$ac_exeext
9605 if { (ac_try="$ac_link"
9606 case "(($ac_try" in
9607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9608 *) ac_try_echo=$ac_try;;
9609 esac
9610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9611 (eval "$ac_link") 2>conftest.er1
9612 ac_status=$?
9613 grep -v '^ *+' conftest.er1 >conftest.err
9614 rm -f conftest.er1
9615 cat conftest.err >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); } && {
9618 test -z "$ac_c_werror_flag" ||
9619 test ! -s conftest.err
9620 } && test -s conftest$ac_exeext &&
9621 $as_test_x conftest$ac_exeext; then
9622 ac_cv_lib_Xext_XShmQueryExtension=yes
9623 else
9624 echo "$as_me: failed program was:" >&5
9625 sed 's/^/| /' conftest.$ac_ext >&5
9627 ac_cv_lib_Xext_XShmQueryExtension=no
9630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9631 conftest$ac_exeext conftest.$ac_ext
9632 LIBS=$ac_check_lib_save_LIBS
9634 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9635 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9636 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9638 cat >>confdefs.h <<\_ACEOF
9639 #define HAVE_LIBXXSHM 1
9640 _ACEOF
9645 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9646 wine_notices="$wine_notices|XShm development files not found.
9647 Wine will be built without XShm support. (winex11.drv)"
9651 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9652 then
9653 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9654 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9655 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9656 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 else
9658 ac_check_lib_save_LIBS=$LIBS
9659 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9660 cat >conftest.$ac_ext <<_ACEOF
9661 /* confdefs.h. */
9662 _ACEOF
9663 cat confdefs.h >>conftest.$ac_ext
9664 cat >>conftest.$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9670 #ifdef __cplusplus
9671 extern "C"
9672 #endif
9673 char XShapeQueryExtension ();
9675 main ()
9677 return XShapeQueryExtension ();
9679 return 0;
9681 _ACEOF
9682 rm -f conftest.$ac_objext conftest$ac_exeext
9683 if { (ac_try="$ac_link"
9684 case "(($ac_try" in
9685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9686 *) ac_try_echo=$ac_try;;
9687 esac
9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9689 (eval "$ac_link") 2>conftest.er1
9690 ac_status=$?
9691 grep -v '^ *+' conftest.er1 >conftest.err
9692 rm -f conftest.er1
9693 cat conftest.err >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && {
9696 test -z "$ac_c_werror_flag" ||
9697 test ! -s conftest.err
9698 } && test -s conftest$ac_exeext &&
9699 $as_test_x conftest$ac_exeext; then
9700 ac_cv_lib_Xext_XShapeQueryExtension=yes
9701 else
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9705 ac_cv_lib_Xext_XShapeQueryExtension=no
9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9713 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9714 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9716 cat >>confdefs.h <<\_ACEOF
9717 #define HAVE_LIBXSHAPE 1
9718 _ACEOF
9723 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9724 wine_notices="$wine_notices|XShape development files not found.
9725 Wine will be built without XShape support. (winex11.drv)"
9729 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9730 then
9731 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9732 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9733 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9734 echo $ECHO_N "(cached) $ECHO_C" >&6
9735 else
9736 ac_check_lib_save_LIBS=$LIBS
9737 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9738 cat >conftest.$ac_ext <<_ACEOF
9739 /* confdefs.h. */
9740 _ACEOF
9741 cat confdefs.h >>conftest.$ac_ext
9742 cat >>conftest.$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9745 /* Override any GCC internal prototype to avoid an error.
9746 Use char because int might match the return type of a GCC
9747 builtin and then its argument prototype would still apply. */
9748 #ifdef __cplusplus
9749 extern "C"
9750 #endif
9751 char XF86VidModeQueryExtension ();
9753 main ()
9755 return XF86VidModeQueryExtension ();
9757 return 0;
9759 _ACEOF
9760 rm -f conftest.$ac_objext conftest$ac_exeext
9761 if { (ac_try="$ac_link"
9762 case "(($ac_try" in
9763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9764 *) ac_try_echo=$ac_try;;
9765 esac
9766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9767 (eval "$ac_link") 2>conftest.er1
9768 ac_status=$?
9769 grep -v '^ *+' conftest.er1 >conftest.err
9770 rm -f conftest.er1
9771 cat conftest.err >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } && {
9774 test -z "$ac_c_werror_flag" ||
9775 test ! -s conftest.err
9776 } && test -s conftest$ac_exeext &&
9777 $as_test_x conftest$ac_exeext; then
9778 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9779 else
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.$ac_ext >&5
9783 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9787 conftest$ac_exeext conftest.$ac_ext
9788 LIBS=$ac_check_lib_save_LIBS
9790 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9791 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9792 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9794 cat >>confdefs.h <<\_ACEOF
9795 #define HAVE_LIBXXF86VM 1
9796 _ACEOF
9798 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9803 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9804 wine_notices="$wine_notices|Xxf86vm development files not found.
9805 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9809 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"
9810 then
9811 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9812 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9813 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 else
9816 ac_check_soname_save_LIBS=$LIBS
9817 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9818 cat >conftest.$ac_ext <<_ACEOF
9819 /* confdefs.h. */
9820 _ACEOF
9821 cat confdefs.h >>conftest.$ac_ext
9822 cat >>conftest.$ac_ext <<_ACEOF
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9828 #ifdef __cplusplus
9829 extern "C"
9830 #endif
9831 char XRenderQueryExtension ();
9833 main ()
9835 return XRenderQueryExtension ();
9837 return 0;
9839 _ACEOF
9840 rm -f conftest.$ac_objext conftest$ac_exeext
9841 if { (ac_try="$ac_link"
9842 case "(($ac_try" in
9843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9844 *) ac_try_echo=$ac_try;;
9845 esac
9846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9847 (eval "$ac_link") 2>conftest.er1
9848 ac_status=$?
9849 grep -v '^ *+' conftest.er1 >conftest.err
9850 rm -f conftest.er1
9851 cat conftest.err >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); } && {
9854 test -z "$ac_c_werror_flag" ||
9855 test ! -s conftest.err
9856 } && test -s conftest$ac_exeext &&
9857 $as_test_x conftest$ac_exeext; then
9858 case "$LIBEXT" in
9859 dll) ;;
9860 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'` ;;
9861 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9862 esac
9863 else
9864 echo "$as_me: failed program was:" >&5
9865 sed 's/^/| /' conftest.$ac_ext >&5
9870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_soname_save_LIBS
9874 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9875 { echo "$as_me:$LINENO: result: not found" >&5
9876 echo "${ECHO_T}not found" >&6; }
9878 else
9879 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9880 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9882 cat >>confdefs.h <<_ACEOF
9883 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9884 _ACEOF
9886 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9887 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9888 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 else
9891 ac_check_lib_save_LIBS=$LIBS
9892 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9893 cat >conftest.$ac_ext <<_ACEOF
9894 /* confdefs.h. */
9895 _ACEOF
9896 cat confdefs.h >>conftest.$ac_ext
9897 cat >>conftest.$ac_ext <<_ACEOF
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XRenderSetPictureTransform ();
9908 main ()
9910 return XRenderSetPictureTransform ();
9912 return 0;
9914 _ACEOF
9915 rm -f conftest.$ac_objext conftest$ac_exeext
9916 if { (ac_try="$ac_link"
9917 case "(($ac_try" in
9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919 *) ac_try_echo=$ac_try;;
9920 esac
9921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_link") 2>conftest.er1
9923 ac_status=$?
9924 grep -v '^ *+' conftest.er1 >conftest.err
9925 rm -f conftest.er1
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); } && {
9929 test -z "$ac_c_werror_flag" ||
9930 test ! -s conftest.err
9931 } && test -s conftest$ac_exeext &&
9932 $as_test_x conftest$ac_exeext; then
9933 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9934 else
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.$ac_ext >&5
9938 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_lib_save_LIBS
9945 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9946 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9947 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9949 cat >>confdefs.h <<\_ACEOF
9950 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9951 _ACEOF
9959 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9960 wine_notices="$wine_notices|XRender development files not found.
9961 Wine will be built without XRender support. (winex11.drv)"
9965 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9966 then
9967 cat >conftest.$ac_ext <<_ACEOF
9968 /* confdefs.h. */
9969 _ACEOF
9970 cat confdefs.h >>conftest.$ac_ext
9971 cat >>conftest.$ac_ext <<_ACEOF
9972 /* end confdefs.h. */
9973 #include <X11/Xlib.h>
9974 #include <X11/extensions/Xrandr.h>
9976 main ()
9978 static typeof(XRRSetScreenConfigAndRate) * func;
9980 return 0;
9982 _ACEOF
9983 rm -f conftest.$ac_objext
9984 if { (ac_try="$ac_compile"
9985 case "(($ac_try" in
9986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9987 *) ac_try_echo=$ac_try;;
9988 esac
9989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9990 (eval "$ac_compile") 2>conftest.er1
9991 ac_status=$?
9992 grep -v '^ *+' conftest.er1 >conftest.err
9993 rm -f conftest.er1
9994 cat conftest.err >&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } && {
9997 test -z "$ac_c_werror_flag" ||
9998 test ! -s conftest.err
9999 } && test -s conftest.$ac_objext; then
10000 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10001 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10002 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 else
10005 ac_check_soname_save_LIBS=$LIBS
10006 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10007 cat >conftest.$ac_ext <<_ACEOF
10008 /* confdefs.h. */
10009 _ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any GCC internal prototype to avoid an error.
10015 Use char because int might match the return type of a GCC
10016 builtin and then its argument prototype would still apply. */
10017 #ifdef __cplusplus
10018 extern "C"
10019 #endif
10020 char XRRQueryExtension ();
10022 main ()
10024 return XRRQueryExtension ();
10026 return 0;
10028 _ACEOF
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (ac_try="$ac_link"
10031 case "(($ac_try" in
10032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10033 *) ac_try_echo=$ac_try;;
10034 esac
10035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10036 (eval "$ac_link") 2>conftest.er1
10037 ac_status=$?
10038 grep -v '^ *+' conftest.er1 >conftest.err
10039 rm -f conftest.er1
10040 cat conftest.err >&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } && {
10043 test -z "$ac_c_werror_flag" ||
10044 test ! -s conftest.err
10045 } && test -s conftest$ac_exeext &&
10046 $as_test_x conftest$ac_exeext; then
10047 case "$LIBEXT" in
10048 dll) ;;
10049 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'` ;;
10050 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10051 esac
10052 else
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.$ac_ext >&5
10059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10060 conftest$ac_exeext conftest.$ac_ext
10061 LIBS=$ac_check_soname_save_LIBS
10063 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10064 { echo "$as_me:$LINENO: result: not found" >&5
10065 echo "${ECHO_T}not found" >&6; }
10067 else
10068 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10069 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10071 cat >>confdefs.h <<_ACEOF
10072 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10073 _ACEOF
10078 else
10079 echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.$ac_ext >&5
10085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10087 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10088 wine_notices="$wine_notices|XRandr development files not found.
10089 Wine will be built without XRandr support. (winex11.drv)"
10093 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10094 then
10095 cat >conftest.$ac_ext <<_ACEOF
10096 /* confdefs.h. */
10097 _ACEOF
10098 cat confdefs.h >>conftest.$ac_ext
10099 cat >>conftest.$ac_ext <<_ACEOF
10100 /* end confdefs.h. */
10101 #include <X11/Xlib.h>
10102 #include <X11/extensions/Xinerama.h>
10104 main ()
10106 static typeof(XineramaQueryScreens) * func;
10108 return 0;
10110 _ACEOF
10111 rm -f conftest.$ac_objext
10112 if { (ac_try="$ac_compile"
10113 case "(($ac_try" in
10114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10115 *) ac_try_echo=$ac_try;;
10116 esac
10117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10118 (eval "$ac_compile") 2>conftest.er1
10119 ac_status=$?
10120 grep -v '^ *+' conftest.er1 >conftest.err
10121 rm -f conftest.er1
10122 cat conftest.err >&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); } && {
10125 test -z "$ac_c_werror_flag" ||
10126 test ! -s conftest.err
10127 } && test -s conftest.$ac_objext; then
10128 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10129 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10130 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10131 echo $ECHO_N "(cached) $ECHO_C" >&6
10132 else
10133 ac_check_soname_save_LIBS=$LIBS
10134 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10135 cat >conftest.$ac_ext <<_ACEOF
10136 /* confdefs.h. */
10137 _ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 cat >>conftest.$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10145 #ifdef __cplusplus
10146 extern "C"
10147 #endif
10148 char XineramaQueryScreens ();
10150 main ()
10152 return XineramaQueryScreens ();
10154 return 0;
10156 _ACEOF
10157 rm -f conftest.$ac_objext conftest$ac_exeext
10158 if { (ac_try="$ac_link"
10159 case "(($ac_try" in
10160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10161 *) ac_try_echo=$ac_try;;
10162 esac
10163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10164 (eval "$ac_link") 2>conftest.er1
10165 ac_status=$?
10166 grep -v '^ *+' conftest.er1 >conftest.err
10167 rm -f conftest.er1
10168 cat conftest.err >&5
10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170 (exit $ac_status); } && {
10171 test -z "$ac_c_werror_flag" ||
10172 test ! -s conftest.err
10173 } && test -s conftest$ac_exeext &&
10174 $as_test_x conftest$ac_exeext; then
10175 case "$LIBEXT" in
10176 dll) ;;
10177 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'` ;;
10178 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10179 esac
10180 else
10181 echo "$as_me: failed program was:" >&5
10182 sed 's/^/| /' conftest.$ac_ext >&5
10187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10188 conftest$ac_exeext conftest.$ac_ext
10189 LIBS=$ac_check_soname_save_LIBS
10191 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10192 { echo "$as_me:$LINENO: result: not found" >&5
10193 echo "${ECHO_T}not found" >&6; }
10195 else
10196 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10197 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10199 cat >>confdefs.h <<_ACEOF
10200 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10201 _ACEOF
10206 else
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.$ac_ext >&5
10213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10215 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10216 wine_notices="$wine_notices|Xinerama development files not found.
10217 Wine will be built without Xinerama support. (winex11.drv)"
10222 if test "x$with_opengl" != "xno"
10223 then
10228 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 else
10236 cat >conftest.$ac_ext <<_ACEOF
10237 /* confdefs.h. */
10238 _ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10242 #ifdef HAVE_GL_GLX_H
10243 # include <GL/glx.h>
10244 #endif
10246 #include <$ac_header>
10247 _ACEOF
10248 rm -f conftest.$ac_objext
10249 if { (ac_try="$ac_compile"
10250 case "(($ac_try" in
10251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10252 *) ac_try_echo=$ac_try;;
10253 esac
10254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10255 (eval "$ac_compile") 2>conftest.er1
10256 ac_status=$?
10257 grep -v '^ *+' conftest.er1 >conftest.err
10258 rm -f conftest.er1
10259 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } && {
10262 test -z "$ac_c_werror_flag" ||
10263 test ! -s conftest.err
10264 } && test -s conftest.$ac_objext; then
10265 eval "$as_ac_Header=yes"
10266 else
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10270 eval "$as_ac_Header=no"
10273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10275 ac_res=`eval echo '${'$as_ac_Header'}'`
10276 { echo "$as_me:$LINENO: result: $ac_res" >&5
10277 echo "${ECHO_T}$ac_res" >&6; }
10278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10279 cat >>confdefs.h <<_ACEOF
10280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10281 _ACEOF
10285 done
10287 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10288 then
10289 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10290 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10291 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 else
10294 cat >conftest.$ac_ext <<_ACEOF
10295 /* confdefs.h. */
10296 _ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10300 #include <GL/gl.h>
10302 main ()
10304 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10306 return 0;
10308 _ACEOF
10309 rm -f conftest.$ac_objext
10310 if { (ac_try="$ac_compile"
10311 case "(($ac_try" in
10312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10313 *) ac_try_echo=$ac_try;;
10314 esac
10315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10316 (eval "$ac_compile") 2>conftest.er1
10317 ac_status=$?
10318 grep -v '^ *+' conftest.er1 >conftest.err
10319 rm -f conftest.er1
10320 cat conftest.err >&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } && {
10323 test -z "$ac_c_werror_flag" ||
10324 test ! -s conftest.err
10325 } && test -s conftest.$ac_objext; then
10326 wine_cv_opengl_header_version_OK="yes"
10327 else
10328 echo "$as_me: failed program was:" >&5
10329 sed 's/^/| /' conftest.$ac_ext >&5
10331 wine_cv_opengl_header_version_OK="no"
10334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10336 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10337 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10339 if test "$wine_cv_opengl_header_version_OK" = "yes"
10340 then
10341 { echo "$as_me:$LINENO: checking for -lGL" >&5
10342 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10343 if test "${ac_cv_lib_soname_GL+set}" = set; then
10344 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 else
10346 ac_check_soname_save_LIBS=$LIBS
10347 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10348 cat >conftest.$ac_ext <<_ACEOF
10349 /* confdefs.h. */
10350 _ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10355 /* Override any GCC internal prototype to avoid an error.
10356 Use char because int might match the return type of a GCC
10357 builtin and then its argument prototype would still apply. */
10358 #ifdef __cplusplus
10359 extern "C"
10360 #endif
10361 char glXCreateContext ();
10363 main ()
10365 return glXCreateContext ();
10367 return 0;
10369 _ACEOF
10370 rm -f conftest.$ac_objext conftest$ac_exeext
10371 if { (ac_try="$ac_link"
10372 case "(($ac_try" in
10373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10374 *) ac_try_echo=$ac_try;;
10375 esac
10376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10377 (eval "$ac_link") 2>conftest.er1
10378 ac_status=$?
10379 grep -v '^ *+' conftest.er1 >conftest.err
10380 rm -f conftest.er1
10381 cat conftest.err >&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } && {
10384 test -z "$ac_c_werror_flag" ||
10385 test ! -s conftest.err
10386 } && test -s conftest$ac_exeext &&
10387 $as_test_x conftest$ac_exeext; then
10388 case "$LIBEXT" in
10389 dll) ;;
10390 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'` ;;
10391 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10392 esac
10393 else
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.$ac_ext >&5
10400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10401 conftest$ac_exeext conftest.$ac_ext
10402 LIBS=$ac_check_soname_save_LIBS
10404 if test "x$ac_cv_lib_soname_GL" = "x"; then
10405 { echo "$as_me:$LINENO: result: not found" >&5
10406 echo "${ECHO_T}not found" >&6; }
10407 if test -f /usr/X11R6/lib/libGL.a
10408 then
10409 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10410 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10411 else
10412 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10413 Wine will be build without OpenGL or Direct3D support."
10415 else
10416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10417 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10419 cat >>confdefs.h <<_ACEOF
10420 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10421 _ACEOF
10423 OPENGL_LIBS="-lGL"
10424 OPENGLFILES='$(OPENGLFILES)'
10426 cat >>confdefs.h <<\_ACEOF
10427 #define HAVE_OPENGL 1
10428 _ACEOF
10433 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10434 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10435 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10436 echo $ECHO_N "(cached) $ECHO_C" >&6
10437 else
10438 ac_check_lib_save_LIBS=$LIBS
10439 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10440 cat >conftest.$ac_ext <<_ACEOF
10441 /* confdefs.h. */
10442 _ACEOF
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10450 #ifdef __cplusplus
10451 extern "C"
10452 #endif
10453 char gluLookAt ();
10455 main ()
10457 return gluLookAt ();
10459 return 0;
10461 _ACEOF
10462 rm -f conftest.$ac_objext conftest$ac_exeext
10463 if { (ac_try="$ac_link"
10464 case "(($ac_try" in
10465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10466 *) ac_try_echo=$ac_try;;
10467 esac
10468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10469 (eval "$ac_link") 2>conftest.er1
10470 ac_status=$?
10471 grep -v '^ *+' conftest.er1 >conftest.err
10472 rm -f conftest.er1
10473 cat conftest.err >&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } && {
10476 test -z "$ac_c_werror_flag" ||
10477 test ! -s conftest.err
10478 } && test -s conftest$ac_exeext &&
10479 $as_test_x conftest$ac_exeext; then
10480 ac_cv_lib_GLU_gluLookAt=yes
10481 else
10482 echo "$as_me: failed program was:" >&5
10483 sed 's/^/| /' conftest.$ac_ext >&5
10485 ac_cv_lib_GLU_gluLookAt=no
10488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_lib_save_LIBS
10492 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10493 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10494 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10495 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10496 GLU32FILES='$(GLU32FILES)'
10500 else
10501 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10502 Wine will be build without OpenGL or Direct3D support."
10504 else
10505 wine_warnings="$wine_warnings|OpenGL development headers not found.
10506 Wine will be build without OpenGL or Direct3D support."
10510 NASLIBS=""
10513 for ac_header in audio/audiolib.h
10515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 ac_res=`eval echo '${'$as_ac_Header'}'`
10523 { echo "$as_me:$LINENO: result: $ac_res" >&5
10524 echo "${ECHO_T}$ac_res" >&6; }
10525 else
10526 # Is the header compilable?
10527 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10528 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10529 cat >conftest.$ac_ext <<_ACEOF
10530 /* confdefs.h. */
10531 _ACEOF
10532 cat confdefs.h >>conftest.$ac_ext
10533 cat >>conftest.$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10535 $ac_includes_default
10536 #include <$ac_header>
10537 _ACEOF
10538 rm -f conftest.$ac_objext
10539 if { (ac_try="$ac_compile"
10540 case "(($ac_try" in
10541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10543 esac
10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10545 (eval "$ac_compile") 2>conftest.er1
10546 ac_status=$?
10547 grep -v '^ *+' conftest.er1 >conftest.err
10548 rm -f conftest.er1
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } && {
10552 test -z "$ac_c_werror_flag" ||
10553 test ! -s conftest.err
10554 } && test -s conftest.$ac_objext; then
10555 ac_header_compiler=yes
10556 else
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10560 ac_header_compiler=no
10563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10564 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10565 echo "${ECHO_T}$ac_header_compiler" >&6; }
10567 # Is the header present?
10568 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10570 cat >conftest.$ac_ext <<_ACEOF
10571 /* confdefs.h. */
10572 _ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10576 #include <$ac_header>
10577 _ACEOF
10578 if { (ac_try="$ac_cpp conftest.$ac_ext"
10579 case "(($ac_try" in
10580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10581 *) ac_try_echo=$ac_try;;
10582 esac
10583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10584 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10585 ac_status=$?
10586 grep -v '^ *+' conftest.er1 >conftest.err
10587 rm -f conftest.er1
10588 cat conftest.err >&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } >/dev/null && {
10591 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10592 test ! -s conftest.err
10593 }; then
10594 ac_header_preproc=yes
10595 else
10596 echo "$as_me: failed program was:" >&5
10597 sed 's/^/| /' conftest.$ac_ext >&5
10599 ac_header_preproc=no
10602 rm -f conftest.err conftest.$ac_ext
10603 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10604 echo "${ECHO_T}$ac_header_preproc" >&6; }
10606 # So? What about this header?
10607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10608 yes:no: )
10609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10613 ac_header_preproc=yes
10615 no:yes:* )
10616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10628 ( cat <<\_ASBOX
10629 ## ------------------------------------ ##
10630 ## Report this to wine-devel@winehq.org ##
10631 ## ------------------------------------ ##
10632 _ASBOX
10633 ) | sed "s/^/$as_me: WARNING: /" >&2
10635 esac
10636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 else
10641 eval "$as_ac_Header=\$ac_header_preproc"
10643 ac_res=`eval echo '${'$as_ac_Header'}'`
10644 { echo "$as_me:$LINENO: result: $ac_res" >&5
10645 echo "${ECHO_T}$ac_res" >&6; }
10648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10649 cat >>confdefs.h <<_ACEOF
10650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10651 _ACEOF
10653 for ac_header in audio/soundlib.h
10655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10656 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10659 echo $ECHO_N "(cached) $ECHO_C" >&6
10660 else
10661 cat >conftest.$ac_ext <<_ACEOF
10662 /* confdefs.h. */
10663 _ACEOF
10664 cat confdefs.h >>conftest.$ac_ext
10665 cat >>conftest.$ac_ext <<_ACEOF
10666 /* end confdefs.h. */
10667 #include <audio/audiolib.h>
10669 #include <$ac_header>
10670 _ACEOF
10671 rm -f conftest.$ac_objext
10672 if { (ac_try="$ac_compile"
10673 case "(($ac_try" in
10674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10675 *) ac_try_echo=$ac_try;;
10676 esac
10677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10678 (eval "$ac_compile") 2>conftest.er1
10679 ac_status=$?
10680 grep -v '^ *+' conftest.er1 >conftest.err
10681 rm -f conftest.er1
10682 cat conftest.err >&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } && {
10685 test -z "$ac_c_werror_flag" ||
10686 test ! -s conftest.err
10687 } && test -s conftest.$ac_objext; then
10688 eval "$as_ac_Header=yes"
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 eval "$as_ac_Header=no"
10696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10698 ac_res=`eval echo '${'$as_ac_Header'}'`
10699 { echo "$as_me:$LINENO: result: $ac_res" >&5
10700 echo "${ECHO_T}$ac_res" >&6; }
10701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10702 cat >>confdefs.h <<_ACEOF
10703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10704 _ACEOF
10708 done
10710 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10711 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10712 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10714 else
10715 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10717 cat >conftest.$ac_ext <<_ACEOF
10718 /* confdefs.h. */
10719 _ACEOF
10720 cat confdefs.h >>conftest.$ac_ext
10721 cat >>conftest.$ac_ext <<_ACEOF
10722 /* end confdefs.h. */
10724 /* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10727 #ifdef __cplusplus
10728 extern "C"
10729 #endif
10730 char AuCreateFlow ();
10732 main ()
10734 return AuCreateFlow ();
10736 return 0;
10738 _ACEOF
10739 rm -f conftest.$ac_objext conftest$ac_exeext
10740 if { (ac_try="$ac_link"
10741 case "(($ac_try" in
10742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10743 *) ac_try_echo=$ac_try;;
10744 esac
10745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10746 (eval "$ac_link") 2>conftest.er1
10747 ac_status=$?
10748 grep -v '^ *+' conftest.er1 >conftest.err
10749 rm -f conftest.er1
10750 cat conftest.err >&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } && {
10753 test -z "$ac_c_werror_flag" ||
10754 test ! -s conftest.err
10755 } && test -s conftest$ac_exeext &&
10756 $as_test_x conftest$ac_exeext; then
10757 ac_cv_lib_audio_AuCreateFlow=yes
10758 else
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.$ac_ext >&5
10762 ac_cv_lib_audio_AuCreateFlow=no
10765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10766 conftest$ac_exeext conftest.$ac_ext
10767 LIBS=$ac_check_lib_save_LIBS
10769 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10770 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10771 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10773 cat >>confdefs.h <<\_ACEOF
10774 #define HAVE_NAS 1
10775 _ACEOF
10777 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10778 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10779 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10781 else
10782 ac_check_lib_save_LIBS=$LIBS
10783 LIBS="-lXau $X_LIBS $LIBS"
10784 cat >conftest.$ac_ext <<_ACEOF
10785 /* confdefs.h. */
10786 _ACEOF
10787 cat confdefs.h >>conftest.$ac_ext
10788 cat >>conftest.$ac_ext <<_ACEOF
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10794 #ifdef __cplusplus
10795 extern "C"
10796 #endif
10797 char XauGetBestAuthByAddr ();
10799 main ()
10801 return XauGetBestAuthByAddr ();
10803 return 0;
10805 _ACEOF
10806 rm -f conftest.$ac_objext conftest$ac_exeext
10807 if { (ac_try="$ac_link"
10808 case "(($ac_try" in
10809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;;
10811 esac
10812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10813 (eval "$ac_link") 2>conftest.er1
10814 ac_status=$?
10815 grep -v '^ *+' conftest.er1 >conftest.err
10816 rm -f conftest.er1
10817 cat conftest.err >&5
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); } && {
10820 test -z "$ac_c_werror_flag" ||
10821 test ! -s conftest.err
10822 } && test -s conftest$ac_exeext &&
10823 $as_test_x conftest$ac_exeext; then
10824 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10825 else
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.$ac_ext >&5
10829 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10837 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10838 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10839 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10840 else
10841 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10849 done
10852 CPPFLAGS="$ac_save_CPPFLAGS"
10853 XFILES='$(XFILES)'
10854 else
10855 XLIB=""
10856 X_CFLAGS=""
10857 X_LIBS=""
10858 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10859 without X support, which probably isn't what you want. You will need to install
10860 development packages of Xlib/Xfree86 at the very least."
10864 XML2LIBS=""
10866 XML2INCL=""
10868 XSLTLIBS=""
10870 XSLTINCL=""
10872 ac_save_CPPFLAGS="$CPPFLAGS"
10873 if test "$PKG_CONFIG" != "false"
10874 then
10875 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10876 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10877 else
10878 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10879 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10881 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10883 for ac_header in libxml/parser.h
10885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10890 echo $ECHO_N "(cached) $ECHO_C" >&6
10892 ac_res=`eval echo '${'$as_ac_Header'}'`
10893 { echo "$as_me:$LINENO: result: $ac_res" >&5
10894 echo "${ECHO_T}$ac_res" >&6; }
10895 else
10896 # Is the header compilable?
10897 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10899 cat >conftest.$ac_ext <<_ACEOF
10900 /* confdefs.h. */
10901 _ACEOF
10902 cat confdefs.h >>conftest.$ac_ext
10903 cat >>conftest.$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10905 $ac_includes_default
10906 #include <$ac_header>
10907 _ACEOF
10908 rm -f conftest.$ac_objext
10909 if { (ac_try="$ac_compile"
10910 case "(($ac_try" in
10911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10912 *) ac_try_echo=$ac_try;;
10913 esac
10914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10915 (eval "$ac_compile") 2>conftest.er1
10916 ac_status=$?
10917 grep -v '^ *+' conftest.er1 >conftest.err
10918 rm -f conftest.er1
10919 cat conftest.err >&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } && {
10922 test -z "$ac_c_werror_flag" ||
10923 test ! -s conftest.err
10924 } && test -s conftest.$ac_objext; then
10925 ac_header_compiler=yes
10926 else
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 ac_header_compiler=no
10933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10935 echo "${ECHO_T}$ac_header_compiler" >&6; }
10937 # Is the header present?
10938 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10940 cat >conftest.$ac_ext <<_ACEOF
10941 /* confdefs.h. */
10942 _ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10946 #include <$ac_header>
10947 _ACEOF
10948 if { (ac_try="$ac_cpp conftest.$ac_ext"
10949 case "(($ac_try" in
10950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10952 esac
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10955 ac_status=$?
10956 grep -v '^ *+' conftest.er1 >conftest.err
10957 rm -f conftest.er1
10958 cat conftest.err >&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } >/dev/null && {
10961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10962 test ! -s conftest.err
10963 }; then
10964 ac_header_preproc=yes
10965 else
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.$ac_ext >&5
10969 ac_header_preproc=no
10972 rm -f conftest.err conftest.$ac_ext
10973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10974 echo "${ECHO_T}$ac_header_preproc" >&6; }
10976 # So? What about this header?
10977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10978 yes:no: )
10979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10983 ac_header_preproc=yes
10985 no:yes:* )
10986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10998 ( cat <<\_ASBOX
10999 ## ------------------------------------ ##
11000 ## Report this to wine-devel@winehq.org ##
11001 ## ------------------------------------ ##
11002 _ASBOX
11003 ) | sed "s/^/$as_me: WARNING: /" >&2
11005 esac
11006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 else
11011 eval "$as_ac_Header=\$ac_header_preproc"
11013 ac_res=`eval echo '${'$as_ac_Header'}'`
11014 { echo "$as_me:$LINENO: result: $ac_res" >&5
11015 echo "${ECHO_T}$ac_res" >&6; }
11018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11019 cat >>confdefs.h <<_ACEOF
11020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11021 _ACEOF
11022 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11023 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11024 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lxml2 $ac_xml_libs $LIBS"
11029 cat >conftest.$ac_ext <<_ACEOF
11030 /* confdefs.h. */
11031 _ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11039 #ifdef __cplusplus
11040 extern "C"
11041 #endif
11042 char xmlParseMemory ();
11044 main ()
11046 return xmlParseMemory ();
11048 return 0;
11050 _ACEOF
11051 rm -f conftest.$ac_objext conftest$ac_exeext
11052 if { (ac_try="$ac_link"
11053 case "(($ac_try" in
11054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055 *) ac_try_echo=$ac_try;;
11056 esac
11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 (eval "$ac_link") 2>conftest.er1
11059 ac_status=$?
11060 grep -v '^ *+' conftest.er1 >conftest.err
11061 rm -f conftest.er1
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } && {
11065 test -z "$ac_c_werror_flag" ||
11066 test ! -s conftest.err
11067 } && test -s conftest$ac_exeext &&
11068 $as_test_x conftest$ac_exeext; then
11069 ac_cv_lib_xml2_xmlParseMemory=yes
11070 else
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11074 ac_cv_lib_xml2_xmlParseMemory=no
11077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_lib_save_LIBS
11081 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11082 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11083 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11085 cat >>confdefs.h <<\_ACEOF
11086 #define HAVE_LIBXML2 1
11087 _ACEOF
11089 XML2LIBS="$ac_xml_libs"
11090 XML2INCL="$ac_xml_cflags"
11093 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11094 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11095 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lxml2 $ac_xml_libs $LIBS"
11100 cat >conftest.$ac_ext <<_ACEOF
11101 /* confdefs.h. */
11102 _ACEOF
11103 cat confdefs.h >>conftest.$ac_ext
11104 cat >>conftest.$ac_ext <<_ACEOF
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char xmlReadMemory ();
11115 main ()
11117 return xmlReadMemory ();
11119 return 0;
11121 _ACEOF
11122 rm -f conftest.$ac_objext conftest$ac_exeext
11123 if { (ac_try="$ac_link"
11124 case "(($ac_try" in
11125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11126 *) ac_try_echo=$ac_try;;
11127 esac
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129 (eval "$ac_link") 2>conftest.er1
11130 ac_status=$?
11131 grep -v '^ *+' conftest.er1 >conftest.err
11132 rm -f conftest.er1
11133 cat conftest.err >&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } && {
11136 test -z "$ac_c_werror_flag" ||
11137 test ! -s conftest.err
11138 } && test -s conftest$ac_exeext &&
11139 $as_test_x conftest$ac_exeext; then
11140 ac_cv_lib_xml2_xmlReadMemory=yes
11141 else
11142 echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11145 ac_cv_lib_xml2_xmlReadMemory=no
11148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11149 conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11152 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11153 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11154 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11156 cat >>confdefs.h <<\_ACEOF
11157 #define HAVE_XMLREADMEMORY 1
11158 _ACEOF
11162 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11163 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11164 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11165 echo $ECHO_N "(cached) $ECHO_C" >&6
11166 else
11167 ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-lxml2 $ac_xml_libs $LIBS"
11169 cat >conftest.$ac_ext <<_ACEOF
11170 /* confdefs.h. */
11171 _ACEOF
11172 cat confdefs.h >>conftest.$ac_ext
11173 cat >>conftest.$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11179 #ifdef __cplusplus
11180 extern "C"
11181 #endif
11182 char xmlNewDocPI ();
11184 main ()
11186 return xmlNewDocPI ();
11188 return 0;
11190 _ACEOF
11191 rm -f conftest.$ac_objext conftest$ac_exeext
11192 if { (ac_try="$ac_link"
11193 case "(($ac_try" in
11194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11195 *) ac_try_echo=$ac_try;;
11196 esac
11197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11198 (eval "$ac_link") 2>conftest.er1
11199 ac_status=$?
11200 grep -v '^ *+' conftest.er1 >conftest.err
11201 rm -f conftest.er1
11202 cat conftest.err >&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } && {
11205 test -z "$ac_c_werror_flag" ||
11206 test ! -s conftest.err
11207 } && test -s conftest$ac_exeext &&
11208 $as_test_x conftest$ac_exeext; then
11209 ac_cv_lib_xml2_xmlNewDocPI=yes
11210 else
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.$ac_ext >&5
11214 ac_cv_lib_xml2_xmlNewDocPI=no
11217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11218 conftest$ac_exeext conftest.$ac_ext
11219 LIBS=$ac_check_lib_save_LIBS
11221 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11222 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11223 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11225 cat >>confdefs.h <<\_ACEOF
11226 #define HAVE_XMLNEWDOCPI 1
11227 _ACEOF
11234 done
11236 CPPFLAGS="$ac_save_CPPFLAGS"
11237 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11238 wine_notices="$wine_notices|libxml2 development files not found.
11239 Wine will be built without XML support. (msxml.dll)"
11243 if test "$PKG_CONFIG" != "false"
11244 then
11245 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11246 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11247 else
11248 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11249 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11251 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11254 for ac_header in libxslt/pattern.h libxslt/transform.h
11256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11259 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11261 else
11262 cat >conftest.$ac_ext <<_ACEOF
11263 /* confdefs.h. */
11264 _ACEOF
11265 cat confdefs.h >>conftest.$ac_ext
11266 cat >>conftest.$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11268 #ifdef HAVE_LIBXSLT_PATTERN_H
11269 # include <libxslt/pattern.h>
11270 #endif
11272 #include <$ac_header>
11273 _ACEOF
11274 rm -f conftest.$ac_objext
11275 if { (ac_try="$ac_compile"
11276 case "(($ac_try" in
11277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11278 *) ac_try_echo=$ac_try;;
11279 esac
11280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11281 (eval "$ac_compile") 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } && {
11288 test -z "$ac_c_werror_flag" ||
11289 test ! -s conftest.err
11290 } && test -s conftest.$ac_objext; then
11291 eval "$as_ac_Header=yes"
11292 else
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.$ac_ext >&5
11296 eval "$as_ac_Header=no"
11299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11301 ac_res=`eval echo '${'$as_ac_Header'}'`
11302 { echo "$as_me:$LINENO: result: $ac_res" >&5
11303 echo "${ECHO_T}$ac_res" >&6; }
11304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11305 cat >>confdefs.h <<_ACEOF
11306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11307 _ACEOF
11308 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11309 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11310 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11312 else
11313 ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-lxslt $ac_xslt_libs $LIBS"
11315 cat >conftest.$ac_ext <<_ACEOF
11316 /* confdefs.h. */
11317 _ACEOF
11318 cat confdefs.h >>conftest.$ac_ext
11319 cat >>conftest.$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11325 #ifdef __cplusplus
11326 extern "C"
11327 #endif
11328 char xsltCompilePattern ();
11330 main ()
11332 return xsltCompilePattern ();
11334 return 0;
11336 _ACEOF
11337 rm -f conftest.$ac_objext conftest$ac_exeext
11338 if { (ac_try="$ac_link"
11339 case "(($ac_try" in
11340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11341 *) ac_try_echo=$ac_try;;
11342 esac
11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11344 (eval "$ac_link") 2>conftest.er1
11345 ac_status=$?
11346 grep -v '^ *+' conftest.er1 >conftest.err
11347 rm -f conftest.er1
11348 cat conftest.err >&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); } && {
11351 test -z "$ac_c_werror_flag" ||
11352 test ! -s conftest.err
11353 } && test -s conftest$ac_exeext &&
11354 $as_test_x conftest$ac_exeext; then
11355 ac_cv_lib_xslt_xsltCompilePattern=yes
11356 else
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.$ac_ext >&5
11360 ac_cv_lib_xslt_xsltCompilePattern=no
11363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11367 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11368 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11369 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11371 cat >>confdefs.h <<\_ACEOF
11372 #define HAVE_LIBXSLT 1
11373 _ACEOF
11375 XSLTLIBS="$ac_xslt_libs"
11376 XSLTINCL="$ac_xslt_cflags"
11382 done
11384 CPPFLAGS="$ac_save_CPPFLAGS"
11385 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11386 wine_notices="$wine_notices|libxslt development files not found.
11387 Wine will be built without xslt support. (msxml.dll)"
11391 HALINCL=""
11393 if test "$PKG_CONFIG" != "false"
11394 then
11395 ac_save_CPPFLAGS="$CPPFLAGS"
11396 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11397 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11398 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11401 for ac_header in dbus/dbus.h hal/libhal.h
11403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 ac_res=`eval echo '${'$as_ac_Header'}'`
11411 { echo "$as_me:$LINENO: result: $ac_res" >&5
11412 echo "${ECHO_T}$ac_res" >&6; }
11413 else
11414 # Is the header compilable?
11415 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11417 cat >conftest.$ac_ext <<_ACEOF
11418 /* confdefs.h. */
11419 _ACEOF
11420 cat confdefs.h >>conftest.$ac_ext
11421 cat >>conftest.$ac_ext <<_ACEOF
11422 /* end confdefs.h. */
11423 $ac_includes_default
11424 #include <$ac_header>
11425 _ACEOF
11426 rm -f conftest.$ac_objext
11427 if { (ac_try="$ac_compile"
11428 case "(($ac_try" in
11429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11430 *) ac_try_echo=$ac_try;;
11431 esac
11432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433 (eval "$ac_compile") 2>conftest.er1
11434 ac_status=$?
11435 grep -v '^ *+' conftest.er1 >conftest.err
11436 rm -f conftest.er1
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } && {
11440 test -z "$ac_c_werror_flag" ||
11441 test ! -s conftest.err
11442 } && test -s conftest.$ac_objext; then
11443 ac_header_compiler=yes
11444 else
11445 echo "$as_me: failed program was:" >&5
11446 sed 's/^/| /' conftest.$ac_ext >&5
11448 ac_header_compiler=no
11451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11452 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11453 echo "${ECHO_T}$ac_header_compiler" >&6; }
11455 # Is the header present?
11456 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11458 cat >conftest.$ac_ext <<_ACEOF
11459 /* confdefs.h. */
11460 _ACEOF
11461 cat confdefs.h >>conftest.$ac_ext
11462 cat >>conftest.$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11464 #include <$ac_header>
11465 _ACEOF
11466 if { (ac_try="$ac_cpp conftest.$ac_ext"
11467 case "(($ac_try" in
11468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11469 *) ac_try_echo=$ac_try;;
11470 esac
11471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11473 ac_status=$?
11474 grep -v '^ *+' conftest.er1 >conftest.err
11475 rm -f conftest.er1
11476 cat conftest.err >&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } >/dev/null && {
11479 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11480 test ! -s conftest.err
11481 }; then
11482 ac_header_preproc=yes
11483 else
11484 echo "$as_me: failed program was:" >&5
11485 sed 's/^/| /' conftest.$ac_ext >&5
11487 ac_header_preproc=no
11490 rm -f conftest.err conftest.$ac_ext
11491 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11492 echo "${ECHO_T}$ac_header_preproc" >&6; }
11494 # So? What about this header?
11495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11496 yes:no: )
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11501 ac_header_preproc=yes
11503 no:yes:* )
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11516 ( cat <<\_ASBOX
11517 ## ------------------------------------ ##
11518 ## Report this to wine-devel@winehq.org ##
11519 ## ------------------------------------ ##
11520 _ASBOX
11521 ) | sed "s/^/$as_me: WARNING: /" >&2
11523 esac
11524 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11526 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11527 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 else
11529 eval "$as_ac_Header=\$ac_header_preproc"
11531 ac_res=`eval echo '${'$as_ac_Header'}'`
11532 { echo "$as_me:$LINENO: result: $ac_res" >&5
11533 echo "${ECHO_T}$ac_res" >&6; }
11536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11537 cat >>confdefs.h <<_ACEOF
11538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11539 _ACEOF
11543 done
11545 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11546 then
11547 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11548 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11549 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 else
11552 ac_check_lib_save_LIBS=$LIBS
11553 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11554 cat >conftest.$ac_ext <<_ACEOF
11555 /* confdefs.h. */
11556 _ACEOF
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11564 #ifdef __cplusplus
11565 extern "C"
11566 #endif
11567 char dbus_connection_close ();
11569 main ()
11571 return dbus_connection_close ();
11573 return 0;
11575 _ACEOF
11576 rm -f conftest.$ac_objext conftest$ac_exeext
11577 if { (ac_try="$ac_link"
11578 case "(($ac_try" in
11579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11581 esac
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_link") 2>conftest.er1
11584 ac_status=$?
11585 grep -v '^ *+' conftest.er1 >conftest.err
11586 rm -f conftest.er1
11587 cat conftest.err >&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } && {
11590 test -z "$ac_c_werror_flag" ||
11591 test ! -s conftest.err
11592 } && test -s conftest$ac_exeext &&
11593 $as_test_x conftest$ac_exeext; then
11594 ac_cv_lib_dbus_1_dbus_connection_close=yes
11595 else
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11599 ac_cv_lib_dbus_1_dbus_connection_close=no
11602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_lib_save_LIBS
11606 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11607 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11608 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11609 { echo "$as_me:$LINENO: checking for -lhal" >&5
11610 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11611 if test "${ac_cv_lib_soname_hal+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 else
11614 ac_check_soname_save_LIBS=$LIBS
11615 LIBS="-lhal $ac_hal_libs $LIBS"
11616 cat >conftest.$ac_ext <<_ACEOF
11617 /* confdefs.h. */
11618 _ACEOF
11619 cat confdefs.h >>conftest.$ac_ext
11620 cat >>conftest.$ac_ext <<_ACEOF
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char libhal_ctx_new ();
11631 main ()
11633 return libhal_ctx_new ();
11635 return 0;
11637 _ACEOF
11638 rm -f conftest.$ac_objext conftest$ac_exeext
11639 if { (ac_try="$ac_link"
11640 case "(($ac_try" in
11641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11642 *) ac_try_echo=$ac_try;;
11643 esac
11644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11645 (eval "$ac_link") 2>conftest.er1
11646 ac_status=$?
11647 grep -v '^ *+' conftest.er1 >conftest.err
11648 rm -f conftest.er1
11649 cat conftest.err >&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); } && {
11652 test -z "$ac_c_werror_flag" ||
11653 test ! -s conftest.err
11654 } && test -s conftest$ac_exeext &&
11655 $as_test_x conftest$ac_exeext; then
11656 case "$LIBEXT" in
11657 dll) ;;
11658 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'` ;;
11659 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11660 esac
11661 else
11662 echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.$ac_ext >&5
11668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11669 conftest$ac_exeext conftest.$ac_ext
11670 LIBS=$ac_check_soname_save_LIBS
11672 if test "x$ac_cv_lib_soname_hal" = "x"; then
11673 { echo "$as_me:$LINENO: result: not found" >&5
11674 echo "${ECHO_T}not found" >&6; }
11676 else
11677 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11678 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11680 cat >>confdefs.h <<_ACEOF
11681 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11682 _ACEOF
11684 HALINCL="$ac_hal_cflags"
11690 CPPFLAGS="$ac_save_CPPFLAGS"
11692 if test "x$ac_cv_lib_soname_hal" = "x"; then
11693 wine_notices="$wine_notices|libhal development files not found.
11694 Wine will be built without dynamic device support. (explorer.exe)"
11698 CURSESLIBS=""
11699 if test "$ac_cv_header_ncurses_h" = "yes"
11700 then
11701 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11702 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11703 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11704 echo $ECHO_N "(cached) $ECHO_C" >&6
11705 else
11706 ac_check_soname_save_LIBS=$LIBS
11707 LIBS="-lncurses $LIBS"
11708 cat >conftest.$ac_ext <<_ACEOF
11709 /* confdefs.h. */
11710 _ACEOF
11711 cat confdefs.h >>conftest.$ac_ext
11712 cat >>conftest.$ac_ext <<_ACEOF
11713 /* end confdefs.h. */
11715 /* Override any GCC internal prototype to avoid an error.
11716 Use char because int might match the return type of a GCC
11717 builtin and then its argument prototype would still apply. */
11718 #ifdef __cplusplus
11719 extern "C"
11720 #endif
11721 char waddch ();
11723 main ()
11725 return waddch ();
11727 return 0;
11729 _ACEOF
11730 rm -f conftest.$ac_objext conftest$ac_exeext
11731 if { (ac_try="$ac_link"
11732 case "(($ac_try" in
11733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11734 *) ac_try_echo=$ac_try;;
11735 esac
11736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11737 (eval "$ac_link") 2>conftest.er1
11738 ac_status=$?
11739 grep -v '^ *+' conftest.er1 >conftest.err
11740 rm -f conftest.er1
11741 cat conftest.err >&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); } && {
11744 test -z "$ac_c_werror_flag" ||
11745 test ! -s conftest.err
11746 } && test -s conftest$ac_exeext &&
11747 $as_test_x conftest$ac_exeext; then
11748 case "$LIBEXT" in
11749 dll) ;;
11750 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'` ;;
11751 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11752 esac
11753 else
11754 echo "$as_me: failed program was:" >&5
11755 sed 's/^/| /' conftest.$ac_ext >&5
11760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_soname_save_LIBS
11764 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11765 { echo "$as_me:$LINENO: result: not found" >&5
11766 echo "${ECHO_T}not found" >&6; }
11768 else
11769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11770 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11772 cat >>confdefs.h <<_ACEOF
11773 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11774 _ACEOF
11776 CURSESLIBS="-lncurses"
11779 elif test "$ac_cv_header_curses_h" = "yes"
11780 then
11781 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11782 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11783 if test "${ac_cv_lib_soname_curses+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 else
11786 ac_check_soname_save_LIBS=$LIBS
11787 LIBS="-lcurses $LIBS"
11788 cat >conftest.$ac_ext <<_ACEOF
11789 /* confdefs.h. */
11790 _ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 char waddch ();
11803 main ()
11805 return waddch ();
11807 return 0;
11809 _ACEOF
11810 rm -f conftest.$ac_objext conftest$ac_exeext
11811 if { (ac_try="$ac_link"
11812 case "(($ac_try" in
11813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11814 *) ac_try_echo=$ac_try;;
11815 esac
11816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11817 (eval "$ac_link") 2>conftest.er1
11818 ac_status=$?
11819 grep -v '^ *+' conftest.er1 >conftest.err
11820 rm -f conftest.er1
11821 cat conftest.err >&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); } && {
11824 test -z "$ac_c_werror_flag" ||
11825 test ! -s conftest.err
11826 } && test -s conftest$ac_exeext &&
11827 $as_test_x conftest$ac_exeext; then
11828 case "$LIBEXT" in
11829 dll) ;;
11830 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'` ;;
11831 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11832 esac
11833 else
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.$ac_ext >&5
11840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_soname_save_LIBS
11844 if test "x$ac_cv_lib_soname_curses" = "x"; then
11845 { echo "$as_me:$LINENO: result: not found" >&5
11846 echo "${ECHO_T}not found" >&6; }
11848 else
11849 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11850 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11852 cat >>confdefs.h <<_ACEOF
11853 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11854 _ACEOF
11856 CURSESLIBS="-lcurses"
11860 ac_save_LIBS="$LIBS"
11861 LIBS="$LIBS $CURSESLIBS"
11863 for ac_func in mousemask
11865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11866 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 else
11871 cat >conftest.$ac_ext <<_ACEOF
11872 /* confdefs.h. */
11873 _ACEOF
11874 cat confdefs.h >>conftest.$ac_ext
11875 cat >>conftest.$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11879 #define $ac_func innocuous_$ac_func
11881 /* System header to define __stub macros and hopefully few prototypes,
11882 which can conflict with char $ac_func (); below.
11883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11884 <limits.h> exists even on freestanding compilers. */
11886 #ifdef __STDC__
11887 # include <limits.h>
11888 #else
11889 # include <assert.h>
11890 #endif
11892 #undef $ac_func
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char $ac_func ();
11901 /* The GNU C library defines this for functions which it implements
11902 to always fail with ENOSYS. Some functions are actually named
11903 something starting with __ and the normal name is an alias. */
11904 #if defined __stub_$ac_func || defined __stub___$ac_func
11905 choke me
11906 #endif
11909 main ()
11911 return $ac_func ();
11913 return 0;
11915 _ACEOF
11916 rm -f conftest.$ac_objext conftest$ac_exeext
11917 if { (ac_try="$ac_link"
11918 case "(($ac_try" in
11919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11920 *) ac_try_echo=$ac_try;;
11921 esac
11922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11923 (eval "$ac_link") 2>conftest.er1
11924 ac_status=$?
11925 grep -v '^ *+' conftest.er1 >conftest.err
11926 rm -f conftest.er1
11927 cat conftest.err >&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } && {
11930 test -z "$ac_c_werror_flag" ||
11931 test ! -s conftest.err
11932 } && test -s conftest$ac_exeext &&
11933 $as_test_x conftest$ac_exeext; then
11934 eval "$as_ac_var=yes"
11935 else
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.$ac_ext >&5
11939 eval "$as_ac_var=no"
11942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11943 conftest$ac_exeext conftest.$ac_ext
11945 ac_res=`eval echo '${'$as_ac_var'}'`
11946 { echo "$as_me:$LINENO: result: $ac_res" >&5
11947 echo "${ECHO_T}$ac_res" >&6; }
11948 if test `eval echo '${'$as_ac_var'}'` = yes; then
11949 cat >>confdefs.h <<_ACEOF
11950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11951 _ACEOF
11954 done
11956 LIBS="$ac_save_LIBS"
11957 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11958 wine_notices="$wine_notices|lib(n)curses development files not found.
11959 Wine will be built without (n)curses support. (wineconsole.exe)"
11963 # Extract the first word of "sane-config", so it can be a program name with args.
11964 set dummy sane-config; ac_word=$2
11965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11967 if test "${ac_cv_prog_sane_devel+set}" = set; then
11968 echo $ECHO_N "(cached) $ECHO_C" >&6
11969 else
11970 if test -n "$sane_devel"; then
11971 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11972 else
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11976 IFS=$as_save_IFS
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_prog_sane_devel="sane-config"
11981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11982 break 2
11984 done
11985 done
11986 IFS=$as_save_IFS
11988 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11991 sane_devel=$ac_cv_prog_sane_devel
11992 if test -n "$sane_devel"; then
11993 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11994 echo "${ECHO_T}$sane_devel" >&6; }
11995 else
11996 { echo "$as_me:$LINENO: result: no" >&5
11997 echo "${ECHO_T}no" >&6; }
12001 if test "$sane_devel" != "no"
12002 then
12003 ac_sane_incl="`$sane_devel --cflags`"
12004 ac_save_CPPFLAGS="$CPPFLAGS"
12005 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12006 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12007 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12008 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12009 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12010 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12013 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12014 else
12015 # Is the header compilable?
12016 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12017 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12018 cat >conftest.$ac_ext <<_ACEOF
12019 /* confdefs.h. */
12020 _ACEOF
12021 cat confdefs.h >>conftest.$ac_ext
12022 cat >>conftest.$ac_ext <<_ACEOF
12023 /* end confdefs.h. */
12024 $ac_includes_default
12025 #include <sane/sane.h>
12026 _ACEOF
12027 rm -f conftest.$ac_objext
12028 if { (ac_try="$ac_compile"
12029 case "(($ac_try" in
12030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12031 *) ac_try_echo=$ac_try;;
12032 esac
12033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12034 (eval "$ac_compile") 2>conftest.er1
12035 ac_status=$?
12036 grep -v '^ *+' conftest.er1 >conftest.err
12037 rm -f conftest.er1
12038 cat conftest.err >&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } && {
12041 test -z "$ac_c_werror_flag" ||
12042 test ! -s conftest.err
12043 } && test -s conftest.$ac_objext; then
12044 ac_header_compiler=yes
12045 else
12046 echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.$ac_ext >&5
12049 ac_header_compiler=no
12052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12053 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12054 echo "${ECHO_T}$ac_header_compiler" >&6; }
12056 # Is the header present?
12057 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12058 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12059 cat >conftest.$ac_ext <<_ACEOF
12060 /* confdefs.h. */
12061 _ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065 #include <sane/sane.h>
12066 _ACEOF
12067 if { (ac_try="$ac_cpp conftest.$ac_ext"
12068 case "(($ac_try" in
12069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12071 esac
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12074 ac_status=$?
12075 grep -v '^ *+' conftest.er1 >conftest.err
12076 rm -f conftest.er1
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } >/dev/null && {
12080 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12081 test ! -s conftest.err
12082 }; then
12083 ac_header_preproc=yes
12084 else
12085 echo "$as_me: failed program was:" >&5
12086 sed 's/^/| /' conftest.$ac_ext >&5
12088 ac_header_preproc=no
12091 rm -f conftest.err conftest.$ac_ext
12092 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12093 echo "${ECHO_T}$ac_header_preproc" >&6; }
12095 # So? What about this header?
12096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12097 yes:no: )
12098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12099 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12100 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12101 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12102 ac_header_preproc=yes
12104 no:yes:* )
12105 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12106 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12107 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12108 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12109 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12110 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12111 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12112 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12113 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12114 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12115 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12116 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12117 ( cat <<\_ASBOX
12118 ## ------------------------------------ ##
12119 ## Report this to wine-devel@winehq.org ##
12120 ## ------------------------------------ ##
12121 _ASBOX
12122 ) | sed "s/^/$as_me: WARNING: /" >&2
12124 esac
12125 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12126 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12127 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12129 else
12130 ac_cv_header_sane_sane_h=$ac_header_preproc
12132 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12133 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12136 if test $ac_cv_header_sane_sane_h = yes; then
12137 { echo "$as_me:$LINENO: checking for -lsane" >&5
12138 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12139 if test "${ac_cv_lib_soname_sane+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 else
12142 ac_check_soname_save_LIBS=$LIBS
12143 LIBS="-lsane $LIBS"
12144 cat >conftest.$ac_ext <<_ACEOF
12145 /* confdefs.h. */
12146 _ACEOF
12147 cat confdefs.h >>conftest.$ac_ext
12148 cat >>conftest.$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char sane_init ();
12159 main ()
12161 return sane_init ();
12163 return 0;
12165 _ACEOF
12166 rm -f conftest.$ac_objext conftest$ac_exeext
12167 if { (ac_try="$ac_link"
12168 case "(($ac_try" in
12169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12170 *) ac_try_echo=$ac_try;;
12171 esac
12172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12173 (eval "$ac_link") 2>conftest.er1
12174 ac_status=$?
12175 grep -v '^ *+' conftest.er1 >conftest.err
12176 rm -f conftest.er1
12177 cat conftest.err >&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && {
12180 test -z "$ac_c_werror_flag" ||
12181 test ! -s conftest.err
12182 } && test -s conftest$ac_exeext &&
12183 $as_test_x conftest$ac_exeext; then
12184 case "$LIBEXT" in
12185 dll) ;;
12186 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'` ;;
12187 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12188 esac
12189 else
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.$ac_ext >&5
12196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_soname_save_LIBS
12200 if test "x$ac_cv_lib_soname_sane" = "x"; then
12201 { echo "$as_me:$LINENO: result: not found" >&5
12202 echo "${ECHO_T}not found" >&6; }
12204 else
12205 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12206 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12208 cat >>confdefs.h <<_ACEOF
12209 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12210 _ACEOF
12212 SANEINCL="$ac_sane_incl"
12219 CPPFLAGS="$ac_save_CPPFLAGS"
12221 if test "x$ac_cv_lib_soname_sane" = "x"; then
12222 wine_notices="$wine_notices|libsane development files not found.
12223 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12227 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12228 set dummy gphoto2-config; ac_word=$2
12229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12231 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 else
12234 if test -n "$gphoto2_devel"; then
12235 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12236 else
12237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238 for as_dir in $PATH
12240 IFS=$as_save_IFS
12241 test -z "$as_dir" && as_dir=.
12242 for ac_exec_ext in '' $ac_executable_extensions; do
12243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12244 ac_cv_prog_gphoto2_devel="gphoto2-config"
12245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12246 break 2
12248 done
12249 done
12250 IFS=$as_save_IFS
12252 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12255 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12256 if test -n "$gphoto2_devel"; then
12257 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12258 echo "${ECHO_T}$gphoto2_devel" >&6; }
12259 else
12260 { echo "$as_me:$LINENO: result: no" >&5
12261 echo "${ECHO_T}no" >&6; }
12265 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12266 set dummy gphoto2-port-config; ac_word=$2
12267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12269 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12271 else
12272 if test -n "$gphoto2port_devel"; then
12273 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12274 else
12275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12276 for as_dir in $PATH
12278 IFS=$as_save_IFS
12279 test -z "$as_dir" && as_dir=.
12280 for ac_exec_ext in '' $ac_executable_extensions; do
12281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12282 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12284 break 2
12286 done
12287 done
12288 IFS=$as_save_IFS
12290 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12293 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12294 if test -n "$gphoto2port_devel"; then
12295 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12296 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12297 else
12298 { echo "$as_me:$LINENO: result: no" >&5
12299 echo "${ECHO_T}no" >&6; }
12303 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12304 then
12305 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12306 ac_gphoto2_libs=""
12307 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12309 case "$i" in
12310 -L/usr/lib|-L/usr/lib64) ;;
12311 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12312 esac
12313 done
12314 ac_save_CPPFLAGS="$CPPFLAGS"
12315 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12316 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12317 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12318 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12319 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12323 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12324 else
12325 # Is the header compilable?
12326 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12327 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12328 cat >conftest.$ac_ext <<_ACEOF
12329 /* confdefs.h. */
12330 _ACEOF
12331 cat confdefs.h >>conftest.$ac_ext
12332 cat >>conftest.$ac_ext <<_ACEOF
12333 /* end confdefs.h. */
12334 $ac_includes_default
12335 #include <gphoto2-camera.h>
12336 _ACEOF
12337 rm -f conftest.$ac_objext
12338 if { (ac_try="$ac_compile"
12339 case "(($ac_try" in
12340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12341 *) ac_try_echo=$ac_try;;
12342 esac
12343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12344 (eval "$ac_compile") 2>conftest.er1
12345 ac_status=$?
12346 grep -v '^ *+' conftest.er1 >conftest.err
12347 rm -f conftest.er1
12348 cat conftest.err >&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } && {
12351 test -z "$ac_c_werror_flag" ||
12352 test ! -s conftest.err
12353 } && test -s conftest.$ac_objext; then
12354 ac_header_compiler=yes
12355 else
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12359 ac_header_compiler=no
12362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12363 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12364 echo "${ECHO_T}$ac_header_compiler" >&6; }
12366 # Is the header present?
12367 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12368 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12369 cat >conftest.$ac_ext <<_ACEOF
12370 /* confdefs.h. */
12371 _ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12375 #include <gphoto2-camera.h>
12376 _ACEOF
12377 if { (ac_try="$ac_cpp conftest.$ac_ext"
12378 case "(($ac_try" in
12379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12380 *) ac_try_echo=$ac_try;;
12381 esac
12382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12384 ac_status=$?
12385 grep -v '^ *+' conftest.er1 >conftest.err
12386 rm -f conftest.er1
12387 cat conftest.err >&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } >/dev/null && {
12390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12391 test ! -s conftest.err
12392 }; then
12393 ac_header_preproc=yes
12394 else
12395 echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.$ac_ext >&5
12398 ac_header_preproc=no
12401 rm -f conftest.err conftest.$ac_ext
12402 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12403 echo "${ECHO_T}$ac_header_preproc" >&6; }
12405 # So? What about this header?
12406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12407 yes:no: )
12408 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12409 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12410 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12411 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12412 ac_header_preproc=yes
12414 no:yes:* )
12415 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12416 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12417 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12418 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12419 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12420 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12421 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12422 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12423 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12424 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12425 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12426 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12427 ( cat <<\_ASBOX
12428 ## ------------------------------------ ##
12429 ## Report this to wine-devel@winehq.org ##
12430 ## ------------------------------------ ##
12431 _ASBOX
12432 ) | sed "s/^/$as_me: WARNING: /" >&2
12434 esac
12435 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12436 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12437 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12442 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12443 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12446 if test $ac_cv_header_gphoto2_camera_h = yes; then
12447 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12448 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12449 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 else
12452 ac_check_lib_save_LIBS=$LIBS
12453 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12454 cat >conftest.$ac_ext <<_ACEOF
12455 /* confdefs.h. */
12456 _ACEOF
12457 cat confdefs.h >>conftest.$ac_ext
12458 cat >>conftest.$ac_ext <<_ACEOF
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char gp_camera_new ();
12469 main ()
12471 return gp_camera_new ();
12473 return 0;
12475 _ACEOF
12476 rm -f conftest.$ac_objext conftest$ac_exeext
12477 if { (ac_try="$ac_link"
12478 case "(($ac_try" in
12479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12480 *) ac_try_echo=$ac_try;;
12481 esac
12482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12483 (eval "$ac_link") 2>conftest.er1
12484 ac_status=$?
12485 grep -v '^ *+' conftest.er1 >conftest.err
12486 rm -f conftest.er1
12487 cat conftest.err >&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } && {
12490 test -z "$ac_c_werror_flag" ||
12491 test ! -s conftest.err
12492 } && test -s conftest$ac_exeext &&
12493 $as_test_x conftest$ac_exeext; then
12494 ac_cv_lib_gphoto2_gp_camera_new=yes
12495 else
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.$ac_ext >&5
12499 ac_cv_lib_gphoto2_gp_camera_new=no
12502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_lib_save_LIBS
12506 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12507 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12508 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12510 cat >>confdefs.h <<\_ACEOF
12511 #define HAVE_GPHOTO2 1
12512 _ACEOF
12514 GPHOTO2LIBS="$ac_gphoto2_libs"
12516 GPHOTO2INCL="$ac_gphoto2_incl"
12523 CPPFLAGS="$ac_save_CPPFLAGS"
12525 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12526 wine_notices="$wine_notices|libgphoto2 development files not found.
12527 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12532 RESOLVLIBS=""
12534 if test "$ac_cv_header_resolv_h" = "yes"
12535 then
12536 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12537 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12538 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 else
12541 ac_check_lib_save_LIBS=$LIBS
12542 LIBS="-lresolv $LIBS"
12543 cat >conftest.$ac_ext <<_ACEOF
12544 /* confdefs.h. */
12545 _ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12553 #ifdef __cplusplus
12554 extern "C"
12555 #endif
12556 char res_query ();
12558 main ()
12560 return res_query ();
12562 return 0;
12564 _ACEOF
12565 rm -f conftest.$ac_objext conftest$ac_exeext
12566 if { (ac_try="$ac_link"
12567 case "(($ac_try" in
12568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12569 *) ac_try_echo=$ac_try;;
12570 esac
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>conftest.er1
12573 ac_status=$?
12574 grep -v '^ *+' conftest.er1 >conftest.err
12575 rm -f conftest.er1
12576 cat conftest.err >&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } && {
12579 test -z "$ac_c_werror_flag" ||
12580 test ! -s conftest.err
12581 } && test -s conftest$ac_exeext &&
12582 $as_test_x conftest$ac_exeext; then
12583 ac_cv_lib_resolv_res_query=yes
12584 else
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.$ac_ext >&5
12588 ac_cv_lib_resolv_res_query=no
12591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12592 conftest$ac_exeext conftest.$ac_ext
12593 LIBS=$ac_check_lib_save_LIBS
12595 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12596 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12597 if test $ac_cv_lib_resolv_res_query = yes; then
12599 cat >>confdefs.h <<\_ACEOF
12600 #define HAVE_RESOLV 1
12601 _ACEOF
12603 RESOLVLIBS="-lresolv"
12608 LCMSLIBS=""
12610 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12611 then
12612 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12613 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12614 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 ac_check_lib_save_LIBS=$LIBS
12618 LIBS="-llcms $LIBS"
12619 cat >conftest.$ac_ext <<_ACEOF
12620 /* confdefs.h. */
12621 _ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12626 /* Override any GCC internal prototype to avoid an error.
12627 Use char because int might match the return type of a GCC
12628 builtin and then its argument prototype would still apply. */
12629 #ifdef __cplusplus
12630 extern "C"
12631 #endif
12632 char cmsOpenProfileFromFile ();
12634 main ()
12636 return cmsOpenProfileFromFile ();
12638 return 0;
12640 _ACEOF
12641 rm -f conftest.$ac_objext conftest$ac_exeext
12642 if { (ac_try="$ac_link"
12643 case "(($ac_try" in
12644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12645 *) ac_try_echo=$ac_try;;
12646 esac
12647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12648 (eval "$ac_link") 2>conftest.er1
12649 ac_status=$?
12650 grep -v '^ *+' conftest.er1 >conftest.err
12651 rm -f conftest.er1
12652 cat conftest.err >&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } && {
12655 test -z "$ac_c_werror_flag" ||
12656 test ! -s conftest.err
12657 } && test -s conftest$ac_exeext &&
12658 $as_test_x conftest$ac_exeext; then
12659 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12660 else
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12664 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_lib_save_LIBS
12671 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12672 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12673 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12675 cat >>confdefs.h <<\_ACEOF
12676 #define HAVE_LCMS 1
12677 _ACEOF
12679 LCMSLIBS="-llcms"
12683 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12684 wine_notices="$wine_notices|liblcms development files not found.
12685 Wine will be built without Color Management support. (mscms.dll)"
12689 LDAPLIBS=""
12691 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12692 then
12693 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12694 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12695 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12696 echo $ECHO_N "(cached) $ECHO_C" >&6
12697 else
12698 ac_check_lib_save_LIBS=$LIBS
12699 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12700 cat >conftest.$ac_ext <<_ACEOF
12701 /* confdefs.h. */
12702 _ACEOF
12703 cat confdefs.h >>conftest.$ac_ext
12704 cat >>conftest.$ac_ext <<_ACEOF
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12710 #ifdef __cplusplus
12711 extern "C"
12712 #endif
12713 char ldap_initialize ();
12715 main ()
12717 return ldap_initialize ();
12719 return 0;
12721 _ACEOF
12722 rm -f conftest.$ac_objext conftest$ac_exeext
12723 if { (ac_try="$ac_link"
12724 case "(($ac_try" in
12725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12726 *) ac_try_echo=$ac_try;;
12727 esac
12728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12729 (eval "$ac_link") 2>conftest.er1
12730 ac_status=$?
12731 grep -v '^ *+' conftest.er1 >conftest.err
12732 rm -f conftest.er1
12733 cat conftest.err >&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } && {
12736 test -z "$ac_c_werror_flag" ||
12737 test ! -s conftest.err
12738 } && test -s conftest$ac_exeext &&
12739 $as_test_x conftest$ac_exeext; then
12740 ac_cv_lib_ldap_r_ldap_initialize=yes
12741 else
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 ac_cv_lib_ldap_r_ldap_initialize=no
12748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12749 conftest$ac_exeext conftest.$ac_ext
12750 LIBS=$ac_check_lib_save_LIBS
12752 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12753 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12754 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12755 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12756 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12757 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 else
12760 ac_check_lib_save_LIBS=$LIBS
12761 LIBS="-llber $LIBPTHREAD $LIBS"
12762 cat >conftest.$ac_ext <<_ACEOF
12763 /* confdefs.h. */
12764 _ACEOF
12765 cat confdefs.h >>conftest.$ac_ext
12766 cat >>conftest.$ac_ext <<_ACEOF
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char ber_init ();
12777 main ()
12779 return ber_init ();
12781 return 0;
12783 _ACEOF
12784 rm -f conftest.$ac_objext conftest$ac_exeext
12785 if { (ac_try="$ac_link"
12786 case "(($ac_try" in
12787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12788 *) ac_try_echo=$ac_try;;
12789 esac
12790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 (eval "$ac_link") 2>conftest.er1
12792 ac_status=$?
12793 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && {
12798 test -z "$ac_c_werror_flag" ||
12799 test ! -s conftest.err
12800 } && test -s conftest$ac_exeext &&
12801 $as_test_x conftest$ac_exeext; then
12802 ac_cv_lib_lber_ber_init=yes
12803 else
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.$ac_ext >&5
12807 ac_cv_lib_lber_ber_init=no
12810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12811 conftest$ac_exeext conftest.$ac_ext
12812 LIBS=$ac_check_lib_save_LIBS
12814 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12815 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12816 if test $ac_cv_lib_lber_ber_init = yes; then
12818 cat >>confdefs.h <<\_ACEOF
12819 #define HAVE_LDAP 1
12820 _ACEOF
12822 LDAPLIBS="-lldap_r -llber"
12827 ac_wine_check_funcs_save_LIBS="$LIBS"
12828 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12833 for ac_func in \
12834 ldap_count_references \
12835 ldap_first_reference \
12836 ldap_next_reference \
12837 ldap_parse_reference
12839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12840 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12842 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 else
12845 cat >conftest.$ac_ext <<_ACEOF
12846 /* confdefs.h. */
12847 _ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12853 #define $ac_func innocuous_$ac_func
12855 /* System header to define __stub macros and hopefully few prototypes,
12856 which can conflict with char $ac_func (); below.
12857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12858 <limits.h> exists even on freestanding compilers. */
12860 #ifdef __STDC__
12861 # include <limits.h>
12862 #else
12863 # include <assert.h>
12864 #endif
12866 #undef $ac_func
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12871 #ifdef __cplusplus
12872 extern "C"
12873 #endif
12874 char $ac_func ();
12875 /* The GNU C library defines this for functions which it implements
12876 to always fail with ENOSYS. Some functions are actually named
12877 something starting with __ and the normal name is an alias. */
12878 #if defined __stub_$ac_func || defined __stub___$ac_func
12879 choke me
12880 #endif
12883 main ()
12885 return $ac_func ();
12887 return 0;
12889 _ACEOF
12890 rm -f conftest.$ac_objext conftest$ac_exeext
12891 if { (ac_try="$ac_link"
12892 case "(($ac_try" in
12893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12895 esac
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_link") 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } && {
12904 test -z "$ac_c_werror_flag" ||
12905 test ! -s conftest.err
12906 } && test -s conftest$ac_exeext &&
12907 $as_test_x conftest$ac_exeext; then
12908 eval "$as_ac_var=yes"
12909 else
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12913 eval "$as_ac_var=no"
12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12917 conftest$ac_exeext conftest.$ac_ext
12919 ac_res=`eval echo '${'$as_ac_var'}'`
12920 { echo "$as_me:$LINENO: result: $ac_res" >&5
12921 echo "${ECHO_T}$ac_res" >&6; }
12922 if test `eval echo '${'$as_ac_var'}'` = yes; then
12923 cat >>confdefs.h <<_ACEOF
12924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12925 _ACEOF
12928 done
12930 LIBS="$ac_wine_check_funcs_save_LIBS"
12932 if test "x$LDAPLIBS" = "x"; then
12933 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
12934 Wine will be built without LDAP support. (wldap32.dll)"
12938 for ac_prog in freetype-config freetype2-config
12940 # Extract the first word of "$ac_prog", so it can be a program name with args.
12941 set dummy $ac_prog; ac_word=$2
12942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12944 if test "${ac_cv_prog_ft_devel+set}" = set; then
12945 echo $ECHO_N "(cached) $ECHO_C" >&6
12946 else
12947 if test -n "$ft_devel"; then
12948 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12949 else
12950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12951 for as_dir in $PATH
12953 IFS=$as_save_IFS
12954 test -z "$as_dir" && as_dir=.
12955 for ac_exec_ext in '' $ac_executable_extensions; do
12956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12957 ac_cv_prog_ft_devel="$ac_prog"
12958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 break 2
12961 done
12962 done
12963 IFS=$as_save_IFS
12967 ft_devel=$ac_cv_prog_ft_devel
12968 if test -n "$ft_devel"; then
12969 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12970 echo "${ECHO_T}$ft_devel" >&6; }
12971 else
12972 { echo "$as_me:$LINENO: result: no" >&5
12973 echo "${ECHO_T}no" >&6; }
12977 test -n "$ft_devel" && break
12978 done
12979 test -n "$ft_devel" || ft_devel="false"
12981 if test "$ft_devel" != "false"
12982 then
12983 ac_freetype_libs=`$ft_devel --libs`
12984 ac_freetype_incl=`$ft_devel --cflags`
12985 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
12986 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
12987 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 else
12990 ac_check_soname_save_LIBS=$LIBS
12991 LIBS="-lfreetype $ac_freetype_libs $LIBS"
12992 cat >conftest.$ac_ext <<_ACEOF
12993 /* confdefs.h. */
12994 _ACEOF
12995 cat confdefs.h >>conftest.$ac_ext
12996 cat >>conftest.$ac_ext <<_ACEOF
12997 /* end confdefs.h. */
12999 /* Override any GCC internal prototype to avoid an error.
13000 Use char because int might match the return type of a GCC
13001 builtin and then its argument prototype would still apply. */
13002 #ifdef __cplusplus
13003 extern "C"
13004 #endif
13005 char FT_Init_FreeType ();
13007 main ()
13009 return FT_Init_FreeType ();
13011 return 0;
13013 _ACEOF
13014 rm -f conftest.$ac_objext conftest$ac_exeext
13015 if { (ac_try="$ac_link"
13016 case "(($ac_try" in
13017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13018 *) ac_try_echo=$ac_try;;
13019 esac
13020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13021 (eval "$ac_link") 2>conftest.er1
13022 ac_status=$?
13023 grep -v '^ *+' conftest.er1 >conftest.err
13024 rm -f conftest.er1
13025 cat conftest.err >&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } && {
13028 test -z "$ac_c_werror_flag" ||
13029 test ! -s conftest.err
13030 } && test -s conftest$ac_exeext &&
13031 $as_test_x conftest$ac_exeext; then
13032 case "$LIBEXT" in
13033 dll) ;;
13034 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'` ;;
13035 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13036 esac
13037 else
13038 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.$ac_ext >&5
13044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13045 conftest$ac_exeext conftest.$ac_ext
13046 LIBS=$ac_check_soname_save_LIBS
13048 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13049 { echo "$as_me:$LINENO: result: not found" >&5
13050 echo "${ECHO_T}not found" >&6; }
13051 ft_lib=no
13052 else
13053 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13054 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13056 cat >>confdefs.h <<_ACEOF
13057 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13058 _ACEOF
13060 ft_lib=yes
13063 if test "$ft_lib" = "yes"
13064 then
13065 ac_save_CPPFLAGS="$CPPFLAGS"
13066 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13078 for ac_header in ft2build.h \
13079 freetype/freetype.h \
13080 freetype/ftglyph.h \
13081 freetype/tttables.h \
13082 freetype/ftnames.h \
13083 freetype/ftsnames.h \
13084 freetype/ttnameid.h \
13085 freetype/ftoutln.h \
13086 freetype/ftwinfnt.h \
13087 freetype/ftmodapi.h \
13088 freetype/internal/sfnt.h
13090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 else
13096 cat >conftest.$ac_ext <<_ACEOF
13097 /* confdefs.h. */
13098 _ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13102 #if HAVE_FT2BUILD_H
13103 #include <ft2build.h>
13104 #endif
13106 #include <$ac_header>
13107 _ACEOF
13108 rm -f conftest.$ac_objext
13109 if { (ac_try="$ac_compile"
13110 case "(($ac_try" in
13111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13112 *) ac_try_echo=$ac_try;;
13113 esac
13114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13115 (eval "$ac_compile") 2>conftest.er1
13116 ac_status=$?
13117 grep -v '^ *+' conftest.er1 >conftest.err
13118 rm -f conftest.er1
13119 cat conftest.err >&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); } && {
13122 test -z "$ac_c_werror_flag" ||
13123 test ! -s conftest.err
13124 } && test -s conftest.$ac_objext; then
13125 eval "$as_ac_Header=yes"
13126 else
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.$ac_ext >&5
13130 eval "$as_ac_Header=no"
13133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13135 ac_res=`eval echo '${'$as_ac_Header'}'`
13136 { echo "$as_me:$LINENO: result: $ac_res" >&5
13137 echo "${ECHO_T}$ac_res" >&6; }
13138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13139 cat >>confdefs.h <<_ACEOF
13140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13141 _ACEOF
13145 done
13147 cat >conftest.$ac_ext <<_ACEOF
13148 /* confdefs.h. */
13149 _ACEOF
13150 cat confdefs.h >>conftest.$ac_ext
13151 cat >>conftest.$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13153 #include <ft2build.h>
13154 #include <freetype/fttrigon.h>
13155 _ACEOF
13156 if { (ac_try="$ac_cpp conftest.$ac_ext"
13157 case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13160 esac
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13163 ac_status=$?
13164 grep -v '^ *+' conftest.er1 >conftest.err
13165 rm -f conftest.er1
13166 cat conftest.err >&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } >/dev/null && {
13169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13170 test ! -s conftest.err
13171 }; then
13173 cat >>confdefs.h <<\_ACEOF
13174 #define HAVE_FREETYPE_FTTRIGON_H 1
13175 _ACEOF
13177 wine_cv_fttrigon=yes
13178 else
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13182 wine_cv_fttrigon=no
13185 rm -f conftest.err conftest.$ac_ext
13186 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13187 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13188 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 else
13191 cat >conftest.$ac_ext <<_ACEOF
13192 /* confdefs.h. */
13193 _ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197 #include <freetype/ftmodapi.h>
13199 typedef FT_TrueTypeEngineType ac__type_new_;
13201 main ()
13203 if ((ac__type_new_ *) 0)
13204 return 0;
13205 if (sizeof (ac__type_new_))
13206 return 0;
13208 return 0;
13210 _ACEOF
13211 rm -f conftest.$ac_objext
13212 if { (ac_try="$ac_compile"
13213 case "(($ac_try" in
13214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13215 *) ac_try_echo=$ac_try;;
13216 esac
13217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13218 (eval "$ac_compile") 2>conftest.er1
13219 ac_status=$?
13220 grep -v '^ *+' conftest.er1 >conftest.err
13221 rm -f conftest.er1
13222 cat conftest.err >&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } && {
13225 test -z "$ac_c_werror_flag" ||
13226 test ! -s conftest.err
13227 } && test -s conftest.$ac_objext; then
13228 ac_cv_type_FT_TrueTypeEngineType=yes
13229 else
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.$ac_ext >&5
13233 ac_cv_type_FT_TrueTypeEngineType=no
13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13239 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13240 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13242 cat >>confdefs.h <<_ACEOF
13243 #define HAVE_FT_TRUETYPEENGINETYPE 1
13244 _ACEOF
13249 ac_save_CFLAGS="$CFLAGS"
13250 CFLAGS="$CFLAGS $ac_freetype_libs"
13252 for ac_func in FT_Load_Sfnt_Table
13254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13255 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13257 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 else
13260 cat >conftest.$ac_ext <<_ACEOF
13261 /* confdefs.h. */
13262 _ACEOF
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13268 #define $ac_func innocuous_$ac_func
13270 /* System header to define __stub macros and hopefully few prototypes,
13271 which can conflict with char $ac_func (); below.
13272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13273 <limits.h> exists even on freestanding compilers. */
13275 #ifdef __STDC__
13276 # include <limits.h>
13277 #else
13278 # include <assert.h>
13279 #endif
13281 #undef $ac_func
13283 /* Override any GCC internal prototype to avoid an error.
13284 Use char because int might match the return type of a GCC
13285 builtin and then its argument prototype would still apply. */
13286 #ifdef __cplusplus
13287 extern "C"
13288 #endif
13289 char $ac_func ();
13290 /* The GNU C library defines this for functions which it implements
13291 to always fail with ENOSYS. Some functions are actually named
13292 something starting with __ and the normal name is an alias. */
13293 #if defined __stub_$ac_func || defined __stub___$ac_func
13294 choke me
13295 #endif
13298 main ()
13300 return $ac_func ();
13302 return 0;
13304 _ACEOF
13305 rm -f conftest.$ac_objext conftest$ac_exeext
13306 if { (ac_try="$ac_link"
13307 case "(($ac_try" in
13308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13309 *) ac_try_echo=$ac_try;;
13310 esac
13311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13312 (eval "$ac_link") 2>conftest.er1
13313 ac_status=$?
13314 grep -v '^ *+' conftest.er1 >conftest.err
13315 rm -f conftest.er1
13316 cat conftest.err >&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } && {
13319 test -z "$ac_c_werror_flag" ||
13320 test ! -s conftest.err
13321 } && test -s conftest$ac_exeext &&
13322 $as_test_x conftest$ac_exeext; then
13323 eval "$as_ac_var=yes"
13324 else
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13328 eval "$as_ac_var=no"
13331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13332 conftest$ac_exeext conftest.$ac_ext
13334 ac_res=`eval echo '${'$as_ac_var'}'`
13335 { echo "$as_me:$LINENO: result: $ac_res" >&5
13336 echo "${ECHO_T}$ac_res" >&6; }
13337 if test `eval echo '${'$as_ac_var'}'` = yes; then
13338 cat >>confdefs.h <<_ACEOF
13339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13340 _ACEOF
13343 done
13345 CFLAGS="$ac_save_CFLAGS"
13346 CPPFLAGS="$ac_save_CPPFLAGS"
13347 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13348 then
13350 cat >>confdefs.h <<\_ACEOF
13351 #define HAVE_FREETYPE 1
13352 _ACEOF
13354 FREETYPELIBS="$ac_freetype_libs"
13356 FREETYPEINCL="$ac_freetype_incl"
13362 if test "$FONTFORGE" = "false"
13363 then
13364 wine_warnings="$wine_warnings|FontForge is missing.
13365 Fonts will not be built. Dialog text may be invisible or unaligned."
13366 elif test "x$FREETYPELIBS" = "x"
13367 then
13368 wine_warnings="$wine_warnings|FreeType development files not found.
13369 Fonts will not be built. Dialog text may be invisible or unaligned."
13370 else
13371 FONTSSUBDIRS="fonts"
13375 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13376 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13377 if test "${ac_cv_c_ppdev+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 else
13380 cat >conftest.$ac_ext <<_ACEOF
13381 /* confdefs.h. */
13382 _ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13386 #include <linux/ppdev.h>
13388 main ()
13390 ioctl (1,PPCLAIM,0)
13392 return 0;
13394 _ACEOF
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13399 *) ac_try_echo=$ac_try;;
13400 esac
13401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13403 ac_status=$?
13404 grep -v '^ *+' conftest.er1 >conftest.err
13405 rm -f conftest.er1
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.$ac_objext; then
13412 ac_cv_c_ppdev="yes"
13413 else
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13417 ac_cv_c_ppdev="no"
13420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13422 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13423 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13424 if test "$ac_cv_c_ppdev" = "yes"
13425 then
13427 cat >>confdefs.h <<\_ACEOF
13428 #define HAVE_PPDEV 1
13429 _ACEOF
13433 { echo "$as_me:$LINENO: checking for va_copy" >&5
13434 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13435 if test "${ac_cv_c_va_copy+set}" = set; then
13436 echo $ECHO_N "(cached) $ECHO_C" >&6
13437 else
13438 cat >conftest.$ac_ext <<_ACEOF
13439 /* confdefs.h. */
13440 _ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444 #include <stdarg.h>
13446 main ()
13448 va_list ap1, ap2; va_copy(ap1,ap2);
13450 return 0;
13452 _ACEOF
13453 rm -f conftest.$ac_objext conftest$ac_exeext
13454 if { (ac_try="$ac_link"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13458 esac
13459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_link") 2>conftest.er1
13461 ac_status=$?
13462 grep -v '^ *+' conftest.er1 >conftest.err
13463 rm -f conftest.er1
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest$ac_exeext &&
13470 $as_test_x conftest$ac_exeext; then
13471 ac_cv_c_va_copy="yes"
13472 else
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13476 ac_cv_c_va_copy="no"
13479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13480 conftest$ac_exeext conftest.$ac_ext
13483 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13484 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13485 if test "$ac_cv_c_va_copy" = "yes"
13486 then
13488 cat >>confdefs.h <<\_ACEOF
13489 #define HAVE_VA_COPY 1
13490 _ACEOF
13493 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13494 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13495 if test "${ac_cv_c___va_copy+set}" = set; then
13496 echo $ECHO_N "(cached) $ECHO_C" >&6
13497 else
13498 cat >conftest.$ac_ext <<_ACEOF
13499 /* confdefs.h. */
13500 _ACEOF
13501 cat confdefs.h >>conftest.$ac_ext
13502 cat >>conftest.$ac_ext <<_ACEOF
13503 /* end confdefs.h. */
13504 #include <stdarg.h>
13506 main ()
13508 va_list ap1, ap2; __va_copy(ap1,ap2);
13510 return 0;
13512 _ACEOF
13513 rm -f conftest.$ac_objext conftest$ac_exeext
13514 if { (ac_try="$ac_link"
13515 case "(($ac_try" in
13516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13517 *) ac_try_echo=$ac_try;;
13518 esac
13519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13520 (eval "$ac_link") 2>conftest.er1
13521 ac_status=$?
13522 grep -v '^ *+' conftest.er1 >conftest.err
13523 rm -f conftest.er1
13524 cat conftest.err >&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } && {
13527 test -z "$ac_c_werror_flag" ||
13528 test ! -s conftest.err
13529 } && test -s conftest$ac_exeext &&
13530 $as_test_x conftest$ac_exeext; then
13531 ac_cv_c___va_copy="yes"
13532 else
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.$ac_ext >&5
13536 ac_cv_c___va_copy="no"
13539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13540 conftest$ac_exeext conftest.$ac_ext
13543 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13544 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13545 if test "$ac_cv_c___va_copy" = "yes"
13546 then
13548 cat >>confdefs.h <<\_ACEOF
13549 #define HAVE___VA_COPY 1
13550 _ACEOF
13554 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13555 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13556 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13557 echo $ECHO_N "(cached) $ECHO_C" >&6
13558 else
13559 cat >conftest.$ac_ext <<_ACEOF
13560 /* confdefs.h. */
13561 _ACEOF
13562 cat confdefs.h >>conftest.$ac_ext
13563 cat >>conftest.$ac_ext <<_ACEOF
13564 /* end confdefs.h. */
13565 #include <setjmp.h>
13567 main ()
13569 sigjmp_buf buf;
13570 sigsetjmp( buf, 1 );
13571 siglongjmp( buf, 1 );
13573 return 0;
13575 _ACEOF
13576 rm -f conftest.$ac_objext conftest$ac_exeext
13577 if { (ac_try="$ac_link"
13578 case "(($ac_try" in
13579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 *) ac_try_echo=$ac_try;;
13581 esac
13582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 (eval "$ac_link") 2>conftest.er1
13584 ac_status=$?
13585 grep -v '^ *+' conftest.er1 >conftest.err
13586 rm -f conftest.er1
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } && {
13590 test -z "$ac_c_werror_flag" ||
13591 test ! -s conftest.err
13592 } && test -s conftest$ac_exeext &&
13593 $as_test_x conftest$ac_exeext; then
13594 ac_cv_c_sigsetjmp="yes"
13595 else
13596 echo "$as_me: failed program was:" >&5
13597 sed 's/^/| /' conftest.$ac_ext >&5
13599 ac_cv_c_sigsetjmp="no"
13602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13603 conftest$ac_exeext conftest.$ac_ext
13606 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13607 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13608 if test "$ac_cv_c_sigsetjmp" = "yes"
13609 then
13611 cat >>confdefs.h <<\_ACEOF
13612 #define HAVE_SIGSETJMP 1
13613 _ACEOF
13617 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13618 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13619 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 else
13622 cat >conftest.$ac_ext <<_ACEOF
13623 /* confdefs.h. */
13624 _ACEOF
13625 cat confdefs.h >>conftest.$ac_ext
13626 cat >>conftest.$ac_ext <<_ACEOF
13627 /* end confdefs.h. */
13628 #define _GNU_SOURCE
13629 #include <pthread.h>
13631 typedef pthread_rwlock_t ac__type_new_;
13633 main ()
13635 if ((ac__type_new_ *) 0)
13636 return 0;
13637 if (sizeof (ac__type_new_))
13638 return 0;
13640 return 0;
13642 _ACEOF
13643 rm -f conftest.$ac_objext
13644 if { (ac_try="$ac_compile"
13645 case "(($ac_try" in
13646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13647 *) ac_try_echo=$ac_try;;
13648 esac
13649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13650 (eval "$ac_compile") 2>conftest.er1
13651 ac_status=$?
13652 grep -v '^ *+' conftest.er1 >conftest.err
13653 rm -f conftest.er1
13654 cat conftest.err >&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); } && {
13657 test -z "$ac_c_werror_flag" ||
13658 test ! -s conftest.err
13659 } && test -s conftest.$ac_objext; then
13660 ac_cv_type_pthread_rwlock_t=yes
13661 else
13662 echo "$as_me: failed program was:" >&5
13663 sed 's/^/| /' conftest.$ac_ext >&5
13665 ac_cv_type_pthread_rwlock_t=no
13668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13670 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13671 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13672 if test $ac_cv_type_pthread_rwlock_t = yes; then
13674 cat >>confdefs.h <<_ACEOF
13675 #define HAVE_PTHREAD_RWLOCK_T 1
13676 _ACEOF
13680 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13681 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13682 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 else
13685 cat >conftest.$ac_ext <<_ACEOF
13686 /* confdefs.h. */
13687 _ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 #define _GNU_SOURCE
13692 #include <pthread.h>
13694 typedef pthread_rwlockattr_t ac__type_new_;
13696 main ()
13698 if ((ac__type_new_ *) 0)
13699 return 0;
13700 if (sizeof (ac__type_new_))
13701 return 0;
13703 return 0;
13705 _ACEOF
13706 rm -f conftest.$ac_objext
13707 if { (ac_try="$ac_compile"
13708 case "(($ac_try" in
13709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13710 *) ac_try_echo=$ac_try;;
13711 esac
13712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13713 (eval "$ac_compile") 2>conftest.er1
13714 ac_status=$?
13715 grep -v '^ *+' conftest.er1 >conftest.err
13716 rm -f conftest.er1
13717 cat conftest.err >&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } && {
13720 test -z "$ac_c_werror_flag" ||
13721 test ! -s conftest.err
13722 } && test -s conftest.$ac_objext; then
13723 ac_cv_type_pthread_rwlockattr_t=yes
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13728 ac_cv_type_pthread_rwlockattr_t=no
13731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13733 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13734 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13735 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13737 cat >>confdefs.h <<_ACEOF
13738 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13739 _ACEOF
13745 ac_wine_check_funcs_save_LIBS="$LIBS"
13746 LIBS="$LIBS $LIBPTHREAD"
13751 for ac_func in \
13752 pthread_attr_get_np \
13753 pthread_getattr_np \
13754 pthread_get_stackaddr_np \
13755 pthread_get_stacksize_np
13757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 else
13763 cat >conftest.$ac_ext <<_ACEOF
13764 /* confdefs.h. */
13765 _ACEOF
13766 cat confdefs.h >>conftest.$ac_ext
13767 cat >>conftest.$ac_ext <<_ACEOF
13768 /* end confdefs.h. */
13769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13771 #define $ac_func innocuous_$ac_func
13773 /* System header to define __stub macros and hopefully few prototypes,
13774 which can conflict with char $ac_func (); below.
13775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13776 <limits.h> exists even on freestanding compilers. */
13778 #ifdef __STDC__
13779 # include <limits.h>
13780 #else
13781 # include <assert.h>
13782 #endif
13784 #undef $ac_func
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13789 #ifdef __cplusplus
13790 extern "C"
13791 #endif
13792 char $ac_func ();
13793 /* The GNU C library defines this for functions which it implements
13794 to always fail with ENOSYS. Some functions are actually named
13795 something starting with __ and the normal name is an alias. */
13796 #if defined __stub_$ac_func || defined __stub___$ac_func
13797 choke me
13798 #endif
13801 main ()
13803 return $ac_func ();
13805 return 0;
13807 _ACEOF
13808 rm -f conftest.$ac_objext conftest$ac_exeext
13809 if { (ac_try="$ac_link"
13810 case "(($ac_try" in
13811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13812 *) ac_try_echo=$ac_try;;
13813 esac
13814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13815 (eval "$ac_link") 2>conftest.er1
13816 ac_status=$?
13817 grep -v '^ *+' conftest.er1 >conftest.err
13818 rm -f conftest.er1
13819 cat conftest.err >&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } && {
13822 test -z "$ac_c_werror_flag" ||
13823 test ! -s conftest.err
13824 } && test -s conftest$ac_exeext &&
13825 $as_test_x conftest$ac_exeext; then
13826 eval "$as_ac_var=yes"
13827 else
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.$ac_ext >&5
13831 eval "$as_ac_var=no"
13834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13835 conftest$ac_exeext conftest.$ac_ext
13837 ac_res=`eval echo '${'$as_ac_var'}'`
13838 { echo "$as_me:$LINENO: result: $ac_res" >&5
13839 echo "${ECHO_T}$ac_res" >&6; }
13840 if test `eval echo '${'$as_ac_var'}'` = yes; then
13841 cat >>confdefs.h <<_ACEOF
13842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13843 _ACEOF
13846 done
13848 LIBS="$ac_wine_check_funcs_save_LIBS"
13850 # Extract the first word of "esd-config", so it can be a program name with args.
13851 set dummy esd-config; ac_word=$2
13852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13854 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13856 else
13857 case $ESDCONFIG in
13858 [\\/]* | ?:[\\/]*)
13859 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13863 for as_dir in $PATH
13865 IFS=$as_save_IFS
13866 test -z "$as_dir" && as_dir=.
13867 for ac_exec_ext in '' $ac_executable_extensions; do
13868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13869 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13871 break 2
13873 done
13874 done
13875 IFS=$as_save_IFS
13878 esac
13880 ESDCONFIG=$ac_cv_path_ESDCONFIG
13881 if test -n "$ESDCONFIG"; then
13882 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13883 echo "${ECHO_T}$ESDCONFIG" >&6; }
13884 else
13885 { echo "$as_me:$LINENO: result: no" >&5
13886 echo "${ECHO_T}no" >&6; }
13890 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13891 then
13892 ESD_CFLAGS=""
13893 for i in `$ESDCONFIG --cflags`
13895 case "$i" in
13896 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13897 esac
13898 done
13899 ESD_LIBS=`$ESDCONFIG --libs`
13900 save_CFLAGS="$CFLAGS"
13901 CFLAGS="$CFLAGS $ESD_CFLAGS"
13902 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13903 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13904 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13905 echo $ECHO_N "(cached) $ECHO_C" >&6
13906 else
13907 ac_check_lib_save_LIBS=$LIBS
13908 LIBS="-lesd $LIBS"
13909 cat >conftest.$ac_ext <<_ACEOF
13910 /* confdefs.h. */
13911 _ACEOF
13912 cat confdefs.h >>conftest.$ac_ext
13913 cat >>conftest.$ac_ext <<_ACEOF
13914 /* end confdefs.h. */
13916 /* Override any GCC internal prototype to avoid an error.
13917 Use char because int might match the return type of a GCC
13918 builtin and then its argument prototype would still apply. */
13919 #ifdef __cplusplus
13920 extern "C"
13921 #endif
13922 char esd_open_sound ();
13924 main ()
13926 return esd_open_sound ();
13928 return 0;
13930 _ACEOF
13931 rm -f conftest.$ac_objext conftest$ac_exeext
13932 if { (ac_try="$ac_link"
13933 case "(($ac_try" in
13934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13935 *) ac_try_echo=$ac_try;;
13936 esac
13937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13938 (eval "$ac_link") 2>conftest.er1
13939 ac_status=$?
13940 grep -v '^ *+' conftest.er1 >conftest.err
13941 rm -f conftest.er1
13942 cat conftest.err >&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } && {
13945 test -z "$ac_c_werror_flag" ||
13946 test ! -s conftest.err
13947 } && test -s conftest$ac_exeext &&
13948 $as_test_x conftest$ac_exeext; then
13949 ac_cv_lib_esd_esd_open_sound=yes
13950 else
13951 echo "$as_me: failed program was:" >&5
13952 sed 's/^/| /' conftest.$ac_ext >&5
13954 ac_cv_lib_esd_esd_open_sound=no
13957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_lib_save_LIBS
13961 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13962 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13963 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13964 ESDLIBS=$ESD_LIBS
13966 ESDINCL=$ESD_CFLAGS
13969 cat >>confdefs.h <<\_ACEOF
13970 #define HAVE_ESD 1
13971 _ACEOF
13975 CFLAGS="$save_CFLAGS"
13978 ALSALIBS=""
13980 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13981 then
13982 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13983 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13984 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13985 echo $ECHO_N "(cached) $ECHO_C" >&6
13986 else
13987 ac_check_lib_save_LIBS=$LIBS
13988 LIBS="-lasound $LIBS"
13989 cat >conftest.$ac_ext <<_ACEOF
13990 /* confdefs.h. */
13991 _ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 #ifdef __cplusplus
14000 extern "C"
14001 #endif
14002 char snd_pcm_hw_params_get_access ();
14004 main ()
14006 return snd_pcm_hw_params_get_access ();
14008 return 0;
14010 _ACEOF
14011 rm -f conftest.$ac_objext conftest$ac_exeext
14012 if { (ac_try="$ac_link"
14013 case "(($ac_try" in
14014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14015 *) ac_try_echo=$ac_try;;
14016 esac
14017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14018 (eval "$ac_link") 2>conftest.er1
14019 ac_status=$?
14020 grep -v '^ *+' conftest.er1 >conftest.err
14021 rm -f conftest.er1
14022 cat conftest.err >&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } && {
14025 test -z "$ac_c_werror_flag" ||
14026 test ! -s conftest.err
14027 } && test -s conftest$ac_exeext &&
14028 $as_test_x conftest$ac_exeext; then
14029 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14030 else
14031 echo "$as_me: failed program was:" >&5
14032 sed 's/^/| /' conftest.$ac_ext >&5
14034 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14038 conftest$ac_exeext conftest.$ac_ext
14039 LIBS=$ac_check_lib_save_LIBS
14041 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14042 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14043 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14044 cat >conftest.$ac_ext <<_ACEOF
14045 /* confdefs.h. */
14046 _ACEOF
14047 cat confdefs.h >>conftest.$ac_ext
14048 cat >>conftest.$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 #ifdef HAVE_ALSA_ASOUNDLIB_H
14051 #include <alsa/asoundlib.h>
14052 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14053 #include <sys/asoundlib.h>
14054 #endif
14056 main ()
14058 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14060 return 0;
14062 _ACEOF
14063 rm -f conftest.$ac_objext
14064 if { (ac_try="$ac_compile"
14065 case "(($ac_try" in
14066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14067 *) ac_try_echo=$ac_try;;
14068 esac
14069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14070 (eval "$ac_compile") 2>conftest.er1
14071 ac_status=$?
14072 grep -v '^ *+' conftest.er1 >conftest.err
14073 rm -f conftest.er1
14074 cat conftest.err >&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } && {
14077 test -z "$ac_c_werror_flag" ||
14078 test ! -s conftest.err
14079 } && test -s conftest.$ac_objext; then
14081 cat >>confdefs.h <<\_ACEOF
14082 #define HAVE_ALSA 1
14083 _ACEOF
14085 ALSALIBS="-lasound"
14086 else
14087 echo "$as_me: failed program was:" >&5
14088 sed 's/^/| /' conftest.$ac_ext >&5
14093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14098 AUDIOIOLIBS=""
14100 if test "$ac_cv_header_libaudioio_h" = "yes"
14101 then
14102 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14103 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14104 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14105 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 else
14107 ac_check_lib_save_LIBS=$LIBS
14108 LIBS="-laudioio $LIBS"
14109 cat >conftest.$ac_ext <<_ACEOF
14110 /* confdefs.h. */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14116 /* Override any GCC internal prototype to avoid an error.
14117 Use char because int might match the return type of a GCC
14118 builtin and then its argument prototype would still apply. */
14119 #ifdef __cplusplus
14120 extern "C"
14121 #endif
14122 char AudioIOGetVersion ();
14124 main ()
14126 return AudioIOGetVersion ();
14128 return 0;
14130 _ACEOF
14131 rm -f conftest.$ac_objext conftest$ac_exeext
14132 if { (ac_try="$ac_link"
14133 case "(($ac_try" in
14134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14135 *) ac_try_echo=$ac_try;;
14136 esac
14137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14138 (eval "$ac_link") 2>conftest.er1
14139 ac_status=$?
14140 grep -v '^ *+' conftest.er1 >conftest.err
14141 rm -f conftest.er1
14142 cat conftest.err >&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } && {
14145 test -z "$ac_c_werror_flag" ||
14146 test ! -s conftest.err
14147 } && test -s conftest$ac_exeext &&
14148 $as_test_x conftest$ac_exeext; then
14149 ac_cv_lib_audioio_AudioIOGetVersion=yes
14150 else
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.$ac_ext >&5
14154 ac_cv_lib_audioio_AudioIOGetVersion=no
14157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14158 conftest$ac_exeext conftest.$ac_ext
14159 LIBS=$ac_check_lib_save_LIBS
14161 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14162 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14163 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14164 AUDIOIOLIBS="-laudioio"
14166 cat >>confdefs.h <<\_ACEOF
14167 #define HAVE_LIBAUDIOIO 1
14168 _ACEOF
14175 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14176 then
14177 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14178 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14179 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14181 else
14182 ac_check_soname_save_LIBS=$LIBS
14183 LIBS="-lcapi20 $LIBS"
14184 cat >conftest.$ac_ext <<_ACEOF
14185 /* confdefs.h. */
14186 _ACEOF
14187 cat confdefs.h >>conftest.$ac_ext
14188 cat >>conftest.$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14191 /* Override any GCC internal prototype to avoid an error.
14192 Use char because int might match the return type of a GCC
14193 builtin and then its argument prototype would still apply. */
14194 #ifdef __cplusplus
14195 extern "C"
14196 #endif
14197 char capi20_register ();
14199 main ()
14201 return capi20_register ();
14203 return 0;
14205 _ACEOF
14206 rm -f conftest.$ac_objext conftest$ac_exeext
14207 if { (ac_try="$ac_link"
14208 case "(($ac_try" in
14209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14210 *) ac_try_echo=$ac_try;;
14211 esac
14212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 (eval "$ac_link") 2>conftest.er1
14214 ac_status=$?
14215 grep -v '^ *+' conftest.er1 >conftest.err
14216 rm -f conftest.er1
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } && {
14220 test -z "$ac_c_werror_flag" ||
14221 test ! -s conftest.err
14222 } && test -s conftest$ac_exeext &&
14223 $as_test_x conftest$ac_exeext; then
14224 case "$LIBEXT" in
14225 dll) ;;
14226 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'` ;;
14227 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14228 esac
14229 else
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14237 conftest$ac_exeext conftest.$ac_ext
14238 LIBS=$ac_check_soname_save_LIBS
14240 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14241 { echo "$as_me:$LINENO: result: not found" >&5
14242 echo "${ECHO_T}not found" >&6; }
14244 else
14245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14246 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14248 cat >>confdefs.h <<_ACEOF
14249 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14250 _ACEOF
14256 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14257 wine_notices="$wine_notices|libcapi20 development files not found.
14258 Wine will be built without ISDN support. (capi2032.dll)"
14262 if test "$ac_cv_header_cups_cups_h" = "yes"
14263 then
14264 { echo "$as_me:$LINENO: checking for -lcups" >&5
14265 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14266 if test "${ac_cv_lib_soname_cups+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 else
14269 ac_check_soname_save_LIBS=$LIBS
14270 LIBS="-lcups $LIBS"
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14281 #ifdef __cplusplus
14282 extern "C"
14283 #endif
14284 char cupsGetDefault ();
14286 main ()
14288 return cupsGetDefault ();
14290 return 0;
14292 _ACEOF
14293 rm -f conftest.$ac_objext conftest$ac_exeext
14294 if { (ac_try="$ac_link"
14295 case "(($ac_try" in
14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14297 *) ac_try_echo=$ac_try;;
14298 esac
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_link") 2>conftest.er1
14301 ac_status=$?
14302 grep -v '^ *+' conftest.er1 >conftest.err
14303 rm -f conftest.er1
14304 cat conftest.err >&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } && {
14307 test -z "$ac_c_werror_flag" ||
14308 test ! -s conftest.err
14309 } && test -s conftest$ac_exeext &&
14310 $as_test_x conftest$ac_exeext; then
14311 case "$LIBEXT" in
14312 dll) ;;
14313 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'` ;;
14314 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14315 esac
14316 else
14317 echo "$as_me: failed program was:" >&5
14318 sed 's/^/| /' conftest.$ac_ext >&5
14323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14324 conftest$ac_exeext conftest.$ac_ext
14325 LIBS=$ac_check_soname_save_LIBS
14327 if test "x$ac_cv_lib_soname_cups" = "x"; then
14328 { echo "$as_me:$LINENO: result: not found" >&5
14329 echo "${ECHO_T}not found" >&6; }
14331 else
14332 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14333 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14335 cat >>confdefs.h <<_ACEOF
14336 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14337 _ACEOF
14343 if test "x$ac_cv_lib_soname_cups" = "x"; then
14344 wine_notices="$wine_notices|libcups development files not found.
14345 Wine will be built without CUPS support."
14349 if test "$ac_cv_header_jack_jack_h" = "yes"
14350 then
14351 { echo "$as_me:$LINENO: checking for -ljack" >&5
14352 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14353 if test "${ac_cv_lib_soname_jack+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 else
14356 ac_check_soname_save_LIBS=$LIBS
14357 LIBS="-ljack $LIBS"
14358 cat >conftest.$ac_ext <<_ACEOF
14359 /* confdefs.h. */
14360 _ACEOF
14361 cat confdefs.h >>conftest.$ac_ext
14362 cat >>conftest.$ac_ext <<_ACEOF
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14368 #ifdef __cplusplus
14369 extern "C"
14370 #endif
14371 char jack_client_new ();
14373 main ()
14375 return jack_client_new ();
14377 return 0;
14379 _ACEOF
14380 rm -f conftest.$ac_objext conftest$ac_exeext
14381 if { (ac_try="$ac_link"
14382 case "(($ac_try" in
14383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14384 *) ac_try_echo=$ac_try;;
14385 esac
14386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14387 (eval "$ac_link") 2>conftest.er1
14388 ac_status=$?
14389 grep -v '^ *+' conftest.er1 >conftest.err
14390 rm -f conftest.er1
14391 cat conftest.err >&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); } && {
14394 test -z "$ac_c_werror_flag" ||
14395 test ! -s conftest.err
14396 } && test -s conftest$ac_exeext &&
14397 $as_test_x conftest$ac_exeext; then
14398 case "$LIBEXT" in
14399 dll) ;;
14400 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'` ;;
14401 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14402 esac
14403 else
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.$ac_ext >&5
14410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14411 conftest$ac_exeext conftest.$ac_ext
14412 LIBS=$ac_check_soname_save_LIBS
14414 if test "x$ac_cv_lib_soname_jack" = "x"; then
14415 { echo "$as_me:$LINENO: result: not found" >&5
14416 echo "${ECHO_T}not found" >&6; }
14418 else
14419 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14420 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14422 cat >>confdefs.h <<_ACEOF
14423 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14424 _ACEOF
14431 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14432 then
14433 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14434 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14435 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14436 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 else
14438 ac_check_soname_save_LIBS=$LIBS
14439 LIBS="-lfontconfig $LIBS"
14440 cat >conftest.$ac_ext <<_ACEOF
14441 /* confdefs.h. */
14442 _ACEOF
14443 cat confdefs.h >>conftest.$ac_ext
14444 cat >>conftest.$ac_ext <<_ACEOF
14445 /* end confdefs.h. */
14447 /* Override any GCC internal prototype to avoid an error.
14448 Use char because int might match the return type of a GCC
14449 builtin and then its argument prototype would still apply. */
14450 #ifdef __cplusplus
14451 extern "C"
14452 #endif
14453 char FcInit ();
14455 main ()
14457 return FcInit ();
14459 return 0;
14461 _ACEOF
14462 rm -f conftest.$ac_objext conftest$ac_exeext
14463 if { (ac_try="$ac_link"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_link") 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest$ac_exeext &&
14479 $as_test_x conftest$ac_exeext; then
14480 case "$LIBEXT" in
14481 dll) ;;
14482 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'` ;;
14483 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14484 esac
14485 else
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14493 conftest$ac_exeext conftest.$ac_ext
14494 LIBS=$ac_check_soname_save_LIBS
14496 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14497 { echo "$as_me:$LINENO: result: not found" >&5
14498 echo "${ECHO_T}not found" >&6; }
14500 else
14501 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14502 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14504 cat >>confdefs.h <<_ACEOF
14505 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14506 _ACEOF
14512 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14513 wine_notices="$wine_notices|fontconfig development files not found.
14514 Wine will be built without fontconfig support."
14518 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14519 then
14520 { echo "$as_me:$LINENO: checking for -lssl" >&5
14521 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14522 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 else
14525 ac_check_soname_save_LIBS=$LIBS
14526 LIBS="-lssl $LIBS"
14527 cat >conftest.$ac_ext <<_ACEOF
14528 /* confdefs.h. */
14529 _ACEOF
14530 cat confdefs.h >>conftest.$ac_ext
14531 cat >>conftest.$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14537 #ifdef __cplusplus
14538 extern "C"
14539 #endif
14540 char SSL_library_init ();
14542 main ()
14544 return SSL_library_init ();
14546 return 0;
14548 _ACEOF
14549 rm -f conftest.$ac_objext conftest$ac_exeext
14550 if { (ac_try="$ac_link"
14551 case "(($ac_try" in
14552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14553 *) ac_try_echo=$ac_try;;
14554 esac
14555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14556 (eval "$ac_link") 2>conftest.er1
14557 ac_status=$?
14558 grep -v '^ *+' conftest.er1 >conftest.err
14559 rm -f conftest.er1
14560 cat conftest.err >&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); } && {
14563 test -z "$ac_c_werror_flag" ||
14564 test ! -s conftest.err
14565 } && test -s conftest$ac_exeext &&
14566 $as_test_x conftest$ac_exeext; then
14567 case "$LIBEXT" in
14568 dll) ;;
14569 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'` ;;
14570 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14571 esac
14572 else
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14580 conftest$ac_exeext conftest.$ac_ext
14581 LIBS=$ac_check_soname_save_LIBS
14583 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14584 { echo "$as_me:$LINENO: result: not found" >&5
14585 echo "${ECHO_T}not found" >&6; }
14587 else
14588 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14589 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14591 cat >>confdefs.h <<_ACEOF
14592 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14593 _ACEOF
14598 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14599 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14600 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 ac_check_soname_save_LIBS=$LIBS
14604 LIBS="-lcrypto $LIBS"
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14612 /* Override any GCC internal prototype to avoid an error.
14613 Use char because int might match the return type of a GCC
14614 builtin and then its argument prototype would still apply. */
14615 #ifdef __cplusplus
14616 extern "C"
14617 #endif
14618 char BIO_new_socket ();
14620 main ()
14622 return BIO_new_socket ();
14624 return 0;
14626 _ACEOF
14627 rm -f conftest.$ac_objext conftest$ac_exeext
14628 if { (ac_try="$ac_link"
14629 case "(($ac_try" in
14630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14631 *) ac_try_echo=$ac_try;;
14632 esac
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_link") 2>conftest.er1
14635 ac_status=$?
14636 grep -v '^ *+' conftest.er1 >conftest.err
14637 rm -f conftest.er1
14638 cat conftest.err >&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } && {
14641 test -z "$ac_c_werror_flag" ||
14642 test ! -s conftest.err
14643 } && test -s conftest$ac_exeext &&
14644 $as_test_x conftest$ac_exeext; then
14645 case "$LIBEXT" in
14646 dll) ;;
14647 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'` ;;
14648 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14649 esac
14650 else
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14658 conftest$ac_exeext conftest.$ac_ext
14659 LIBS=$ac_check_soname_save_LIBS
14661 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14662 { echo "$as_me:$LINENO: result: not found" >&5
14663 echo "${ECHO_T}not found" >&6; }
14665 else
14666 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14667 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14669 cat >>confdefs.h <<_ACEOF
14670 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14671 _ACEOF
14677 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14678 wine_notices="$wine_notices|OpenSSL development files not found.
14679 Wine will be built without SSL support. (wininet.dll)"
14683 if test "$ac_cv_header_jpeglib_h" = "yes"
14684 then
14685 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14686 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14687 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 else
14690 ac_check_soname_save_LIBS=$LIBS
14691 LIBS="-ljpeg $LIBS"
14692 cat >conftest.$ac_ext <<_ACEOF
14693 /* confdefs.h. */
14694 _ACEOF
14695 cat confdefs.h >>conftest.$ac_ext
14696 cat >>conftest.$ac_ext <<_ACEOF
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14702 #ifdef __cplusplus
14703 extern "C"
14704 #endif
14705 char jpeg_start_decompress ();
14707 main ()
14709 return jpeg_start_decompress ();
14711 return 0;
14713 _ACEOF
14714 rm -f conftest.$ac_objext conftest$ac_exeext
14715 if { (ac_try="$ac_link"
14716 case "(($ac_try" in
14717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14718 *) ac_try_echo=$ac_try;;
14719 esac
14720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14721 (eval "$ac_link") 2>conftest.er1
14722 ac_status=$?
14723 grep -v '^ *+' conftest.er1 >conftest.err
14724 rm -f conftest.er1
14725 cat conftest.err >&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } && {
14728 test -z "$ac_c_werror_flag" ||
14729 test ! -s conftest.err
14730 } && test -s conftest$ac_exeext &&
14731 $as_test_x conftest$ac_exeext; then
14732 case "$LIBEXT" in
14733 dll) ;;
14734 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'` ;;
14735 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14736 esac
14737 else
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_soname_save_LIBS
14748 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14749 { echo "$as_me:$LINENO: result: not found" >&5
14750 echo "${ECHO_T}not found" >&6; }
14752 else
14753 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14754 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14756 cat >>confdefs.h <<_ACEOF
14757 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14758 _ACEOF
14764 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14765 wine_notices="$wine_notices|libjpeg development files not found.
14766 Wine will be built without JPEG support. (oleaut32.dll)"
14770 if test "$ac_cv_header_png_h" = "yes"
14771 then
14772 { echo "$as_me:$LINENO: checking for -lpng" >&5
14773 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14774 if test "${ac_cv_lib_soname_png+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14776 else
14777 ac_check_soname_save_LIBS=$LIBS
14778 LIBS="-lpng $LIBS"
14779 cat >conftest.$ac_ext <<_ACEOF
14780 /* confdefs.h. */
14781 _ACEOF
14782 cat confdefs.h >>conftest.$ac_ext
14783 cat >>conftest.$ac_ext <<_ACEOF
14784 /* end confdefs.h. */
14786 /* Override any GCC internal prototype to avoid an error.
14787 Use char because int might match the return type of a GCC
14788 builtin and then its argument prototype would still apply. */
14789 #ifdef __cplusplus
14790 extern "C"
14791 #endif
14792 char png_create_read_struct ();
14794 main ()
14796 return png_create_read_struct ();
14798 return 0;
14800 _ACEOF
14801 rm -f conftest.$ac_objext conftest$ac_exeext
14802 if { (ac_try="$ac_link"
14803 case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14806 esac
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_link") 2>conftest.er1
14809 ac_status=$?
14810 grep -v '^ *+' conftest.er1 >conftest.err
14811 rm -f conftest.er1
14812 cat conftest.err >&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } && {
14815 test -z "$ac_c_werror_flag" ||
14816 test ! -s conftest.err
14817 } && test -s conftest$ac_exeext &&
14818 $as_test_x conftest$ac_exeext; then
14819 case "$LIBEXT" in
14820 dll) ;;
14821 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'` ;;
14822 *) 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'` ;;
14823 esac
14824 else
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.$ac_ext >&5
14831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14832 conftest$ac_exeext conftest.$ac_ext
14833 LIBS=$ac_check_soname_save_LIBS
14835 if test "x$ac_cv_lib_soname_png" = "x"; then
14836 { echo "$as_me:$LINENO: result: not found" >&5
14837 echo "${ECHO_T}not found" >&6; }
14839 else
14840 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14841 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14843 cat >>confdefs.h <<_ACEOF
14844 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14845 _ACEOF
14851 if test "x$ac_cv_lib_soname_png" = "x"; then
14852 wine_notices="$wine_notices|libpng development files not found.
14853 Wine will be built without PNG support. (oleaut32.dll)"
14857 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14858 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14859 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14860 "$ac_cv_header_soundcard_h" != "yes"; then
14861 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14866 EXTRACFLAGS=""
14868 if test "x${GCC}" = "xyes"
14869 then
14870 EXTRACFLAGS="-Wall -pipe"
14872 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14873 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14874 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 else
14877 if test "$cross_compiling" = yes; then
14878 ac_cv_c_gcc_strength_bug="yes"
14879 else
14880 cat >conftest.$ac_ext <<_ACEOF
14881 /* confdefs.h. */
14882 _ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 int L[4] = {0,1,2,3};
14888 main ()
14890 static int Array[3];
14891 unsigned int B = 3;
14892 int i;
14893 for(i=0; i<B; i++) Array[i] = i - 3;
14894 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14895 L[i] = 4;
14896 exit( Array[1] != -2 || L[2] != 3)
14898 return 0;
14900 _ACEOF
14901 rm -f conftest$ac_exeext
14902 if { (ac_try="$ac_link"
14903 case "(($ac_try" in
14904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14905 *) ac_try_echo=$ac_try;;
14906 esac
14907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14908 (eval "$ac_link") 2>&5
14909 ac_status=$?
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14912 { (case "(($ac_try" in
14913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14914 *) ac_try_echo=$ac_try;;
14915 esac
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_try") 2>&5
14918 ac_status=$?
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then
14921 ac_cv_c_gcc_strength_bug="no"
14922 else
14923 echo "$as_me: program exited with status $ac_status" >&5
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14927 ( exit $ac_status )
14928 ac_cv_c_gcc_strength_bug="yes"
14930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14935 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14936 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14937 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14938 then
14939 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14943 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14944 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14945 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 ac_wine_try_cflags_saved=$CFLAGS
14949 CFLAGS="$CFLAGS -fshort-wchar"
14950 cat >conftest.$ac_ext <<_ACEOF
14951 /* confdefs.h. */
14952 _ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14958 main ()
14962 return 0;
14964 _ACEOF
14965 rm -f conftest.$ac_objext conftest$ac_exeext
14966 if { (ac_try="$ac_link"
14967 case "(($ac_try" in
14968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14969 *) ac_try_echo=$ac_try;;
14970 esac
14971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14972 (eval "$ac_link") 2>conftest.er1
14973 ac_status=$?
14974 grep -v '^ *+' conftest.er1 >conftest.err
14975 rm -f conftest.er1
14976 cat conftest.err >&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } && {
14979 test -z "$ac_c_werror_flag" ||
14980 test ! -s conftest.err
14981 } && test -s conftest$ac_exeext &&
14982 $as_test_x conftest$ac_exeext; then
14983 ac_cv_cflags__fshort_wchar=yes
14984 else
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14988 ac_cv_cflags__fshort_wchar=no
14991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14992 conftest$ac_exeext conftest.$ac_ext
14993 CFLAGS=$ac_wine_try_cflags_saved
14995 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14996 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14997 if test $ac_cv_cflags__fshort_wchar = yes; then
14999 cat >>confdefs.h <<\_ACEOF
15000 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15001 _ACEOF
15005 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15006 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15007 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15008 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 else
15010 ac_wine_try_cflags_saved=$CFLAGS
15011 CFLAGS="$CFLAGS -fno-strict-aliasing"
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15020 main ()
15024 return 0;
15026 _ACEOF
15027 rm -f conftest.$ac_objext conftest$ac_exeext
15028 if { (ac_try="$ac_link"
15029 case "(($ac_try" in
15030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15031 *) ac_try_echo=$ac_try;;
15032 esac
15033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15034 (eval "$ac_link") 2>conftest.er1
15035 ac_status=$?
15036 grep -v '^ *+' conftest.er1 >conftest.err
15037 rm -f conftest.er1
15038 cat conftest.err >&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } && {
15041 test -z "$ac_c_werror_flag" ||
15042 test ! -s conftest.err
15043 } && test -s conftest$ac_exeext &&
15044 $as_test_x conftest$ac_exeext; then
15045 ac_cv_cflags__fno_strict_aliasing=yes
15046 else
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.$ac_ext >&5
15050 ac_cv_cflags__fno_strict_aliasing=no
15053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15054 conftest$ac_exeext conftest.$ac_ext
15055 CFLAGS=$ac_wine_try_cflags_saved
15057 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15058 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15059 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15060 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15063 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15064 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15065 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 else
15068 ac_wine_try_cflags_saved=$CFLAGS
15069 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15070 cat >conftest.$ac_ext <<_ACEOF
15071 /* confdefs.h. */
15072 _ACEOF
15073 cat confdefs.h >>conftest.$ac_ext
15074 cat >>conftest.$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15078 main ()
15082 return 0;
15084 _ACEOF
15085 rm -f conftest.$ac_objext conftest$ac_exeext
15086 if { (ac_try="$ac_link"
15087 case "(($ac_try" in
15088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15089 *) ac_try_echo=$ac_try;;
15090 esac
15091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15092 (eval "$ac_link") 2>conftest.er1
15093 ac_status=$?
15094 grep -v '^ *+' conftest.er1 >conftest.err
15095 rm -f conftest.er1
15096 cat conftest.err >&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } && {
15099 test -z "$ac_c_werror_flag" ||
15100 test ! -s conftest.err
15101 } && test -s conftest$ac_exeext &&
15102 $as_test_x conftest$ac_exeext; then
15103 ac_cv_cflags__Wdeclaration_after_statement=yes
15104 else
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.$ac_ext >&5
15108 ac_cv_cflags__Wdeclaration_after_statement=no
15111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15112 conftest$ac_exeext conftest.$ac_ext
15113 CFLAGS=$ac_wine_try_cflags_saved
15115 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15116 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15117 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15118 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15121 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15122 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15123 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 else
15126 ac_wine_try_cflags_saved=$CFLAGS
15127 CFLAGS="$CFLAGS -Wwrite-strings"
15128 cat >conftest.$ac_ext <<_ACEOF
15129 /* confdefs.h. */
15130 _ACEOF
15131 cat confdefs.h >>conftest.$ac_ext
15132 cat >>conftest.$ac_ext <<_ACEOF
15133 /* end confdefs.h. */
15136 main ()
15140 return 0;
15142 _ACEOF
15143 rm -f conftest.$ac_objext conftest$ac_exeext
15144 if { (ac_try="$ac_link"
15145 case "(($ac_try" in
15146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15147 *) ac_try_echo=$ac_try;;
15148 esac
15149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15150 (eval "$ac_link") 2>conftest.er1
15151 ac_status=$?
15152 grep -v '^ *+' conftest.er1 >conftest.err
15153 rm -f conftest.er1
15154 cat conftest.err >&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } && {
15157 test -z "$ac_c_werror_flag" ||
15158 test ! -s conftest.err
15159 } && test -s conftest$ac_exeext &&
15160 $as_test_x conftest$ac_exeext; then
15161 ac_cv_cflags__Wwrite_strings=yes
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 ac_cv_cflags__Wwrite_strings=no
15169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15170 conftest$ac_exeext conftest.$ac_ext
15171 CFLAGS=$ac_wine_try_cflags_saved
15173 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15174 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15175 if test $ac_cv_cflags__Wwrite_strings = yes; then
15176 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15180 saved_CFLAGS="$CFLAGS"
15181 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15182 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15183 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15184 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 else
15187 cat >conftest.$ac_ext <<_ACEOF
15188 /* confdefs.h. */
15189 _ACEOF
15190 cat confdefs.h >>conftest.$ac_ext
15191 cat >>conftest.$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15193 #include <string.h>
15195 main ()
15199 return 0;
15201 _ACEOF
15202 rm -f conftest.$ac_objext
15203 if { (ac_try="$ac_compile"
15204 case "(($ac_try" in
15205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15206 *) ac_try_echo=$ac_try;;
15207 esac
15208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15209 (eval "$ac_compile") 2>conftest.er1
15210 ac_status=$?
15211 grep -v '^ *+' conftest.er1 >conftest.err
15212 rm -f conftest.er1
15213 cat conftest.err >&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } && {
15216 test -z "$ac_c_werror_flag" ||
15217 test ! -s conftest.err
15218 } && test -s conftest.$ac_objext; then
15219 ac_cv_c_string_h_warnings=no
15220 else
15221 echo "$as_me: failed program was:" >&5
15222 sed 's/^/| /' conftest.$ac_ext >&5
15224 ac_cv_c_string_h_warnings=yes
15227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15229 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15230 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15231 CFLAGS="$saved_CFLAGS"
15232 if test "$ac_cv_c_string_h_warnings" = "no"
15233 then
15234 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15237 BUILTINFLAG=""
15239 saved_CFLAGS="$CFLAGS"
15240 CFLAGS="$CFLAGS -Werror"
15241 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15242 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15243 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15244 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 else
15246 cat >conftest.$ac_ext <<_ACEOF
15247 /* confdefs.h. */
15248 _ACEOF
15249 cat confdefs.h >>conftest.$ac_ext
15250 cat >>conftest.$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15254 main ()
15256 int iswlower(unsigned short);
15258 return 0;
15260 _ACEOF
15261 rm -f conftest.$ac_objext
15262 if { (ac_try="$ac_compile"
15263 case "(($ac_try" in
15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15266 esac
15267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_compile") 2>conftest.er1
15269 ac_status=$?
15270 grep -v '^ *+' conftest.er1 >conftest.err
15271 rm -f conftest.er1
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } && {
15275 test -z "$ac_c_werror_flag" ||
15276 test ! -s conftest.err
15277 } && test -s conftest.$ac_objext; then
15278 ac_cv_c_builtin_wchar_ctype=no
15279 else
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.$ac_ext >&5
15283 ac_cv_c_builtin_wchar_ctype=yes
15286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15289 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15290 CFLAGS="$saved_CFLAGS"
15291 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15292 then
15293 BUILTINFLAG="-fno-builtin"
15298 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15299 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15300 if test "${ac_cv_asm_func_def+set}" = set; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 else
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15311 main ()
15313 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15315 return 0;
15317 _ACEOF
15318 rm -f conftest.$ac_objext conftest$ac_exeext
15319 if { (ac_try="$ac_link"
15320 case "(($ac_try" in
15321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15322 *) ac_try_echo=$ac_try;;
15323 esac
15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15325 (eval "$ac_link") 2>conftest.er1
15326 ac_status=$?
15327 grep -v '^ *+' conftest.er1 >conftest.err
15328 rm -f conftest.er1
15329 cat conftest.err >&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } && {
15332 test -z "$ac_c_werror_flag" ||
15333 test ! -s conftest.err
15334 } && test -s conftest$ac_exeext &&
15335 $as_test_x conftest$ac_exeext; then
15336 ac_cv_asm_func_def=".def"
15337 else
15338 echo "$as_me: failed program was:" >&5
15339 sed 's/^/| /' conftest.$ac_ext >&5
15341 cat >conftest.$ac_ext <<_ACEOF
15342 /* confdefs.h. */
15343 _ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15349 main ()
15351 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15353 return 0;
15355 _ACEOF
15356 rm -f conftest.$ac_objext conftest$ac_exeext
15357 if { (ac_try="$ac_link"
15358 case "(($ac_try" in
15359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15360 *) ac_try_echo=$ac_try;;
15361 esac
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_link") 2>conftest.er1
15364 ac_status=$?
15365 grep -v '^ *+' conftest.er1 >conftest.err
15366 rm -f conftest.er1
15367 cat conftest.err >&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } && {
15370 test -z "$ac_c_werror_flag" ||
15371 test ! -s conftest.err
15372 } && test -s conftest$ac_exeext &&
15373 $as_test_x conftest$ac_exeext; then
15374 ac_cv_asm_func_def=".type @function"
15375 else
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15379 cat >conftest.$ac_ext <<_ACEOF
15380 /* confdefs.h. */
15381 _ACEOF
15382 cat confdefs.h >>conftest.$ac_ext
15383 cat >>conftest.$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15387 main ()
15389 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15391 return 0;
15393 _ACEOF
15394 rm -f conftest.$ac_objext conftest$ac_exeext
15395 if { (ac_try="$ac_link"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15399 esac
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_link") 2>conftest.er1
15402 ac_status=$?
15403 grep -v '^ *+' conftest.er1 >conftest.err
15404 rm -f conftest.er1
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest$ac_exeext &&
15411 $as_test_x conftest$ac_exeext; then
15412 ac_cv_asm_func_def=".type 2"
15413 else
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15417 ac_cv_asm_func_def="unknown"
15420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15421 conftest$ac_exeext conftest.$ac_ext
15424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15425 conftest$ac_exeext conftest.$ac_ext
15428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15429 conftest$ac_exeext conftest.$ac_ext
15431 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15432 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15436 case "$ac_cv_asm_func_def" in
15437 ".def")
15438 cat >>confdefs.h <<\_ACEOF
15439 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15440 _ACEOF
15442 ".type @function")
15443 cat >>confdefs.h <<\_ACEOF
15444 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15445 _ACEOF
15447 ".type 2")
15448 cat >>confdefs.h <<\_ACEOF
15449 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15450 _ACEOF
15453 cat >>confdefs.h <<\_ACEOF
15454 #define __ASM_FUNC(name) ""
15455 _ACEOF
15457 esac
15460 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15461 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15462 if test "${ac_cv_c_extern_prefix+set}" = set; then
15463 echo $ECHO_N "(cached) $ECHO_C" >&6
15464 else
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h. */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15471 extern int ac_test;
15473 main ()
15475 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15477 return 0;
15479 _ACEOF
15480 rm -f conftest.$ac_objext conftest$ac_exeext
15481 if { (ac_try="$ac_link"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15485 esac
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_link") 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest$ac_exeext &&
15497 $as_test_x conftest$ac_exeext; then
15498 ac_cv_c_extern_prefix="yes"
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15503 ac_cv_c_extern_prefix="no"
15506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15507 conftest$ac_exeext conftest.$ac_ext
15509 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15510 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15514 if test "$ac_cv_c_extern_prefix" = "yes"
15515 then
15516 cat >>confdefs.h <<\_ACEOF
15517 #define __ASM_NAME(name) "_" name
15518 _ACEOF
15520 else
15521 cat >>confdefs.h <<\_ACEOF
15522 #define __ASM_NAME(name) name
15523 _ACEOF
15528 LDPATH=""
15530 case $build_os in
15531 cygwin*|mingw32*)
15532 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15534 darwin*|macosx*)
15536 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15537 then
15538 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15542 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15544 esac
15546 case $host_os in
15547 mingw32*)
15548 CRTLIBS="-lmsvcrt"
15550 SOCKETLIBS="-lws2_32"
15553 esac
15555 MAIN_BINARY="wine-pthread"
15556 case $host_cpu in
15557 *i[3456789]86*)
15558 case $host_os in
15559 linux* | k*bsd*-gnu)
15560 MAIN_BINARY="wine-glibc"
15562 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15564 freebsd*)
15565 MAIN_BINARY="wine-freebsd"
15567 EXTRA_BINARIES="wine-pthread"
15569 esac
15571 esac
15636 for ac_func in \
15637 _pclose \
15638 _popen \
15639 _snprintf \
15640 _spawnvp \
15641 _stricmp \
15642 _strnicmp \
15643 _vsnprintf \
15644 asctime_r \
15645 chsize \
15646 clone \
15647 dlopen \
15648 epoll_create \
15649 ffs \
15650 finite \
15651 fork \
15652 fpclass \
15653 fstatfs \
15654 fstatvfs \
15655 ftruncate \
15656 futimes \
15657 futimesat \
15658 getdirentries \
15659 getopt_long \
15660 getpagesize \
15661 getpwuid \
15662 gettid \
15663 gettimeofday \
15664 getuid \
15665 inet_pton \
15666 kqueue \
15667 lstat \
15668 memmove \
15669 mmap \
15670 pclose \
15671 poll \
15672 popen \
15673 prctl \
15674 pread \
15675 pwrite \
15676 readlink \
15677 rfork \
15678 sched_yield \
15679 select \
15680 setrlimit \
15681 settimeofday \
15682 sigaltstack \
15683 sigprocmask \
15684 snprintf \
15685 spawnvp \
15686 statfs \
15687 statvfs \
15688 strcasecmp \
15689 strerror \
15690 strncasecmp \
15691 strtold \
15692 tcgetattr \
15693 thr_kill2 \
15694 timegm \
15695 usleep \
15696 vsnprintf \
15697 wait4 \
15698 waitpid \
15701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 cat >conftest.$ac_ext <<_ACEOF
15708 /* confdefs.h. */
15709 _ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15715 #define $ac_func innocuous_$ac_func
15717 /* System header to define __stub macros and hopefully few prototypes,
15718 which can conflict with char $ac_func (); below.
15719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15720 <limits.h> exists even on freestanding compilers. */
15722 #ifdef __STDC__
15723 # include <limits.h>
15724 #else
15725 # include <assert.h>
15726 #endif
15728 #undef $ac_func
15730 /* Override any GCC internal prototype to avoid an error.
15731 Use char because int might match the return type of a GCC
15732 builtin and then its argument prototype would still apply. */
15733 #ifdef __cplusplus
15734 extern "C"
15735 #endif
15736 char $ac_func ();
15737 /* The GNU C library defines this for functions which it implements
15738 to always fail with ENOSYS. Some functions are actually named
15739 something starting with __ and the normal name is an alias. */
15740 #if defined __stub_$ac_func || defined __stub___$ac_func
15741 choke me
15742 #endif
15745 main ()
15747 return $ac_func ();
15749 return 0;
15751 _ACEOF
15752 rm -f conftest.$ac_objext conftest$ac_exeext
15753 if { (ac_try="$ac_link"
15754 case "(($ac_try" in
15755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756 *) ac_try_echo=$ac_try;;
15757 esac
15758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759 (eval "$ac_link") 2>conftest.er1
15760 ac_status=$?
15761 grep -v '^ *+' conftest.er1 >conftest.err
15762 rm -f conftest.er1
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } && {
15766 test -z "$ac_c_werror_flag" ||
15767 test ! -s conftest.err
15768 } && test -s conftest$ac_exeext &&
15769 $as_test_x conftest$ac_exeext; then
15770 eval "$as_ac_var=yes"
15771 else
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15775 eval "$as_ac_var=no"
15778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15779 conftest$ac_exeext conftest.$ac_ext
15781 ac_res=`eval echo '${'$as_ac_var'}'`
15782 { echo "$as_me:$LINENO: result: $ac_res" >&5
15783 echo "${ECHO_T}$ac_res" >&6; }
15784 if test `eval echo '${'$as_ac_var'}'` = yes; then
15785 cat >>confdefs.h <<_ACEOF
15786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15787 _ACEOF
15790 done
15793 if test "$ac_cv_func_dlopen" = no
15794 then
15795 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15796 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15797 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15798 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 else
15800 ac_check_lib_save_LIBS=$LIBS
15801 LIBS="-ldl $LIBS"
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15809 /* Override any GCC internal prototype to avoid an error.
15810 Use char because int might match the return type of a GCC
15811 builtin and then its argument prototype would still apply. */
15812 #ifdef __cplusplus
15813 extern "C"
15814 #endif
15815 char dlopen ();
15817 main ()
15819 return dlopen ();
15821 return 0;
15823 _ACEOF
15824 rm -f conftest.$ac_objext conftest$ac_exeext
15825 if { (ac_try="$ac_link"
15826 case "(($ac_try" in
15827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15828 *) ac_try_echo=$ac_try;;
15829 esac
15830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15831 (eval "$ac_link") 2>conftest.er1
15832 ac_status=$?
15833 grep -v '^ *+' conftest.er1 >conftest.err
15834 rm -f conftest.er1
15835 cat conftest.err >&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } && {
15838 test -z "$ac_c_werror_flag" ||
15839 test ! -s conftest.err
15840 } && test -s conftest$ac_exeext &&
15841 $as_test_x conftest$ac_exeext; then
15842 ac_cv_lib_dl_dlopen=yes
15843 else
15844 echo "$as_me: failed program was:" >&5
15845 sed 's/^/| /' conftest.$ac_ext >&5
15847 ac_cv_lib_dl_dlopen=no
15850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15851 conftest$ac_exeext conftest.$ac_ext
15852 LIBS=$ac_check_lib_save_LIBS
15854 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15855 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15856 if test $ac_cv_lib_dl_dlopen = yes; then
15857 cat >>confdefs.h <<\_ACEOF
15858 #define HAVE_DLOPEN 1
15859 _ACEOF
15860 LIBDL="-ldl"
15865 ac_wine_check_funcs_save_LIBS="$LIBS"
15866 LIBS="$LIBS $LIBDL"
15868 for ac_func in dladdr
15870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15884 #define $ac_func innocuous_$ac_func
15886 /* System header to define __stub macros and hopefully few prototypes,
15887 which can conflict with char $ac_func (); below.
15888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15889 <limits.h> exists even on freestanding compilers. */
15891 #ifdef __STDC__
15892 # include <limits.h>
15893 #else
15894 # include <assert.h>
15895 #endif
15897 #undef $ac_func
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 #ifdef __cplusplus
15903 extern "C"
15904 #endif
15905 char $ac_func ();
15906 /* The GNU C library defines this for functions which it implements
15907 to always fail with ENOSYS. Some functions are actually named
15908 something starting with __ and the normal name is an alias. */
15909 #if defined __stub_$ac_func || defined __stub___$ac_func
15910 choke me
15911 #endif
15914 main ()
15916 return $ac_func ();
15918 return 0;
15920 _ACEOF
15921 rm -f conftest.$ac_objext conftest$ac_exeext
15922 if { (ac_try="$ac_link"
15923 case "(($ac_try" in
15924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15925 *) ac_try_echo=$ac_try;;
15926 esac
15927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15928 (eval "$ac_link") 2>conftest.er1
15929 ac_status=$?
15930 grep -v '^ *+' conftest.er1 >conftest.err
15931 rm -f conftest.er1
15932 cat conftest.err >&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } && {
15935 test -z "$ac_c_werror_flag" ||
15936 test ! -s conftest.err
15937 } && test -s conftest$ac_exeext &&
15938 $as_test_x conftest$ac_exeext; then
15939 eval "$as_ac_var=yes"
15940 else
15941 echo "$as_me: failed program was:" >&5
15942 sed 's/^/| /' conftest.$ac_ext >&5
15944 eval "$as_ac_var=no"
15947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15948 conftest$ac_exeext conftest.$ac_ext
15950 ac_res=`eval echo '${'$as_ac_var'}'`
15951 { echo "$as_me:$LINENO: result: $ac_res" >&5
15952 echo "${ECHO_T}$ac_res" >&6; }
15953 if test `eval echo '${'$as_ac_var'}'` = yes; then
15954 cat >>confdefs.h <<_ACEOF
15955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15956 _ACEOF
15959 done
15961 LIBS="$ac_wine_check_funcs_save_LIBS"
15963 if test "$ac_cv_func_poll" = no
15964 then
15965 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15966 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15967 if test "${ac_cv_lib_poll_poll+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 else
15970 ac_check_lib_save_LIBS=$LIBS
15971 LIBS="-lpoll $LIBS"
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h. */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15979 /* Override any GCC internal prototype to avoid an error.
15980 Use char because int might match the return type of a GCC
15981 builtin and then its argument prototype would still apply. */
15982 #ifdef __cplusplus
15983 extern "C"
15984 #endif
15985 char poll ();
15987 main ()
15989 return poll ();
15991 return 0;
15993 _ACEOF
15994 rm -f conftest.$ac_objext conftest$ac_exeext
15995 if { (ac_try="$ac_link"
15996 case "(($ac_try" in
15997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15998 *) ac_try_echo=$ac_try;;
15999 esac
16000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16001 (eval "$ac_link") 2>conftest.er1
16002 ac_status=$?
16003 grep -v '^ *+' conftest.er1 >conftest.err
16004 rm -f conftest.er1
16005 cat conftest.err >&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } && {
16008 test -z "$ac_c_werror_flag" ||
16009 test ! -s conftest.err
16010 } && test -s conftest$ac_exeext &&
16011 $as_test_x conftest$ac_exeext; then
16012 ac_cv_lib_poll_poll=yes
16013 else
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.$ac_ext >&5
16017 ac_cv_lib_poll_poll=no
16020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16021 conftest$ac_exeext conftest.$ac_ext
16022 LIBS=$ac_check_lib_save_LIBS
16024 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16025 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16026 if test $ac_cv_lib_poll_poll = yes; then
16027 cat >>confdefs.h <<\_ACEOF
16028 #define HAVE_POLL 1
16029 _ACEOF
16030 LIBPOLL="-lpoll"
16036 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16037 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16038 if test "${ac_cv_search_gethostbyname+set}" = set; then
16039 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 else
16041 ac_func_search_save_LIBS=$LIBS
16042 cat >conftest.$ac_ext <<_ACEOF
16043 /* confdefs.h. */
16044 _ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16049 /* Override any GCC internal prototype to avoid an error.
16050 Use char because int might match the return type of a GCC
16051 builtin and then its argument prototype would still apply. */
16052 #ifdef __cplusplus
16053 extern "C"
16054 #endif
16055 char gethostbyname ();
16057 main ()
16059 return gethostbyname ();
16061 return 0;
16063 _ACEOF
16064 for ac_lib in '' nsl; do
16065 if test -z "$ac_lib"; then
16066 ac_res="none required"
16067 else
16068 ac_res=-l$ac_lib
16069 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16071 rm -f conftest.$ac_objext conftest$ac_exeext
16072 if { (ac_try="$ac_link"
16073 case "(($ac_try" in
16074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16075 *) ac_try_echo=$ac_try;;
16076 esac
16077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16078 (eval "$ac_link") 2>conftest.er1
16079 ac_status=$?
16080 grep -v '^ *+' conftest.er1 >conftest.err
16081 rm -f conftest.er1
16082 cat conftest.err >&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } && {
16085 test -z "$ac_c_werror_flag" ||
16086 test ! -s conftest.err
16087 } && test -s conftest$ac_exeext &&
16088 $as_test_x conftest$ac_exeext; then
16089 ac_cv_search_gethostbyname=$ac_res
16090 else
16091 echo "$as_me: failed program was:" >&5
16092 sed 's/^/| /' conftest.$ac_ext >&5
16097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16098 conftest$ac_exeext
16099 if test "${ac_cv_search_gethostbyname+set}" = set; then
16100 break
16102 done
16103 if test "${ac_cv_search_gethostbyname+set}" = set; then
16105 else
16106 ac_cv_search_gethostbyname=no
16108 rm conftest.$ac_ext
16109 LIBS=$ac_func_search_save_LIBS
16111 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16112 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16113 ac_res=$ac_cv_search_gethostbyname
16114 if test "$ac_res" != no; then
16115 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16120 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16121 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16122 if test "${ac_cv_search_connect+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125 ac_func_search_save_LIBS=$LIBS
16126 cat >conftest.$ac_ext <<_ACEOF
16127 /* confdefs.h. */
16128 _ACEOF
16129 cat confdefs.h >>conftest.$ac_ext
16130 cat >>conftest.$ac_ext <<_ACEOF
16131 /* end confdefs.h. */
16133 /* Override any GCC internal prototype to avoid an error.
16134 Use char because int might match the return type of a GCC
16135 builtin and then its argument prototype would still apply. */
16136 #ifdef __cplusplus
16137 extern "C"
16138 #endif
16139 char connect ();
16141 main ()
16143 return connect ();
16145 return 0;
16147 _ACEOF
16148 for ac_lib in '' socket; do
16149 if test -z "$ac_lib"; then
16150 ac_res="none required"
16151 else
16152 ac_res=-l$ac_lib
16153 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16155 rm -f conftest.$ac_objext conftest$ac_exeext
16156 if { (ac_try="$ac_link"
16157 case "(($ac_try" in
16158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16159 *) ac_try_echo=$ac_try;;
16160 esac
16161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16162 (eval "$ac_link") 2>conftest.er1
16163 ac_status=$?
16164 grep -v '^ *+' conftest.er1 >conftest.err
16165 rm -f conftest.er1
16166 cat conftest.err >&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); } && {
16169 test -z "$ac_c_werror_flag" ||
16170 test ! -s conftest.err
16171 } && test -s conftest$ac_exeext &&
16172 $as_test_x conftest$ac_exeext; then
16173 ac_cv_search_connect=$ac_res
16174 else
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16182 conftest$ac_exeext
16183 if test "${ac_cv_search_connect+set}" = set; then
16184 break
16186 done
16187 if test "${ac_cv_search_connect+set}" = set; then
16189 else
16190 ac_cv_search_connect=no
16192 rm conftest.$ac_ext
16193 LIBS=$ac_func_search_save_LIBS
16195 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16196 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16197 ac_res=$ac_cv_search_connect
16198 if test "$ac_res" != no; then
16199 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16204 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16205 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16206 if test "${ac_cv_search_inet_aton+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209 ac_func_search_save_LIBS=$LIBS
16210 cat >conftest.$ac_ext <<_ACEOF
16211 /* confdefs.h. */
16212 _ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16217 /* Override any GCC internal prototype to avoid an error.
16218 Use char because int might match the return type of a GCC
16219 builtin and then its argument prototype would still apply. */
16220 #ifdef __cplusplus
16221 extern "C"
16222 #endif
16223 char inet_aton ();
16225 main ()
16227 return inet_aton ();
16229 return 0;
16231 _ACEOF
16232 for ac_lib in '' resolv; do
16233 if test -z "$ac_lib"; then
16234 ac_res="none required"
16235 else
16236 ac_res=-l$ac_lib
16237 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16239 rm -f conftest.$ac_objext conftest$ac_exeext
16240 if { (ac_try="$ac_link"
16241 case "(($ac_try" in
16242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16243 *) ac_try_echo=$ac_try;;
16244 esac
16245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16246 (eval "$ac_link") 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } && {
16253 test -z "$ac_c_werror_flag" ||
16254 test ! -s conftest.err
16255 } && test -s conftest$ac_exeext &&
16256 $as_test_x conftest$ac_exeext; then
16257 ac_cv_search_inet_aton=$ac_res
16258 else
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16266 conftest$ac_exeext
16267 if test "${ac_cv_search_inet_aton+set}" = set; then
16268 break
16270 done
16271 if test "${ac_cv_search_inet_aton+set}" = set; then
16273 else
16274 ac_cv_search_inet_aton=no
16276 rm conftest.$ac_ext
16277 LIBS=$ac_func_search_save_LIBS
16279 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16280 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16281 ac_res=$ac_cv_search_inet_aton
16282 if test "$ac_res" != no; then
16283 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16296 for ac_func in \
16297 getaddrinfo \
16298 getnameinfo \
16299 getnetbyname \
16300 getprotobyname \
16301 getprotobynumber \
16302 getservbyport \
16303 inet_network \
16304 sendmsg \
16307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16308 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16310 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 else
16313 cat >conftest.$ac_ext <<_ACEOF
16314 /* confdefs.h. */
16315 _ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16321 #define $ac_func innocuous_$ac_func
16323 /* System header to define __stub macros and hopefully few prototypes,
16324 which can conflict with char $ac_func (); below.
16325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16326 <limits.h> exists even on freestanding compilers. */
16328 #ifdef __STDC__
16329 # include <limits.h>
16330 #else
16331 # include <assert.h>
16332 #endif
16334 #undef $ac_func
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char $ac_func ();
16343 /* The GNU C library defines this for functions which it implements
16344 to always fail with ENOSYS. Some functions are actually named
16345 something starting with __ and the normal name is an alias. */
16346 #if defined __stub_$ac_func || defined __stub___$ac_func
16347 choke me
16348 #endif
16351 main ()
16353 return $ac_func ();
16355 return 0;
16357 _ACEOF
16358 rm -f conftest.$ac_objext conftest$ac_exeext
16359 if { (ac_try="$ac_link"
16360 case "(($ac_try" in
16361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16362 *) ac_try_echo=$ac_try;;
16363 esac
16364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16365 (eval "$ac_link") 2>conftest.er1
16366 ac_status=$?
16367 grep -v '^ *+' conftest.er1 >conftest.err
16368 rm -f conftest.er1
16369 cat conftest.err >&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } && {
16372 test -z "$ac_c_werror_flag" ||
16373 test ! -s conftest.err
16374 } && test -s conftest$ac_exeext &&
16375 $as_test_x conftest$ac_exeext; then
16376 eval "$as_ac_var=yes"
16377 else
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.$ac_ext >&5
16381 eval "$as_ac_var=no"
16384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16385 conftest$ac_exeext conftest.$ac_ext
16387 ac_res=`eval echo '${'$as_ac_var'}'`
16388 { echo "$as_me:$LINENO: result: $ac_res" >&5
16389 echo "${ECHO_T}$ac_res" >&6; }
16390 if test `eval echo '${'$as_ac_var'}'` = yes; then
16391 cat >>confdefs.h <<_ACEOF
16392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16393 _ACEOF
16396 done
16400 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16401 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16402 if test "${ac_cv_c_const+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405 cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16413 main ()
16415 /* FIXME: Include the comments suggested by Paul. */
16416 #ifndef __cplusplus
16417 /* Ultrix mips cc rejects this. */
16418 typedef int charset[2];
16419 const charset cs;
16420 /* SunOS 4.1.1 cc rejects this. */
16421 char const *const *pcpcc;
16422 char **ppc;
16423 /* NEC SVR4.0.2 mips cc rejects this. */
16424 struct point {int x, y;};
16425 static struct point const zero = {0,0};
16426 /* AIX XL C 1.02.0.0 rejects this.
16427 It does not let you subtract one const X* pointer from another in
16428 an arm of an if-expression whose if-part is not a constant
16429 expression */
16430 const char *g = "string";
16431 pcpcc = &g + (g ? g-g : 0);
16432 /* HPUX 7.0 cc rejects these. */
16433 ++pcpcc;
16434 ppc = (char**) pcpcc;
16435 pcpcc = (char const *const *) ppc;
16436 { /* SCO 3.2v4 cc rejects this. */
16437 char *t;
16438 char const *s = 0 ? (char *) 0 : (char const *) 0;
16440 *t++ = 0;
16441 if (s) return 0;
16443 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16444 int x[] = {25, 17};
16445 const int *foo = &x[0];
16446 ++foo;
16448 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16449 typedef const int *iptr;
16450 iptr p = 0;
16451 ++p;
16453 { /* AIX XL C 1.02.0.0 rejects this saying
16454 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16455 struct s { int j; const int *ap[3]; };
16456 struct s *b; b->j = 5;
16458 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16459 const int foo = 10;
16460 if (!foo) return 0;
16462 return !cs[0] && !zero.x;
16463 #endif
16466 return 0;
16468 _ACEOF
16469 rm -f conftest.$ac_objext
16470 if { (ac_try="$ac_compile"
16471 case "(($ac_try" in
16472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16473 *) ac_try_echo=$ac_try;;
16474 esac
16475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16476 (eval "$ac_compile") 2>conftest.er1
16477 ac_status=$?
16478 grep -v '^ *+' conftest.er1 >conftest.err
16479 rm -f conftest.er1
16480 cat conftest.err >&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } && {
16483 test -z "$ac_c_werror_flag" ||
16484 test ! -s conftest.err
16485 } && test -s conftest.$ac_objext; then
16486 ac_cv_c_const=yes
16487 else
16488 echo "$as_me: failed program was:" >&5
16489 sed 's/^/| /' conftest.$ac_ext >&5
16491 ac_cv_c_const=no
16494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16496 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16497 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16498 if test $ac_cv_c_const = no; then
16500 cat >>confdefs.h <<\_ACEOF
16501 #define const
16502 _ACEOF
16506 { echo "$as_me:$LINENO: checking for inline" >&5
16507 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16508 if test "${ac_cv_c_inline+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 ac_cv_c_inline=no
16512 for ac_kw in inline __inline__ __inline; do
16513 cat >conftest.$ac_ext <<_ACEOF
16514 /* confdefs.h. */
16515 _ACEOF
16516 cat confdefs.h >>conftest.$ac_ext
16517 cat >>conftest.$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 #ifndef __cplusplus
16520 typedef int foo_t;
16521 static $ac_kw foo_t static_foo () {return 0; }
16522 $ac_kw foo_t foo () {return 0; }
16523 #endif
16525 _ACEOF
16526 rm -f conftest.$ac_objext
16527 if { (ac_try="$ac_compile"
16528 case "(($ac_try" in
16529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16530 *) ac_try_echo=$ac_try;;
16531 esac
16532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16533 (eval "$ac_compile") 2>conftest.er1
16534 ac_status=$?
16535 grep -v '^ *+' conftest.er1 >conftest.err
16536 rm -f conftest.er1
16537 cat conftest.err >&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } && {
16540 test -z "$ac_c_werror_flag" ||
16541 test ! -s conftest.err
16542 } && test -s conftest.$ac_objext; then
16543 ac_cv_c_inline=$ac_kw
16544 else
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 test "$ac_cv_c_inline" != no && break
16553 done
16556 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16557 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16560 case $ac_cv_c_inline in
16561 inline | yes) ;;
16563 case $ac_cv_c_inline in
16564 no) ac_val=;;
16565 *) ac_val=$ac_cv_c_inline;;
16566 esac
16567 cat >>confdefs.h <<_ACEOF
16568 #ifndef __cplusplus
16569 #define inline $ac_val
16570 #endif
16571 _ACEOF
16573 esac
16575 { echo "$as_me:$LINENO: checking for mode_t" >&5
16576 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16577 if test "${ac_cv_type_mode_t+set}" = set; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 else
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 typedef mode_t ac__type_new_;
16589 main ()
16591 if ((ac__type_new_ *) 0)
16592 return 0;
16593 if (sizeof (ac__type_new_))
16594 return 0;
16596 return 0;
16598 _ACEOF
16599 rm -f conftest.$ac_objext
16600 if { (ac_try="$ac_compile"
16601 case "(($ac_try" in
16602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16603 *) ac_try_echo=$ac_try;;
16604 esac
16605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16606 (eval "$ac_compile") 2>conftest.er1
16607 ac_status=$?
16608 grep -v '^ *+' conftest.er1 >conftest.err
16609 rm -f conftest.er1
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } && {
16613 test -z "$ac_c_werror_flag" ||
16614 test ! -s conftest.err
16615 } && test -s conftest.$ac_objext; then
16616 ac_cv_type_mode_t=yes
16617 else
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16621 ac_cv_type_mode_t=no
16624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16626 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16627 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16628 if test $ac_cv_type_mode_t = yes; then
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_MODE_T 1
16632 _ACEOF
16636 { echo "$as_me:$LINENO: checking for off_t" >&5
16637 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16638 if test "${ac_cv_type_off_t+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 else
16641 cat >conftest.$ac_ext <<_ACEOF
16642 /* confdefs.h. */
16643 _ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16648 typedef off_t ac__type_new_;
16650 main ()
16652 if ((ac__type_new_ *) 0)
16653 return 0;
16654 if (sizeof (ac__type_new_))
16655 return 0;
16657 return 0;
16659 _ACEOF
16660 rm -f conftest.$ac_objext
16661 if { (ac_try="$ac_compile"
16662 case "(($ac_try" in
16663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16664 *) ac_try_echo=$ac_try;;
16665 esac
16666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16667 (eval "$ac_compile") 2>conftest.er1
16668 ac_status=$?
16669 grep -v '^ *+' conftest.er1 >conftest.err
16670 rm -f conftest.er1
16671 cat conftest.err >&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } && {
16674 test -z "$ac_c_werror_flag" ||
16675 test ! -s conftest.err
16676 } && test -s conftest.$ac_objext; then
16677 ac_cv_type_off_t=yes
16678 else
16679 echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.$ac_ext >&5
16682 ac_cv_type_off_t=no
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16687 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16688 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16689 if test $ac_cv_type_off_t = yes; then
16691 cat >>confdefs.h <<_ACEOF
16692 #define HAVE_OFF_T 1
16693 _ACEOF
16697 { echo "$as_me:$LINENO: checking for pid_t" >&5
16698 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16699 if test "${ac_cv_type_pid_t+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16701 else
16702 cat >conftest.$ac_ext <<_ACEOF
16703 /* confdefs.h. */
16704 _ACEOF
16705 cat confdefs.h >>conftest.$ac_ext
16706 cat >>conftest.$ac_ext <<_ACEOF
16707 /* end confdefs.h. */
16708 $ac_includes_default
16709 typedef pid_t ac__type_new_;
16711 main ()
16713 if ((ac__type_new_ *) 0)
16714 return 0;
16715 if (sizeof (ac__type_new_))
16716 return 0;
16718 return 0;
16720 _ACEOF
16721 rm -f conftest.$ac_objext
16722 if { (ac_try="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16726 esac
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_type_pid_t=yes
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16743 ac_cv_type_pid_t=no
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16748 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16749 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16750 if test $ac_cv_type_pid_t = yes; then
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_PID_T 1
16754 _ACEOF
16758 { echo "$as_me:$LINENO: checking for size_t" >&5
16759 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16760 if test "${ac_cv_type_size_t+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 else
16763 cat >conftest.$ac_ext <<_ACEOF
16764 /* confdefs.h. */
16765 _ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 $ac_includes_default
16770 typedef size_t ac__type_new_;
16772 main ()
16774 if ((ac__type_new_ *) 0)
16775 return 0;
16776 if (sizeof (ac__type_new_))
16777 return 0;
16779 return 0;
16781 _ACEOF
16782 rm -f conftest.$ac_objext
16783 if { (ac_try="$ac_compile"
16784 case "(($ac_try" in
16785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16786 *) ac_try_echo=$ac_try;;
16787 esac
16788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16789 (eval "$ac_compile") 2>conftest.er1
16790 ac_status=$?
16791 grep -v '^ *+' conftest.er1 >conftest.err
16792 rm -f conftest.er1
16793 cat conftest.err >&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } && {
16796 test -z "$ac_c_werror_flag" ||
16797 test ! -s conftest.err
16798 } && test -s conftest.$ac_objext; then
16799 ac_cv_type_size_t=yes
16800 else
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16804 ac_cv_type_size_t=no
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16809 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16810 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16811 if test $ac_cv_type_size_t = yes; then
16813 cat >>confdefs.h <<_ACEOF
16814 #define HAVE_SIZE_T 1
16815 _ACEOF
16819 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16820 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16821 if test "${ac_cv_type_ssize_t+set}" = set; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16823 else
16824 cat >conftest.$ac_ext <<_ACEOF
16825 /* confdefs.h. */
16826 _ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 $ac_includes_default
16831 typedef ssize_t ac__type_new_;
16833 main ()
16835 if ((ac__type_new_ *) 0)
16836 return 0;
16837 if (sizeof (ac__type_new_))
16838 return 0;
16840 return 0;
16842 _ACEOF
16843 rm -f conftest.$ac_objext
16844 if { (ac_try="$ac_compile"
16845 case "(($ac_try" in
16846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16848 esac
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_compile") 2>conftest.er1
16851 ac_status=$?
16852 grep -v '^ *+' conftest.er1 >conftest.err
16853 rm -f conftest.er1
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } && {
16857 test -z "$ac_c_werror_flag" ||
16858 test ! -s conftest.err
16859 } && test -s conftest.$ac_objext; then
16860 ac_cv_type_ssize_t=yes
16861 else
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.$ac_ext >&5
16865 ac_cv_type_ssize_t=no
16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16871 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16872 if test $ac_cv_type_ssize_t = yes; then
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_SSIZE_T 1
16876 _ACEOF
16880 { echo "$as_me:$LINENO: checking for long long" >&5
16881 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16882 if test "${ac_cv_type_long_long+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 else
16885 cat >conftest.$ac_ext <<_ACEOF
16886 /* confdefs.h. */
16887 _ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 $ac_includes_default
16892 typedef long long ac__type_new_;
16894 main ()
16896 if ((ac__type_new_ *) 0)
16897 return 0;
16898 if (sizeof (ac__type_new_))
16899 return 0;
16901 return 0;
16903 _ACEOF
16904 rm -f conftest.$ac_objext
16905 if { (ac_try="$ac_compile"
16906 case "(($ac_try" in
16907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16908 *) ac_try_echo=$ac_try;;
16909 esac
16910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16911 (eval "$ac_compile") 2>conftest.er1
16912 ac_status=$?
16913 grep -v '^ *+' conftest.er1 >conftest.err
16914 rm -f conftest.er1
16915 cat conftest.err >&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } && {
16918 test -z "$ac_c_werror_flag" ||
16919 test ! -s conftest.err
16920 } && test -s conftest.$ac_objext; then
16921 ac_cv_type_long_long=yes
16922 else
16923 echo "$as_me: failed program was:" >&5
16924 sed 's/^/| /' conftest.$ac_ext >&5
16926 ac_cv_type_long_long=no
16929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16931 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16932 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16933 if test $ac_cv_type_long_long = yes; then
16935 cat >>confdefs.h <<_ACEOF
16936 #define HAVE_LONG_LONG 1
16937 _ACEOF
16941 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16942 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16943 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 else
16946 cat >conftest.$ac_ext <<_ACEOF
16947 /* confdefs.h. */
16948 _ACEOF
16949 cat confdefs.h >>conftest.$ac_ext
16950 cat >>conftest.$ac_ext <<_ACEOF
16951 /* end confdefs.h. */
16952 $ac_includes_default
16953 typedef fsblkcnt_t ac__type_new_;
16955 main ()
16957 if ((ac__type_new_ *) 0)
16958 return 0;
16959 if (sizeof (ac__type_new_))
16960 return 0;
16962 return 0;
16964 _ACEOF
16965 rm -f conftest.$ac_objext
16966 if { (ac_try="$ac_compile"
16967 case "(($ac_try" in
16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16970 esac
16971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16972 (eval "$ac_compile") 2>conftest.er1
16973 ac_status=$?
16974 grep -v '^ *+' conftest.er1 >conftest.err
16975 rm -f conftest.er1
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } && {
16979 test -z "$ac_c_werror_flag" ||
16980 test ! -s conftest.err
16981 } && test -s conftest.$ac_objext; then
16982 ac_cv_type_fsblkcnt_t=yes
16983 else
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16987 ac_cv_type_fsblkcnt_t=no
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16993 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16994 if test $ac_cv_type_fsblkcnt_t = yes; then
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_FSBLKCNT_T 1
16998 _ACEOF
17002 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17003 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17004 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17005 echo $ECHO_N "(cached) $ECHO_C" >&6
17006 else
17007 cat >conftest.$ac_ext <<_ACEOF
17008 /* confdefs.h. */
17009 _ACEOF
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17014 typedef fsfilcnt_t ac__type_new_;
17016 main ()
17018 if ((ac__type_new_ *) 0)
17019 return 0;
17020 if (sizeof (ac__type_new_))
17021 return 0;
17023 return 0;
17025 _ACEOF
17026 rm -f conftest.$ac_objext
17027 if { (ac_try="$ac_compile"
17028 case "(($ac_try" in
17029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17030 *) ac_try_echo=$ac_try;;
17031 esac
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compile") 2>conftest.er1
17034 ac_status=$?
17035 grep -v '^ *+' conftest.er1 >conftest.err
17036 rm -f conftest.er1
17037 cat conftest.err >&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } && {
17040 test -z "$ac_c_werror_flag" ||
17041 test ! -s conftest.err
17042 } && test -s conftest.$ac_objext; then
17043 ac_cv_type_fsfilcnt_t=yes
17044 else
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.$ac_ext >&5
17048 ac_cv_type_fsfilcnt_t=no
17051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17054 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17055 if test $ac_cv_type_fsfilcnt_t = yes; then
17057 cat >>confdefs.h <<_ACEOF
17058 #define HAVE_FSFILCNT_T 1
17059 _ACEOF
17064 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17065 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17066 if test "${ac_cv_type_sigset_t+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 #include <signal.h>
17077 typedef sigset_t ac__type_new_;
17079 main ()
17081 if ((ac__type_new_ *) 0)
17082 return 0;
17083 if (sizeof (ac__type_new_))
17084 return 0;
17086 return 0;
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17097 ac_status=$?
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_c_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 ac_cv_type_sigset_t=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17111 ac_cv_type_sigset_t=no
17114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17117 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17118 if test $ac_cv_type_sigset_t = yes; then
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_SIGSET_T 1
17122 _ACEOF
17127 { echo "$as_me:$LINENO: checking for request_sense" >&5
17128 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17129 if test "${ac_cv_type_request_sense+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 else
17132 cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h. */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 #include <linux/cdrom.h>
17140 typedef request_sense ac__type_new_;
17142 main ()
17144 if ((ac__type_new_ *) 0)
17145 return 0;
17146 if (sizeof (ac__type_new_))
17147 return 0;
17149 return 0;
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (ac_try="$ac_compile"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17157 esac
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.$ac_objext; then
17169 ac_cv_type_request_sense=yes
17170 else
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cv_type_request_sense=no
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17179 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17180 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17181 if test $ac_cv_type_request_sense = yes; then
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_REQUEST_SENSE 1
17185 _ACEOF
17191 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17192 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17193 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 else
17196 cat >conftest.$ac_ext <<_ACEOF
17197 /* confdefs.h. */
17198 _ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 #ifdef HAVE_LINUX_INPUT_H
17203 #include <linux/input.h>
17204 #endif
17207 main ()
17209 static struct ff_effect ac_aggr;
17210 if (ac_aggr.direction)
17211 return 0;
17213 return 0;
17215 _ACEOF
17216 rm -f conftest.$ac_objext
17217 if { (ac_try="$ac_compile"
17218 case "(($ac_try" in
17219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17220 *) ac_try_echo=$ac_try;;
17221 esac
17222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17223 (eval "$ac_compile") 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } && {
17230 test -z "$ac_c_werror_flag" ||
17231 test ! -s conftest.err
17232 } && test -s conftest.$ac_objext; then
17233 ac_cv_member_struct_ff_effect_direction=yes
17234 else
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17238 cat >conftest.$ac_ext <<_ACEOF
17239 /* confdefs.h. */
17240 _ACEOF
17241 cat confdefs.h >>conftest.$ac_ext
17242 cat >>conftest.$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244 #ifdef HAVE_LINUX_INPUT_H
17245 #include <linux/input.h>
17246 #endif
17249 main ()
17251 static struct ff_effect ac_aggr;
17252 if (sizeof ac_aggr.direction)
17253 return 0;
17255 return 0;
17257 _ACEOF
17258 rm -f conftest.$ac_objext
17259 if { (ac_try="$ac_compile"
17260 case "(($ac_try" in
17261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17262 *) ac_try_echo=$ac_try;;
17263 esac
17264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17265 (eval "$ac_compile") 2>conftest.er1
17266 ac_status=$?
17267 grep -v '^ *+' conftest.er1 >conftest.err
17268 rm -f conftest.er1
17269 cat conftest.err >&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } && {
17272 test -z "$ac_c_werror_flag" ||
17273 test ! -s conftest.err
17274 } && test -s conftest.$ac_objext; then
17275 ac_cv_member_struct_ff_effect_direction=yes
17276 else
17277 echo "$as_me: failed program was:" >&5
17278 sed 's/^/| /' conftest.$ac_ext >&5
17280 ac_cv_member_struct_ff_effect_direction=no
17283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17289 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17290 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17292 cat >>confdefs.h <<_ACEOF
17293 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17294 _ACEOF
17300 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17301 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17302 if test "${wine_cv_have_sigaddset+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17304 else
17305 cat >conftest.$ac_ext <<_ACEOF
17306 /* confdefs.h. */
17307 _ACEOF
17308 cat confdefs.h >>conftest.$ac_ext
17309 cat >>conftest.$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 #include <signal.h>
17313 main ()
17315 sigset_t set; sigaddset(&set,SIGTERM);
17317 return 0;
17319 _ACEOF
17320 rm -f conftest.$ac_objext conftest$ac_exeext
17321 if { (ac_try="$ac_link"
17322 case "(($ac_try" in
17323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17324 *) ac_try_echo=$ac_try;;
17325 esac
17326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17327 (eval "$ac_link") 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } && {
17334 test -z "$ac_c_werror_flag" ||
17335 test ! -s conftest.err
17336 } && test -s conftest$ac_exeext &&
17337 $as_test_x conftest$ac_exeext; then
17338 wine_cv_have_sigaddset=yes
17339 else
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17343 wine_cv_have_sigaddset=no
17346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17347 conftest$ac_exeext conftest.$ac_ext
17349 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17350 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17351 if test "$wine_cv_have_sigaddset" = "yes"
17352 then
17354 cat >>confdefs.h <<\_ACEOF
17355 #define HAVE_SIGADDSET 1
17356 _ACEOF
17361 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17362 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17363 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17365 else
17366 cat >conftest.$ac_ext <<_ACEOF
17367 /* confdefs.h. */
17368 _ACEOF
17369 cat confdefs.h >>conftest.$ac_ext
17370 cat >>conftest.$ac_ext <<_ACEOF
17371 /* end confdefs.h. */
17372 #include <netdb.h>
17374 main ()
17377 char *name=NULL;
17378 struct hostent he;
17379 struct hostent *result;
17380 char *buf=NULL;
17381 int bufsize=0;
17382 int res,errnr;
17383 char *addr=NULL;
17384 int addrlen=0;
17385 int addrtype=0;
17386 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17387 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17390 return 0;
17392 _ACEOF
17393 rm -f conftest.$ac_objext conftest$ac_exeext
17394 if { (ac_try="$ac_link"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17398 esac
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_link") 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_c_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest$ac_exeext &&
17410 $as_test_x conftest$ac_exeext; then
17411 wine_cv_linux_gethostbyname_r_6=yes
17412 else
17413 echo "$as_me: failed program was:" >&5
17414 sed 's/^/| /' conftest.$ac_ext >&5
17416 wine_cv_linux_gethostbyname_r_6=no
17420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17421 conftest$ac_exeext conftest.$ac_ext
17424 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17425 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17426 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17427 then
17429 cat >>confdefs.h <<\_ACEOF
17430 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17431 _ACEOF
17435 if test "$ac_cv_header_linux_joystick_h" = "yes"
17436 then
17437 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17438 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17439 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17442 cat >conftest.$ac_ext <<_ACEOF
17443 /* confdefs.h. */
17444 _ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17449 #include <sys/ioctl.h>
17450 #include <sys/types.h>
17451 #include <linux/joystick.h>
17453 struct js_event blub;
17454 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17455 #error "no 2.2 header"
17456 #endif
17459 main ()
17461 /*empty*/
17463 return 0;
17465 _ACEOF
17466 rm -f conftest.$ac_objext
17467 if { (ac_try="$ac_compile"
17468 case "(($ac_try" in
17469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17471 esac
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_compile") 2>conftest.er1
17474 ac_status=$?
17475 grep -v '^ *+' conftest.er1 >conftest.err
17476 rm -f conftest.er1
17477 cat conftest.err >&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } && {
17480 test -z "$ac_c_werror_flag" ||
17481 test ! -s conftest.err
17482 } && test -s conftest.$ac_objext; then
17483 wine_cv_linux_joystick_22_api=yes
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 wine_cv_linux_joystick_22_api=no
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17495 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17496 if test "$wine_cv_linux_joystick_22_api" = "yes"
17497 then
17499 cat >>confdefs.h <<\_ACEOF
17500 #define HAVE_LINUX_22_JOYSTICK_API 1
17501 _ACEOF
17507 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17508 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17509 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 else
17512 cat >conftest.$ac_ext <<_ACEOF
17513 /* confdefs.h. */
17514 _ACEOF
17515 cat confdefs.h >>conftest.$ac_ext
17516 cat >>conftest.$ac_ext <<_ACEOF
17517 /* end confdefs.h. */
17518 #include <sys/types.h>
17519 #ifdef HAVE_SYS_PARAM_H
17520 # include <sys/param.h>
17521 #endif
17522 #ifdef HAVE_SYS_MOUNT_H
17523 # include <sys/mount.h>
17524 #endif
17525 #ifdef HAVE_SYS_VFS_H
17526 # include <sys/vfs.h>
17527 #endif
17528 #ifdef HAVE_SYS_STATFS_H
17529 # include <sys/statfs.h>
17530 #endif
17533 main ()
17535 static struct statfs ac_aggr;
17536 if (ac_aggr.f_bfree)
17537 return 0;
17539 return 0;
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17547 esac
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17550 ac_status=$?
17551 grep -v '^ *+' conftest.er1 >conftest.err
17552 rm -f conftest.er1
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 ac_cv_member_struct_statfs_f_bfree=yes
17560 else
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17564 cat >conftest.$ac_ext <<_ACEOF
17565 /* confdefs.h. */
17566 _ACEOF
17567 cat confdefs.h >>conftest.$ac_ext
17568 cat >>conftest.$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570 #include <sys/types.h>
17571 #ifdef HAVE_SYS_PARAM_H
17572 # include <sys/param.h>
17573 #endif
17574 #ifdef HAVE_SYS_MOUNT_H
17575 # include <sys/mount.h>
17576 #endif
17577 #ifdef HAVE_SYS_VFS_H
17578 # include <sys/vfs.h>
17579 #endif
17580 #ifdef HAVE_SYS_STATFS_H
17581 # include <sys/statfs.h>
17582 #endif
17585 main ()
17587 static struct statfs ac_aggr;
17588 if (sizeof ac_aggr.f_bfree)
17589 return 0;
17591 return 0;
17593 _ACEOF
17594 rm -f conftest.$ac_objext
17595 if { (ac_try="$ac_compile"
17596 case "(($ac_try" in
17597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17598 *) ac_try_echo=$ac_try;;
17599 esac
17600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17601 (eval "$ac_compile") 2>conftest.er1
17602 ac_status=$?
17603 grep -v '^ *+' conftest.er1 >conftest.err
17604 rm -f conftest.er1
17605 cat conftest.err >&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } && {
17608 test -z "$ac_c_werror_flag" ||
17609 test ! -s conftest.err
17610 } && test -s conftest.$ac_objext; then
17611 ac_cv_member_struct_statfs_f_bfree=yes
17612 else
17613 echo "$as_me: failed program was:" >&5
17614 sed 's/^/| /' conftest.$ac_ext >&5
17616 ac_cv_member_struct_statfs_f_bfree=no
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17625 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17626 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17628 cat >>confdefs.h <<_ACEOF
17629 #define HAVE_STRUCT_STATFS_F_BFREE 1
17630 _ACEOF
17634 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17635 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17636 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17637 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 else
17639 cat >conftest.$ac_ext <<_ACEOF
17640 /* confdefs.h. */
17641 _ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 #include <sys/types.h>
17646 #ifdef HAVE_SYS_PARAM_H
17647 # include <sys/param.h>
17648 #endif
17649 #ifdef HAVE_SYS_MOUNT_H
17650 # include <sys/mount.h>
17651 #endif
17652 #ifdef HAVE_SYS_VFS_H
17653 # include <sys/vfs.h>
17654 #endif
17655 #ifdef HAVE_SYS_STATFS_H
17656 # include <sys/statfs.h>
17657 #endif
17660 main ()
17662 static struct statfs ac_aggr;
17663 if (ac_aggr.f_bavail)
17664 return 0;
17666 return 0;
17668 _ACEOF
17669 rm -f conftest.$ac_objext
17670 if { (ac_try="$ac_compile"
17671 case "(($ac_try" in
17672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17673 *) ac_try_echo=$ac_try;;
17674 esac
17675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17676 (eval "$ac_compile") 2>conftest.er1
17677 ac_status=$?
17678 grep -v '^ *+' conftest.er1 >conftest.err
17679 rm -f conftest.er1
17680 cat conftest.err >&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } && {
17683 test -z "$ac_c_werror_flag" ||
17684 test ! -s conftest.err
17685 } && test -s conftest.$ac_objext; then
17686 ac_cv_member_struct_statfs_f_bavail=yes
17687 else
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17691 cat >conftest.$ac_ext <<_ACEOF
17692 /* confdefs.h. */
17693 _ACEOF
17694 cat confdefs.h >>conftest.$ac_ext
17695 cat >>conftest.$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697 #include <sys/types.h>
17698 #ifdef HAVE_SYS_PARAM_H
17699 # include <sys/param.h>
17700 #endif
17701 #ifdef HAVE_SYS_MOUNT_H
17702 # include <sys/mount.h>
17703 #endif
17704 #ifdef HAVE_SYS_VFS_H
17705 # include <sys/vfs.h>
17706 #endif
17707 #ifdef HAVE_SYS_STATFS_H
17708 # include <sys/statfs.h>
17709 #endif
17712 main ()
17714 static struct statfs ac_aggr;
17715 if (sizeof ac_aggr.f_bavail)
17716 return 0;
17718 return 0;
17720 _ACEOF
17721 rm -f conftest.$ac_objext
17722 if { (ac_try="$ac_compile"
17723 case "(($ac_try" in
17724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17725 *) ac_try_echo=$ac_try;;
17726 esac
17727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17728 (eval "$ac_compile") 2>conftest.er1
17729 ac_status=$?
17730 grep -v '^ *+' conftest.er1 >conftest.err
17731 rm -f conftest.er1
17732 cat conftest.err >&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); } && {
17735 test -z "$ac_c_werror_flag" ||
17736 test ! -s conftest.err
17737 } && test -s conftest.$ac_objext; then
17738 ac_cv_member_struct_statfs_f_bavail=yes
17739 else
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.$ac_ext >&5
17743 ac_cv_member_struct_statfs_f_bavail=no
17746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17751 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17752 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17753 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17755 cat >>confdefs.h <<_ACEOF
17756 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17757 _ACEOF
17761 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17762 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17763 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17764 echo $ECHO_N "(cached) $ECHO_C" >&6
17765 else
17766 cat >conftest.$ac_ext <<_ACEOF
17767 /* confdefs.h. */
17768 _ACEOF
17769 cat confdefs.h >>conftest.$ac_ext
17770 cat >>conftest.$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17772 #include <sys/types.h>
17773 #ifdef HAVE_SYS_PARAM_H
17774 # include <sys/param.h>
17775 #endif
17776 #ifdef HAVE_SYS_MOUNT_H
17777 # include <sys/mount.h>
17778 #endif
17779 #ifdef HAVE_SYS_VFS_H
17780 # include <sys/vfs.h>
17781 #endif
17782 #ifdef HAVE_SYS_STATFS_H
17783 # include <sys/statfs.h>
17784 #endif
17787 main ()
17789 static struct statfs ac_aggr;
17790 if (ac_aggr.f_frsize)
17791 return 0;
17793 return 0;
17795 _ACEOF
17796 rm -f conftest.$ac_objext
17797 if { (ac_try="$ac_compile"
17798 case "(($ac_try" in
17799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17800 *) ac_try_echo=$ac_try;;
17801 esac
17802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17803 (eval "$ac_compile") 2>conftest.er1
17804 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1
17807 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } && {
17810 test -z "$ac_c_werror_flag" ||
17811 test ! -s conftest.err
17812 } && test -s conftest.$ac_objext; then
17813 ac_cv_member_struct_statfs_f_frsize=yes
17814 else
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17818 cat >conftest.$ac_ext <<_ACEOF
17819 /* confdefs.h. */
17820 _ACEOF
17821 cat confdefs.h >>conftest.$ac_ext
17822 cat >>conftest.$ac_ext <<_ACEOF
17823 /* end confdefs.h. */
17824 #include <sys/types.h>
17825 #ifdef HAVE_SYS_PARAM_H
17826 # include <sys/param.h>
17827 #endif
17828 #ifdef HAVE_SYS_MOUNT_H
17829 # include <sys/mount.h>
17830 #endif
17831 #ifdef HAVE_SYS_VFS_H
17832 # include <sys/vfs.h>
17833 #endif
17834 #ifdef HAVE_SYS_STATFS_H
17835 # include <sys/statfs.h>
17836 #endif
17839 main ()
17841 static struct statfs ac_aggr;
17842 if (sizeof ac_aggr.f_frsize)
17843 return 0;
17845 return 0;
17847 _ACEOF
17848 rm -f conftest.$ac_objext
17849 if { (ac_try="$ac_compile"
17850 case "(($ac_try" in
17851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17852 *) ac_try_echo=$ac_try;;
17853 esac
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_compile") 2>conftest.er1
17856 ac_status=$?
17857 grep -v '^ *+' conftest.er1 >conftest.err
17858 rm -f conftest.er1
17859 cat conftest.err >&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } && {
17862 test -z "$ac_c_werror_flag" ||
17863 test ! -s conftest.err
17864 } && test -s conftest.$ac_objext; then
17865 ac_cv_member_struct_statfs_f_frsize=yes
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17870 ac_cv_member_struct_statfs_f_frsize=no
17873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17879 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17880 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17882 cat >>confdefs.h <<_ACEOF
17883 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17884 _ACEOF
17888 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17889 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17890 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 else
17893 cat >conftest.$ac_ext <<_ACEOF
17894 /* confdefs.h. */
17895 _ACEOF
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 #include <sys/types.h>
17900 #ifdef HAVE_SYS_PARAM_H
17901 # include <sys/param.h>
17902 #endif
17903 #ifdef HAVE_SYS_MOUNT_H
17904 # include <sys/mount.h>
17905 #endif
17906 #ifdef HAVE_SYS_VFS_H
17907 # include <sys/vfs.h>
17908 #endif
17909 #ifdef HAVE_SYS_STATFS_H
17910 # include <sys/statfs.h>
17911 #endif
17914 main ()
17916 static struct statfs ac_aggr;
17917 if (ac_aggr.f_ffree)
17918 return 0;
17920 return 0;
17922 _ACEOF
17923 rm -f conftest.$ac_objext
17924 if { (ac_try="$ac_compile"
17925 case "(($ac_try" in
17926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17927 *) ac_try_echo=$ac_try;;
17928 esac
17929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17930 (eval "$ac_compile") 2>conftest.er1
17931 ac_status=$?
17932 grep -v '^ *+' conftest.er1 >conftest.err
17933 rm -f conftest.er1
17934 cat conftest.err >&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } && {
17937 test -z "$ac_c_werror_flag" ||
17938 test ! -s conftest.err
17939 } && test -s conftest.$ac_objext; then
17940 ac_cv_member_struct_statfs_f_ffree=yes
17941 else
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.$ac_ext >&5
17945 cat >conftest.$ac_ext <<_ACEOF
17946 /* confdefs.h. */
17947 _ACEOF
17948 cat confdefs.h >>conftest.$ac_ext
17949 cat >>conftest.$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 #include <sys/types.h>
17952 #ifdef HAVE_SYS_PARAM_H
17953 # include <sys/param.h>
17954 #endif
17955 #ifdef HAVE_SYS_MOUNT_H
17956 # include <sys/mount.h>
17957 #endif
17958 #ifdef HAVE_SYS_VFS_H
17959 # include <sys/vfs.h>
17960 #endif
17961 #ifdef HAVE_SYS_STATFS_H
17962 # include <sys/statfs.h>
17963 #endif
17966 main ()
17968 static struct statfs ac_aggr;
17969 if (sizeof ac_aggr.f_ffree)
17970 return 0;
17972 return 0;
17974 _ACEOF
17975 rm -f conftest.$ac_objext
17976 if { (ac_try="$ac_compile"
17977 case "(($ac_try" in
17978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17979 *) ac_try_echo=$ac_try;;
17980 esac
17981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17982 (eval "$ac_compile") 2>conftest.er1
17983 ac_status=$?
17984 grep -v '^ *+' conftest.er1 >conftest.err
17985 rm -f conftest.er1
17986 cat conftest.err >&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); } && {
17989 test -z "$ac_c_werror_flag" ||
17990 test ! -s conftest.err
17991 } && test -s conftest.$ac_objext; then
17992 ac_cv_member_struct_statfs_f_ffree=yes
17993 else
17994 echo "$as_me: failed program was:" >&5
17995 sed 's/^/| /' conftest.$ac_ext >&5
17997 ac_cv_member_struct_statfs_f_ffree=no
18000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18006 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18007 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18009 cat >>confdefs.h <<_ACEOF
18010 #define HAVE_STRUCT_STATFS_F_FFREE 1
18011 _ACEOF
18015 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18016 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18017 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18019 else
18020 cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h. */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026 #include <sys/types.h>
18027 #ifdef HAVE_SYS_PARAM_H
18028 # include <sys/param.h>
18029 #endif
18030 #ifdef HAVE_SYS_MOUNT_H
18031 # include <sys/mount.h>
18032 #endif
18033 #ifdef HAVE_SYS_VFS_H
18034 # include <sys/vfs.h>
18035 #endif
18036 #ifdef HAVE_SYS_STATFS_H
18037 # include <sys/statfs.h>
18038 #endif
18041 main ()
18043 static struct statfs ac_aggr;
18044 if (ac_aggr.f_favail)
18045 return 0;
18047 return 0;
18049 _ACEOF
18050 rm -f conftest.$ac_objext
18051 if { (ac_try="$ac_compile"
18052 case "(($ac_try" in
18053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18054 *) ac_try_echo=$ac_try;;
18055 esac
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_compile") 2>conftest.er1
18058 ac_status=$?
18059 grep -v '^ *+' conftest.er1 >conftest.err
18060 rm -f conftest.er1
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } && {
18064 test -z "$ac_c_werror_flag" ||
18065 test ! -s conftest.err
18066 } && test -s conftest.$ac_objext; then
18067 ac_cv_member_struct_statfs_f_favail=yes
18068 else
18069 echo "$as_me: failed program was:" >&5
18070 sed 's/^/| /' conftest.$ac_ext >&5
18072 cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h. */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #include <sys/types.h>
18079 #ifdef HAVE_SYS_PARAM_H
18080 # include <sys/param.h>
18081 #endif
18082 #ifdef HAVE_SYS_MOUNT_H
18083 # include <sys/mount.h>
18084 #endif
18085 #ifdef HAVE_SYS_VFS_H
18086 # include <sys/vfs.h>
18087 #endif
18088 #ifdef HAVE_SYS_STATFS_H
18089 # include <sys/statfs.h>
18090 #endif
18093 main ()
18095 static struct statfs ac_aggr;
18096 if (sizeof ac_aggr.f_favail)
18097 return 0;
18099 return 0;
18101 _ACEOF
18102 rm -f conftest.$ac_objext
18103 if { (ac_try="$ac_compile"
18104 case "(($ac_try" in
18105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18106 *) ac_try_echo=$ac_try;;
18107 esac
18108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18109 (eval "$ac_compile") 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } && {
18116 test -z "$ac_c_werror_flag" ||
18117 test ! -s conftest.err
18118 } && test -s conftest.$ac_objext; then
18119 ac_cv_member_struct_statfs_f_favail=yes
18120 else
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.$ac_ext >&5
18124 ac_cv_member_struct_statfs_f_favail=no
18127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18132 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18133 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18134 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18136 cat >>confdefs.h <<_ACEOF
18137 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18138 _ACEOF
18142 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18143 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18144 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18145 echo $ECHO_N "(cached) $ECHO_C" >&6
18146 else
18147 cat >conftest.$ac_ext <<_ACEOF
18148 /* confdefs.h. */
18149 _ACEOF
18150 cat confdefs.h >>conftest.$ac_ext
18151 cat >>conftest.$ac_ext <<_ACEOF
18152 /* end confdefs.h. */
18153 #include <sys/types.h>
18154 #ifdef HAVE_SYS_PARAM_H
18155 # include <sys/param.h>
18156 #endif
18157 #ifdef HAVE_SYS_MOUNT_H
18158 # include <sys/mount.h>
18159 #endif
18160 #ifdef HAVE_SYS_VFS_H
18161 # include <sys/vfs.h>
18162 #endif
18163 #ifdef HAVE_SYS_STATFS_H
18164 # include <sys/statfs.h>
18165 #endif
18168 main ()
18170 static struct statfs ac_aggr;
18171 if (ac_aggr.f_namelen)
18172 return 0;
18174 return 0;
18176 _ACEOF
18177 rm -f conftest.$ac_objext
18178 if { (ac_try="$ac_compile"
18179 case "(($ac_try" in
18180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18181 *) ac_try_echo=$ac_try;;
18182 esac
18183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18184 (eval "$ac_compile") 2>conftest.er1
18185 ac_status=$?
18186 grep -v '^ *+' conftest.er1 >conftest.err
18187 rm -f conftest.er1
18188 cat conftest.err >&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); } && {
18191 test -z "$ac_c_werror_flag" ||
18192 test ! -s conftest.err
18193 } && test -s conftest.$ac_objext; then
18194 ac_cv_member_struct_statfs_f_namelen=yes
18195 else
18196 echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.$ac_ext >&5
18199 cat >conftest.$ac_ext <<_ACEOF
18200 /* confdefs.h. */
18201 _ACEOF
18202 cat confdefs.h >>conftest.$ac_ext
18203 cat >>conftest.$ac_ext <<_ACEOF
18204 /* end confdefs.h. */
18205 #include <sys/types.h>
18206 #ifdef HAVE_SYS_PARAM_H
18207 # include <sys/param.h>
18208 #endif
18209 #ifdef HAVE_SYS_MOUNT_H
18210 # include <sys/mount.h>
18211 #endif
18212 #ifdef HAVE_SYS_VFS_H
18213 # include <sys/vfs.h>
18214 #endif
18215 #ifdef HAVE_SYS_STATFS_H
18216 # include <sys/statfs.h>
18217 #endif
18220 main ()
18222 static struct statfs ac_aggr;
18223 if (sizeof ac_aggr.f_namelen)
18224 return 0;
18226 return 0;
18228 _ACEOF
18229 rm -f conftest.$ac_objext
18230 if { (ac_try="$ac_compile"
18231 case "(($ac_try" in
18232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18233 *) ac_try_echo=$ac_try;;
18234 esac
18235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18236 (eval "$ac_compile") 2>conftest.er1
18237 ac_status=$?
18238 grep -v '^ *+' conftest.er1 >conftest.err
18239 rm -f conftest.er1
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } && {
18243 test -z "$ac_c_werror_flag" ||
18244 test ! -s conftest.err
18245 } && test -s conftest.$ac_objext; then
18246 ac_cv_member_struct_statfs_f_namelen=yes
18247 else
18248 echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5
18251 ac_cv_member_struct_statfs_f_namelen=no
18254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18260 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18261 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18265 _ACEOF
18271 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18272 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18273 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18274 echo $ECHO_N "(cached) $ECHO_C" >&6
18275 else
18276 cat >conftest.$ac_ext <<_ACEOF
18277 /* confdefs.h. */
18278 _ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 #ifdef HAVE_SYS_STATVFS_H
18283 #include <sys/statvfs.h>
18284 #endif
18287 main ()
18289 static struct statvfs ac_aggr;
18290 if (ac_aggr.f_blocks)
18291 return 0;
18293 return 0;
18295 _ACEOF
18296 rm -f conftest.$ac_objext
18297 if { (ac_try="$ac_compile"
18298 case "(($ac_try" in
18299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18300 *) ac_try_echo=$ac_try;;
18301 esac
18302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303 (eval "$ac_compile") 2>conftest.er1
18304 ac_status=$?
18305 grep -v '^ *+' conftest.er1 >conftest.err
18306 rm -f conftest.er1
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } && {
18310 test -z "$ac_c_werror_flag" ||
18311 test ! -s conftest.err
18312 } && test -s conftest.$ac_objext; then
18313 ac_cv_member_struct_statvfs_f_blocks=yes
18314 else
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.$ac_ext >&5
18318 cat >conftest.$ac_ext <<_ACEOF
18319 /* confdefs.h. */
18320 _ACEOF
18321 cat confdefs.h >>conftest.$ac_ext
18322 cat >>conftest.$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 #ifdef HAVE_SYS_STATVFS_H
18325 #include <sys/statvfs.h>
18326 #endif
18329 main ()
18331 static struct statvfs ac_aggr;
18332 if (sizeof ac_aggr.f_blocks)
18333 return 0;
18335 return 0;
18337 _ACEOF
18338 rm -f conftest.$ac_objext
18339 if { (ac_try="$ac_compile"
18340 case "(($ac_try" in
18341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18342 *) ac_try_echo=$ac_try;;
18343 esac
18344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18345 (eval "$ac_compile") 2>conftest.er1
18346 ac_status=$?
18347 grep -v '^ *+' conftest.er1 >conftest.err
18348 rm -f conftest.er1
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } && {
18352 test -z "$ac_c_werror_flag" ||
18353 test ! -s conftest.err
18354 } && test -s conftest.$ac_objext; then
18355 ac_cv_member_struct_statvfs_f_blocks=yes
18356 else
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18360 ac_cv_member_struct_statvfs_f_blocks=no
18363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18368 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18369 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18370 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18372 cat >>confdefs.h <<_ACEOF
18373 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18374 _ACEOF
18380 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18381 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18382 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18383 echo $ECHO_N "(cached) $ECHO_C" >&6
18384 else
18385 cat >conftest.$ac_ext <<_ACEOF
18386 /* confdefs.h. */
18387 _ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391 #include <sys/types.h>
18392 #ifdef HAVE_SYS_SOCKET_H
18393 # include <sys/socket.h>
18394 #endif
18395 #ifdef HAVE_SYS_UN_H
18396 # include <sys/un.h>
18397 #endif
18400 main ()
18402 static struct msghdr ac_aggr;
18403 if (ac_aggr.msg_accrights)
18404 return 0;
18406 return 0;
18408 _ACEOF
18409 rm -f conftest.$ac_objext
18410 if { (ac_try="$ac_compile"
18411 case "(($ac_try" in
18412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18413 *) ac_try_echo=$ac_try;;
18414 esac
18415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18416 (eval "$ac_compile") 2>conftest.er1
18417 ac_status=$?
18418 grep -v '^ *+' conftest.er1 >conftest.err
18419 rm -f conftest.er1
18420 cat conftest.err >&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); } && {
18423 test -z "$ac_c_werror_flag" ||
18424 test ! -s conftest.err
18425 } && test -s conftest.$ac_objext; then
18426 ac_cv_member_struct_msghdr_msg_accrights=yes
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18431 cat >conftest.$ac_ext <<_ACEOF
18432 /* confdefs.h. */
18433 _ACEOF
18434 cat confdefs.h >>conftest.$ac_ext
18435 cat >>conftest.$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18437 #include <sys/types.h>
18438 #ifdef HAVE_SYS_SOCKET_H
18439 # include <sys/socket.h>
18440 #endif
18441 #ifdef HAVE_SYS_UN_H
18442 # include <sys/un.h>
18443 #endif
18446 main ()
18448 static struct msghdr ac_aggr;
18449 if (sizeof ac_aggr.msg_accrights)
18450 return 0;
18452 return 0;
18454 _ACEOF
18455 rm -f conftest.$ac_objext
18456 if { (ac_try="$ac_compile"
18457 case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18460 esac
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_compile") 2>conftest.er1
18463 ac_status=$?
18464 grep -v '^ *+' conftest.er1 >conftest.err
18465 rm -f conftest.er1
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && {
18469 test -z "$ac_c_werror_flag" ||
18470 test ! -s conftest.err
18471 } && test -s conftest.$ac_objext; then
18472 ac_cv_member_struct_msghdr_msg_accrights=yes
18473 else
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18477 ac_cv_member_struct_msghdr_msg_accrights=no
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18485 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18486 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18487 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18489 cat >>confdefs.h <<_ACEOF
18490 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18491 _ACEOF
18495 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18496 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18497 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 else
18500 cat >conftest.$ac_ext <<_ACEOF
18501 /* confdefs.h. */
18502 _ACEOF
18503 cat confdefs.h >>conftest.$ac_ext
18504 cat >>conftest.$ac_ext <<_ACEOF
18505 /* end confdefs.h. */
18506 #include <sys/types.h>
18507 #ifdef HAVE_SYS_SOCKET_H
18508 # include <sys/socket.h>
18509 #endif
18510 #ifdef HAVE_SYS_UN_H
18511 # include <sys/un.h>
18512 #endif
18515 main ()
18517 static struct sockaddr ac_aggr;
18518 if (ac_aggr.sa_len)
18519 return 0;
18521 return 0;
18523 _ACEOF
18524 rm -f conftest.$ac_objext
18525 if { (ac_try="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18529 esac
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18532 ac_status=$?
18533 grep -v '^ *+' conftest.er1 >conftest.err
18534 rm -f conftest.er1
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_c_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.$ac_objext; then
18541 ac_cv_member_struct_sockaddr_sa_len=yes
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18546 cat >conftest.$ac_ext <<_ACEOF
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 #include <sys/types.h>
18553 #ifdef HAVE_SYS_SOCKET_H
18554 # include <sys/socket.h>
18555 #endif
18556 #ifdef HAVE_SYS_UN_H
18557 # include <sys/un.h>
18558 #endif
18561 main ()
18563 static struct sockaddr ac_aggr;
18564 if (sizeof ac_aggr.sa_len)
18565 return 0;
18567 return 0;
18569 _ACEOF
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_member_struct_sockaddr_sa_len=yes
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_cv_member_struct_sockaddr_sa_len=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18601 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18602 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18606 _ACEOF
18610 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18611 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18612 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 else
18615 cat >conftest.$ac_ext <<_ACEOF
18616 /* confdefs.h. */
18617 _ACEOF
18618 cat confdefs.h >>conftest.$ac_ext
18619 cat >>conftest.$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18621 #include <sys/types.h>
18622 #ifdef HAVE_SYS_SOCKET_H
18623 # include <sys/socket.h>
18624 #endif
18625 #ifdef HAVE_SYS_UN_H
18626 # include <sys/un.h>
18627 #endif
18630 main ()
18632 static struct sockaddr_un ac_aggr;
18633 if (ac_aggr.sun_len)
18634 return 0;
18636 return 0;
18638 _ACEOF
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18643 *) ac_try_echo=$ac_try;;
18644 esac
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_c_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.$ac_objext; then
18656 ac_cv_member_struct_sockaddr_un_sun_len=yes
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18661 cat >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h. */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667 #include <sys/types.h>
18668 #ifdef HAVE_SYS_SOCKET_H
18669 # include <sys/socket.h>
18670 #endif
18671 #ifdef HAVE_SYS_UN_H
18672 # include <sys/un.h>
18673 #endif
18676 main ()
18678 static struct sockaddr_un ac_aggr;
18679 if (sizeof ac_aggr.sun_len)
18680 return 0;
18682 return 0;
18684 _ACEOF
18685 rm -f conftest.$ac_objext
18686 if { (ac_try="$ac_compile"
18687 case "(($ac_try" in
18688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18689 *) ac_try_echo=$ac_try;;
18690 esac
18691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18692 (eval "$ac_compile") 2>conftest.er1
18693 ac_status=$?
18694 grep -v '^ *+' conftest.er1 >conftest.err
18695 rm -f conftest.er1
18696 cat conftest.err >&5
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); } && {
18699 test -z "$ac_c_werror_flag" ||
18700 test ! -s conftest.err
18701 } && test -s conftest.$ac_objext; then
18702 ac_cv_member_struct_sockaddr_un_sun_len=yes
18703 else
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18707 ac_cv_member_struct_sockaddr_un_sun_len=no
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18716 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18717 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18719 cat >>confdefs.h <<_ACEOF
18720 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18721 _ACEOF
18727 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18728 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18729 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 else
18732 cat >conftest.$ac_ext <<_ACEOF
18733 /* confdefs.h. */
18734 _ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 #include <sys/types.h>
18739 #ifdef HAVE_SCSI_SG_H
18740 #include <scsi/sg.h>
18741 #endif
18744 main ()
18746 static scsireq_t ac_aggr;
18747 if (ac_aggr.cmd)
18748 return 0;
18750 return 0;
18752 _ACEOF
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18757 *) ac_try_echo=$ac_try;;
18758 esac
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760 (eval "$ac_compile") 2>conftest.er1
18761 ac_status=$?
18762 grep -v '^ *+' conftest.er1 >conftest.err
18763 rm -f conftest.er1
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } && {
18767 test -z "$ac_c_werror_flag" ||
18768 test ! -s conftest.err
18769 } && test -s conftest.$ac_objext; then
18770 ac_cv_member_scsireq_t_cmd=yes
18771 else
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18775 cat >conftest.$ac_ext <<_ACEOF
18776 /* confdefs.h. */
18777 _ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 #include <sys/types.h>
18782 #ifdef HAVE_SCSI_SG_H
18783 #include <scsi/sg.h>
18784 #endif
18787 main ()
18789 static scsireq_t ac_aggr;
18790 if (sizeof ac_aggr.cmd)
18791 return 0;
18793 return 0;
18795 _ACEOF
18796 rm -f conftest.$ac_objext
18797 if { (ac_try="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18801 esac
18802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18804 ac_status=$?
18805 grep -v '^ *+' conftest.er1 >conftest.err
18806 rm -f conftest.er1
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 ac_cv_member_scsireq_t_cmd=yes
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 ac_cv_member_scsireq_t_cmd=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18827 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18828 if test $ac_cv_member_scsireq_t_cmd = yes; then
18830 cat >>confdefs.h <<_ACEOF
18831 #define HAVE_SCSIREQ_T_CMD 1
18832 _ACEOF
18836 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18837 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18838 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18840 else
18841 cat >conftest.$ac_ext <<_ACEOF
18842 /* confdefs.h. */
18843 _ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 #include <sys/types.h>
18848 #ifdef HAVE_SCSI_SG_H
18849 #include <scsi/sg.h>
18850 #endif
18853 main ()
18855 static sg_io_hdr_t ac_aggr;
18856 if (ac_aggr.interface_id)
18857 return 0;
18859 return 0;
18861 _ACEOF
18862 rm -f conftest.$ac_objext
18863 if { (ac_try="$ac_compile"
18864 case "(($ac_try" in
18865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18866 *) ac_try_echo=$ac_try;;
18867 esac
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_compile") 2>conftest.er1
18870 ac_status=$?
18871 grep -v '^ *+' conftest.er1 >conftest.err
18872 rm -f conftest.er1
18873 cat conftest.err >&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } && {
18876 test -z "$ac_c_werror_flag" ||
18877 test ! -s conftest.err
18878 } && test -s conftest.$ac_objext; then
18879 ac_cv_member_sg_io_hdr_t_interface_id=yes
18880 else
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18884 cat >conftest.$ac_ext <<_ACEOF
18885 /* confdefs.h. */
18886 _ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #include <sys/types.h>
18891 #ifdef HAVE_SCSI_SG_H
18892 #include <scsi/sg.h>
18893 #endif
18896 main ()
18898 static sg_io_hdr_t ac_aggr;
18899 if (sizeof ac_aggr.interface_id)
18900 return 0;
18902 return 0;
18904 _ACEOF
18905 rm -f conftest.$ac_objext
18906 if { (ac_try="$ac_compile"
18907 case "(($ac_try" in
18908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18909 *) ac_try_echo=$ac_try;;
18910 esac
18911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18912 (eval "$ac_compile") 2>conftest.er1
18913 ac_status=$?
18914 grep -v '^ *+' conftest.er1 >conftest.err
18915 rm -f conftest.er1
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } && {
18919 test -z "$ac_c_werror_flag" ||
18920 test ! -s conftest.err
18921 } && test -s conftest.$ac_objext; then
18922 ac_cv_member_sg_io_hdr_t_interface_id=yes
18923 else
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 ac_cv_member_sg_io_hdr_t_interface_id=no
18930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18935 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18936 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18937 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18939 cat >>confdefs.h <<_ACEOF
18940 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18941 _ACEOF
18947 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18948 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18949 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18950 echo $ECHO_N "(cached) $ECHO_C" >&6
18951 else
18952 cat >conftest.$ac_ext <<_ACEOF
18953 /* confdefs.h. */
18954 _ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 #include <signal.h>
18961 main ()
18963 static siginfo_t ac_aggr;
18964 if (ac_aggr.si_fd)
18965 return 0;
18967 return 0;
18969 _ACEOF
18970 rm -f conftest.$ac_objext
18971 if { (ac_try="$ac_compile"
18972 case "(($ac_try" in
18973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18974 *) ac_try_echo=$ac_try;;
18975 esac
18976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18977 (eval "$ac_compile") 2>conftest.er1
18978 ac_status=$?
18979 grep -v '^ *+' conftest.er1 >conftest.err
18980 rm -f conftest.er1
18981 cat conftest.err >&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); } && {
18984 test -z "$ac_c_werror_flag" ||
18985 test ! -s conftest.err
18986 } && test -s conftest.$ac_objext; then
18987 ac_cv_member_siginfo_t_si_fd=yes
18988 else
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18992 cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 #include <signal.h>
19001 main ()
19003 static siginfo_t ac_aggr;
19004 if (sizeof ac_aggr.si_fd)
19005 return 0;
19007 return 0;
19009 _ACEOF
19010 rm -f conftest.$ac_objext
19011 if { (ac_try="$ac_compile"
19012 case "(($ac_try" in
19013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19015 esac
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compile") 2>conftest.er1
19018 ac_status=$?
19019 grep -v '^ *+' conftest.er1 >conftest.err
19020 rm -f conftest.er1
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } && {
19024 test -z "$ac_c_werror_flag" ||
19025 test ! -s conftest.err
19026 } && test -s conftest.$ac_objext; then
19027 ac_cv_member_siginfo_t_si_fd=yes
19028 else
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 ac_cv_member_siginfo_t_si_fd=no
19035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19041 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19042 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SIGINFO_T_SI_FD 1
19046 _ACEOF
19052 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19053 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19054 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19055 echo $ECHO_N "(cached) $ECHO_C" >&6
19056 else
19057 cat >conftest.$ac_ext <<_ACEOF
19058 /* confdefs.h. */
19059 _ACEOF
19060 cat confdefs.h >>conftest.$ac_ext
19061 cat >>conftest.$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19063 #include <sys/types.h>
19064 #ifdef HAVE_SYS_MTIO_H
19065 #include <sys/mtio.h>
19066 #endif
19069 main ()
19071 static struct mtget ac_aggr;
19072 if (ac_aggr.mt_blksiz)
19073 return 0;
19075 return 0;
19077 _ACEOF
19078 rm -f conftest.$ac_objext
19079 if { (ac_try="$ac_compile"
19080 case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19083 esac
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_compile") 2>conftest.er1
19086 ac_status=$?
19087 grep -v '^ *+' conftest.er1 >conftest.err
19088 rm -f conftest.er1
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } && {
19092 test -z "$ac_c_werror_flag" ||
19093 test ! -s conftest.err
19094 } && test -s conftest.$ac_objext; then
19095 ac_cv_member_struct_mtget_mt_blksiz=yes
19096 else
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 cat >conftest.$ac_ext <<_ACEOF
19101 /* confdefs.h. */
19102 _ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 #include <sys/types.h>
19107 #ifdef HAVE_SYS_MTIO_H
19108 #include <sys/mtio.h>
19109 #endif
19112 main ()
19114 static struct mtget ac_aggr;
19115 if (sizeof ac_aggr.mt_blksiz)
19116 return 0;
19118 return 0;
19120 _ACEOF
19121 rm -f conftest.$ac_objext
19122 if { (ac_try="$ac_compile"
19123 case "(($ac_try" in
19124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19125 *) ac_try_echo=$ac_try;;
19126 esac
19127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19128 (eval "$ac_compile") 2>conftest.er1
19129 ac_status=$?
19130 grep -v '^ *+' conftest.er1 >conftest.err
19131 rm -f conftest.er1
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } && {
19135 test -z "$ac_c_werror_flag" ||
19136 test ! -s conftest.err
19137 } && test -s conftest.$ac_objext; then
19138 ac_cv_member_struct_mtget_mt_blksiz=yes
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19143 ac_cv_member_struct_mtget_mt_blksiz=no
19146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19151 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19152 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19153 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19157 _ACEOF
19161 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19162 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19163 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19165 else
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 #include <sys/types.h>
19173 #ifdef HAVE_SYS_MTIO_H
19174 #include <sys/mtio.h>
19175 #endif
19178 main ()
19180 static struct mtget ac_aggr;
19181 if (ac_aggr.mt_gstat)
19182 return 0;
19184 return 0;
19186 _ACEOF
19187 rm -f conftest.$ac_objext
19188 if { (ac_try="$ac_compile"
19189 case "(($ac_try" in
19190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19191 *) ac_try_echo=$ac_try;;
19192 esac
19193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19194 (eval "$ac_compile") 2>conftest.er1
19195 ac_status=$?
19196 grep -v '^ *+' conftest.er1 >conftest.err
19197 rm -f conftest.er1
19198 cat conftest.err >&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } && {
19201 test -z "$ac_c_werror_flag" ||
19202 test ! -s conftest.err
19203 } && test -s conftest.$ac_objext; then
19204 ac_cv_member_struct_mtget_mt_gstat=yes
19205 else
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.$ac_ext >&5
19209 cat >conftest.$ac_ext <<_ACEOF
19210 /* confdefs.h. */
19211 _ACEOF
19212 cat confdefs.h >>conftest.$ac_ext
19213 cat >>conftest.$ac_ext <<_ACEOF
19214 /* end confdefs.h. */
19215 #include <sys/types.h>
19216 #ifdef HAVE_SYS_MTIO_H
19217 #include <sys/mtio.h>
19218 #endif
19221 main ()
19223 static struct mtget ac_aggr;
19224 if (sizeof ac_aggr.mt_gstat)
19225 return 0;
19227 return 0;
19229 _ACEOF
19230 rm -f conftest.$ac_objext
19231 if { (ac_try="$ac_compile"
19232 case "(($ac_try" in
19233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19234 *) ac_try_echo=$ac_try;;
19235 esac
19236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19237 (eval "$ac_compile") 2>conftest.er1
19238 ac_status=$?
19239 grep -v '^ *+' conftest.er1 >conftest.err
19240 rm -f conftest.er1
19241 cat conftest.err >&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); } && {
19244 test -z "$ac_c_werror_flag" ||
19245 test ! -s conftest.err
19246 } && test -s conftest.$ac_objext; then
19247 ac_cv_member_struct_mtget_mt_gstat=yes
19248 else
19249 echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.$ac_ext >&5
19252 ac_cv_member_struct_mtget_mt_gstat=no
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19261 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19262 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19264 cat >>confdefs.h <<_ACEOF
19265 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19266 _ACEOF
19270 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19271 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19272 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19274 else
19275 cat >conftest.$ac_ext <<_ACEOF
19276 /* confdefs.h. */
19277 _ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19281 #include <sys/types.h>
19282 #ifdef HAVE_SYS_MTIO_H
19283 #include <sys/mtio.h>
19284 #endif
19287 main ()
19289 static struct mtget ac_aggr;
19290 if (ac_aggr.mt_blkno)
19291 return 0;
19293 return 0;
19295 _ACEOF
19296 rm -f conftest.$ac_objext
19297 if { (ac_try="$ac_compile"
19298 case "(($ac_try" in
19299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19300 *) ac_try_echo=$ac_try;;
19301 esac
19302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19303 (eval "$ac_compile") 2>conftest.er1
19304 ac_status=$?
19305 grep -v '^ *+' conftest.er1 >conftest.err
19306 rm -f conftest.er1
19307 cat conftest.err >&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } && {
19310 test -z "$ac_c_werror_flag" ||
19311 test ! -s conftest.err
19312 } && test -s conftest.$ac_objext; then
19313 ac_cv_member_struct_mtget_mt_blkno=yes
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19318 cat >conftest.$ac_ext <<_ACEOF
19319 /* confdefs.h. */
19320 _ACEOF
19321 cat confdefs.h >>conftest.$ac_ext
19322 cat >>conftest.$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19324 #include <sys/types.h>
19325 #ifdef HAVE_SYS_MTIO_H
19326 #include <sys/mtio.h>
19327 #endif
19330 main ()
19332 static struct mtget ac_aggr;
19333 if (sizeof ac_aggr.mt_blkno)
19334 return 0;
19336 return 0;
19338 _ACEOF
19339 rm -f conftest.$ac_objext
19340 if { (ac_try="$ac_compile"
19341 case "(($ac_try" in
19342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19343 *) ac_try_echo=$ac_try;;
19344 esac
19345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19346 (eval "$ac_compile") 2>conftest.er1
19347 ac_status=$?
19348 grep -v '^ *+' conftest.er1 >conftest.err
19349 rm -f conftest.er1
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } && {
19353 test -z "$ac_c_werror_flag" ||
19354 test ! -s conftest.err
19355 } && test -s conftest.$ac_objext; then
19356 ac_cv_member_struct_mtget_mt_blkno=yes
19357 else
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19361 ac_cv_member_struct_mtget_mt_blkno=no
19364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19370 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19371 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19373 cat >>confdefs.h <<_ACEOF
19374 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19375 _ACEOF
19381 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19382 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19383 if test "${ac_cv_member_struct_option_name+set}" = set; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19385 else
19386 cat >conftest.$ac_ext <<_ACEOF
19387 /* confdefs.h. */
19388 _ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h. */
19392 #ifdef HAVE_GETOPT_H
19393 #include <getopt.h>
19394 #endif
19397 main ()
19399 static struct option ac_aggr;
19400 if (ac_aggr.name)
19401 return 0;
19403 return 0;
19405 _ACEOF
19406 rm -f conftest.$ac_objext
19407 if { (ac_try="$ac_compile"
19408 case "(($ac_try" in
19409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19410 *) ac_try_echo=$ac_try;;
19411 esac
19412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19413 (eval "$ac_compile") 2>conftest.er1
19414 ac_status=$?
19415 grep -v '^ *+' conftest.er1 >conftest.err
19416 rm -f conftest.er1
19417 cat conftest.err >&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } && {
19420 test -z "$ac_c_werror_flag" ||
19421 test ! -s conftest.err
19422 } && test -s conftest.$ac_objext; then
19423 ac_cv_member_struct_option_name=yes
19424 else
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 cat >conftest.$ac_ext <<_ACEOF
19429 /* confdefs.h. */
19430 _ACEOF
19431 cat confdefs.h >>conftest.$ac_ext
19432 cat >>conftest.$ac_ext <<_ACEOF
19433 /* end confdefs.h. */
19434 #ifdef HAVE_GETOPT_H
19435 #include <getopt.h>
19436 #endif
19439 main ()
19441 static struct option ac_aggr;
19442 if (sizeof ac_aggr.name)
19443 return 0;
19445 return 0;
19447 _ACEOF
19448 rm -f conftest.$ac_objext
19449 if { (ac_try="$ac_compile"
19450 case "(($ac_try" in
19451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19452 *) ac_try_echo=$ac_try;;
19453 esac
19454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19455 (eval "$ac_compile") 2>conftest.er1
19456 ac_status=$?
19457 grep -v '^ *+' conftest.er1 >conftest.err
19458 rm -f conftest.er1
19459 cat conftest.err >&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } && {
19462 test -z "$ac_c_werror_flag" ||
19463 test ! -s conftest.err
19464 } && test -s conftest.$ac_objext; then
19465 ac_cv_member_struct_option_name=yes
19466 else
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19470 ac_cv_member_struct_option_name=no
19473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19479 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19480 if test $ac_cv_member_struct_option_name = yes; then
19482 cat >>confdefs.h <<_ACEOF
19483 #define HAVE_STRUCT_OPTION_NAME 1
19484 _ACEOF
19490 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19491 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19492 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19494 else
19495 cat >conftest.$ac_ext <<_ACEOF
19496 /* confdefs.h. */
19497 _ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501 $ac_includes_default
19503 main ()
19505 static struct stat ac_aggr;
19506 if (ac_aggr.st_blocks)
19507 return 0;
19509 return 0;
19511 _ACEOF
19512 rm -f conftest.$ac_objext
19513 if { (ac_try="$ac_compile"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19517 esac
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_compile") 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_c_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest.$ac_objext; then
19529 ac_cv_member_struct_stat_st_blocks=yes
19530 else
19531 echo "$as_me: failed program was:" >&5
19532 sed 's/^/| /' conftest.$ac_ext >&5
19534 cat >conftest.$ac_ext <<_ACEOF
19535 /* confdefs.h. */
19536 _ACEOF
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19542 main ()
19544 static struct stat ac_aggr;
19545 if (sizeof ac_aggr.st_blocks)
19546 return 0;
19548 return 0;
19550 _ACEOF
19551 rm -f conftest.$ac_objext
19552 if { (ac_try="$ac_compile"
19553 case "(($ac_try" in
19554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19555 *) ac_try_echo=$ac_try;;
19556 esac
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_compile") 2>conftest.er1
19559 ac_status=$?
19560 grep -v '^ *+' conftest.er1 >conftest.err
19561 rm -f conftest.er1
19562 cat conftest.err >&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } && {
19565 test -z "$ac_c_werror_flag" ||
19566 test ! -s conftest.err
19567 } && test -s conftest.$ac_objext; then
19568 ac_cv_member_struct_stat_st_blocks=yes
19569 else
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19573 ac_cv_member_struct_stat_st_blocks=no
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19582 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19583 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19585 cat >>confdefs.h <<_ACEOF
19586 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19587 _ACEOF
19593 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19594 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19595 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19596 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 else
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 #ifdef HAVE_SYS_TYPES_H
19605 #include <sys/types.h>
19606 #endif
19607 #ifdef HAVE_NETINET_IN_H
19608 #include <netinet/in.h>
19609 #endif
19612 main ()
19614 static struct sockaddr_in6 ac_aggr;
19615 if (ac_aggr.sin6_scope_id)
19616 return 0;
19618 return 0;
19620 _ACEOF
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19626 esac
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19638 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 #ifdef HAVE_SYS_TYPES_H
19650 #include <sys/types.h>
19651 #endif
19652 #ifdef HAVE_NETINET_IN_H
19653 #include <netinet/in.h>
19654 #endif
19657 main ()
19659 static struct sockaddr_in6 ac_aggr;
19660 if (sizeof ac_aggr.sin6_scope_id)
19661 return 0;
19663 return 0;
19665 _ACEOF
19666 rm -f conftest.$ac_objext
19667 if { (ac_try="$ac_compile"
19668 case "(($ac_try" in
19669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19670 *) ac_try_echo=$ac_try;;
19671 esac
19672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19673 (eval "$ac_compile") 2>conftest.er1
19674 ac_status=$?
19675 grep -v '^ *+' conftest.er1 >conftest.err
19676 rm -f conftest.er1
19677 cat conftest.err >&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); } && {
19680 test -z "$ac_c_werror_flag" ||
19681 test ! -s conftest.err
19682 } && test -s conftest.$ac_objext; then
19683 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19684 else
19685 echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19688 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19696 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19697 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19698 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19700 cat >>confdefs.h <<_ACEOF
19701 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19702 _ACEOF
19708 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19709 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19710 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19712 else
19713 cat >conftest.$ac_ext <<_ACEOF
19714 /* confdefs.h. */
19715 _ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 #ifdef HAVE_SYS_TYPES_H
19720 #include <sys/types.h>
19721 #endif
19722 #ifdef HAVE_NETINET_IN_H
19723 # include <netinet/in.h>
19724 #endif
19725 #ifdef HAVE_ARPA_NAMESER_H
19726 # include <arpa/nameser.h>
19727 #endif
19730 main ()
19732 static ns_msg ac_aggr;
19733 if (ac_aggr._msg_ptr)
19734 return 0;
19736 return 0;
19738 _ACEOF
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19744 esac
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19747 ac_status=$?
19748 grep -v '^ *+' conftest.er1 >conftest.err
19749 rm -f conftest.er1
19750 cat conftest.err >&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 ac_cv_member_ns_msg__msg_ptr=yes
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #ifdef HAVE_SYS_TYPES_H
19768 #include <sys/types.h>
19769 #endif
19770 #ifdef HAVE_NETINET_IN_H
19771 # include <netinet/in.h>
19772 #endif
19773 #ifdef HAVE_ARPA_NAMESER_H
19774 # include <arpa/nameser.h>
19775 #endif
19778 main ()
19780 static ns_msg ac_aggr;
19781 if (sizeof ac_aggr._msg_ptr)
19782 return 0;
19784 return 0;
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_cv_member_ns_msg__msg_ptr=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 ac_cv_member_ns_msg__msg_ptr=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19818 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19819 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19821 cat >>confdefs.h <<_ACEOF
19822 #define HAVE_NS_MSG__MSG_PTR 1
19823 _ACEOF
19829 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19830 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19831 if test "${ac_cv_have_timezone+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 else
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 #include <time.h>
19842 main ()
19844 timezone = 1
19846 return 0;
19848 _ACEOF
19849 rm -f conftest.$ac_objext conftest$ac_exeext
19850 if { (ac_try="$ac_link"
19851 case "(($ac_try" in
19852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19853 *) ac_try_echo=$ac_try;;
19854 esac
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_link") 2>conftest.er1
19857 ac_status=$?
19858 grep -v '^ *+' conftest.er1 >conftest.err
19859 rm -f conftest.er1
19860 cat conftest.err >&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && {
19863 test -z "$ac_c_werror_flag" ||
19864 test ! -s conftest.err
19865 } && test -s conftest$ac_exeext &&
19866 $as_test_x conftest$ac_exeext; then
19867 ac_cv_have_timezone="yes"
19868 else
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.$ac_ext >&5
19872 ac_cv_have_timezone="no"
19875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19876 conftest$ac_exeext conftest.$ac_ext
19878 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19879 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19880 if test "$ac_cv_have_timezone" = "yes"
19881 then
19883 cat >>confdefs.h <<\_ACEOF
19884 #define HAVE_TIMEZONE 1
19885 _ACEOF
19888 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19889 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19890 if test "${ac_cv_have_daylight+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 else
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 #include <time.h>
19901 main ()
19903 daylight = 1
19905 return 0;
19907 _ACEOF
19908 rm -f conftest.$ac_objext conftest$ac_exeext
19909 if { (ac_try="$ac_link"
19910 case "(($ac_try" in
19911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19913 esac
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_link") 2>conftest.er1
19916 ac_status=$?
19917 grep -v '^ *+' conftest.er1 >conftest.err
19918 rm -f conftest.er1
19919 cat conftest.err >&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } && {
19922 test -z "$ac_c_werror_flag" ||
19923 test ! -s conftest.err
19924 } && test -s conftest$ac_exeext &&
19925 $as_test_x conftest$ac_exeext; then
19926 ac_cv_have_daylight="yes"
19927 else
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.$ac_ext >&5
19931 ac_cv_have_daylight="no"
19934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19935 conftest$ac_exeext conftest.$ac_ext
19937 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19938 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19939 if test "$ac_cv_have_daylight" = "yes"
19940 then
19942 cat >>confdefs.h <<\_ACEOF
19943 #define HAVE_DAYLIGHT 1
19944 _ACEOF
19949 case $host_cpu in
19950 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19951 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19952 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 else
19955 cat >conftest.$ac_ext <<_ACEOF
19956 /* confdefs.h. */
19957 _ACEOF
19958 cat confdefs.h >>conftest.$ac_ext
19959 cat >>conftest.$ac_ext <<_ACEOF
19960 /* end confdefs.h. */
19961 #ifndef __i386__
19963 #endif
19964 _ACEOF
19965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19966 $EGREP "yes" >/dev/null 2>&1; then
19967 ac_cv_cpp_def___i386__=yes
19968 else
19969 ac_cv_cpp_def___i386__=no
19971 rm -f conftest*
19974 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19975 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19976 if test $ac_cv_cpp_def___i386__ = yes; then
19977 CFLAGS="$CFLAGS -D__i386__"
19978 LINTFLAGS="$LINTFLAGS -D__i386__"
19981 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19982 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19983 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 else
19986 cat >conftest.$ac_ext <<_ACEOF
19987 /* confdefs.h. */
19988 _ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 #ifndef __x86_64__
19994 #endif
19995 _ACEOF
19996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19997 $EGREP "yes" >/dev/null 2>&1; then
19998 ac_cv_cpp_def___x86_64__=yes
19999 else
20000 ac_cv_cpp_def___x86_64__=no
20002 rm -f conftest*
20005 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20006 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20007 if test $ac_cv_cpp_def___x86_64__ = yes; then
20008 CFLAGS="$CFLAGS -D__x86_64__"
20009 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20012 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20013 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20014 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 else
20017 cat >conftest.$ac_ext <<_ACEOF
20018 /* confdefs.h. */
20019 _ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 #ifndef __ALPHA__
20025 #endif
20026 _ACEOF
20027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20028 $EGREP "yes" >/dev/null 2>&1; then
20029 ac_cv_cpp_def___ALPHA__=yes
20030 else
20031 ac_cv_cpp_def___ALPHA__=no
20033 rm -f conftest*
20036 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20037 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20038 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20039 CFLAGS="$CFLAGS -D__ALPHA__"
20040 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20043 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20044 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20045 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20047 else
20048 cat >conftest.$ac_ext <<_ACEOF
20049 /* confdefs.h. */
20050 _ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20054 #ifndef __sparc__
20056 #endif
20057 _ACEOF
20058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20059 $EGREP "yes" >/dev/null 2>&1; then
20060 ac_cv_cpp_def___sparc__=yes
20061 else
20062 ac_cv_cpp_def___sparc__=no
20064 rm -f conftest*
20067 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20068 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20069 if test $ac_cv_cpp_def___sparc__ = yes; then
20070 CFLAGS="$CFLAGS -D__sparc__"
20071 LINTFLAGS="$LINTFLAGS -D__sparc__"
20074 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20075 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20076 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 else
20079 cat >conftest.$ac_ext <<_ACEOF
20080 /* confdefs.h. */
20081 _ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #ifndef __powerpc__
20087 #endif
20088 _ACEOF
20089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20090 $EGREP "yes" >/dev/null 2>&1; then
20091 ac_cv_cpp_def___powerpc__=yes
20092 else
20093 ac_cv_cpp_def___powerpc__=no
20095 rm -f conftest*
20098 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20099 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20100 if test $ac_cv_cpp_def___powerpc__ = yes; then
20101 CFLAGS="$CFLAGS -D__powerpc__"
20102 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20105 esac
20107 case $host_vendor in
20108 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20109 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20110 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h. */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 #ifndef __sun__
20121 #endif
20122 _ACEOF
20123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20124 $EGREP "yes" >/dev/null 2>&1; then
20125 ac_cv_cpp_def___sun__=yes
20126 else
20127 ac_cv_cpp_def___sun__=no
20129 rm -f conftest*
20132 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20133 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20134 if test $ac_cv_cpp_def___sun__ = yes; then
20135 CFLAGS="$CFLAGS -D__sun__"
20136 LINTFLAGS="$LINTFLAGS -D__sun__"
20139 esac
20142 DEPENDENCIES="### Dependencies:
20144 .INIT: Makefile
20145 .BEGIN: Makefile
20146 Makefile: dummy
20147 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20149 \$(OBJS): \$(IDL_GEN_HEADERS)
20150 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20151 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20152 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20158 ac_config_commands="$ac_config_commands include/stamp-h"
20161 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20163 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20165 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20167 ac_config_commands="$ac_config_commands dlls/user32/resources"
20169 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20171 ac_config_commands="$ac_config_commands include/wine"
20174 MAKE_RULES=Make.rules
20177 MAKE_DLL_RULES=dlls/Makedll.rules
20180 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20183 MAKE_TEST_RULES=dlls/Maketest.rules
20186 MAKE_PROG_RULES=programs/Makeprog.rules
20189 ac_config_files="$ac_config_files Make.rules"
20191 ac_config_files="$ac_config_files dlls/Makedll.rules"
20193 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20195 ac_config_files="$ac_config_files dlls/Maketest.rules"
20197 ac_config_files="$ac_config_files programs/Makeprog.rules"
20199 ac_config_files="$ac_config_files Makefile"
20201 ac_config_files="$ac_config_files dlls/Makefile"
20203 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20205 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20207 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20209 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20211 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20213 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20215 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20217 ac_config_files="$ac_config_files dlls/atl/Makefile"
20219 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20221 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20223 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20225 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20227 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20229 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20231 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20233 ac_config_files="$ac_config_files dlls/cards/Makefile"
20235 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20237 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20239 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20241 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20243 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20245 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20247 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20249 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20251 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20253 ac_config_files="$ac_config_files dlls/credui/Makefile"
20255 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20257 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20259 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20261 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20263 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20265 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20267 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20269 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20271 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20273 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20275 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20277 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20279 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20281 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20283 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20285 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20287 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20289 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20291 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20293 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20295 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20297 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20299 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20301 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20303 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20305 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20307 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20309 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20311 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20313 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20315 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20317 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20319 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20321 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20323 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20325 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20327 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20329 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20331 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20333 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20335 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20337 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20339 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20341 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20343 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20345 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20347 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20349 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20351 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20353 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20355 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20357 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20359 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20361 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20363 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20365 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20367 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20369 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20371 ac_config_files="$ac_config_files dlls/hal/Makefile"
20373 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20375 ac_config_files="$ac_config_files dlls/hid/Makefile"
20377 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20379 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20381 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20383 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20385 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20387 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20389 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20391 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20393 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20395 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20397 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20401 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20403 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20405 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20407 ac_config_files="$ac_config_files dlls/itss/Makefile"
20409 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20411 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20413 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20415 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20417 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20419 ac_config_files="$ac_config_files dlls/localui/Makefile"
20421 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20423 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20425 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20427 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20429 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20431 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20433 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20435 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20437 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20439 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20441 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20443 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20445 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20447 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20449 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20451 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20453 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20455 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20457 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20459 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20461 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20463 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20467 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20469 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20471 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20473 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20475 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20477 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20479 ac_config_files="$ac_config_files dlls/msi/Makefile"
20481 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20483 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20485 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20487 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20489 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20491 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20493 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20497 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20499 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20501 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20505 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20507 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20509 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20511 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20513 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20515 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20517 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20519 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20521 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20523 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20525 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20527 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20529 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20531 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20533 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20535 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20537 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20539 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20543 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20547 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20549 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20551 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20553 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20555 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20557 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20559 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20561 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20563 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20567 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20569 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20571 ac_config_files="$ac_config_files dlls/printui/Makefile"
20573 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20575 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20579 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20581 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20583 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20585 ac_config_files="$ac_config_files dlls/query/Makefile"
20587 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20589 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20591 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20593 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20597 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20599 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20601 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20603 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20605 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20607 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20611 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20613 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20617 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/security/Makefile"
20621 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20623 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20625 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20627 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20629 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20631 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20633 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20635 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20637 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20639 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20641 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20643 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20645 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20647 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20649 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20653 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20655 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20657 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20659 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20661 ac_config_files="$ac_config_files dlls/sti/Makefile"
20663 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20665 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20667 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20669 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20671 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20673 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20675 ac_config_files="$ac_config_files dlls/url/Makefile"
20677 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20679 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20681 ac_config_files="$ac_config_files dlls/user32/Makefile"
20683 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20685 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20687 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20689 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20693 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20695 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20697 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20699 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20701 ac_config_files="$ac_config_files dlls/version/Makefile"
20703 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20707 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20709 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20711 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20713 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20715 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20717 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20719 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20721 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20723 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20725 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20727 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20729 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20731 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20733 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20735 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20737 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20739 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20741 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20743 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20745 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20747 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20749 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20751 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20753 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20757 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20761 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20763 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20765 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20767 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20769 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20771 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20773 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20775 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20777 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20779 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20781 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20783 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20785 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20787 ac_config_files="$ac_config_files documentation/Makefile"
20789 ac_config_files="$ac_config_files fonts/Makefile"
20791 ac_config_files="$ac_config_files include/Makefile"
20793 ac_config_files="$ac_config_files libs/Makefile"
20795 ac_config_files="$ac_config_files libs/port/Makefile"
20797 ac_config_files="$ac_config_files libs/wine/Makefile"
20799 ac_config_files="$ac_config_files libs/wpp/Makefile"
20801 ac_config_files="$ac_config_files loader/Makefile"
20803 ac_config_files="$ac_config_files programs/Makefile"
20805 ac_config_files="$ac_config_files programs/clock/Makefile"
20807 ac_config_files="$ac_config_files programs/cmd/Makefile"
20809 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20811 ac_config_files="$ac_config_files programs/control/Makefile"
20813 ac_config_files="$ac_config_files programs/eject/Makefile"
20815 ac_config_files="$ac_config_files programs/expand/Makefile"
20817 ac_config_files="$ac_config_files programs/explorer/Makefile"
20819 ac_config_files="$ac_config_files programs/hh/Makefile"
20821 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20823 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20825 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20827 ac_config_files="$ac_config_files programs/net/Makefile"
20829 ac_config_files="$ac_config_files programs/notepad/Makefile"
20831 ac_config_files="$ac_config_files programs/oleview/Makefile"
20833 ac_config_files="$ac_config_files programs/progman/Makefile"
20835 ac_config_files="$ac_config_files programs/regedit/Makefile"
20837 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20839 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20841 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20843 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20845 ac_config_files="$ac_config_files programs/start/Makefile"
20847 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20849 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20851 ac_config_files="$ac_config_files programs/view/Makefile"
20853 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20855 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20857 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20859 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20861 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20863 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20865 ac_config_files="$ac_config_files programs/winefile/Makefile"
20867 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20869 ac_config_files="$ac_config_files programs/winemine/Makefile"
20871 ac_config_files="$ac_config_files programs/winepath/Makefile"
20873 ac_config_files="$ac_config_files programs/winetest/Makefile"
20875 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20877 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20879 ac_config_files="$ac_config_files programs/winver/Makefile"
20881 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20883 ac_config_files="$ac_config_files programs/write/Makefile"
20885 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20887 ac_config_files="$ac_config_files server/Makefile"
20889 ac_config_files="$ac_config_files tools/Makefile"
20891 ac_config_files="$ac_config_files tools/widl/Makefile"
20893 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20895 ac_config_files="$ac_config_files tools/winedump/Makefile"
20897 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20899 ac_config_files="$ac_config_files tools/wmc/Makefile"
20901 ac_config_files="$ac_config_files tools/wrc/Makefile"
20904 cat >confcache <<\_ACEOF
20905 # This file is a shell script that caches the results of configure
20906 # tests run on this system so they can be shared between configure
20907 # scripts and configure runs, see configure's option --config-cache.
20908 # It is not useful on other systems. If it contains results you don't
20909 # want to keep, you may remove or edit it.
20911 # config.status only pays attention to the cache file if you give it
20912 # the --recheck option to rerun configure.
20914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20916 # following values.
20918 _ACEOF
20920 # The following way of writing the cache mishandles newlines in values,
20921 # but we know of no workaround that is simple, portable, and efficient.
20922 # So, we kill variables containing newlines.
20923 # Ultrix sh set writes to stderr and can't be redirected directly,
20924 # and sets the high bit in the cache file unless we assign to the vars.
20926 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20927 eval ac_val=\$$ac_var
20928 case $ac_val in #(
20929 *${as_nl}*)
20930 case $ac_var in #(
20931 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20932 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20933 esac
20934 case $ac_var in #(
20935 _ | IFS | as_nl) ;; #(
20936 *) $as_unset $ac_var ;;
20937 esac ;;
20938 esac
20939 done
20941 (set) 2>&1 |
20942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20943 *${as_nl}ac_space=\ *)
20944 # `set' does not quote correctly, so add quotes (double-quote
20945 # substitution turns \\\\ into \\, and sed turns \\ into \).
20946 sed -n \
20947 "s/'/'\\\\''/g;
20948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20949 ;; #(
20951 # `set' quotes correctly as required by POSIX, so do not add quotes.
20952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20954 esac |
20955 sort
20957 sed '
20958 /^ac_cv_env_/b end
20959 t clear
20960 :clear
20961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20962 t end
20963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20964 :end' >>confcache
20965 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20966 if test -w "$cache_file"; then
20967 test "x$cache_file" != "x/dev/null" &&
20968 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20969 echo "$as_me: updating cache $cache_file" >&6;}
20970 cat confcache >$cache_file
20971 else
20972 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20973 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20976 rm -f confcache
20978 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20979 # Let make expand exec_prefix.
20980 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20982 DEFS=-DHAVE_CONFIG_H
20984 ac_libobjs=
20985 ac_ltlibobjs=
20986 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20987 # 1. Remove the extension, and $U if already installed.
20988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20989 ac_i=`echo "$ac_i" | sed "$ac_script"`
20990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20991 # will be set to the directory where LIBOBJS objects are built.
20992 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20993 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20994 done
20995 LIBOBJS=$ac_libobjs
20997 LTLIBOBJS=$ac_ltlibobjs
21001 : ${CONFIG_STATUS=./config.status}
21002 ac_clean_files_save=$ac_clean_files
21003 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21004 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21005 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21006 cat >$CONFIG_STATUS <<_ACEOF
21007 #! $SHELL
21008 # Generated by $as_me.
21009 # Run this file to recreate the current configuration.
21010 # Compiler output produced by configure, useful for debugging
21011 # configure, is in config.log if it exists.
21013 debug=false
21014 ac_cs_recheck=false
21015 ac_cs_silent=false
21016 SHELL=\${CONFIG_SHELL-$SHELL}
21017 _ACEOF
21019 cat >>$CONFIG_STATUS <<\_ACEOF
21020 ## --------------------- ##
21021 ## M4sh Initialization. ##
21022 ## --------------------- ##
21024 # Be more Bourne compatible
21025 DUALCASE=1; export DUALCASE # for MKS sh
21026 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21027 emulate sh
21028 NULLCMD=:
21029 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21030 # is contrary to our usage. Disable this feature.
21031 alias -g '${1+"$@"}'='"$@"'
21032 setopt NO_GLOB_SUBST
21033 else
21034 case `(set -o) 2>/dev/null` in
21035 *posix*) set -o posix ;;
21036 esac
21043 # PATH needs CR
21044 # Avoid depending upon Character Ranges.
21045 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21046 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21047 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21048 as_cr_digits='0123456789'
21049 as_cr_alnum=$as_cr_Letters$as_cr_digits
21051 # The user is always right.
21052 if test "${PATH_SEPARATOR+set}" != set; then
21053 echo "#! /bin/sh" >conf$$.sh
21054 echo "exit 0" >>conf$$.sh
21055 chmod +x conf$$.sh
21056 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21057 PATH_SEPARATOR=';'
21058 else
21059 PATH_SEPARATOR=:
21061 rm -f conf$$.sh
21064 # Support unset when possible.
21065 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21066 as_unset=unset
21067 else
21068 as_unset=false
21072 # IFS
21073 # We need space, tab and new line, in precisely that order. Quoting is
21074 # there to prevent editors from complaining about space-tab.
21075 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21076 # splitting by setting IFS to empty value.)
21077 as_nl='
21079 IFS=" "" $as_nl"
21081 # Find who we are. Look in the path if we contain no directory separator.
21082 case $0 in
21083 *[\\/]* ) as_myself=$0 ;;
21084 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21085 for as_dir in $PATH
21087 IFS=$as_save_IFS
21088 test -z "$as_dir" && as_dir=.
21089 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21090 done
21091 IFS=$as_save_IFS
21094 esac
21095 # We did not find ourselves, most probably we were run as `sh COMMAND'
21096 # in which case we are not to be found in the path.
21097 if test "x$as_myself" = x; then
21098 as_myself=$0
21100 if test ! -f "$as_myself"; then
21101 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21102 { (exit 1); exit 1; }
21105 # Work around bugs in pre-3.0 UWIN ksh.
21106 for as_var in ENV MAIL MAILPATH
21107 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21108 done
21109 PS1='$ '
21110 PS2='> '
21111 PS4='+ '
21113 # NLS nuisances.
21114 for as_var in \
21115 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21116 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21117 LC_TELEPHONE LC_TIME
21119 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21120 eval $as_var=C; export $as_var
21121 else
21122 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21124 done
21126 # Required to use basename.
21127 if expr a : '\(a\)' >/dev/null 2>&1 &&
21128 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21129 as_expr=expr
21130 else
21131 as_expr=false
21134 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21135 as_basename=basename
21136 else
21137 as_basename=false
21141 # Name of the executable.
21142 as_me=`$as_basename -- "$0" ||
21143 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21144 X"$0" : 'X\(//\)$' \| \
21145 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21146 echo X/"$0" |
21147 sed '/^.*\/\([^/][^/]*\)\/*$/{
21148 s//\1/
21151 /^X\/\(\/\/\)$/{
21152 s//\1/
21155 /^X\/\(\/\).*/{
21156 s//\1/
21159 s/.*/./; q'`
21161 # CDPATH.
21162 $as_unset CDPATH
21166 as_lineno_1=$LINENO
21167 as_lineno_2=$LINENO
21168 test "x$as_lineno_1" != "x$as_lineno_2" &&
21169 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21171 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21172 # uniformly replaced by the line number. The first 'sed' inserts a
21173 # line-number line after each line using $LINENO; the second 'sed'
21174 # does the real work. The second script uses 'N' to pair each
21175 # line-number line with the line containing $LINENO, and appends
21176 # trailing '-' during substitution so that $LINENO is not a special
21177 # case at line end.
21178 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21179 # scripts with optimization help from Paolo Bonzini. Blame Lee
21180 # E. McMahon (1931-1989) for sed's syntax. :-)
21181 sed -n '
21183 /[$]LINENO/=
21184 ' <$as_myself |
21185 sed '
21186 s/[$]LINENO.*/&-/
21187 t lineno
21189 :lineno
21191 :loop
21192 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21193 t loop
21194 s/-\n.*//
21195 ' >$as_me.lineno &&
21196 chmod +x "$as_me.lineno" ||
21197 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21198 { (exit 1); exit 1; }; }
21200 # Don't try to exec as it changes $[0], causing all sort of problems
21201 # (the dirname of $[0] is not the place where we might find the
21202 # original and so on. Autoconf is especially sensitive to this).
21203 . "./$as_me.lineno"
21204 # Exit status is that of the last command.
21205 exit
21209 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21210 as_dirname=dirname
21211 else
21212 as_dirname=false
21215 ECHO_C= ECHO_N= ECHO_T=
21216 case `echo -n x` in
21217 -n*)
21218 case `echo 'x\c'` in
21219 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21220 *) ECHO_C='\c';;
21221 esac;;
21223 ECHO_N='-n';;
21224 esac
21226 if expr a : '\(a\)' >/dev/null 2>&1 &&
21227 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21228 as_expr=expr
21229 else
21230 as_expr=false
21233 rm -f conf$$ conf$$.exe conf$$.file
21234 if test -d conf$$.dir; then
21235 rm -f conf$$.dir/conf$$.file
21236 else
21237 rm -f conf$$.dir
21238 mkdir conf$$.dir
21240 echo >conf$$.file
21241 if ln -s conf$$.file conf$$ 2>/dev/null; then
21242 as_ln_s='ln -s'
21243 # ... but there are two gotchas:
21244 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21245 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21246 # In both cases, we have to default to `cp -p'.
21247 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21248 as_ln_s='cp -p'
21249 elif ln conf$$.file conf$$ 2>/dev/null; then
21250 as_ln_s=ln
21251 else
21252 as_ln_s='cp -p'
21254 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21255 rmdir conf$$.dir 2>/dev/null
21257 if mkdir -p . 2>/dev/null; then
21258 as_mkdir_p=:
21259 else
21260 test -d ./-p && rmdir ./-p
21261 as_mkdir_p=false
21264 if test -x / >/dev/null 2>&1; then
21265 as_test_x='test -x'
21266 else
21267 if ls -dL / >/dev/null 2>&1; then
21268 as_ls_L_option=L
21269 else
21270 as_ls_L_option=
21272 as_test_x='
21273 eval sh -c '\''
21274 if test -d "$1"; then
21275 test -d "$1/.";
21276 else
21277 case $1 in
21278 -*)set "./$1";;
21279 esac;
21280 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21281 ???[sx]*):;;*)false;;esac;fi
21282 '\'' sh
21285 as_executable_p=$as_test_x
21287 # Sed expression to map a string onto a valid CPP name.
21288 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21290 # Sed expression to map a string onto a valid variable name.
21291 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21294 exec 6>&1
21296 # Save the log message, to keep $[0] and so on meaningful, and to
21297 # report actual input values of CONFIG_FILES etc. instead of their
21298 # values after options handling.
21299 ac_log="
21300 This file was extended by Wine $as_me 0.9.45, which was
21301 generated by GNU Autoconf 2.61. Invocation command line was
21303 CONFIG_FILES = $CONFIG_FILES
21304 CONFIG_HEADERS = $CONFIG_HEADERS
21305 CONFIG_LINKS = $CONFIG_LINKS
21306 CONFIG_COMMANDS = $CONFIG_COMMANDS
21307 $ $0 $@
21309 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21312 _ACEOF
21314 cat >>$CONFIG_STATUS <<_ACEOF
21315 # Files that config.status was made for.
21316 config_files="$ac_config_files"
21317 config_headers="$ac_config_headers"
21318 config_commands="$ac_config_commands"
21320 _ACEOF
21322 cat >>$CONFIG_STATUS <<\_ACEOF
21323 ac_cs_usage="\
21324 \`$as_me' instantiates files from templates according to the
21325 current configuration.
21327 Usage: $0 [OPTIONS] [FILE]...
21329 -h, --help print this help, then exit
21330 -V, --version print version number and configuration settings, then exit
21331 -q, --quiet do not print progress messages
21332 -d, --debug don't remove temporary files
21333 --recheck update $as_me by reconfiguring in the same conditions
21334 --file=FILE[:TEMPLATE]
21335 instantiate the configuration file FILE
21336 --header=FILE[:TEMPLATE]
21337 instantiate the configuration header FILE
21339 Configuration files:
21340 $config_files
21342 Configuration headers:
21343 $config_headers
21345 Configuration commands:
21346 $config_commands
21348 Report bugs to <bug-autoconf@gnu.org>."
21350 _ACEOF
21351 cat >>$CONFIG_STATUS <<_ACEOF
21352 ac_cs_version="\\
21353 Wine config.status 0.9.45
21354 configured by $0, generated by GNU Autoconf 2.61,
21355 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21357 Copyright (C) 2006 Free Software Foundation, Inc.
21358 This config.status script is free software; the Free Software Foundation
21359 gives unlimited permission to copy, distribute and modify it."
21361 ac_pwd='$ac_pwd'
21362 srcdir='$srcdir'
21363 INSTALL='$INSTALL'
21364 _ACEOF
21366 cat >>$CONFIG_STATUS <<\_ACEOF
21367 # If no file are specified by the user, then we need to provide default
21368 # value. By we need to know if files were specified by the user.
21369 ac_need_defaults=:
21370 while test $# != 0
21372 case $1 in
21373 --*=*)
21374 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21375 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21376 ac_shift=:
21379 ac_option=$1
21380 ac_optarg=$2
21381 ac_shift=shift
21383 esac
21385 case $ac_option in
21386 # Handling of the options.
21387 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21388 ac_cs_recheck=: ;;
21389 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21390 echo "$ac_cs_version"; exit ;;
21391 --debug | --debu | --deb | --de | --d | -d )
21392 debug=: ;;
21393 --file | --fil | --fi | --f )
21394 $ac_shift
21395 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21396 ac_need_defaults=false;;
21397 --header | --heade | --head | --hea )
21398 $ac_shift
21399 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21400 ac_need_defaults=false;;
21401 --he | --h)
21402 # Conflict between --help and --header
21403 { echo "$as_me: error: ambiguous option: $1
21404 Try \`$0 --help' for more information." >&2
21405 { (exit 1); exit 1; }; };;
21406 --help | --hel | -h )
21407 echo "$ac_cs_usage"; exit ;;
21408 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21409 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21410 ac_cs_silent=: ;;
21412 # This is an error.
21413 -*) { echo "$as_me: error: unrecognized option: $1
21414 Try \`$0 --help' for more information." >&2
21415 { (exit 1); exit 1; }; } ;;
21417 *) ac_config_targets="$ac_config_targets $1"
21418 ac_need_defaults=false ;;
21420 esac
21421 shift
21422 done
21424 ac_configure_extra_args=
21426 if $ac_cs_silent; then
21427 exec 6>/dev/null
21428 ac_configure_extra_args="$ac_configure_extra_args --silent"
21431 _ACEOF
21432 cat >>$CONFIG_STATUS <<_ACEOF
21433 if \$ac_cs_recheck; then
21434 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21435 CONFIG_SHELL=$SHELL
21436 export CONFIG_SHELL
21437 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21440 _ACEOF
21441 cat >>$CONFIG_STATUS <<\_ACEOF
21442 exec 5>>config.log
21444 echo
21445 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21446 ## Running $as_me. ##
21447 _ASBOX
21448 echo "$ac_log"
21449 } >&5
21451 _ACEOF
21452 cat >>$CONFIG_STATUS <<_ACEOF
21453 _ACEOF
21455 cat >>$CONFIG_STATUS <<\_ACEOF
21457 # Handling of arguments.
21458 for ac_config_target in $ac_config_targets
21460 case $ac_config_target in
21461 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21462 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21463 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21464 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21465 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21466 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21467 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21468 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21469 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21470 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21471 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21472 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21473 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21474 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21475 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21476 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21477 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21478 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21479 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21480 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21481 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21482 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21483 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21484 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21485 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21486 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21487 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21488 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21489 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21490 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21491 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21492 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21493 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21494 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21495 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21496 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21497 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21498 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21499 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21500 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21501 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21502 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21503 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21504 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21505 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21506 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21507 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21508 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21509 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21510 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21511 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21512 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21513 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21514 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21515 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21516 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21517 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21518 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21519 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21520 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21521 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21522 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21523 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21524 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21525 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21526 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21527 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21528 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21529 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21530 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21531 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21532 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21533 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21534 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21535 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21536 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21537 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21538 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21539 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21540 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21541 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21542 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21543 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21544 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21545 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21546 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21547 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21548 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21549 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21550 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21551 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21552 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21553 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21554 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21555 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21556 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21557 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21558 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21559 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21560 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21561 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21562 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21563 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21564 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21565 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21566 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21567 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21568 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21569 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21570 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21571 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21572 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21573 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21574 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21575 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21576 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21577 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21578 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21579 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21580 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21581 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21582 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21583 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21584 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21585 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21586 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21587 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21588 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21589 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21590 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21591 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21592 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21593 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21594 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21595 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21596 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21597 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21598 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21599 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21600 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21601 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21602 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21603 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21604 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21605 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21606 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21607 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21608 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21609 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21610 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21611 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21612 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21613 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21614 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21615 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21616 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21617 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21618 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21619 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21620 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21621 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21622 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21623 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21624 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21625 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21626 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21627 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21628 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21629 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21630 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21631 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21632 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21633 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21634 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21635 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21636 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21637 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21638 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21639 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21640 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21641 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21642 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21643 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21644 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21645 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21646 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21647 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21648 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21649 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21650 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21651 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21652 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21653 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21654 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21655 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21656 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21657 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21658 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21659 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21660 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21661 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21662 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21663 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21664 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21665 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21666 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21667 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21668 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21669 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21670 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21671 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21672 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21673 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21674 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21675 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21676 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21677 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21678 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21679 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21680 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21681 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21682 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21683 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21684 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21685 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21686 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21687 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21688 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21689 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21690 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21691 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21692 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21693 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21694 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21695 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21696 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21697 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21698 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21699 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21700 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21701 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21702 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21703 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21704 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21705 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21706 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21707 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21708 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21709 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21710 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21711 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21712 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21713 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21714 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21715 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21716 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21717 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21718 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21719 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21720 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21721 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21722 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21723 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21724 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21725 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21726 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21727 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21728 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21729 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21730 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21731 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21732 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21733 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21734 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21735 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21736 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21737 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21738 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21739 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21740 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21741 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21742 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21743 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21744 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21745 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21746 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21747 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21748 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21749 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21750 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21751 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21752 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21753 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21754 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21755 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21756 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21757 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21758 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21759 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21760 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21761 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21762 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21763 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21764 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21765 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21766 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21767 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21768 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21769 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21770 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21771 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21772 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21773 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21774 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21775 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21776 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21777 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21778 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21779 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21780 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21781 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21782 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21783 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21784 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21785 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21786 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21787 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21788 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21789 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21790 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21791 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21792 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21793 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21794 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21795 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21796 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21797 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21798 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21799 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21800 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21801 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21802 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21803 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21804 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21805 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21806 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21807 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21808 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21809 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21810 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21811 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21812 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21813 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21814 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21815 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21816 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21817 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21818 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21819 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21820 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21821 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21822 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21823 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21824 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21825 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21827 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21828 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21829 { (exit 1); exit 1; }; };;
21830 esac
21831 done
21834 # If the user did not use the arguments to specify the items to instantiate,
21835 # then the envvar interface is used. Set only those that are not.
21836 # We use the long form for the default assignment because of an extremely
21837 # bizarre bug on SunOS 4.1.3.
21838 if $ac_need_defaults; then
21839 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21840 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21841 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21844 # Have a temporary directory for convenience. Make it in the build tree
21845 # simply because there is no reason against having it here, and in addition,
21846 # creating and moving files from /tmp can sometimes cause problems.
21847 # Hook for its removal unless debugging.
21848 # Note that there is a small window in which the directory will not be cleaned:
21849 # after its creation but before its name has been assigned to `$tmp'.
21850 $debug ||
21852 tmp=
21853 trap 'exit_status=$?
21854 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21856 trap '{ (exit 1); exit 1; }' 1 2 13 15
21858 # Create a (secure) tmp directory for tmp files.
21861 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21862 test -n "$tmp" && test -d "$tmp"
21863 } ||
21865 tmp=./conf$$-$RANDOM
21866 (umask 077 && mkdir "$tmp")
21867 } ||
21869 echo "$me: cannot create a temporary directory in ." >&2
21870 { (exit 1); exit 1; }
21874 # Set up the sed scripts for CONFIG_FILES section.
21877 # No need to generate the scripts if there are no CONFIG_FILES.
21878 # This happens for instance when ./config.status config.h
21879 if test -n "$CONFIG_FILES"; then
21881 _ACEOF
21883 # Create sed commands to just substitute file output variables.
21885 # Remaining file output variables are in a fragment that also has non-file
21886 # output varibles.
21890 ac_delim='%!_!# '
21891 for ac_last_try in false false false false false :; do
21892 cat >conf$$subs.sed <<_ACEOF
21893 SHELL!$SHELL$ac_delim
21894 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21895 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21896 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21897 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21898 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21899 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21900 exec_prefix!$exec_prefix$ac_delim
21901 prefix!$prefix$ac_delim
21902 program_transform_name!$program_transform_name$ac_delim
21903 bindir!$bindir$ac_delim
21904 sbindir!$sbindir$ac_delim
21905 libexecdir!$libexecdir$ac_delim
21906 datarootdir!$datarootdir$ac_delim
21907 datadir!$datadir$ac_delim
21908 sysconfdir!$sysconfdir$ac_delim
21909 sharedstatedir!$sharedstatedir$ac_delim
21910 localstatedir!$localstatedir$ac_delim
21911 includedir!$includedir$ac_delim
21912 oldincludedir!$oldincludedir$ac_delim
21913 docdir!$docdir$ac_delim
21914 infodir!$infodir$ac_delim
21915 htmldir!$htmldir$ac_delim
21916 dvidir!$dvidir$ac_delim
21917 pdfdir!$pdfdir$ac_delim
21918 psdir!$psdir$ac_delim
21919 libdir!$libdir$ac_delim
21920 localedir!$localedir$ac_delim
21921 mandir!$mandir$ac_delim
21922 DEFS!$DEFS$ac_delim
21923 ECHO_C!$ECHO_C$ac_delim
21924 ECHO_N!$ECHO_N$ac_delim
21925 ECHO_T!$ECHO_T$ac_delim
21926 LIBS!$LIBS$ac_delim
21927 build_alias!$build_alias$ac_delim
21928 host_alias!$host_alias$ac_delim
21929 target_alias!$target_alias$ac_delim
21930 build!$build$ac_delim
21931 build_cpu!$build_cpu$ac_delim
21932 build_vendor!$build_vendor$ac_delim
21933 build_os!$build_os$ac_delim
21934 host!$host$ac_delim
21935 host_cpu!$host_cpu$ac_delim
21936 host_vendor!$host_vendor$ac_delim
21937 host_os!$host_os$ac_delim
21938 WIN16_FILES!$WIN16_FILES$ac_delim
21939 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21940 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
21941 WINETEST!$WINETEST$ac_delim
21942 SET_MAKE!$SET_MAKE$ac_delim
21943 CC!$CC$ac_delim
21944 CFLAGS!$CFLAGS$ac_delim
21945 LDFLAGS!$LDFLAGS$ac_delim
21946 CPPFLAGS!$CPPFLAGS$ac_delim
21947 ac_ct_CC!$ac_ct_CC$ac_delim
21948 EXEEXT!$EXEEXT$ac_delim
21949 OBJEXT!$OBJEXT$ac_delim
21950 CXX!$CXX$ac_delim
21951 CXXFLAGS!$CXXFLAGS$ac_delim
21952 ac_ct_CXX!$ac_ct_CXX$ac_delim
21953 CPPBIN!$CPPBIN$ac_delim
21954 TOOLSDIR!$TOOLSDIR$ac_delim
21955 XMKMF!$XMKMF$ac_delim
21956 CPP!$CPP$ac_delim
21957 X_CFLAGS!$X_CFLAGS$ac_delim
21958 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21959 X_LIBS!$X_LIBS$ac_delim
21960 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21961 FLEX!$FLEX$ac_delim
21962 BISON!$BISON$ac_delim
21963 AS!$AS$ac_delim
21964 ac_ct_AS!$ac_ct_AS$ac_delim
21965 LD!$LD$ac_delim
21966 AR!$AR$ac_delim
21967 RANLIB!$RANLIB$ac_delim
21968 STRIP!$STRIP$ac_delim
21969 WINDRES!$WINDRES$ac_delim
21970 LN_S!$LN_S$ac_delim
21971 LN!$LN$ac_delim
21972 GREP!$GREP$ac_delim
21973 EGREP!$EGREP$ac_delim
21974 LDCONFIG!$LDCONFIG$ac_delim
21975 _ACEOF
21977 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21978 break
21979 elif $ac_last_try; then
21980 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21981 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21982 { (exit 1); exit 1; }; }
21983 else
21984 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21986 done
21988 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21989 if test -n "$ac_eof"; then
21990 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21991 ac_eof=`expr $ac_eof + 1`
21994 cat >>$CONFIG_STATUS <<_ACEOF
21995 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21996 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21997 /^[ ]*@MAKE_RULES@[ ]*$/{
21998 r $MAKE_RULES
22001 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22002 r $MAKE_DLL_RULES
22005 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22006 r $MAKE_IMPLIB_RULES
22009 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22010 r $MAKE_TEST_RULES
22013 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22014 r $MAKE_PROG_RULES
22017 _ACEOF
22018 sed '
22019 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22020 s/^/s,@/; s/!/@,|#_!!_#|/
22023 s/'"$ac_delim"'$/,g/; t
22024 s/$/\\/; p
22025 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22026 ' >>$CONFIG_STATUS <conf$$subs.sed
22027 rm -f conf$$subs.sed
22028 cat >>$CONFIG_STATUS <<_ACEOF
22029 CEOF$ac_eof
22030 _ACEOF
22033 ac_delim='%!_!# '
22034 for ac_last_try in false false false false false :; do
22035 cat >conf$$subs.sed <<_ACEOF
22036 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22037 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22038 INSTALL_DATA!$INSTALL_DATA$ac_delim
22039 LINT!$LINT$ac_delim
22040 LINTFLAGS!$LINTFLAGS$ac_delim
22041 FONTFORGE!$FONTFORGE$ac_delim
22042 PKG_CONFIG!$PKG_CONFIG$ac_delim
22043 PRELINK!$PRELINK$ac_delim
22044 LIBPTHREAD!$LIBPTHREAD$ac_delim
22045 XLIB!$XLIB$ac_delim
22046 XFILES!$XFILES$ac_delim
22047 OPENGLFILES!$OPENGLFILES$ac_delim
22048 GLU32FILES!$GLU32FILES$ac_delim
22049 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22050 QUARTZFILES!$QUARTZFILES$ac_delim
22051 DLLEXT!$DLLEXT$ac_delim
22052 DLLFLAGS!$DLLFLAGS$ac_delim
22053 LDSHARED!$LDSHARED$ac_delim
22054 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22055 LIBEXT!$LIBEXT$ac_delim
22056 IMPLIBEXT!$IMPLIBEXT$ac_delim
22057 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22058 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22059 LDD!$LDD$ac_delim
22060 DLLTOOL!$DLLTOOL$ac_delim
22061 DLLWRAP!$DLLWRAP$ac_delim
22062 MINGWAR!$MINGWAR$ac_delim
22063 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22064 IOKITLIB!$IOKITLIB$ac_delim
22065 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22066 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22067 COREAUDIO!$COREAUDIO$ac_delim
22068 CARBONLIB!$CARBONLIB$ac_delim
22069 CROSSTEST!$CROSSTEST$ac_delim
22070 CROSSCC!$CROSSCC$ac_delim
22071 CROSSWINDRES!$CROSSWINDRES$ac_delim
22072 NASLIBS!$NASLIBS$ac_delim
22073 XML2LIBS!$XML2LIBS$ac_delim
22074 XML2INCL!$XML2INCL$ac_delim
22075 XSLTLIBS!$XSLTLIBS$ac_delim
22076 XSLTINCL!$XSLTINCL$ac_delim
22077 HALINCL!$HALINCL$ac_delim
22078 sane_devel!$sane_devel$ac_delim
22079 SANEINCL!$SANEINCL$ac_delim
22080 gphoto2_devel!$gphoto2_devel$ac_delim
22081 gphoto2port_devel!$gphoto2port_devel$ac_delim
22082 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22083 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22084 RESOLVLIBS!$RESOLVLIBS$ac_delim
22085 LCMSLIBS!$LCMSLIBS$ac_delim
22086 LDAPLIBS!$LDAPLIBS$ac_delim
22087 ft_devel!$ft_devel$ac_delim
22088 FREETYPELIBS!$FREETYPELIBS$ac_delim
22089 FREETYPEINCL!$FREETYPEINCL$ac_delim
22090 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22091 ESDCONFIG!$ESDCONFIG$ac_delim
22092 ESDLIBS!$ESDLIBS$ac_delim
22093 ESDINCL!$ESDINCL$ac_delim
22094 ALSALIBS!$ALSALIBS$ac_delim
22095 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22096 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22097 BUILTINFLAG!$BUILTINFLAG$ac_delim
22098 LDPATH!$LDPATH$ac_delim
22099 CRTLIBS!$CRTLIBS$ac_delim
22100 SOCKETLIBS!$SOCKETLIBS$ac_delim
22101 MAIN_BINARY!$MAIN_BINARY$ac_delim
22102 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22103 LIBDL!$LIBDL$ac_delim
22104 LIBPOLL!$LIBPOLL$ac_delim
22105 DEPENDENCIES!$DEPENDENCIES$ac_delim
22106 LIBOBJS!$LIBOBJS$ac_delim
22107 LTLIBOBJS!$LTLIBOBJS$ac_delim
22108 _ACEOF
22110 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22111 break
22112 elif $ac_last_try; then
22113 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22114 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22115 { (exit 1); exit 1; }; }
22116 else
22117 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22119 done
22121 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22122 if test -n "$ac_eof"; then
22123 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22124 ac_eof=`expr $ac_eof + 1`
22127 cat >>$CONFIG_STATUS <<_ACEOF
22128 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22129 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22130 _ACEOF
22131 sed '
22132 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22133 s/^/s,@/; s/!/@,|#_!!_#|/
22136 s/'"$ac_delim"'$/,g/; t
22137 s/$/\\/; p
22138 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22139 ' >>$CONFIG_STATUS <conf$$subs.sed
22140 rm -f conf$$subs.sed
22141 cat >>$CONFIG_STATUS <<_ACEOF
22142 :end
22143 s/|#_!!_#|//g
22144 CEOF$ac_eof
22145 _ACEOF
22148 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22149 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22150 # trailing colons and then remove the whole line if VPATH becomes empty
22151 # (actually we leave an empty line to preserve line numbers).
22152 if test "x$srcdir" = x.; then
22153 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22154 s/:*\$(srcdir):*/:/
22155 s/:*\${srcdir}:*/:/
22156 s/:*@srcdir@:*/:/
22157 s/^\([^=]*=[ ]*\):*/\1/
22158 s/:*$//
22159 s/^[^=]*=[ ]*$//
22163 cat >>$CONFIG_STATUS <<\_ACEOF
22164 fi # test -n "$CONFIG_FILES"
22167 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22169 case $ac_tag in
22170 :[FHLC]) ac_mode=$ac_tag; continue;;
22171 esac
22172 case $ac_mode$ac_tag in
22173 :[FHL]*:*);;
22174 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22175 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22176 { (exit 1); exit 1; }; };;
22177 :[FH]-) ac_tag=-:-;;
22178 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22179 esac
22180 ac_save_IFS=$IFS
22181 IFS=:
22182 set x $ac_tag
22183 IFS=$ac_save_IFS
22184 shift
22185 ac_file=$1
22186 shift
22188 case $ac_mode in
22189 :L) ac_source=$1;;
22190 :[FH])
22191 ac_file_inputs=
22192 for ac_f
22194 case $ac_f in
22195 -) ac_f="$tmp/stdin";;
22196 *) # Look for the file first in the build tree, then in the source tree
22197 # (if the path is not absolute). The absolute path cannot be DOS-style,
22198 # because $ac_f cannot contain `:'.
22199 test -f "$ac_f" ||
22200 case $ac_f in
22201 [\\/$]*) false;;
22202 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22203 esac ||
22204 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22205 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22206 { (exit 1); exit 1; }; };;
22207 esac
22208 ac_file_inputs="$ac_file_inputs $ac_f"
22209 done
22211 # Let's still pretend it is `configure' which instantiates (i.e., don't
22212 # use $as_me), people would be surprised to read:
22213 # /* config.h. Generated by config.status. */
22214 configure_input="Generated from "`IFS=:
22215 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22216 if test x"$ac_file" != x-; then
22217 configure_input="$ac_file. $configure_input"
22218 { echo "$as_me:$LINENO: creating $ac_file" >&5
22219 echo "$as_me: creating $ac_file" >&6;}
22222 case $ac_tag in
22223 *:-:* | *:-) cat >"$tmp/stdin";;
22224 esac
22226 esac
22228 ac_dir=`$as_dirname -- "$ac_file" ||
22229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22230 X"$ac_file" : 'X\(//\)[^/]' \| \
22231 X"$ac_file" : 'X\(//\)$' \| \
22232 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22233 echo X"$ac_file" |
22234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22235 s//\1/
22238 /^X\(\/\/\)[^/].*/{
22239 s//\1/
22242 /^X\(\/\/\)$/{
22243 s//\1/
22246 /^X\(\/\).*/{
22247 s//\1/
22250 s/.*/./; q'`
22251 { as_dir="$ac_dir"
22252 case $as_dir in #(
22253 -*) as_dir=./$as_dir;;
22254 esac
22255 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22256 as_dirs=
22257 while :; do
22258 case $as_dir in #(
22259 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22260 *) as_qdir=$as_dir;;
22261 esac
22262 as_dirs="'$as_qdir' $as_dirs"
22263 as_dir=`$as_dirname -- "$as_dir" ||
22264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22265 X"$as_dir" : 'X\(//\)[^/]' \| \
22266 X"$as_dir" : 'X\(//\)$' \| \
22267 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22268 echo X"$as_dir" |
22269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22270 s//\1/
22273 /^X\(\/\/\)[^/].*/{
22274 s//\1/
22277 /^X\(\/\/\)$/{
22278 s//\1/
22281 /^X\(\/\).*/{
22282 s//\1/
22285 s/.*/./; q'`
22286 test -d "$as_dir" && break
22287 done
22288 test -z "$as_dirs" || eval "mkdir $as_dirs"
22289 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22290 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22291 { (exit 1); exit 1; }; }; }
22292 ac_builddir=.
22294 case "$ac_dir" in
22295 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22297 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22298 # A ".." for each directory in $ac_dir_suffix.
22299 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22300 case $ac_top_builddir_sub in
22301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22303 esac ;;
22304 esac
22305 ac_abs_top_builddir=$ac_pwd
22306 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22307 # for backward compatibility:
22308 ac_top_builddir=$ac_top_build_prefix
22310 case $srcdir in
22311 .) # We are building in place.
22312 ac_srcdir=.
22313 ac_top_srcdir=$ac_top_builddir_sub
22314 ac_abs_top_srcdir=$ac_pwd ;;
22315 [\\/]* | ?:[\\/]* ) # Absolute name.
22316 ac_srcdir=$srcdir$ac_dir_suffix;
22317 ac_top_srcdir=$srcdir
22318 ac_abs_top_srcdir=$srcdir ;;
22319 *) # Relative name.
22320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22321 ac_top_srcdir=$ac_top_build_prefix$srcdir
22322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22323 esac
22324 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22327 case $ac_mode in
22330 # CONFIG_FILE
22333 case $INSTALL in
22334 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22335 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22336 esac
22337 _ACEOF
22339 cat >>$CONFIG_STATUS <<\_ACEOF
22340 # If the template does not know about datarootdir, expand it.
22341 # FIXME: This hack should be removed a few years after 2.60.
22342 ac_datarootdir_hack=; ac_datarootdir_seen=
22344 case `sed -n '/datarootdir/ {
22348 /@datadir@/p
22349 /@docdir@/p
22350 /@infodir@/p
22351 /@localedir@/p
22352 /@mandir@/p
22353 ' $ac_file_inputs` in
22354 *datarootdir*) ac_datarootdir_seen=yes;;
22355 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22356 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22357 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22358 _ACEOF
22359 cat >>$CONFIG_STATUS <<_ACEOF
22360 ac_datarootdir_hack='
22361 s&@datadir@&$datadir&g
22362 s&@docdir@&$docdir&g
22363 s&@infodir@&$infodir&g
22364 s&@localedir@&$localedir&g
22365 s&@mandir@&$mandir&g
22366 s&\\\${datarootdir}&$datarootdir&g' ;;
22367 esac
22368 _ACEOF
22370 # Neutralize VPATH when `$srcdir' = `.'.
22371 # Shell code in configure.ac might set extrasub.
22372 # FIXME: do we really want to maintain this feature?
22373 cat >>$CONFIG_STATUS <<_ACEOF
22374 sed "$ac_vpsub
22375 $extrasub
22376 _ACEOF
22377 cat >>$CONFIG_STATUS <<\_ACEOF
22379 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22380 s&@configure_input@&$configure_input&;t t
22381 s&@top_builddir@&$ac_top_builddir_sub&;t t
22382 s&@srcdir@&$ac_srcdir&;t t
22383 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22384 s&@top_srcdir@&$ac_top_srcdir&;t t
22385 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22386 s&@builddir@&$ac_builddir&;t t
22387 s&@abs_builddir@&$ac_abs_builddir&;t t
22388 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22389 s&@INSTALL@&$ac_INSTALL&;t t
22390 $ac_datarootdir_hack
22391 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22393 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22394 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22395 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22396 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22397 which seems to be undefined. Please make sure it is defined." >&5
22398 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22399 which seems to be undefined. Please make sure it is defined." >&2;}
22401 rm -f "$tmp/stdin"
22402 case $ac_file in
22403 -) cat "$tmp/out"; rm -f "$tmp/out";;
22404 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22405 esac
22409 # CONFIG_HEADER
22411 _ACEOF
22413 # Transform confdefs.h into a sed script `conftest.defines', that
22414 # substitutes the proper values into config.h.in to produce config.h.
22415 rm -f conftest.defines conftest.tail
22416 # First, append a space to every undef/define line, to ease matching.
22417 echo 's/$/ /' >conftest.defines
22418 # Then, protect against being on the right side of a sed subst, or in
22419 # an unquoted here document, in config.status. If some macros were
22420 # called several times there might be several #defines for the same
22421 # symbol, which is useless. But do not sort them, since the last
22422 # AC_DEFINE must be honored.
22423 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22424 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22425 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22426 # PARAMS is the parameter list in the macro definition--in most cases, it's
22427 # just an empty string.
22428 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22429 ac_dB='\\)[ (].*,\\1define\\2'
22430 ac_dC=' '
22431 ac_dD=' ,'
22433 uniq confdefs.h |
22434 sed -n '
22435 t rset
22436 :rset
22437 s/^[ ]*#[ ]*define[ ][ ]*//
22438 t ok
22441 s/[\\&,]/\\&/g
22442 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22443 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22444 ' >>conftest.defines
22446 # Remove the space that was appended to ease matching.
22447 # Then replace #undef with comments. This is necessary, for
22448 # example, in the case of _POSIX_SOURCE, which is predefined and required
22449 # on some systems where configure will not decide to define it.
22450 # (The regexp can be short, since the line contains either #define or #undef.)
22451 echo 's/ $//
22452 s,^[ #]*u.*,/* & */,' >>conftest.defines
22454 # Break up conftest.defines:
22455 ac_max_sed_lines=50
22457 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22458 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22459 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22460 # et cetera.
22461 ac_in='$ac_file_inputs'
22462 ac_out='"$tmp/out1"'
22463 ac_nxt='"$tmp/out2"'
22465 while :
22467 # Write a here document:
22468 cat >>$CONFIG_STATUS <<_ACEOF
22469 # First, check the format of the line:
22470 cat >"\$tmp/defines.sed" <<\\CEOF
22471 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22472 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22474 :def
22475 _ACEOF
22476 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22477 echo 'CEOF
22478 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22479 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22480 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22481 grep . conftest.tail >/dev/null || break
22482 rm -f conftest.defines
22483 mv conftest.tail conftest.defines
22484 done
22485 rm -f conftest.defines conftest.tail
22487 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22488 cat >>$CONFIG_STATUS <<\_ACEOF
22489 if test x"$ac_file" != x-; then
22490 echo "/* $configure_input */" >"$tmp/config.h"
22491 cat "$ac_result" >>"$tmp/config.h"
22492 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22493 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22494 echo "$as_me: $ac_file is unchanged" >&6;}
22495 else
22496 rm -f $ac_file
22497 mv "$tmp/config.h" $ac_file
22499 else
22500 echo "/* $configure_input */"
22501 cat "$ac_result"
22503 rm -f "$tmp/out12"
22506 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22507 echo "$as_me: executing $ac_file commands" >&6;}
22509 esac
22512 case $ac_file$ac_mode in
22513 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22514 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22515 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22516 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22517 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22518 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22519 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22520 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22521 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22522 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22523 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22524 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22525 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22527 esac
22528 done # for ac_tag
22531 { (exit 0); exit 0; }
22532 _ACEOF
22533 chmod +x $CONFIG_STATUS
22534 ac_clean_files=$ac_clean_files_save
22537 # configure is writing to config.log, and then calls config.status.
22538 # config.status does its own redirection, appending to config.log.
22539 # Unfortunately, on DOS this fails, as config.log is still kept open
22540 # by configure, so config.status won't be able to write to it; its
22541 # output is simply discarded. So we exec the FD to /dev/null,
22542 # effectively closing config.log, so it can be properly (re)opened and
22543 # appended to by config.status. When coming back to configure, we
22544 # need to make the FD available again.
22545 if test "$no_create" != yes; then
22546 ac_cs_success=:
22547 ac_config_status_args=
22548 test "$silent" = yes &&
22549 ac_config_status_args="$ac_config_status_args --quiet"
22550 exec 5>/dev/null
22551 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22552 exec 5>>config.log
22553 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22554 # would make configure fail if this is the last instruction.
22555 $ac_cs_success || { (exit 1); exit 1; }
22559 if test "$no_create" = "yes"
22560 then
22561 exit 0
22564 ac_save_IFS="$IFS"
22565 IFS="|"
22566 if test "$verbose" = "yes"; then
22567 for msg in $wine_notices; do
22568 if test -n "$msg"; then
22569 echo >&2
22570 { echo "$as_me:$LINENO: $msg" >&5
22571 echo "$as_me: $msg" >&6;}
22573 done
22575 for msg in $wine_warnings; do
22576 if test -n "$msg"; then
22577 echo >&2
22578 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22579 echo "$as_me: WARNING: $msg" >&2;}
22581 done
22582 IFS="$ac_save_IFS"
22584 echo
22585 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22586 echo