kernel32: Print last error in failure messages of the MapViewOfFile test.
[wine/multimedia.git] / configure
blobab97690c491cd6d3440cf0c839e464d3f98f26e4
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 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 RESOLVLIBS
747 LCMSLIBS
748 LDAPLIBS
749 ft_devel
750 FREETYPELIBS
751 FREETYPEINCL
752 FONTSSUBDIRS
753 ESDCONFIG
754 ESDLIBS
755 ESDINCL
756 ALSALIBS
757 AUDIOIOLIBS
758 EXTRACFLAGS
759 BUILTINFLAG
760 LDPATH
761 CRTLIBS
762 SOCKETLIBS
763 MAIN_BINARY
764 EXTRA_BINARIES
765 LIBDL
766 LIBPOLL
767 DEPENDENCIES
768 LIBOBJS
769 LTLIBOBJS'
770 ac_subst_files='MAKE_RULES
771 MAKE_DLL_RULES
772 MAKE_IMPLIB_RULES
773 MAKE_TEST_RULES
774 MAKE_PROG_RULES'
775 ac_precious_vars='build_alias
776 host_alias
777 target_alias
779 CFLAGS
780 LDFLAGS
781 LIBS
782 CPPFLAGS
784 CXXFLAGS
786 XMKMF
787 CPP'
790 # Initialize some variables set by options.
791 ac_init_help=
792 ac_init_version=false
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
795 cache_file=/dev/null
796 exec_prefix=NONE
797 no_create=
798 no_recursion=
799 prefix=NONE
800 program_prefix=NONE
801 program_suffix=NONE
802 program_transform_name=s,x,x,
803 silent=
804 site=
805 srcdir=
806 verbose=
807 x_includes=NONE
808 x_libraries=NONE
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir='${exec_prefix}/bin'
817 sbindir='${exec_prefix}/sbin'
818 libexecdir='${exec_prefix}/libexec'
819 datarootdir='${prefix}/share'
820 datadir='${datarootdir}'
821 sysconfdir='${prefix}/etc'
822 sharedstatedir='${prefix}/com'
823 localstatedir='${prefix}/var'
824 includedir='${prefix}/include'
825 oldincludedir='/usr/include'
826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
827 infodir='${datarootdir}/info'
828 htmldir='${docdir}'
829 dvidir='${docdir}'
830 pdfdir='${docdir}'
831 psdir='${docdir}'
832 libdir='${exec_prefix}/lib'
833 localedir='${datarootdir}/locale'
834 mandir='${datarootdir}/man'
836 ac_prev=
837 ac_dashdash=
838 for ac_option
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\$ac_option
843 ac_prev=
844 continue
847 case $ac_option in
848 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 *) ac_optarg=yes ;;
850 esac
852 # Accept the important Cygnus configure options, so we can diagnose typos.
854 case $ac_dashdash$ac_option in
856 ac_dashdash=yes ;;
858 -bindir | --bindir | --bindi | --bind | --bin | --bi)
859 ac_prev=bindir ;;
860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861 bindir=$ac_optarg ;;
863 -build | --build | --buil | --bui | --bu)
864 ac_prev=build_alias ;;
865 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
866 build_alias=$ac_optarg ;;
868 -cache-file | --cache-file | --cache-fil | --cache-fi \
869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
870 ac_prev=cache_file ;;
871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
873 cache_file=$ac_optarg ;;
875 --config-cache | -C)
876 cache_file=config.cache ;;
878 -datadir | --datadir | --datadi | --datad)
879 ac_prev=datadir ;;
880 -datadir=* | --datadir=* | --datadi=* | --datad=*)
881 datadir=$ac_optarg ;;
883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
884 | --dataroo | --dataro | --datar)
885 ac_prev=datarootdir ;;
886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
888 datarootdir=$ac_optarg ;;
890 -disable-* | --disable-*)
891 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
894 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
895 { (exit 1); exit 1; }; }
896 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
897 eval enable_$ac_feature=no ;;
899 -docdir | --docdir | --docdi | --doc | --do)
900 ac_prev=docdir ;;
901 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
902 docdir=$ac_optarg ;;
904 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
905 ac_prev=dvidir ;;
906 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
907 dvidir=$ac_optarg ;;
909 -enable-* | --enable-*)
910 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
913 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
914 { (exit 1); exit 1; }; }
915 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
916 eval enable_$ac_feature=\$ac_optarg ;;
918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
920 | --exec | --exe | --ex)
921 ac_prev=exec_prefix ;;
922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
924 | --exec=* | --exe=* | --ex=*)
925 exec_prefix=$ac_optarg ;;
927 -gas | --gas | --ga | --g)
928 # Obsolete; use --with-gas.
929 with_gas=yes ;;
931 -help | --help | --hel | --he | -h)
932 ac_init_help=long ;;
933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
934 ac_init_help=recursive ;;
935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
936 ac_init_help=short ;;
938 -host | --host | --hos | --ho)
939 ac_prev=host_alias ;;
940 -host=* | --host=* | --hos=* | --ho=*)
941 host_alias=$ac_optarg ;;
943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
944 ac_prev=htmldir ;;
945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
946 | --ht=*)
947 htmldir=$ac_optarg ;;
949 -includedir | --includedir | --includedi | --included | --include \
950 | --includ | --inclu | --incl | --inc)
951 ac_prev=includedir ;;
952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
953 | --includ=* | --inclu=* | --incl=* | --inc=*)
954 includedir=$ac_optarg ;;
956 -infodir | --infodir | --infodi | --infod | --info | --inf)
957 ac_prev=infodir ;;
958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
959 infodir=$ac_optarg ;;
961 -libdir | --libdir | --libdi | --libd)
962 ac_prev=libdir ;;
963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
964 libdir=$ac_optarg ;;
966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
967 | --libexe | --libex | --libe)
968 ac_prev=libexecdir ;;
969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
970 | --libexe=* | --libex=* | --libe=*)
971 libexecdir=$ac_optarg ;;
973 -localedir | --localedir | --localedi | --localed | --locale)
974 ac_prev=localedir ;;
975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
976 localedir=$ac_optarg ;;
978 -localstatedir | --localstatedir | --localstatedi | --localstated \
979 | --localstate | --localstat | --localsta | --localst | --locals)
980 ac_prev=localstatedir ;;
981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
983 localstatedir=$ac_optarg ;;
985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
986 ac_prev=mandir ;;
987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
988 mandir=$ac_optarg ;;
990 -nfp | --nfp | --nf)
991 # Obsolete; use --without-fp.
992 with_fp=no ;;
994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
995 | --no-cr | --no-c | -n)
996 no_create=yes ;;
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000 no_recursion=yes ;;
1002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1004 | --oldin | --oldi | --old | --ol | --o)
1005 ac_prev=oldincludedir ;;
1006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1009 oldincludedir=$ac_optarg ;;
1011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1012 ac_prev=prefix ;;
1013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1014 prefix=$ac_optarg ;;
1016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1017 | --program-pre | --program-pr | --program-p)
1018 ac_prev=program_prefix ;;
1019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1021 program_prefix=$ac_optarg ;;
1023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1024 | --program-suf | --program-su | --program-s)
1025 ac_prev=program_suffix ;;
1026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1028 program_suffix=$ac_optarg ;;
1030 -program-transform-name | --program-transform-name \
1031 | --program-transform-nam | --program-transform-na \
1032 | --program-transform-n | --program-transform- \
1033 | --program-transform | --program-transfor \
1034 | --program-transfo | --program-transf \
1035 | --program-trans | --program-tran \
1036 | --progr-tra | --program-tr | --program-t)
1037 ac_prev=program_transform_name ;;
1038 -program-transform-name=* | --program-transform-name=* \
1039 | --program-transform-nam=* | --program-transform-na=* \
1040 | --program-transform-n=* | --program-transform-=* \
1041 | --program-transform=* | --program-transfor=* \
1042 | --program-transfo=* | --program-transf=* \
1043 | --program-trans=* | --program-tran=* \
1044 | --progr-tra=* | --program-tr=* | --program-t=*)
1045 program_transform_name=$ac_optarg ;;
1047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1048 ac_prev=pdfdir ;;
1049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1050 pdfdir=$ac_optarg ;;
1052 -psdir | --psdir | --psdi | --psd | --ps)
1053 ac_prev=psdir ;;
1054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1055 psdir=$ac_optarg ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1059 silent=yes ;;
1061 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1062 ac_prev=sbindir ;;
1063 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1064 | --sbi=* | --sb=*)
1065 sbindir=$ac_optarg ;;
1067 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1068 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1069 | --sharedst | --shareds | --shared | --share | --shar \
1070 | --sha | --sh)
1071 ac_prev=sharedstatedir ;;
1072 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1073 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1074 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1075 | --sha=* | --sh=*)
1076 sharedstatedir=$ac_optarg ;;
1078 -site | --site | --sit)
1079 ac_prev=site ;;
1080 -site=* | --site=* | --sit=*)
1081 site=$ac_optarg ;;
1083 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1084 ac_prev=srcdir ;;
1085 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1086 srcdir=$ac_optarg ;;
1088 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1089 | --syscon | --sysco | --sysc | --sys | --sy)
1090 ac_prev=sysconfdir ;;
1091 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1092 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1093 sysconfdir=$ac_optarg ;;
1095 -target | --target | --targe | --targ | --tar | --ta | --t)
1096 ac_prev=target_alias ;;
1097 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1098 target_alias=$ac_optarg ;;
1100 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1101 verbose=yes ;;
1103 -version | --version | --versio | --versi | --vers | -V)
1104 ac_init_version=: ;;
1106 -with-* | --with-*)
1107 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1110 { echo "$as_me: error: invalid package name: $ac_package" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1113 eval with_$ac_package=\$ac_optarg ;;
1115 -without-* | --without-*)
1116 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1119 { echo "$as_me: error: invalid package name: $ac_package" >&2
1120 { (exit 1); exit 1; }; }
1121 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1122 eval with_$ac_package=no ;;
1124 --x)
1125 # Obsolete; use --with-x.
1126 with_x=yes ;;
1128 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1129 | --x-incl | --x-inc | --x-in | --x-i)
1130 ac_prev=x_includes ;;
1131 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1132 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1133 x_includes=$ac_optarg ;;
1135 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1136 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1137 ac_prev=x_libraries ;;
1138 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1139 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1140 x_libraries=$ac_optarg ;;
1142 -*) { echo "$as_me: error: unrecognized option: $ac_option
1143 Try \`$0 --help' for more information." >&2
1144 { (exit 1); exit 1; }; }
1147 *=*)
1148 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1151 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1152 { (exit 1); exit 1; }; }
1153 eval $ac_envvar=\$ac_optarg
1154 export $ac_envvar ;;
1157 # FIXME: should be removed in autoconf 3.0.
1158 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1159 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1160 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1161 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1164 esac
1165 done
1167 if test -n "$ac_prev"; then
1168 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1169 { echo "$as_me: error: missing argument to $ac_option" >&2
1170 { (exit 1); exit 1; }; }
1173 # Be sure to have absolute directory names.
1174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175 datadir sysconfdir sharedstatedir localstatedir includedir \
1176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177 libdir localedir mandir
1179 eval ac_val=\$$ac_var
1180 case $ac_val in
1181 [\\/$]* | ?:[\\/]* ) continue;;
1182 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 esac
1184 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1185 { (exit 1); exit 1; }; }
1186 done
1188 # There might be people who depend on the old broken behavior: `$host'
1189 # used to hold the argument of --host etc.
1190 # FIXME: To remove some day.
1191 build=$build_alias
1192 host=$host_alias
1193 target=$target_alias
1195 # FIXME: To remove some day.
1196 if test "x$host_alias" != x; then
1197 if test "x$build_alias" = x; then
1198 cross_compiling=maybe
1199 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1200 If a cross compiler is detected then cross compile mode will be used." >&2
1201 elif test "x$build_alias" != "x$host_alias"; then
1202 cross_compiling=yes
1206 ac_tool_prefix=
1207 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1209 test "$silent" = yes && exec 6>/dev/null
1212 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1213 ac_ls_di=`ls -di .` &&
1214 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1215 { echo "$as_me: error: Working directory cannot be determined" >&2
1216 { (exit 1); exit 1; }; }
1217 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1218 { echo "$as_me: error: pwd does not report name of working directory" >&2
1219 { (exit 1); exit 1; }; }
1222 # Find the source files, if location was not specified.
1223 if test -z "$srcdir"; then
1224 ac_srcdir_defaulted=yes
1225 # Try the directory containing this script, then the parent directory.
1226 ac_confdir=`$as_dirname -- "$0" ||
1227 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1228 X"$0" : 'X\(//\)[^/]' \| \
1229 X"$0" : 'X\(//\)$' \| \
1230 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1231 echo X"$0" |
1232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1233 s//\1/
1236 /^X\(\/\/\)[^/].*/{
1237 s//\1/
1240 /^X\(\/\/\)$/{
1241 s//\1/
1244 /^X\(\/\).*/{
1245 s//\1/
1248 s/.*/./; q'`
1249 srcdir=$ac_confdir
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1251 srcdir=..
1253 else
1254 ac_srcdir_defaulted=no
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1258 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1259 { (exit 1); exit 1; }; }
1261 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1262 ac_abs_confdir=`(
1263 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1264 { (exit 1); exit 1; }; }
1265 pwd)`
1266 # When building in place, set srcdir=.
1267 if test "$ac_abs_confdir" = "$ac_pwd"; then
1268 srcdir=.
1270 # Remove unnecessary trailing slashes from srcdir.
1271 # Double slashes in file names in object file debugging info
1272 # mess up M-x gdb in Emacs.
1273 case $srcdir in
1274 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275 esac
1276 for ac_var in $ac_precious_vars; do
1277 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1278 eval ac_env_${ac_var}_value=\$${ac_var}
1279 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1281 done
1284 # Report the --help message.
1286 if test "$ac_init_help" = "long"; then
1287 # Omit some internal or obsolete options to make the list less imposing.
1288 # This message is too long to be a string in the A/UX 3.1 sh.
1289 cat <<_ACEOF
1290 \`configure' configures Wine 0.9.45 to adapt to many kinds of systems.
1292 Usage: $0 [OPTION]... [VAR=VALUE]...
1294 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1295 VAR=VALUE. See below for descriptions of some of the useful variables.
1297 Defaults for the options are specified in brackets.
1299 Configuration:
1300 -h, --help display this help and exit
1301 --help=short display options specific to this package
1302 --help=recursive display the short help of all the included packages
1303 -V, --version display version information and exit
1304 -q, --quiet, --silent do not print \`checking...' messages
1305 --cache-file=FILE cache test results in FILE [disabled]
1306 -C, --config-cache alias for \`--cache-file=config.cache'
1307 -n, --no-create do not create output files
1308 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1310 Installation directories:
1311 --prefix=PREFIX install architecture-independent files in PREFIX
1312 [$ac_default_prefix]
1313 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1314 [PREFIX]
1316 By default, \`make install' will install all the files in
1317 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1318 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1319 for instance \`--prefix=\$HOME'.
1321 For better control, use the options below.
1323 Fine tuning of the installation directories:
1324 --bindir=DIR user executables [EPREFIX/bin]
1325 --sbindir=DIR system admin executables [EPREFIX/sbin]
1326 --libexecdir=DIR program executables [EPREFIX/libexec]
1327 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1328 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1329 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1330 --libdir=DIR object code libraries [EPREFIX/lib]
1331 --includedir=DIR C header files [PREFIX/include]
1332 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1333 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1334 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1335 --infodir=DIR info documentation [DATAROOTDIR/info]
1336 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1337 --mandir=DIR man documentation [DATAROOTDIR/man]
1338 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1339 --htmldir=DIR html documentation [DOCDIR]
1340 --dvidir=DIR dvi documentation [DOCDIR]
1341 --pdfdir=DIR pdf documentation [DOCDIR]
1342 --psdir=DIR ps documentation [DOCDIR]
1343 _ACEOF
1345 cat <<\_ACEOF
1347 X features:
1348 --x-includes=DIR X include files are in DIR
1349 --x-libraries=DIR X library files are in DIR
1351 System types:
1352 --build=BUILD configure for building on BUILD [guessed]
1353 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1354 _ACEOF
1357 if test -n "$ac_init_help"; then
1358 case $ac_init_help in
1359 short | recursive ) echo "Configuration of Wine 0.9.45:";;
1360 esac
1361 cat <<\_ACEOF
1363 Optional Features:
1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366 --disable-win16 do not include Win16 support
1367 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1368 binaries)
1370 Optional Packages:
1371 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1372 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1373 --without-opengl do not use OpenGL
1374 --with-wine-tools=<dir> use Wine tools from directory <dir>
1375 --with-x use the X Window System
1377 Some influential environment variables:
1378 CC C compiler command
1379 CFLAGS C compiler flags
1380 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1381 nonstandard directory <lib dir>
1382 LIBS libraries to pass to the linker, e.g. -l<library>
1383 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1384 you have headers in a nonstandard directory <include dir>
1385 CXX C++ compiler command
1386 CXXFLAGS C++ compiler flags
1387 XMKMF Path to xmkmf, Makefile generator for X Window System
1388 CPP C preprocessor
1390 Use these variables to override the choices made by `configure' or to help
1391 it to find libraries and programs with nonstandard names/locations.
1393 Report bugs to <wine-devel@winehq.org>.
1394 _ACEOF
1395 ac_status=$?
1398 if test "$ac_init_help" = "recursive"; then
1399 # If there are subdirs, report their specific --help.
1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1401 test -d "$ac_dir" || continue
1402 ac_builddir=.
1404 case "$ac_dir" in
1405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1407 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1408 # A ".." for each directory in $ac_dir_suffix.
1409 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1410 case $ac_top_builddir_sub in
1411 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1413 esac ;;
1414 esac
1415 ac_abs_top_builddir=$ac_pwd
1416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1417 # for backward compatibility:
1418 ac_top_builddir=$ac_top_build_prefix
1420 case $srcdir in
1421 .) # We are building in place.
1422 ac_srcdir=.
1423 ac_top_srcdir=$ac_top_builddir_sub
1424 ac_abs_top_srcdir=$ac_pwd ;;
1425 [\\/]* | ?:[\\/]* ) # Absolute name.
1426 ac_srcdir=$srcdir$ac_dir_suffix;
1427 ac_top_srcdir=$srcdir
1428 ac_abs_top_srcdir=$srcdir ;;
1429 *) # Relative name.
1430 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1431 ac_top_srcdir=$ac_top_build_prefix$srcdir
1432 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1433 esac
1434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1436 cd "$ac_dir" || { ac_status=$?; continue; }
1437 # Check for guested configure.
1438 if test -f "$ac_srcdir/configure.gnu"; then
1439 echo &&
1440 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1441 elif test -f "$ac_srcdir/configure"; then
1442 echo &&
1443 $SHELL "$ac_srcdir/configure" --help=recursive
1444 else
1445 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1446 fi || ac_status=$?
1447 cd "$ac_pwd" || { ac_status=$?; break; }
1448 done
1451 test -n "$ac_init_help" && exit $ac_status
1452 if $ac_init_version; then
1453 cat <<\_ACEOF
1454 Wine configure 0.9.45
1455 generated by GNU Autoconf 2.61
1457 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1458 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1461 _ACEOF
1462 exit
1464 cat >config.log <<_ACEOF
1465 This file contains any messages produced by compilers while
1466 running configure, to aid debugging if configure makes a mistake.
1468 It was created by Wine $as_me 0.9.45, which was
1469 generated by GNU Autoconf 2.61. Invocation command line was
1471 $ $0 $@
1473 _ACEOF
1474 exec 5>>config.log
1476 cat <<_ASUNAME
1477 ## --------- ##
1478 ## Platform. ##
1479 ## --------- ##
1481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1498 _ASUNAME
1500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 for as_dir in $PATH
1503 IFS=$as_save_IFS
1504 test -z "$as_dir" && as_dir=.
1505 echo "PATH: $as_dir"
1506 done
1507 IFS=$as_save_IFS
1509 } >&5
1511 cat >&5 <<_ACEOF
1514 ## ----------- ##
1515 ## Core tests. ##
1516 ## ----------- ##
1518 _ACEOF
1521 # Keep a trace of the command line.
1522 # Strip out --no-create and --no-recursion so they do not pile up.
1523 # Strip out --silent because we don't want to record it for future runs.
1524 # Also quote any args containing shell meta-characters.
1525 # Make two passes to allow for proper duplicate-argument suppression.
1526 ac_configure_args=
1527 ac_configure_args0=
1528 ac_configure_args1=
1529 ac_must_keep_next=false
1530 for ac_pass in 1 2
1532 for ac_arg
1534 case $ac_arg in
1535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1537 | -silent | --silent | --silen | --sile | --sil)
1538 continue ;;
1539 *\'*)
1540 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1541 esac
1542 case $ac_pass in
1543 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1545 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1546 if test $ac_must_keep_next = true; then
1547 ac_must_keep_next=false # Got value, back to normal.
1548 else
1549 case $ac_arg in
1550 *=* | --config-cache | -C | -disable-* | --disable-* \
1551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1553 | -with-* | --with-* | -without-* | --without-* | --x)
1554 case "$ac_configure_args0 " in
1555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1556 esac
1558 -* ) ac_must_keep_next=true ;;
1559 esac
1561 ac_configure_args="$ac_configure_args '$ac_arg'"
1563 esac
1564 done
1565 done
1566 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1567 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1569 # When interrupted or exit'd, cleanup temporary files, and complete
1570 # config.log. We remove comments because anyway the quotes in there
1571 # would cause problems or look ugly.
1572 # WARNING: Use '\'' to represent an apostrophe within the trap.
1573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1574 trap 'exit_status=$?
1575 # Save into config.log some information that might help in debugging.
1577 echo
1579 cat <<\_ASBOX
1580 ## ---------------- ##
1581 ## Cache variables. ##
1582 ## ---------------- ##
1583 _ASBOX
1584 echo
1585 # The following way of writing the cache mishandles newlines in values,
1587 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1588 eval ac_val=\$$ac_var
1589 case $ac_val in #(
1590 *${as_nl}*)
1591 case $ac_var in #(
1592 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1593 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1594 esac
1595 case $ac_var in #(
1596 _ | IFS | as_nl) ;; #(
1597 *) $as_unset $ac_var ;;
1598 esac ;;
1599 esac
1600 done
1601 (set) 2>&1 |
1602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1603 *${as_nl}ac_space=\ *)
1604 sed -n \
1605 "s/'\''/'\''\\\\'\'''\''/g;
1606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1607 ;; #(
1609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1611 esac |
1612 sort
1614 echo
1616 cat <<\_ASBOX
1617 ## ----------------- ##
1618 ## Output variables. ##
1619 ## ----------------- ##
1620 _ASBOX
1621 echo
1622 for ac_var in $ac_subst_vars
1624 eval ac_val=\$$ac_var
1625 case $ac_val in
1626 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1627 esac
1628 echo "$ac_var='\''$ac_val'\''"
1629 done | sort
1630 echo
1632 if test -n "$ac_subst_files"; then
1633 cat <<\_ASBOX
1634 ## ------------------- ##
1635 ## File substitutions. ##
1636 ## ------------------- ##
1637 _ASBOX
1638 echo
1639 for ac_var in $ac_subst_files
1641 eval ac_val=\$$ac_var
1642 case $ac_val in
1643 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1644 esac
1645 echo "$ac_var='\''$ac_val'\''"
1646 done | sort
1647 echo
1650 if test -s confdefs.h; then
1651 cat <<\_ASBOX
1652 ## ----------- ##
1653 ## confdefs.h. ##
1654 ## ----------- ##
1655 _ASBOX
1656 echo
1657 cat confdefs.h
1658 echo
1660 test "$ac_signal" != 0 &&
1661 echo "$as_me: caught signal $ac_signal"
1662 echo "$as_me: exit $exit_status"
1663 } >&5
1664 rm -f core *.core core.conftest.* &&
1665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1666 exit $exit_status
1668 for ac_signal in 1 2 13 15; do
1669 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1670 done
1671 ac_signal=0
1673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1674 rm -f -r conftest* confdefs.h
1676 # Predefined preprocessor variables.
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_NAME "$PACKAGE_NAME"
1680 _ACEOF
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1685 _ACEOF
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1690 _ACEOF
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_STRING "$PACKAGE_STRING"
1695 _ACEOF
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1700 _ACEOF
1703 # Let the site file select an alternate cache file if it wants to.
1704 # Prefer explicitly selected file to automatically selected ones.
1705 if test -n "$CONFIG_SITE"; then
1706 set x "$CONFIG_SITE"
1707 elif test "x$prefix" != xNONE; then
1708 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1709 else
1710 set x "$ac_default_prefix/share/config.site" \
1711 "$ac_default_prefix/etc/config.site"
1713 shift
1714 for ac_site_file
1716 if test -r "$ac_site_file"; then
1717 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1718 echo "$as_me: loading site script $ac_site_file" >&6;}
1719 sed 's/^/| /' "$ac_site_file" >&5
1720 . "$ac_site_file"
1722 done
1724 if test -r "$cache_file"; then
1725 # Some versions of bash will fail to source /dev/null (special
1726 # files actually), so we avoid doing that.
1727 if test -f "$cache_file"; then
1728 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1729 echo "$as_me: loading cache $cache_file" >&6;}
1730 case $cache_file in
1731 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1732 *) . "./$cache_file";;
1733 esac
1735 else
1736 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1737 echo "$as_me: creating cache $cache_file" >&6;}
1738 >$cache_file
1741 # Check that the precious variables saved in the cache have kept the same
1742 # value.
1743 ac_cache_corrupted=false
1744 for ac_var in $ac_precious_vars; do
1745 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1746 eval ac_new_set=\$ac_env_${ac_var}_set
1747 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1748 eval ac_new_val=\$ac_env_${ac_var}_value
1749 case $ac_old_set,$ac_new_set in
1750 set,)
1751 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1752 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1753 ac_cache_corrupted=: ;;
1754 ,set)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,);;
1760 if test "x$ac_old_val" != "x$ac_new_val"; then
1761 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1762 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1763 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1764 echo "$as_me: former value: $ac_old_val" >&2;}
1765 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1766 echo "$as_me: current value: $ac_new_val" >&2;}
1767 ac_cache_corrupted=:
1768 fi;;
1769 esac
1770 # Pass precious variables to config.status.
1771 if test "$ac_new_set" = set; then
1772 case $ac_new_val in
1773 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1774 *) ac_arg=$ac_var=$ac_new_val ;;
1775 esac
1776 case " $ac_configure_args " in
1777 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1778 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1779 esac
1781 done
1782 if $ac_cache_corrupted; then
1783 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1784 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1785 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1786 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1787 { (exit 1); exit 1; }; }
1814 ac_ext=c
1815 ac_cpp='$CPP $CPPFLAGS'
1816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1822 ac_config_headers="$ac_config_headers include/config.h"
1824 ac_aux_dir=
1825 for ac_dir in tools "$srcdir"/tools; do
1826 if test -f "$ac_dir/install-sh"; then
1827 ac_aux_dir=$ac_dir
1828 ac_install_sh="$ac_aux_dir/install-sh -c"
1829 break
1830 elif test -f "$ac_dir/install.sh"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/install.sh -c"
1833 break
1834 elif test -f "$ac_dir/shtool"; then
1835 ac_aux_dir=$ac_dir
1836 ac_install_sh="$ac_aux_dir/shtool install -c"
1837 break
1839 done
1840 if test -z "$ac_aux_dir"; then
1841 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1842 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1843 { (exit 1); exit 1; }; }
1846 # These three variables are undocumented and unsupported,
1847 # and are intended to be withdrawn in a future Autoconf release.
1848 # They can cause serious problems if a builder's source tree is in a directory
1849 # whose full name contains unusual characters.
1850 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1851 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1852 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1857 # Check whether --enable-win16 was given.
1858 if test "${enable_win16+set}" = set; then
1859 enableval=$enable_win16;
1862 # Check whether --enable-win64 was given.
1863 if test "${enable_win64+set}" = set; then
1864 enableval=$enable_win64;
1869 # Check whether --with-opengl was given.
1870 if test "${with_opengl+set}" = set; then
1871 withval=$with_opengl;
1875 # Check whether --with-wine-tools was given.
1876 if test "${with_wine_tools+set}" = set; then
1877 withval=$with_wine_tools;
1881 # Make sure we can run config.sub.
1882 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1883 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1884 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1885 { (exit 1); exit 1; }; }
1887 { echo "$as_me:$LINENO: checking build system type" >&5
1888 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1889 if test "${ac_cv_build+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 else
1892 ac_build_alias=$build_alias
1893 test "x$ac_build_alias" = x &&
1894 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1895 test "x$ac_build_alias" = x &&
1896 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1897 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1898 { (exit 1); exit 1; }; }
1899 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1900 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1901 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1902 { (exit 1); exit 1; }; }
1905 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1906 echo "${ECHO_T}$ac_cv_build" >&6; }
1907 case $ac_cv_build in
1908 *-*-*) ;;
1909 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1910 echo "$as_me: error: invalid value of canonical build" >&2;}
1911 { (exit 1); exit 1; }; };;
1912 esac
1913 build=$ac_cv_build
1914 ac_save_IFS=$IFS; IFS='-'
1915 set x $ac_cv_build
1916 shift
1917 build_cpu=$1
1918 build_vendor=$2
1919 shift; shift
1920 # Remember, the first character of IFS is used to create $*,
1921 # except with old shells:
1922 build_os=$*
1923 IFS=$ac_save_IFS
1924 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1927 { echo "$as_me:$LINENO: checking host system type" >&5
1928 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1929 if test "${ac_cv_host+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 else
1932 if test "x$host_alias" = x; then
1933 ac_cv_host=$ac_cv_build
1934 else
1935 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1936 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1937 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1938 { (exit 1); exit 1; }; }
1942 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1943 echo "${ECHO_T}$ac_cv_host" >&6; }
1944 case $ac_cv_host in
1945 *-*-*) ;;
1946 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1947 echo "$as_me: error: invalid value of canonical host" >&2;}
1948 { (exit 1); exit 1; }; };;
1949 esac
1950 host=$ac_cv_host
1951 ac_save_IFS=$IFS; IFS='-'
1952 set x $ac_cv_host
1953 shift
1954 host_cpu=$1
1955 host_vendor=$2
1956 shift; shift
1957 # Remember, the first character of IFS is used to create $*,
1958 # except with old shells:
1959 host_os=$*
1960 IFS=$ac_save_IFS
1961 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1964 case $host in
1965 x86_64*linux*)
1966 if test "x$enable_win64" != "xyes"
1967 then
1968 test -n "$CC" || CC="gcc -m32"
1969 test -n "$CXX"|| CXX="g++ -m32"
1970 test -n "$LD" || LD="ld -m elf_i386"
1971 test -n "$AS" || AS="as --32"
1972 host_cpu="i386"
1975 esac
1977 case $host_cpu in
1978 *i[3456789]86*)
1979 if test "x$enable_win16" != "xno"
1980 then
1981 enable_win16="yes"
1984 esac
1986 WIN16_FILES="\$(WIN16_FILES)"
1988 WIN16_INSTALL="\$(WIN16_INSTALL)"
1990 if test "x$enable_win16" != "xyes"
1991 then
1992 WIN16_FILES=""
1993 WIN16_INSTALL=""
1996 case "$srcdir" in
1997 .) ;;
1998 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
1999 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2000 You need to run 'make distclean' in the source tree first." >&5
2001 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&2;}
2003 { (exit 1); exit 1; }; }
2004 fi ;;
2005 esac
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 cat >conftest.make <<\_ACEOF
2015 SHELL = /bin/sh
2016 all:
2017 @echo '@@@%%%=$(MAKE)=@@@%%%'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021 *@@@%%%=?*=@@@%%%*)
2022 eval ac_cv_prog_make_${ac_make}_set=yes;;
2024 eval ac_cv_prog_make_${ac_make}_set=no;;
2025 esac
2026 rm -f conftest.make
2028 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2031 SET_MAKE=
2032 else
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 ac_ext=c
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2075 else
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2083 ac_ct_CC=$CC
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2115 else
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 ac_tool_warned=yes ;;
2132 esac
2133 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2164 IFS=$as_save_IFS
2168 CC=$ac_cv_prog_CC
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2172 else
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 else
2191 ac_prog_rejected=no
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2195 IFS=$as_save_IFS
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2201 continue
2203 ac_cv_prog_CC="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2214 shift
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2219 shift
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2225 CC=$ac_cv_prog_CC
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2229 else
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2263 IFS=$as_save_IFS
2267 CC=$ac_cv_prog_CC
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2271 else
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2278 done
2280 if test -z "$CC"; then
2281 ac_ct_CC=$CC
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2293 else
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 for as_dir in $PATH
2297 IFS=$as_save_IFS
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2305 done
2306 done
2307 IFS=$as_save_IFS
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2315 else
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2322 done
2324 if test "x$ac_ct_CC" = x; then
2325 CC=""
2326 else
2327 case $cross_compiling:$ac_tool_warned in
2328 yes:)
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2335 ac_tool_warned=yes ;;
2336 esac
2337 CC=$ac_ct_CC
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2354 case "(($ac_try" in
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2357 esac
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&5"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2380 ac_status=$?
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2385 /* confdefs.h. */
2386 _ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2392 main ()
2396 return 0;
2398 _ACEOF
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2403 # of exeext.
2404 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2416 ac_rmfiles=
2417 for ac_file in $ac_files
2419 case $ac_file in
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2422 esac
2423 done
2424 rm -f $ac_rmfiles
2426 if { (ac_try="$ac_link_default"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2440 # Autoconf.
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2444 case $ac_file in
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447 [ab].out )
2448 # We found the default executable, but exeext='' is most
2449 # certainly right.
2450 break;;
2451 *.* )
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2453 then :; else
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2460 # actually working.
2461 break;;
2463 break;;
2464 esac
2465 done
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468 else
2469 ac_file=''
2472 { echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='./$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2534 case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 break;;
2553 * ) break;;
2554 esac
2555 done
2556 else
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2570 ac_exeext=$EXEEXT
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 cat >conftest.$ac_ext <<_ACEOF
2577 /* confdefs.h. */
2578 _ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2584 main ()
2588 return 0;
2590 _ACEOF
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2604 case $ac_file in
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 break;;
2608 esac
2609 done
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2626 ac_objext=$OBJEXT
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2642 #ifndef __GNUC__
2643 choke me
2644 #endif
2647 return 0;
2649 _ACEOF
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2667 ac_compiler_gnu=yes
2668 else
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_compiler_gnu=no
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2691 ac_cv_prog_cc_g=no
2692 CFLAGS="-g"
2693 cat >conftest.$ac_ext <<_ACEOF
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 rm -f conftest.$ac_objext
2709 if { (ac_try="$ac_compile"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2725 ac_cv_prog_cc_g=yes
2726 else
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 CFLAGS=""
2731 cat >conftest.$ac_ext <<_ACEOF
2732 /* confdefs.h. */
2733 _ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2739 main ()
2743 return 0;
2745 _ACEOF
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2754 ac_status=$?
2755 grep -v '^ *+' conftest.er1 >conftest.err
2756 rm -f conftest.er1
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2764 else
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2769 CFLAGS="-g"
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 main ()
2782 return 0;
2784 _ACEOF
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2793 ac_status=$?
2794 grep -v '^ *+' conftest.er1 >conftest.err
2795 rm -f conftest.er1
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2802 ac_cv_prog_cc_g=yes
2803 else
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat >conftest.$ac_ext <<_ACEOF
2844 /* confdefs.h. */
2845 _ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2849 #include <stdarg.h>
2850 #include <stdio.h>
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2857 char **p;
2858 int i;
2860 return p[i];
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2864 char *s;
2865 va_list v;
2866 va_start (v,p);
2867 s = g (p, va_arg (v,int));
2868 va_end (v);
2869 return s;
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2883 #define FOO(x) 'x'
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 int argc;
2891 char **argv;
2893 main ()
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 return 0;
2899 _ACEOF
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2921 ac_cv_prog_cc_c89=$ac_arg
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2931 done
2932 rm -f conftest.$ac_ext
2933 CC=$ac_save_CC
2936 # AC_CACHE_VAL
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2941 xno)
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2948 esac
2951 ac_ext=c
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957 ac_ext=cpp
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -z "$CXX"; then
2963 if test -n "$CCC"; then
2964 CXX=$CCC
2965 else
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_CXX+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 else
2976 if test -n "$CXX"; then
2977 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 CXX=$ac_cv_prog_CXX
2997 if test -n "$CXX"; then
2998 { echo "$as_me:$LINENO: result: $CXX" >&5
2999 echo "${ECHO_T}$CXX" >&6; }
3000 else
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3006 test -n "$CXX" && break
3007 done
3009 if test -z "$CXX"; then
3010 ac_ct_CXX=$CXX
3011 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy $ac_prog; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 if test -n "$ac_ct_CXX"; then
3021 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3022 else
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CXX="$ac_prog"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 break 2
3034 done
3035 done
3036 IFS=$as_save_IFS
3040 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3041 if test -n "$ac_ct_CXX"; then
3042 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3043 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3044 else
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3050 test -n "$ac_ct_CXX" && break
3051 done
3053 if test "x$ac_ct_CXX" = x; then
3054 CXX="g++"
3055 else
3056 case $cross_compiling:$ac_tool_warned in
3057 yes:)
3058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3059 whose name does not start with the host triplet. If you think this
3060 configuration is useful to you, please write to autoconf@gnu.org." >&5
3061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3064 ac_tool_warned=yes ;;
3065 esac
3066 CXX=$ac_ct_CXX
3072 # Provide some information about the compiler.
3073 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3074 ac_compiler=`set X $ac_compile; echo $2`
3075 { (ac_try="$ac_compiler --version >&5"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compiler --version >&5") 2>&5
3082 ac_status=$?
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }
3085 { (ac_try="$ac_compiler -v >&5"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compiler -v >&5") 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (ac_try="$ac_compiler -V >&5"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler -V >&5") 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3121 #ifndef __GNUC__
3122 choke me
3123 #endif
3126 return 0;
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_cxx_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_compiler_gnu=yes
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3159 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3160 GXX=`test $ac_compiler_gnu = yes && echo yes`
3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
3162 ac_save_CXXFLAGS=$CXXFLAGS
3163 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3164 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3165 if test "${ac_cv_prog_cxx_g+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 else
3168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3169 ac_cxx_werror_flag=yes
3170 ac_cv_prog_cxx_g=no
3171 CXXFLAGS="-g"
3172 cat >conftest.$ac_ext <<_ACEOF
3173 /* confdefs.h. */
3174 _ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 rm -f conftest.$ac_objext
3188 if { (ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3195 ac_status=$?
3196 grep -v '^ *+' conftest.er1 >conftest.err
3197 rm -f conftest.er1
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_cxx_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cxx_g=yes
3205 else
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 CXXFLAGS=""
3210 cat >conftest.$ac_ext <<_ACEOF
3211 /* confdefs.h. */
3212 _ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3218 main ()
3222 return 0;
3224 _ACEOF
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3227 case "(($ac_try" in
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3230 esac
3231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3233 ac_status=$?
3234 grep -v '^ *+' conftest.er1 >conftest.err
3235 rm -f conftest.er1
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_cxx_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.$ac_objext; then
3243 else
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3248 CXXFLAGS="-g"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3266 case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3269 esac
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3272 ac_status=$?
3273 grep -v '^ *+' conftest.er1 >conftest.err
3274 rm -f conftest.er1
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_cxx_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3281 ac_cv_prog_cxx_g=yes
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3299 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3304 CXXFLAGS="-g -O2"
3305 else
3306 CXXFLAGS="-g"
3308 else
3309 if test "$GXX" = yes; then
3310 CXXFLAGS="-O2"
3311 else
3312 CXXFLAGS=
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3326 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 else
3329 if test -n "$CPPBIN"; then
3330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 break 2
3343 done
3344 done
3345 IFS=$as_save_IFS
3349 CPPBIN=$ac_cv_prog_CPPBIN
3350 if test -n "$CPPBIN"; then
3351 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3352 echo "${ECHO_T}$CPPBIN" >&6; }
3353 else
3354 { echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6; }
3360 if test -z "$ac_cv_prog_CPPBIN"; then
3361 ac_ct_CPPBIN=$CPPBIN
3362 # Extract the first word of "cpp", so it can be a program name with args.
3363 set dummy cpp; ac_word=$2
3364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3366 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 else
3369 if test -n "$ac_ct_CPPBIN"; then
3370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_ac_ct_CPPBIN="cpp"
3380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 break 2
3383 done
3384 done
3385 IFS=$as_save_IFS
3389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3390 if test -n "$ac_ct_CPPBIN"; then
3391 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3392 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3393 else
3394 { echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6; }
3398 if test "x$ac_ct_CPPBIN" = x; then
3399 CPPBIN="cpp"
3400 else
3401 case $cross_compiling:$ac_tool_warned in
3402 yes:)
3403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3404 whose name does not start with the host triplet. If you think this
3405 configuration is useful to you, please write to autoconf@gnu.org." >&5
3406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3409 ac_tool_warned=yes ;;
3410 esac
3411 CPPBIN=$ac_ct_CPPBIN
3413 else
3414 CPPBIN="$ac_cv_prog_CPPBIN"
3418 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3419 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3420 if test "${wine_cv_toolsdir+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else
3423 if test -z "$with_wine_tools"; then
3424 if test "$cross_compiling" = "yes"; then
3425 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3426 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3427 { (exit 1); exit 1; }; }
3428 else
3429 wine_cv_toolsdir="\$(TOPOBJDIR)"
3431 elif test -d "$with_wine_tools/tools/winebuild"; then
3432 case $with_wine_tools in
3433 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3434 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3435 esac
3436 else
3437 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3438 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3439 { (exit 1); exit 1; }; }
3442 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3443 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3444 TOOLSDIR=$wine_cv_toolsdir
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3454 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3457 CPP=
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466 ac_preproc_ok=false
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error" is here to catch this case.
3475 cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h. */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #ifdef __STDC__
3482 # include <limits.h>
3483 #else
3484 # include <assert.h>
3485 #endif
3486 Syntax error
3487 _ACEOF
3488 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 ac_status=$?
3496 grep -v '^ *+' conftest.er1 >conftest.err
3497 rm -f conftest.er1
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 }; then
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3510 continue
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3518 /* confdefs.h. */
3519 _ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3524 _ACEOF
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3526 case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529 esac
3530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3540 }; then
3541 # Broken: success on invalid input.
3542 continue
3543 else
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 # Passes both tests.
3548 ac_preproc_ok=:
3549 break
3552 rm -f conftest.err conftest.$ac_ext
3554 done
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then
3558 break
3561 done
3562 ac_cv_prog_CPP=$CPP
3565 CPP=$ac_cv_prog_CPP
3566 else
3567 ac_cv_prog_CPP=$CPP
3569 { echo "$as_me:$LINENO: result: $CPP" >&5
3570 echo "${ECHO_T}$CPP" >&6; }
3571 ac_preproc_ok=false
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat >conftest.$ac_ext <<_ACEOF
3581 /* confdefs.h. */
3582 _ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #ifdef __STDC__
3587 # include <limits.h>
3588 #else
3589 # include <assert.h>
3590 #endif
3591 Syntax error
3592 _ACEOF
3593 if { (ac_try="$ac_cpp conftest.$ac_ext"
3594 case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev/null && {
3606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 }; then
3610 else
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 # Broken: fails on valid input.
3615 continue
3618 rm -f conftest.err conftest.$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat >conftest.$ac_ext <<_ACEOF
3623 /* confdefs.h. */
3624 _ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 #include <ac_nonexistent.h>
3629 _ACEOF
3630 if { (ac_try="$ac_cpp conftest.$ac_ext"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } >/dev/null && {
3643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 }; then
3646 # Broken: success on invalid input.
3647 continue
3648 else
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 # Passes both tests.
3653 ac_preproc_ok=:
3654 break
3657 rm -f conftest.err conftest.$ac_ext
3659 done
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then
3664 else
3665 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3666 See \`config.log' for more details." >&5
3667 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&2;}
3669 { (exit 1); exit 1; }; }
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 { echo "$as_me:$LINENO: checking for X" >&5
3680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3683 # Check whether --with-x was given.
3684 if test "${with_x+set}" = set; then
3685 withval=$with_x;
3688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3689 if test "x$with_x" = xno; then
3690 # The user explicitly disabled X.
3691 have_x=disabled
3692 else
3693 case $x_includes,$x_libraries in #(
3694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3695 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3696 { (exit 1); exit 1; }; };; #(
3697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 # One or both of the vars are not set, and there is no cached value.
3701 ac_x_includes=no ac_x_libraries=no
3702 rm -f -r conftest.dir
3703 if mkdir conftest.dir; then
3704 cd conftest.dir
3705 cat >Imakefile <<'_ACEOF'
3706 incroot:
3707 @echo incroot='${INCROOT}'
3708 usrlibdir:
3709 @echo usrlibdir='${USRLIBDIR}'
3710 libdir:
3711 @echo libdir='${LIBDIR}'
3712 _ACEOF
3713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 for ac_var in incroot usrlibdir libdir; do
3716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3717 done
3718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3719 for ac_extension in a so sl; do
3720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3722 ac_im_usrlibdir=$ac_im_libdir; break
3724 done
3725 # Screen out bogus values from the imake configuration. They are
3726 # bogus both because they are the default anyway, and because
3727 # using them would break gcc on systems where it needs fixed includes.
3728 case $ac_im_incroot in
3729 /usr/include) ac_x_includes= ;;
3730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3731 esac
3732 case $ac_im_usrlibdir in
3733 /usr/lib | /lib) ;;
3734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3735 esac
3737 cd ..
3738 rm -f -r conftest.dir
3741 # Standard set of common directories for X headers.
3742 # Check X11 before X11Rn because it is often a symlink to the current release.
3743 ac_x_header_dirs='
3744 /usr/X11/include
3745 /usr/X11R6/include
3746 /usr/X11R5/include
3747 /usr/X11R4/include
3749 /usr/include/X11
3750 /usr/include/X11R6
3751 /usr/include/X11R5
3752 /usr/include/X11R4
3754 /usr/local/X11/include
3755 /usr/local/X11R6/include
3756 /usr/local/X11R5/include
3757 /usr/local/X11R4/include
3759 /usr/local/include/X11
3760 /usr/local/include/X11R6
3761 /usr/local/include/X11R5
3762 /usr/local/include/X11R4
3764 /usr/X386/include
3765 /usr/x386/include
3766 /usr/XFree86/include/X11
3768 /usr/include
3769 /usr/local/include
3770 /usr/unsupported/include
3771 /usr/athena/include
3772 /usr/local/x11r5/include
3773 /usr/lpp/Xamples/include
3775 /usr/openwin/include
3776 /usr/openwin/share/include'
3778 if test "$ac_x_includes" = no; then
3779 # Guess where to find include files, by looking for Xlib.h.
3780 # First, try using that file with no special directory specified.
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <X11/Xlib.h>
3788 _ACEOF
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null && {
3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 }; then
3805 # We can compile using X headers with no special include directory.
3806 ac_x_includes=
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 for ac_dir in $ac_x_header_dirs; do
3812 if test -r "$ac_dir/X11/Xlib.h"; then
3813 ac_x_includes=$ac_dir
3814 break
3816 done
3819 rm -f conftest.err conftest.$ac_ext
3820 fi # $ac_x_includes = no
3822 if test "$ac_x_libraries" = no; then
3823 # Check for the libraries.
3824 # See if we find them without any special options.
3825 # Don't add to $LIBS permanently.
3826 ac_save_LIBS=$LIBS
3827 LIBS="-lX11 $LIBS"
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <X11/Xlib.h>
3836 main ()
3838 XrmInitialize ()
3840 return 0;
3842 _ACEOF
3843 rm -f conftest.$ac_objext conftest$ac_exeext
3844 if { (ac_try="$ac_link"
3845 case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3848 esac
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3861 LIBS=$ac_save_LIBS
3862 # We can link X programs with no special library path.
3863 ac_x_libraries=
3864 else
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 LIBS=$ac_save_LIBS
3869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3871 # Don't even attempt the hair of trying to link an X program!
3872 for ac_extension in a so sl; do
3873 if test -r "$ac_dir/libX11.$ac_extension"; then
3874 ac_x_libraries=$ac_dir
3875 break 2
3877 done
3878 done
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3883 fi # $ac_x_libraries = no
3885 case $ac_x_includes,$ac_x_libraries in #(
3886 no,* | *,no | *\'*)
3887 # Didn't find X, or a directory has "'" in its name.
3888 ac_cv_have_x="have_x=no";; #(
3890 # Record where we found X for the cache.
3891 ac_cv_have_x="have_x=yes\
3892 ac_x_includes='$ac_x_includes'\
3893 ac_x_libraries='$ac_x_libraries'"
3894 esac
3896 ;; #(
3897 *) have_x=yes;;
3898 esac
3899 eval "$ac_cv_have_x"
3900 fi # $with_x != no
3902 if test "$have_x" != yes; then
3903 { echo "$as_me:$LINENO: result: $have_x" >&5
3904 echo "${ECHO_T}$have_x" >&6; }
3905 no_x=yes
3906 else
3907 # If each of the values was on the command line, it overrides each guess.
3908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3910 # Update the cache value to reflect the command line values.
3911 ac_cv_have_x="have_x=yes\
3912 ac_x_includes='$x_includes'\
3913 ac_x_libraries='$x_libraries'"
3914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3918 if test "$no_x" = yes; then
3919 # Not all programs may use this symbol, but it does not hurt to define it.
3921 cat >>confdefs.h <<\_ACEOF
3922 #define X_DISPLAY_MISSING 1
3923 _ACEOF
3925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3926 else
3927 if test -n "$x_includes"; then
3928 X_CFLAGS="$X_CFLAGS -I$x_includes"
3931 # It would also be nice to do this for all -L options, not just this one.
3932 if test -n "$x_libraries"; then
3933 X_LIBS="$X_LIBS -L$x_libraries"
3934 # For Solaris; some versions of Sun CC require a space after -R and
3935 # others require no space. Words are not sufficient . . . .
3936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3939 ac_xsave_c_werror_flag=$ac_c_werror_flag
3940 ac_c_werror_flag=yes
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 rm -f conftest.$ac_objext conftest$ac_exeext
3957 if { (ac_try="$ac_link"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_link") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest$ac_exeext &&
3973 $as_test_x conftest$ac_exeext; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 X_LIBS="$X_LIBS -R$x_libraries"
3977 else
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 LIBS="$ac_xsave_LIBS -R $x_libraries"
3982 cat >conftest.$ac_ext <<_ACEOF
3983 /* confdefs.h. */
3984 _ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 rm -f conftest.$ac_objext conftest$ac_exeext
3998 if { (ac_try="$ac_link"
3999 case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4002 esac
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_link") 2>conftest.er1
4005 ac_status=$?
4006 grep -v '^ *+' conftest.er1 >conftest.err
4007 rm -f conftest.er1
4008 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest$ac_exeext &&
4014 $as_test_x conftest$ac_exeext; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4017 X_LIBS="$X_LIBS -R $x_libraries"
4018 else
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { echo "$as_me:$LINENO: result: neither works" >&5
4023 echo "${ECHO_T}neither works" >&6; }
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_xsave_c_werror_flag
4033 LIBS=$ac_xsave_LIBS
4036 # Check for system-dependent libraries X programs must link with.
4037 # Do this before checking for the system-independent R6 libraries
4038 # (-lICE), since we may need -lsocket or whatever for X linking.
4040 if test "$ISC" = yes; then
4041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4042 else
4043 # Martyn Johnson says this is needed for Ultrix, if the X
4044 # libraries were built with DECnet support. And Karl Berry says
4045 # the Alpha needs dnet_stub (dnet does not exist).
4046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 /* Override any GCC internal prototype to avoid an error.
4055 Use char because int might match the return type of a GCC
4056 builtin and then its argument prototype would still apply. */
4057 #ifdef __cplusplus
4058 extern "C"
4059 #endif
4060 char XOpenDisplay ();
4062 main ()
4064 return XOpenDisplay ();
4066 return 0;
4068 _ACEOF
4069 rm -f conftest.$ac_objext conftest$ac_exeext
4070 if { (ac_try="$ac_link"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_link") 2>conftest.er1
4077 ac_status=$?
4078 grep -v '^ *+' conftest.er1 >conftest.err
4079 rm -f conftest.er1
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest$ac_exeext &&
4086 $as_test_x conftest$ac_exeext; then
4088 else
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.$ac_ext >&5
4092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 ac_check_lib_save_LIBS=$LIBS
4098 LIBS="-ldnet $LIBS"
4099 cat >conftest.$ac_ext <<_ACEOF
4100 /* confdefs.h. */
4101 _ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4109 #ifdef __cplusplus
4110 extern "C"
4111 #endif
4112 char dnet_ntoa ();
4114 main ()
4116 return dnet_ntoa ();
4118 return 0;
4120 _ACEOF
4121 rm -f conftest.$ac_objext conftest$ac_exeext
4122 if { (ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_link") 2>conftest.er1
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest$ac_exeext &&
4138 $as_test_x conftest$ac_exeext; then
4139 ac_cv_lib_dnet_dnet_ntoa=yes
4140 else
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 ac_cv_lib_dnet_dnet_ntoa=no
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_check_lib_save_LIBS
4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 ac_check_lib_save_LIBS=$LIBS
4164 LIBS="-ldnet_stub $LIBS"
4165 cat >conftest.$ac_ext <<_ACEOF
4166 /* confdefs.h. */
4167 _ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4175 #ifdef __cplusplus
4176 extern "C"
4177 #endif
4178 char dnet_ntoa ();
4180 main ()
4182 return dnet_ntoa ();
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.$ac_objext conftest$ac_exeext
4188 if { (ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_link") 2>conftest.er1
4195 ac_status=$?
4196 grep -v '^ *+' conftest.er1 >conftest.err
4197 rm -f conftest.er1
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest$ac_exeext &&
4204 $as_test_x conftest$ac_exeext; then
4205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4206 else
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 ac_cv_lib_dnet_stub_dnet_ntoa=no
4213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4214 conftest$ac_exeext conftest.$ac_ext
4215 LIBS=$ac_check_lib_save_LIBS
4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4227 conftest$ac_exeext conftest.$ac_ext
4228 LIBS="$ac_xsave_LIBS"
4230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4231 # to get the SysV transport functions.
4232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4233 # needs -lnsl.
4234 # The nsl library prevents programs from opening the X display
4235 # on Irix 5.2, according to T.E. Dickey.
4236 # The functions gethostbyname, getservbyname, and inet_addr are
4237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4240 if test "${ac_cv_func_gethostbyname+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 else
4243 cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h. */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define gethostbyname innocuous_gethostbyname
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char gethostbyname (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4258 #ifdef __STDC__
4259 # include <limits.h>
4260 #else
4261 # include <assert.h>
4262 #endif
4264 #undef gethostbyname
4266 /* Override any GCC internal prototype to avoid an error.
4267 Use char because int might match the return type of a GCC
4268 builtin and then its argument prototype would still apply. */
4269 #ifdef __cplusplus
4270 extern "C"
4271 #endif
4272 char gethostbyname ();
4273 /* The GNU C library defines this for functions which it implements
4274 to always fail with ENOSYS. Some functions are actually named
4275 something starting with __ and the normal name is an alias. */
4276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4277 choke me
4278 #endif
4281 main ()
4283 return gethostbyname ();
4285 return 0;
4287 _ACEOF
4288 rm -f conftest.$ac_objext conftest$ac_exeext
4289 if { (ac_try="$ac_link"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_link") 2>conftest.er1
4296 ac_status=$?
4297 grep -v '^ *+' conftest.er1 >conftest.err
4298 rm -f conftest.er1
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest$ac_exeext &&
4305 $as_test_x conftest$ac_exeext; then
4306 ac_cv_func_gethostbyname=yes
4307 else
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_func_gethostbyname=no
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320 if test $ac_cv_func_gethostbyname = no; then
4321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-lnsl $LIBS"
4328 cat >conftest.$ac_ext <<_ACEOF
4329 /* confdefs.h. */
4330 _ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4338 #ifdef __cplusplus
4339 extern "C"
4340 #endif
4341 char gethostbyname ();
4343 main ()
4345 return gethostbyname ();
4347 return 0;
4349 _ACEOF
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4358 ac_status=$?
4359 grep -v '^ *+' conftest.er1 >conftest.err
4360 rm -f conftest.er1
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest$ac_exeext &&
4367 $as_test_x conftest$ac_exeext; then
4368 ac_cv_lib_nsl_gethostbyname=yes
4369 else
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_cv_lib_nsl_gethostbyname=no
4376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4377 conftest$ac_exeext conftest.$ac_ext
4378 LIBS=$ac_check_lib_save_LIBS
4380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4386 if test $ac_cv_lib_nsl_gethostbyname = no; then
4387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 else
4392 ac_check_lib_save_LIBS=$LIBS
4393 LIBS="-lbsd $LIBS"
4394 cat >conftest.$ac_ext <<_ACEOF
4395 /* confdefs.h. */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4404 #ifdef __cplusplus
4405 extern "C"
4406 #endif
4407 char gethostbyname ();
4409 main ()
4411 return gethostbyname ();
4413 return 0;
4415 _ACEOF
4416 rm -f conftest.$ac_objext conftest$ac_exeext
4417 if { (ac_try="$ac_link"
4418 case "(($ac_try" in
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4421 esac
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423 (eval "$ac_link") 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && {
4430 test -z "$ac_c_werror_flag" ||
4431 test ! -s conftest.err
4432 } && test -s conftest$ac_exeext &&
4433 $as_test_x conftest$ac_exeext; then
4434 ac_cv_lib_bsd_gethostbyname=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_bsd_gethostbyname=no
4442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4456 # socket/setsockopt and other routines are undefined under SCO ODT
4457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4458 # on later versions), says Simon Leinen: it contains gethostby*
4459 # variants that don't use the name server (or something). -lsocket
4460 # must be given before -lnsl if both are needed. We assume that
4461 # if connect needs -lnsl, so does gethostbyname.
4462 { echo "$as_me:$LINENO: checking for connect" >&5
4463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4464 if test "${ac_cv_func_connect+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467 cat >conftest.$ac_ext <<_ACEOF
4468 /* confdefs.h. */
4469 _ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4475 #define connect innocuous_connect
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char connect (); below.
4479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 <limits.h> exists even on freestanding compilers. */
4482 #ifdef __STDC__
4483 # include <limits.h>
4484 #else
4485 # include <assert.h>
4486 #endif
4488 #undef connect
4490 /* Override any GCC internal prototype to avoid an error.
4491 Use char because int might match the return type of a GCC
4492 builtin and then its argument prototype would still apply. */
4493 #ifdef __cplusplus
4494 extern "C"
4495 #endif
4496 char connect ();
4497 /* The GNU C library defines this for functions which it implements
4498 to always fail with ENOSYS. Some functions are actually named
4499 something starting with __ and the normal name is an alias. */
4500 #if defined __stub_connect || defined __stub___connect
4501 choke me
4502 #endif
4505 main ()
4507 return connect ();
4509 return 0;
4511 _ACEOF
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (ac_try="$ac_link"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4519 (eval "$ac_link") 2>conftest.er1
4520 ac_status=$?
4521 grep -v '^ *+' conftest.er1 >conftest.err
4522 rm -f conftest.er1
4523 cat conftest.err >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest$ac_exeext &&
4529 $as_test_x conftest$ac_exeext; then
4530 ac_cv_func_connect=yes
4531 else
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4535 ac_cv_func_connect=no
4538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4539 conftest$ac_exeext conftest.$ac_ext
4541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544 if test $ac_cv_func_connect = no; then
4545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4547 if test "${ac_cv_lib_socket_connect+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 ac_check_lib_save_LIBS=$LIBS
4551 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4552 cat >conftest.$ac_ext <<_ACEOF
4553 /* confdefs.h. */
4554 _ACEOF
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4562 #ifdef __cplusplus
4563 extern "C"
4564 #endif
4565 char connect ();
4567 main ()
4569 return connect ();
4571 return 0;
4573 _ACEOF
4574 rm -f conftest.$ac_objext conftest$ac_exeext
4575 if { (ac_try="$ac_link"
4576 case "(($ac_try" in
4577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4579 esac
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_link") 2>conftest.er1
4582 ac_status=$?
4583 grep -v '^ *+' conftest.er1 >conftest.err
4584 rm -f conftest.er1
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest$ac_exeext &&
4591 $as_test_x conftest$ac_exeext; then
4592 ac_cv_lib_socket_connect=yes
4593 else
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_lib_socket_connect=no
4600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4606 if test $ac_cv_lib_socket_connect = yes; then
4607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4612 # Guillermo Gomez says -lposix is necessary on A/UX.
4613 { echo "$as_me:$LINENO: checking for remove" >&5
4614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4615 if test "${ac_cv_func_remove+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h. */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626 #define remove innocuous_remove
4628 /* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char remove (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4633 #ifdef __STDC__
4634 # include <limits.h>
4635 #else
4636 # include <assert.h>
4637 #endif
4639 #undef remove
4641 /* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4644 #ifdef __cplusplus
4645 extern "C"
4646 #endif
4647 char remove ();
4648 /* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651 #if defined __stub_remove || defined __stub___remove
4652 choke me
4653 #endif
4656 main ()
4658 return remove ();
4660 return 0;
4662 _ACEOF
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest$ac_exeext &&
4680 $as_test_x conftest$ac_exeext; then
4681 ac_cv_func_remove=yes
4682 else
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 ac_cv_func_remove=no
4689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4690 conftest$ac_exeext conftest.$ac_ext
4692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695 if test $ac_cv_func_remove = no; then
4696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_posix_remove+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lposix $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4704 /* confdefs.h. */
4705 _ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4713 #ifdef __cplusplus
4714 extern "C"
4715 #endif
4716 char remove ();
4718 main ()
4720 return remove ();
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest$ac_exeext &&
4742 $as_test_x conftest$ac_exeext; then
4743 ac_cv_lib_posix_remove=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_posix_remove=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4757 if test $ac_cv_lib_posix_remove = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4764 { echo "$as_me:$LINENO: checking for shmat" >&5
4765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4766 if test "${ac_cv_func_shmat+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 else
4769 cat >conftest.$ac_ext <<_ACEOF
4770 /* confdefs.h. */
4771 _ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4777 #define shmat innocuous_shmat
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char shmat (); below.
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 <limits.h> exists even on freestanding compilers. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4790 #undef shmat
4792 /* Override any GCC internal prototype to avoid an error.
4793 Use char because int might match the return type of a GCC
4794 builtin and then its argument prototype would still apply. */
4795 #ifdef __cplusplus
4796 extern "C"
4797 #endif
4798 char shmat ();
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined __stub_shmat || defined __stub___shmat
4803 choke me
4804 #endif
4807 main ()
4809 return shmat ();
4811 return 0;
4813 _ACEOF
4814 rm -f conftest.$ac_objext conftest$ac_exeext
4815 if { (ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_link") 2>conftest.er1
4822 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err
4824 rm -f conftest.er1
4825 cat conftest.err >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest$ac_exeext &&
4831 $as_test_x conftest$ac_exeext; then
4832 ac_cv_func_shmat=yes
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 ac_cv_func_shmat=no
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841 conftest$ac_exeext conftest.$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 ac_check_lib_save_LIBS=$LIBS
4853 LIBS="-lipc $LIBS"
4854 cat >conftest.$ac_ext <<_ACEOF
4855 /* confdefs.h. */
4856 _ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4864 #ifdef __cplusplus
4865 extern "C"
4866 #endif
4867 char shmat ();
4869 main ()
4871 return shmat ();
4873 return 0;
4875 _ACEOF
4876 rm -f conftest.$ac_objext conftest$ac_exeext
4877 if { (ac_try="$ac_link"
4878 case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_link") 2>conftest.er1
4884 ac_status=$?
4885 grep -v '^ *+' conftest.er1 >conftest.err
4886 rm -f conftest.er1
4887 cat conftest.err >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && {
4890 test -z "$ac_c_werror_flag" ||
4891 test ! -s conftest.err
4892 } && test -s conftest$ac_exeext &&
4893 $as_test_x conftest$ac_exeext; then
4894 ac_cv_lib_ipc_shmat=yes
4895 else
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_lib_ipc_shmat=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4904 LIBS=$ac_check_lib_save_LIBS
4906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4908 if test $ac_cv_lib_ipc_shmat = yes; then
4909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4915 # Check for libraries that X11R6 Xt/Xaw programs need.
4916 ac_save_LDFLAGS=$LDFLAGS
4917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4919 # check for ICE first), but we must link in the order -lSM -lICE or
4920 # we get undefined symbols. So assume we have SM if we have ICE.
4921 # These have to be linked with before -lX11, unlike the other
4922 # libraries we check for below, so use a different variable.
4923 # John Interrante, Karl Berry
4924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 ac_check_lib_save_LIBS=$LIBS
4930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4931 cat >conftest.$ac_ext <<_ACEOF
4932 /* confdefs.h. */
4933 _ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4941 #ifdef __cplusplus
4942 extern "C"
4943 #endif
4944 char IceConnectionNumber ();
4946 main ()
4948 return IceConnectionNumber ();
4950 return 0;
4952 _ACEOF
4953 rm -f conftest.$ac_objext conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest$ac_exeext &&
4970 $as_test_x conftest$ac_exeext; then
4971 ac_cv_lib_ICE_IceConnectionNumber=yes
4972 else
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber=no
4979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4980 conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4989 LDFLAGS=$ac_save_LDFLAGS
4994 for ac_prog in flex
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_prog_FLEX+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 if test -n "$FLEX"; then
5004 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_FLEX="$ac_prog"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 FLEX=$ac_cv_prog_FLEX
5024 if test -n "$FLEX"; then
5025 { echo "$as_me:$LINENO: result: $FLEX" >&5
5026 echo "${ECHO_T}$FLEX" >&6; }
5027 else
5028 { echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6; }
5033 test -n "$FLEX" && break
5034 done
5035 test -n "$FLEX" || FLEX="none"
5037 if test "$FLEX" = "none"
5038 then
5039 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5040 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5041 { (exit 1); exit 1; }; }
5044 for ac_prog in bison
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5050 if test "${ac_cv_prog_BISON+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 else
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON="$ac_prog"
5064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 BISON=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { echo "$as_me:$LINENO: result: $BISON" >&5
5076 echo "${ECHO_T}$BISON" >&6; }
5077 else
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5083 test -n "$BISON" && break
5084 done
5085 test -n "$BISON" || BISON="none"
5087 if test "$BISON" = "none"
5088 then
5089 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5090 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5091 { (exit 1); exit 1; }; }
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog in gas as
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101 if test "${ac_cv_prog_AS+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 else
5104 if test -n "$AS"; then
5105 ac_cv_prog_AS="$AS" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 AS=$ac_cv_prog_AS
5125 if test -n "$AS"; then
5126 { echo "$as_me:$LINENO: result: $AS" >&5
5127 echo "${ECHO_T}$AS" >&6; }
5128 else
5129 { echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6; }
5134 test -n "$AS" && break
5135 done
5137 if test -z "$AS"; then
5138 ac_ct_AS=$AS
5139 for ac_prog in gas as
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5145 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if test -n "$ac_ct_AS"; then
5149 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_AS="$ac_prog"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5169 if test -n "$ac_ct_AS"; then
5170 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5171 echo "${ECHO_T}$ac_ct_AS" >&6; }
5172 else
5173 { echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6; }
5178 test -n "$ac_ct_AS" && break
5179 done
5181 if test "x$ac_ct_AS" = x; then
5182 AS="as"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5187 whose name does not start with the host triplet. If you think this
5188 configuration is useful to you, please write to autoconf@gnu.org." >&5
5189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 AS=$ac_ct_AS
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}ld; ac_word=$2
5201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203 if test "${ac_cv_prog_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 else
5206 if test -n "$LD"; then
5207 ac_cv_prog_LD="$LD" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_LD="${ac_tool_prefix}ld"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 LD=$ac_cv_prog_LD
5227 if test -n "$LD"; then
5228 { echo "$as_me:$LINENO: result: $LD" >&5
5229 echo "${ECHO_T}$LD" >&6; }
5230 else
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5237 if test -z "$ac_cv_prog_LD"; then
5238 ac_ct_LD=$LD
5239 # Extract the first word of "ld", so it can be a program name with args.
5240 set dummy ld; ac_word=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 else
5246 if test -n "$ac_ct_LD"; then
5247 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_LD="ld"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5267 if test -n "$ac_ct_LD"; then
5268 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5269 echo "${ECHO_T}$ac_ct_LD" >&6; }
5270 else
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5275 if test "x$ac_ct_LD" = x; then
5276 LD="ld"
5277 else
5278 case $cross_compiling:$ac_tool_warned in
5279 yes:)
5280 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5281 whose name does not start with the host triplet. If you think this
5282 configuration is useful to you, please write to autoconf@gnu.org." >&5
5283 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 LD=$ac_ct_LD
5290 else
5291 LD="$ac_cv_prog_LD"
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}ar; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AR+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302 if test -n "$AR"; then
5303 ac_cv_prog_AR="$AR" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AR="${ac_tool_prefix}ar"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 AR=$ac_cv_prog_AR
5323 if test -n "$AR"; then
5324 { echo "$as_me:$LINENO: result: $AR" >&5
5325 echo "${ECHO_T}$AR" >&6; }
5326 else
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5333 if test -z "$ac_cv_prog_AR"; then
5334 ac_ct_AR=$AR
5335 # Extract the first word of "ar", so it can be a program name with args.
5336 set dummy ar; ac_word=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 else
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_AR="ar"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5365 echo "${ECHO_T}$ac_ct_AR" >&6; }
5366 else
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5371 if test "x$ac_ct_AR" = x; then
5372 AR="ar"
5373 else
5374 case $cross_compiling:$ac_tool_warned in
5375 yes:)
5376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5377 whose name does not start with the host triplet. If you think this
5378 configuration is useful to you, please write to autoconf@gnu.org." >&5
5379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 AR=$ac_ct_AR
5386 else
5387 AR="$ac_cv_prog_AR"
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5395 if test "${ac_cv_prog_RANLIB+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398 if test -n "$RANLIB"; then
5399 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 RANLIB=$ac_cv_prog_RANLIB
5419 if test -n "$RANLIB"; then
5420 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5421 echo "${ECHO_T}$RANLIB" >&6; }
5422 else
5423 { echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6; }
5429 if test -z "$ac_cv_prog_RANLIB"; then
5430 ac_ct_RANLIB=$RANLIB
5431 # Extract the first word of "ranlib", so it can be a program name with args.
5432 set dummy ranlib; ac_word=$2
5433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 if test -n "$ac_ct_RANLIB"; then
5439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_RANLIB="ranlib"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5459 if test -n "$ac_ct_RANLIB"; then
5460 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5461 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5462 else
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5467 if test "x$ac_ct_RANLIB" = x; then
5468 RANLIB=":"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&5
5475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5478 ac_tool_warned=yes ;;
5479 esac
5480 RANLIB=$ac_ct_RANLIB
5482 else
5483 RANLIB="$ac_cv_prog_RANLIB"
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_STRIP+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { echo "$as_me:$LINENO: result: $STRIP" >&5
5517 echo "${ECHO_T}$STRIP" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5557 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5569 whose name does not start with the host triplet. If you think this
5570 configuration is useful to you, please write to autoconf@gnu.org." >&5
5571 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5574 ac_tool_warned=yes ;;
5575 esac
5576 STRIP=$ac_ct_STRIP
5578 else
5579 STRIP="$ac_cv_prog_STRIP"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}windres; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_WINDRES+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$WINDRES"; then
5591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 WINDRES=$ac_cv_prog_WINDRES
5611 if test -n "$WINDRES"; then
5612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5613 echo "${ECHO_T}$WINDRES" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_WINDRES"; then
5622 ac_ct_WINDRES=$WINDRES
5623 # Extract the first word of "windres", so it can be a program name with args.
5624 set dummy windres; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 else
5630 if test -n "$ac_ct_WINDRES"; then
5631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_WINDRES="windres"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5651 if test -n "$ac_ct_WINDRES"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5654 else
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_WINDRES" = x; then
5660 WINDRES="false"
5661 else
5662 case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5670 ac_tool_warned=yes ;;
5671 esac
5672 WINDRES=$ac_ct_WINDRES
5674 else
5675 WINDRES="$ac_cv_prog_WINDRES"
5678 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5679 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5680 LN_S=$as_ln_s
5681 if test "$LN_S" = "ln -s"; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5686 echo "${ECHO_T}no, using $LN_S" >&6; }
5689 { echo "$as_me:$LINENO: checking whether ln works" >&5
5690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5691 rm -f conf$$ conf$$.file
5692 echo >conf$$.file
5693 if ln conf$$.file conf$$ 2>/dev/null; then
5694 LN=ln
5696 { echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6; }
5698 else
5699 LN="cp -p"
5701 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5702 echo "${ECHO_T}no, using $LN" >&6; }
5704 rm -f conf$$ conf$$.file
5705 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5706 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5707 if test "${ac_cv_path_GREP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 # Extract the first word of "grep ggrep" to use in msg output
5711 if test -z "$GREP"; then
5712 set dummy grep ggrep; ac_prog_name=$2
5713 if test "${ac_cv_path_GREP+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 ac_path_GREP_found=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_prog in grep ggrep; do
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5726 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5730 *GNU*)
5731 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 ac_count=0
5734 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5735 while :
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5743 ac_count=`expr $ac_count + 1`
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP="$ac_path_GREP"
5747 ac_path_GREP_max=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5751 done
5752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5753 esac
5756 $ac_path_GREP_found && break 3
5757 done
5758 done
5760 done
5761 IFS=$as_save_IFS
5766 GREP="$ac_cv_path_GREP"
5767 if test -z "$GREP"; then
5768 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5769 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5770 { (exit 1); exit 1; }; }
5773 else
5774 ac_cv_path_GREP=$GREP
5779 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5780 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5781 GREP="$ac_cv_path_GREP"
5784 { echo "$as_me:$LINENO: checking for egrep" >&5
5785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_EGREP+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 else
5789 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5790 then ac_cv_path_EGREP="$GREP -E"
5791 else
5792 # Extract the first word of "egrep" to use in msg output
5793 if test -z "$EGREP"; then
5794 set dummy egrep; ac_prog_name=$2
5795 if test "${ac_cv_path_EGREP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 ac_path_EGREP_found=false
5799 # Loop through the user's path and test for each of PROGNAME-LIST
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_prog in egrep; do
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5809 # Check for GNU ac_path_EGREP and select it if it is found.
5810 # Check for GNU $ac_path_EGREP
5811 case `"$ac_path_EGREP" --version 2>&1` in
5812 *GNU*)
5813 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5815 ac_count=0
5816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5817 while :
5819 cat "conftest.in" "conftest.in" >"conftest.tmp"
5820 mv "conftest.tmp" "conftest.in"
5821 cp "conftest.in" "conftest.nl"
5822 echo 'EGREP' >> "conftest.nl"
5823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5825 ac_count=`expr $ac_count + 1`
5826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5827 # Best one so far, save it but keep looking for a better one
5828 ac_cv_path_EGREP="$ac_path_EGREP"
5829 ac_path_EGREP_max=$ac_count
5831 # 10*(2^10) chars as input seems more than enough
5832 test $ac_count -gt 10 && break
5833 done
5834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5835 esac
5838 $ac_path_EGREP_found && break 3
5839 done
5840 done
5842 done
5843 IFS=$as_save_IFS
5848 EGREP="$ac_cv_path_EGREP"
5849 if test -z "$EGREP"; then
5850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5852 { (exit 1); exit 1; }; }
5855 else
5856 ac_cv_path_EGREP=$EGREP
5862 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5863 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5864 EGREP="$ac_cv_path_EGREP"
5867 # Extract the first word of "ldconfig", so it can be a program name with args.
5868 set dummy ldconfig; ac_word=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 else
5874 case $LDCONFIG in
5875 [\\/]* | ?:[\\/]*)
5876 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in /sbin /usr/sbin $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5894 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5896 esac
5898 LDCONFIG=$ac_cv_path_LDCONFIG
5899 if test -n "$LDCONFIG"; then
5900 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5901 echo "${ECHO_T}$LDCONFIG" >&6; }
5902 else
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 # Find a good install program. We prefer a C program (faster),
5909 # so one script is as good as another. But avoid the broken or
5910 # incompatible versions:
5911 # SysV /etc/install, /usr/sbin/install
5912 # SunOS /usr/etc/install
5913 # IRIX /sbin/install
5914 # AIX /bin/install
5915 # AmigaOS /C/install, which installs bootblocks on floppy discs
5916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5919 # OS/2's system install, which has a completely different semantic
5920 # ./install, which can be erroneously created by make from ./install.sh.
5921 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5922 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5923 if test -z "$INSTALL"; then
5924 if test "${ac_cv_path_install+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 # Account for people who put trailing slashes in PATH elements.
5933 case $as_dir/ in
5934 ./ | .// | /cC/* | \
5935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5937 /usr/ucb/* ) ;;
5939 # OSF1 and SCO ODT 3.0 have their own names for install.
5940 # Don't use installbsd from OSF since it installs stuff as root
5941 # by default.
5942 for ac_prog in ginstall scoinst install; do
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5945 if test $ac_prog = install &&
5946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5947 # AIX install. It has an incompatible calling convention.
5949 elif test $ac_prog = install &&
5950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5951 # program-specific install script used by HP pwplus--don't use.
5953 else
5954 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5955 break 3
5958 done
5959 done
5961 esac
5962 done
5963 IFS=$as_save_IFS
5967 if test "${ac_cv_path_install+set}" = set; then
5968 INSTALL=$ac_cv_path_install
5969 else
5970 # As a last resort, use the slow shell script. Don't cache a
5971 # value for INSTALL within a source directory, because that will
5972 # break other packages using the cache if that directory is
5973 # removed, or if the value is a relative name.
5974 INSTALL=$ac_install_sh
5977 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5978 echo "${ECHO_T}$INSTALL" >&6; }
5980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5981 # It thinks the first close brace ends the variable substitution.
5982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5986 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5988 case "$INSTALL" in
5989 [\\/$]* | ?:[\\/]* ) ;;
5990 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5991 esac
5993 for ac_prog in lclint lint
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_LINT+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002 if test -n "$LINT"; then
6003 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_LINT="$ac_prog"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 LINT=$ac_cv_prog_LINT
6023 if test -n "$LINT"; then
6024 { echo "$as_me:$LINENO: result: $LINT" >&5
6025 echo "${ECHO_T}$LINT" >&6; }
6026 else
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6032 test -n "$LINT" && break
6033 done
6035 if test "$LINT" = "lint"
6036 then
6037 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6042 for ac_prog in fontforge
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$FONTFORGE"; then
6052 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_FONTFORGE="$ac_prog"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 FONTFORGE=$ac_cv_prog_FONTFORGE
6072 if test -n "$FONTFORGE"; then
6073 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6074 echo "${ECHO_T}$FONTFORGE" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6081 test -n "$FONTFORGE" && break
6082 done
6083 test -n "$FONTFORGE" || FONTFORGE="false"
6085 for ac_prog in pkg-config
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094 if test -n "$PKG_CONFIG"; then
6095 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_PKG_CONFIG="$ac_prog"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6115 if test -n "$PKG_CONFIG"; then
6116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 test -n "$PKG_CONFIG" && break
6125 done
6126 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6129 case $host_cpu in
6130 *i[3456789]86*)
6131 # Extract the first word of "prelink", so it can be a program name with args.
6132 set dummy prelink; ac_word=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_PRELINK+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 case $PRELINK in
6139 [\\/]* | ?:[\\/]*)
6140 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in /sbin /usr/sbin $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6158 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6160 esac
6162 PRELINK=$ac_cv_path_PRELINK
6163 if test -n "$PRELINK"; then
6164 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6165 echo "${ECHO_T}$PRELINK" >&6; }
6166 else
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6173 esac
6177 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6178 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6179 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182 ac_check_lib_save_LIBS=$LIBS
6183 LIBS="-li386 $LIBS"
6184 cat >conftest.$ac_ext <<_ACEOF
6185 /* confdefs.h. */
6186 _ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char i386_set_ldt ();
6199 main ()
6201 return i386_set_ldt ();
6203 return 0;
6205 _ACEOF
6206 rm -f conftest.$ac_objext conftest$ac_exeext
6207 if { (ac_try="$ac_link"
6208 case "(($ac_try" in
6209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6210 *) ac_try_echo=$ac_try;;
6211 esac
6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6213 (eval "$ac_link") 2>conftest.er1
6214 ac_status=$?
6215 grep -v '^ *+' conftest.er1 >conftest.err
6216 rm -f conftest.er1
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest$ac_exeext &&
6223 $as_test_x conftest$ac_exeext; then
6224 ac_cv_lib_i386_i386_set_ldt=yes
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 ac_cv_lib_i386_i386_set_ldt=no
6232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6233 conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6237 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6238 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_LIBI386 1
6241 _ACEOF
6243 LIBS="-li386 $LIBS"
6248 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6249 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6250 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 else
6253 ac_check_lib_save_LIBS=$LIBS
6254 LIBS="-lossaudio $LIBS"
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6265 #ifdef __cplusplus
6266 extern "C"
6267 #endif
6268 char _oss_ioctl ();
6270 main ()
6272 return _oss_ioctl ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6279 case "(($ac_try" in
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6282 esac
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_link") 2>conftest.er1
6285 ac_status=$?
6286 grep -v '^ *+' conftest.er1 >conftest.err
6287 rm -f conftest.er1
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest$ac_exeext &&
6294 $as_test_x conftest$ac_exeext; then
6295 ac_cv_lib_ossaudio__oss_ioctl=yes
6296 else
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.$ac_ext >&5
6300 ac_cv_lib_ossaudio__oss_ioctl=no
6303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6304 conftest$ac_exeext conftest.$ac_ext
6305 LIBS=$ac_check_lib_save_LIBS
6307 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6310 cat >>confdefs.h <<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6312 _ACEOF
6314 LIBS="-lossaudio $LIBS"
6318 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6319 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6320 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 else
6323 ac_check_lib_save_LIBS=$LIBS
6324 LIBS="-lpthread $LIBS"
6325 cat >conftest.$ac_ext <<_ACEOF
6326 /* confdefs.h. */
6327 _ACEOF
6328 cat confdefs.h >>conftest.$ac_ext
6329 cat >>conftest.$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6332 /* Override any GCC internal prototype to avoid an error.
6333 Use char because int might match the return type of a GCC
6334 builtin and then its argument prototype would still apply. */
6335 #ifdef __cplusplus
6336 extern "C"
6337 #endif
6338 char pthread_create ();
6340 main ()
6342 return pthread_create ();
6344 return 0;
6346 _ACEOF
6347 rm -f conftest.$ac_objext conftest$ac_exeext
6348 if { (ac_try="$ac_link"
6349 case "(($ac_try" in
6350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6351 *) ac_try_echo=$ac_try;;
6352 esac
6353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6354 (eval "$ac_link") 2>conftest.er1
6355 ac_status=$?
6356 grep -v '^ *+' conftest.er1 >conftest.err
6357 rm -f conftest.er1
6358 cat conftest.err >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); } && {
6361 test -z "$ac_c_werror_flag" ||
6362 test ! -s conftest.err
6363 } && test -s conftest$ac_exeext &&
6364 $as_test_x conftest$ac_exeext; then
6365 ac_cv_lib_pthread_pthread_create=yes
6366 else
6367 echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.$ac_ext >&5
6370 ac_cv_lib_pthread_pthread_create=no
6373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6374 conftest$ac_exeext conftest.$ac_ext
6375 LIBS=$ac_check_lib_save_LIBS
6377 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6378 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6379 if test $ac_cv_lib_pthread_pthread_create = yes; then
6380 LIBPTHREAD="-lpthread"
6385 XLIB=""
6387 XFILES=""
6389 OPENGLFILES=""
6391 GLU32FILES=""
6393 OPENGL_LIBS=""
6395 QUARTZFILES=""
6399 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6400 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6401 if test "${ac_cv_header_stdc+set}" = set; then
6402 echo $ECHO_N "(cached) $ECHO_C" >&6
6403 else
6404 cat >conftest.$ac_ext <<_ACEOF
6405 /* confdefs.h. */
6406 _ACEOF
6407 cat confdefs.h >>conftest.$ac_ext
6408 cat >>conftest.$ac_ext <<_ACEOF
6409 /* end confdefs.h. */
6410 #include <stdlib.h>
6411 #include <stdarg.h>
6412 #include <string.h>
6413 #include <float.h>
6416 main ()
6420 return 0;
6422 _ACEOF
6423 rm -f conftest.$ac_objext
6424 if { (ac_try="$ac_compile"
6425 case "(($ac_try" in
6426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6427 *) ac_try_echo=$ac_try;;
6428 esac
6429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6430 (eval "$ac_compile") 2>conftest.er1
6431 ac_status=$?
6432 grep -v '^ *+' conftest.er1 >conftest.err
6433 rm -f conftest.er1
6434 cat conftest.err >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } && {
6437 test -z "$ac_c_werror_flag" ||
6438 test ! -s conftest.err
6439 } && test -s conftest.$ac_objext; then
6440 ac_cv_header_stdc=yes
6441 else
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.$ac_ext >&5
6445 ac_cv_header_stdc=no
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450 if test $ac_cv_header_stdc = yes; then
6451 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6452 cat >conftest.$ac_ext <<_ACEOF
6453 /* confdefs.h. */
6454 _ACEOF
6455 cat confdefs.h >>conftest.$ac_ext
6456 cat >>conftest.$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6458 #include <string.h>
6460 _ACEOF
6461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6462 $EGREP "memchr" >/dev/null 2>&1; then
6464 else
6465 ac_cv_header_stdc=no
6467 rm -f conftest*
6471 if test $ac_cv_header_stdc = yes; then
6472 # ISC 2.0.2 stdlib.h does not declare free, 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 <stdlib.h>
6481 _ACEOF
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "free" >/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 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6494 if test "$cross_compiling" = yes; then
6496 else
6497 cat >conftest.$ac_ext <<_ACEOF
6498 /* confdefs.h. */
6499 _ACEOF
6500 cat confdefs.h >>conftest.$ac_ext
6501 cat >>conftest.$ac_ext <<_ACEOF
6502 /* end confdefs.h. */
6503 #include <ctype.h>
6504 #include <stdlib.h>
6505 #if ((' ' & 0x0FF) == 0x020)
6506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6508 #else
6509 # define ISLOWER(c) \
6510 (('a' <= (c) && (c) <= 'i') \
6511 || ('j' <= (c) && (c) <= 'r') \
6512 || ('s' <= (c) && (c) <= 'z'))
6513 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6514 #endif
6516 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6518 main ()
6520 int i;
6521 for (i = 0; i < 256; i++)
6522 if (XOR (islower (i), ISLOWER (i))
6523 || toupper (i) != TOUPPER (i))
6524 return 2;
6525 return 0;
6527 _ACEOF
6528 rm -f conftest$ac_exeext
6529 if { (ac_try="$ac_link"
6530 case "(($ac_try" in
6531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6532 *) ac_try_echo=$ac_try;;
6533 esac
6534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6535 (eval "$ac_link") 2>&5
6536 ac_status=$?
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6539 { (case "(($ac_try" in
6540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6541 *) ac_try_echo=$ac_try;;
6542 esac
6543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6544 (eval "$ac_try") 2>&5
6545 ac_status=$?
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; }; then
6549 else
6550 echo "$as_me: program exited with status $ac_status" >&5
6551 echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.$ac_ext >&5
6554 ( exit $ac_status )
6555 ac_cv_header_stdc=no
6557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6563 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6564 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6565 if test $ac_cv_header_stdc = yes; then
6567 cat >>confdefs.h <<\_ACEOF
6568 #define STDC_HEADERS 1
6569 _ACEOF
6573 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6583 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6584 inttypes.h stdint.h unistd.h
6586 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6587 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6589 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6591 else
6592 cat >conftest.$ac_ext <<_ACEOF
6593 /* confdefs.h. */
6594 _ACEOF
6595 cat confdefs.h >>conftest.$ac_ext
6596 cat >>conftest.$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6598 $ac_includes_default
6600 #include <$ac_header>
6601 _ACEOF
6602 rm -f conftest.$ac_objext
6603 if { (ac_try="$ac_compile"
6604 case "(($ac_try" in
6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6606 *) ac_try_echo=$ac_try;;
6607 esac
6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6609 (eval "$ac_compile") 2>conftest.er1
6610 ac_status=$?
6611 grep -v '^ *+' conftest.er1 >conftest.err
6612 rm -f conftest.er1
6613 cat conftest.err >&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } && {
6616 test -z "$ac_c_werror_flag" ||
6617 test ! -s conftest.err
6618 } && test -s conftest.$ac_objext; then
6619 eval "$as_ac_Header=yes"
6620 else
6621 echo "$as_me: failed program was:" >&5
6622 sed 's/^/| /' conftest.$ac_ext >&5
6624 eval "$as_ac_Header=no"
6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6629 ac_res=`eval echo '${'$as_ac_Header'}'`
6630 { echo "$as_me:$LINENO: result: $ac_res" >&5
6631 echo "${ECHO_T}$ac_res" >&6; }
6632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6633 cat >>confdefs.h <<_ACEOF
6634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6635 _ACEOF
6639 done
6752 for ac_header in \
6753 AudioUnit/AudioUnit.h \
6754 Carbon/Carbon.h \
6755 CoreAudio/CoreAudio.h \
6756 DiskArbitration/DiskArbitration.h \
6757 IOKit/IOKitLib.h \
6758 alsa/asoundlib.h \
6759 arpa/inet.h \
6760 arpa/nameser.h \
6761 asm/types.h \
6762 capi20.h \
6763 cups/cups.h \
6764 curses.h \
6765 direct.h \
6766 dlfcn.h \
6767 elf.h \
6768 float.h \
6769 fontconfig/fontconfig.h \
6770 getopt.h \
6771 ieeefp.h \
6772 io.h \
6773 jack/jack.h \
6774 jpeglib.h \
6775 lber.h \
6776 lcms.h \
6777 lcms/lcms.h \
6778 ldap.h \
6779 libaudioio.h \
6780 link.h \
6781 linux/cdrom.h \
6782 linux/compiler.h \
6783 linux/hdreg.h \
6784 linux/input.h \
6785 linux/ioctl.h \
6786 linux/joystick.h \
6787 linux/major.h \
6788 linux/param.h \
6789 linux/serial.h \
6790 linux/ucdrom.h \
6791 mach/mach.h \
6792 mach/machine.h \
6793 machine/cpu.h \
6794 machine/limits.h \
6795 machine/soundcard.h \
6796 mntent.h \
6797 ncurses.h \
6798 netdb.h \
6799 netinet/in.h \
6800 netinet/in_systm.h \
6801 netinet/tcp.h \
6802 netinet/tcp_fsm.h \
6803 openssl/err.h \
6804 openssl/ssl.h \
6805 png.h \
6806 poll.h \
6807 process.h \
6808 pthread.h \
6809 pwd.h \
6810 regex.h \
6811 sched.h \
6812 scsi/scsi.h \
6813 scsi/scsi_ioctl.h \
6814 scsi/sg.h \
6815 soundcard.h \
6816 stdint.h \
6817 strings.h \
6818 sys/asoundlib.h \
6819 sys/cdio.h \
6820 sys/elf32.h \
6821 sys/epoll.h \
6822 sys/errno.h \
6823 sys/event.h \
6824 sys/exec_elf.h \
6825 sys/filio.h \
6826 sys/ioctl.h \
6827 sys/ipc.h \
6828 sys/limits.h \
6829 sys/link.h \
6830 sys/lwp.h \
6831 sys/mman.h \
6832 sys/modem.h \
6833 sys/msg.h \
6834 sys/mtio.h \
6835 sys/param.h \
6836 sys/poll.h \
6837 sys/prctl.h \
6838 sys/ptrace.h \
6839 sys/reg.h \
6840 sys/resource.h \
6841 sys/scsiio.h \
6842 sys/shm.h \
6843 sys/signal.h \
6844 sys/socket.h \
6845 sys/socketvar.h \
6846 sys/sockio.h \
6847 sys/soundcard.h \
6848 sys/statvfs.h \
6849 sys/strtio.h \
6850 sys/syscall.h \
6851 sys/sysctl.h \
6852 sys/time.h \
6853 sys/times.h \
6854 sys/uio.h \
6855 sys/un.h \
6856 sys/vm86.h \
6857 sys/wait.h \
6858 syscall.h \
6859 termios.h \
6860 unistd.h \
6861 utime.h \
6862 valgrind/memcheck.h
6865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6866 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6867 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6870 echo $ECHO_N "(cached) $ECHO_C" >&6
6872 ac_res=`eval echo '${'$as_ac_Header'}'`
6873 { echo "$as_me:$LINENO: result: $ac_res" >&5
6874 echo "${ECHO_T}$ac_res" >&6; }
6875 else
6876 # Is the header compilable?
6877 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6879 cat >conftest.$ac_ext <<_ACEOF
6880 /* confdefs.h. */
6881 _ACEOF
6882 cat confdefs.h >>conftest.$ac_ext
6883 cat >>conftest.$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6885 $ac_includes_default
6886 #include <$ac_header>
6887 _ACEOF
6888 rm -f conftest.$ac_objext
6889 if { (ac_try="$ac_compile"
6890 case "(($ac_try" in
6891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6892 *) ac_try_echo=$ac_try;;
6893 esac
6894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6895 (eval "$ac_compile") 2>conftest.er1
6896 ac_status=$?
6897 grep -v '^ *+' conftest.er1 >conftest.err
6898 rm -f conftest.er1
6899 cat conftest.err >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } && {
6902 test -z "$ac_c_werror_flag" ||
6903 test ! -s conftest.err
6904 } && test -s conftest.$ac_objext; then
6905 ac_header_compiler=yes
6906 else
6907 echo "$as_me: failed program was:" >&5
6908 sed 's/^/| /' conftest.$ac_ext >&5
6910 ac_header_compiler=no
6913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6914 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6915 echo "${ECHO_T}$ac_header_compiler" >&6; }
6917 # Is the header present?
6918 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6919 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6920 cat >conftest.$ac_ext <<_ACEOF
6921 /* confdefs.h. */
6922 _ACEOF
6923 cat confdefs.h >>conftest.$ac_ext
6924 cat >>conftest.$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6926 #include <$ac_header>
6927 _ACEOF
6928 if { (ac_try="$ac_cpp conftest.$ac_ext"
6929 case "(($ac_try" in
6930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6931 *) ac_try_echo=$ac_try;;
6932 esac
6933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6935 ac_status=$?
6936 grep -v '^ *+' conftest.er1 >conftest.err
6937 rm -f conftest.er1
6938 cat conftest.err >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } >/dev/null && {
6941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6942 test ! -s conftest.err
6943 }; then
6944 ac_header_preproc=yes
6945 else
6946 echo "$as_me: failed program was:" >&5
6947 sed 's/^/| /' conftest.$ac_ext >&5
6949 ac_header_preproc=no
6952 rm -f conftest.err conftest.$ac_ext
6953 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6954 echo "${ECHO_T}$ac_header_preproc" >&6; }
6956 # So? What about this header?
6957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6958 yes:no: )
6959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6963 ac_header_preproc=yes
6965 no:yes:* )
6966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6978 ( cat <<\_ASBOX
6979 ## ------------------------------------ ##
6980 ## Report this to wine-devel@winehq.org ##
6981 ## ------------------------------------ ##
6982 _ASBOX
6983 ) | sed "s/^/$as_me: WARNING: /" >&2
6985 esac
6986 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 else
6991 eval "$as_ac_Header=\$ac_header_preproc"
6993 ac_res=`eval echo '${'$as_ac_Header'}'`
6994 { echo "$as_me:$LINENO: result: $ac_res" >&5
6995 echo "${ECHO_T}$ac_res" >&6; }
6998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6999 cat >>confdefs.h <<_ACEOF
7000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7001 _ACEOF
7005 done
7007 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7008 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7009 if test "${ac_cv_header_stat_broken+set}" = set; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 else
7012 cat >conftest.$ac_ext <<_ACEOF
7013 /* confdefs.h. */
7014 _ACEOF
7015 cat confdefs.h >>conftest.$ac_ext
7016 cat >>conftest.$ac_ext <<_ACEOF
7017 /* end confdefs.h. */
7018 #include <sys/types.h>
7019 #include <sys/stat.h>
7021 #if defined S_ISBLK && defined S_IFDIR
7022 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7023 #endif
7025 #if defined S_ISBLK && defined S_IFCHR
7026 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7027 #endif
7029 #if defined S_ISLNK && defined S_IFREG
7030 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7031 #endif
7033 #if defined S_ISSOCK && defined S_IFREG
7034 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7035 #endif
7037 _ACEOF
7038 rm -f conftest.$ac_objext
7039 if { (ac_try="$ac_compile"
7040 case "(($ac_try" in
7041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042 *) ac_try_echo=$ac_try;;
7043 esac
7044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045 (eval "$ac_compile") 2>conftest.er1
7046 ac_status=$?
7047 grep -v '^ *+' conftest.er1 >conftest.err
7048 rm -f conftest.er1
7049 cat conftest.err >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } && {
7052 test -z "$ac_c_werror_flag" ||
7053 test ! -s conftest.err
7054 } && test -s conftest.$ac_objext; then
7055 ac_cv_header_stat_broken=no
7056 else
7057 echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.$ac_ext >&5
7060 ac_cv_header_stat_broken=yes
7063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7065 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7066 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7067 if test $ac_cv_header_stat_broken = yes; then
7069 cat >>confdefs.h <<\_ACEOF
7070 #define STAT_MACROS_BROKEN 1
7071 _ACEOF
7081 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7084 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7087 echo $ECHO_N "(cached) $ECHO_C" >&6
7088 else
7089 cat >conftest.$ac_ext <<_ACEOF
7090 /* confdefs.h. */
7091 _ACEOF
7092 cat confdefs.h >>conftest.$ac_ext
7093 cat >>conftest.$ac_ext <<_ACEOF
7094 /* end confdefs.h. */
7095 #include <sys/types.h>
7096 #if HAVE_SYS_PARAM_H
7097 # include <sys/param.h>
7098 #endif
7100 #include <$ac_header>
7101 _ACEOF
7102 rm -f conftest.$ac_objext
7103 if { (ac_try="$ac_compile"
7104 case "(($ac_try" in
7105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7106 *) ac_try_echo=$ac_try;;
7107 esac
7108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7109 (eval "$ac_compile") 2>conftest.er1
7110 ac_status=$?
7111 grep -v '^ *+' conftest.er1 >conftest.err
7112 rm -f conftest.er1
7113 cat conftest.err >&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } && {
7116 test -z "$ac_c_werror_flag" ||
7117 test ! -s conftest.err
7118 } && test -s conftest.$ac_objext; then
7119 eval "$as_ac_Header=yes"
7120 else
7121 echo "$as_me: failed program was:" >&5
7122 sed 's/^/| /' conftest.$ac_ext >&5
7124 eval "$as_ac_Header=no"
7127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7129 ac_res=`eval echo '${'$as_ac_Header'}'`
7130 { echo "$as_me:$LINENO: result: $ac_res" >&5
7131 echo "${ECHO_T}$ac_res" >&6; }
7132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7133 cat >>confdefs.h <<_ACEOF
7134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7135 _ACEOF
7139 done
7150 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
7152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7157 else
7158 cat >conftest.$ac_ext <<_ACEOF
7159 /* confdefs.h. */
7160 _ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 #include <sys/types.h>
7165 #if HAVE_SYS_SOCKET_H
7166 # include <sys/socket.h>
7167 #endif
7169 #include <$ac_header>
7170 _ACEOF
7171 rm -f conftest.$ac_objext
7172 if { (ac_try="$ac_compile"
7173 case "(($ac_try" in
7174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7175 *) ac_try_echo=$ac_try;;
7176 esac
7177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7178 (eval "$ac_compile") 2>conftest.er1
7179 ac_status=$?
7180 grep -v '^ *+' conftest.er1 >conftest.err
7181 rm -f conftest.er1
7182 cat conftest.err >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } && {
7185 test -z "$ac_c_werror_flag" ||
7186 test ! -s conftest.err
7187 } && test -s conftest.$ac_objext; then
7188 eval "$as_ac_Header=yes"
7189 else
7190 echo "$as_me: failed program was:" >&5
7191 sed 's/^/| /' conftest.$ac_ext >&5
7193 eval "$as_ac_Header=no"
7196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7198 ac_res=`eval echo '${'$as_ac_Header'}'`
7199 { echo "$as_me:$LINENO: result: $ac_res" >&5
7200 echo "${ECHO_T}$ac_res" >&6; }
7201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7202 cat >>confdefs.h <<_ACEOF
7203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7204 _ACEOF
7208 done
7210 #if HAVE_SYS_SOCKETVAR_H
7211 # include <sys/socketvar.h>
7212 #endif
7215 for ac_header in netinet/tcp_var.h
7217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7222 else
7223 cat >conftest.$ac_ext <<_ACEOF
7224 /* confdefs.h. */
7225 _ACEOF
7226 cat confdefs.h >>conftest.$ac_ext
7227 cat >>conftest.$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7229 #include <sys/types.h>
7230 #if HAVE_SYS_SOCKET_H
7231 # include <sys/socket.h>
7232 #endif
7233 #if HAVE_SYS_SOCKETVAR_H
7234 # include <sys/socketvar.h>
7235 #endif
7236 #if HAVE_NETINET_IN_H
7237 # include <netinet/in.h>
7238 #endif
7239 #ifdef HAVE_NETINET_TCP_H
7240 # include <netinet/tcp.h>
7241 #endif
7243 #include <$ac_header>
7244 _ACEOF
7245 rm -f conftest.$ac_objext
7246 if { (ac_try="$ac_compile"
7247 case "(($ac_try" in
7248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7249 *) ac_try_echo=$ac_try;;
7250 esac
7251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7252 (eval "$ac_compile") 2>conftest.er1
7253 ac_status=$?
7254 grep -v '^ *+' conftest.er1 >conftest.err
7255 rm -f conftest.er1
7256 cat conftest.err >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } && {
7259 test -z "$ac_c_werror_flag" ||
7260 test ! -s conftest.err
7261 } && test -s conftest.$ac_objext; then
7262 eval "$as_ac_Header=yes"
7263 else
7264 echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.$ac_ext >&5
7267 eval "$as_ac_Header=no"
7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7272 ac_res=`eval echo '${'$as_ac_Header'}'`
7273 { echo "$as_me:$LINENO: result: $ac_res" >&5
7274 echo "${ECHO_T}$ac_res" >&6; }
7275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7276 cat >>confdefs.h <<_ACEOF
7277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7278 _ACEOF
7282 done
7286 for ac_header in linux/ipx.h
7288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7289 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7293 else
7294 cat >conftest.$ac_ext <<_ACEOF
7295 /* confdefs.h. */
7296 _ACEOF
7297 cat confdefs.h >>conftest.$ac_ext
7298 cat >>conftest.$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7300 #include <sys/types.h>
7301 #ifdef HAVE_ASM_TYPES_H
7302 # include <asm/types.h>
7303 #endif
7304 #if HAVE_SYS_SOCKET_H
7305 # include <sys/socket.h>
7306 #endif
7308 #include <$ac_header>
7309 _ACEOF
7310 rm -f conftest.$ac_objext
7311 if { (ac_try="$ac_compile"
7312 case "(($ac_try" in
7313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7314 *) ac_try_echo=$ac_try;;
7315 esac
7316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7317 (eval "$ac_compile") 2>conftest.er1
7318 ac_status=$?
7319 grep -v '^ *+' conftest.er1 >conftest.err
7320 rm -f conftest.er1
7321 cat conftest.err >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } && {
7324 test -z "$ac_c_werror_flag" ||
7325 test ! -s conftest.err
7326 } && test -s conftest.$ac_objext; then
7327 eval "$as_ac_Header=yes"
7328 else
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.$ac_ext >&5
7332 eval "$as_ac_Header=no"
7335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7337 ac_res=`eval echo '${'$as_ac_Header'}'`
7338 { echo "$as_me:$LINENO: result: $ac_res" >&5
7339 echo "${ECHO_T}$ac_res" >&6; }
7340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7341 cat >>confdefs.h <<_ACEOF
7342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7343 _ACEOF
7347 done
7351 for ac_header in resolv.h
7353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7354 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7357 echo $ECHO_N "(cached) $ECHO_C" >&6
7358 else
7359 cat >conftest.$ac_ext <<_ACEOF
7360 /* confdefs.h. */
7361 _ACEOF
7362 cat confdefs.h >>conftest.$ac_ext
7363 cat >>conftest.$ac_ext <<_ACEOF
7364 /* end confdefs.h. */
7365 #include <sys/types.h>
7366 #if HAVE_SYS_SOCKET_H
7367 # include <sys/socket.h>
7368 #endif
7369 #if HAVE_NETINET_IN_H
7370 # include <netinet/in.h>
7371 #endif
7372 #if HAVE_ARPA_NAMESER_H
7373 # include <arpa/nameser.h>
7374 #endif
7376 #include <$ac_header>
7377 _ACEOF
7378 rm -f conftest.$ac_objext
7379 if { (ac_try="$ac_compile"
7380 case "(($ac_try" in
7381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7382 *) ac_try_echo=$ac_try;;
7383 esac
7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7385 (eval "$ac_compile") 2>conftest.er1
7386 ac_status=$?
7387 grep -v '^ *+' conftest.er1 >conftest.err
7388 rm -f conftest.er1
7389 cat conftest.err >&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); } && {
7392 test -z "$ac_c_werror_flag" ||
7393 test ! -s conftest.err
7394 } && test -s conftest.$ac_objext; then
7395 eval "$as_ac_Header=yes"
7396 else
7397 echo "$as_me: failed program was:" >&5
7398 sed 's/^/| /' conftest.$ac_ext >&5
7400 eval "$as_ac_Header=no"
7403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7405 ac_res=`eval echo '${'$as_ac_Header'}'`
7406 { echo "$as_me:$LINENO: result: $ac_res" >&5
7407 echo "${ECHO_T}$ac_res" >&6; }
7408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7409 cat >>confdefs.h <<_ACEOF
7410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7411 _ACEOF
7415 done
7419 for ac_header in ucontext.h
7421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7425 echo $ECHO_N "(cached) $ECHO_C" >&6
7426 else
7427 cat >conftest.$ac_ext <<_ACEOF
7428 /* confdefs.h. */
7429 _ACEOF
7430 cat confdefs.h >>conftest.$ac_ext
7431 cat >>conftest.$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7433 #include <signal.h>
7435 #include <$ac_header>
7436 _ACEOF
7437 rm -f conftest.$ac_objext
7438 if { (ac_try="$ac_compile"
7439 case "(($ac_try" in
7440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7441 *) ac_try_echo=$ac_try;;
7442 esac
7443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7444 (eval "$ac_compile") 2>conftest.er1
7445 ac_status=$?
7446 grep -v '^ *+' conftest.er1 >conftest.err
7447 rm -f conftest.er1
7448 cat conftest.err >&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); } && {
7451 test -z "$ac_c_werror_flag" ||
7452 test ! -s conftest.err
7453 } && test -s conftest.$ac_objext; then
7454 eval "$as_ac_Header=yes"
7455 else
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.$ac_ext >&5
7459 eval "$as_ac_Header=no"
7462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7464 ac_res=`eval echo '${'$as_ac_Header'}'`
7465 { echo "$as_me:$LINENO: result: $ac_res" >&5
7466 echo "${ECHO_T}$ac_res" >&6; }
7467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7468 cat >>confdefs.h <<_ACEOF
7469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7470 _ACEOF
7474 done
7478 for ac_header in sys/thr.h
7480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7484 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 else
7486 cat >conftest.$ac_ext <<_ACEOF
7487 /* confdefs.h. */
7488 _ACEOF
7489 cat confdefs.h >>conftest.$ac_ext
7490 cat >>conftest.$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7492 #include <sys/types.h>
7493 #if HAVE_UCONTEXT_H
7494 #include <ucontext.h>
7495 #endif
7497 #include <$ac_header>
7498 _ACEOF
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7501 case "(($ac_try" in
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7504 esac
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7507 ac_status=$?
7508 grep -v '^ *+' conftest.er1 >conftest.err
7509 rm -f conftest.er1
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.$ac_objext; then
7516 eval "$as_ac_Header=yes"
7517 else
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7521 eval "$as_ac_Header=no"
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 ac_res=`eval echo '${'$as_ac_Header'}'`
7527 { echo "$as_me:$LINENO: result: $ac_res" >&5
7528 echo "${ECHO_T}$ac_res" >&6; }
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h <<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7532 _ACEOF
7536 done
7540 for ac_header in pthread_np.h
7542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 else
7548 cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #ifdef HAVE_PTHREAD_H
7555 #include <pthread.h>
7556 #endif
7558 #include <$ac_header>
7559 _ACEOF
7560 rm -f conftest.$ac_objext
7561 if { (ac_try="$ac_compile"
7562 case "(($ac_try" in
7563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7564 *) ac_try_echo=$ac_try;;
7565 esac
7566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7567 (eval "$ac_compile") 2>conftest.er1
7568 ac_status=$?
7569 grep -v '^ *+' conftest.er1 >conftest.err
7570 rm -f conftest.er1
7571 cat conftest.err >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } && {
7574 test -z "$ac_c_werror_flag" ||
7575 test ! -s conftest.err
7576 } && test -s conftest.$ac_objext; then
7577 eval "$as_ac_Header=yes"
7578 else
7579 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.$ac_ext >&5
7582 eval "$as_ac_Header=no"
7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7587 ac_res=`eval echo '${'$as_ac_Header'}'`
7588 { echo "$as_me:$LINENO: result: $ac_res" >&5
7589 echo "${ECHO_T}$ac_res" >&6; }
7590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7591 cat >>confdefs.h <<_ACEOF
7592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 _ACEOF
7597 done
7601 for ac_header in linux/videodev.h
7603 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7604 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 else
7609 cat >conftest.$ac_ext <<_ACEOF
7610 /* confdefs.h. */
7611 _ACEOF
7612 cat confdefs.h >>conftest.$ac_ext
7613 cat >>conftest.$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 #ifdef HAVE_SYS_TIME_H
7616 #include <sys/time.h>
7617 #endif
7618 #include <sys/types.h>
7619 #ifdef HAVE_ASM_TYPES_H
7620 #include <asm/types.h>
7621 #endif
7623 #include <$ac_header>
7624 _ACEOF
7625 rm -f conftest.$ac_objext
7626 if { (ac_try="$ac_compile"
7627 case "(($ac_try" in
7628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7629 *) ac_try_echo=$ac_try;;
7630 esac
7631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7632 (eval "$ac_compile") 2>conftest.er1
7633 ac_status=$?
7634 grep -v '^ *+' conftest.er1 >conftest.err
7635 rm -f conftest.er1
7636 cat conftest.err >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); } && {
7639 test -z "$ac_c_werror_flag" ||
7640 test ! -s conftest.err
7641 } && test -s conftest.$ac_objext; then
7642 eval "$as_ac_Header=yes"
7643 else
7644 echo "$as_me: failed program was:" >&5
7645 sed 's/^/| /' conftest.$ac_ext >&5
7647 eval "$as_ac_Header=no"
7650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7652 ac_res=`eval echo '${'$as_ac_Header'}'`
7653 { echo "$as_me:$LINENO: result: $ac_res" >&5
7654 echo "${ECHO_T}$ac_res" >&6; }
7655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7656 cat >>confdefs.h <<_ACEOF
7657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7662 done
7666 for ac_header in linux/capi.h
7668 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7669 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7672 echo $ECHO_N "(cached) $ECHO_C" >&6
7673 else
7674 cat >conftest.$ac_ext <<_ACEOF
7675 /* confdefs.h. */
7676 _ACEOF
7677 cat confdefs.h >>conftest.$ac_ext
7678 cat >>conftest.$ac_ext <<_ACEOF
7679 /* end confdefs.h. */
7680 #define __user
7682 #include <$ac_header>
7683 _ACEOF
7684 rm -f conftest.$ac_objext
7685 if { (ac_try="$ac_compile"
7686 case "(($ac_try" in
7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7688 *) ac_try_echo=$ac_try;;
7689 esac
7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7691 (eval "$ac_compile") 2>conftest.er1
7692 ac_status=$?
7693 grep -v '^ *+' conftest.er1 >conftest.err
7694 rm -f conftest.er1
7695 cat conftest.err >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); } && {
7698 test -z "$ac_c_werror_flag" ||
7699 test ! -s conftest.err
7700 } && test -s conftest.$ac_objext; then
7701 eval "$as_ac_Header=yes"
7702 else
7703 echo "$as_me: failed program was:" >&5
7704 sed 's/^/| /' conftest.$ac_ext >&5
7706 eval "$as_ac_Header=no"
7709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7711 ac_res=`eval echo '${'$as_ac_Header'}'`
7712 { echo "$as_me:$LINENO: result: $ac_res" >&5
7713 echo "${ECHO_T}$ac_res" >&6; }
7714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7715 cat >>confdefs.h <<_ACEOF
7716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7717 _ACEOF
7721 done
7725 DLLEXT=""
7727 DLLFLAGS="-D_REENTRANT"
7729 LDSHARED=""
7731 LDDLLFLAGS=""
7733 LIBEXT="so"
7735 IMPLIBEXT="def"
7737 LDRPATH_INSTALL=""
7739 LDRPATH_LOCAL=""
7741 # Extract the first word of "ldd", so it can be a program name with args.
7742 set dummy ldd; ac_word=$2
7743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7745 if test "${ac_cv_path_LDD+set}" = set; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7747 else
7748 case $LDD in
7749 [\\/]* | ?:[\\/]*)
7750 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 as_dummy="/sbin:/usr/sbin:$PATH"
7755 for as_dir in $as_dummy
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7765 done
7766 done
7767 IFS=$as_save_IFS
7769 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7771 esac
7773 LDD=$ac_cv_path_LDD
7774 if test -n "$LDD"; then
7775 { echo "$as_me:$LINENO: result: $LDD" >&5
7776 echo "${ECHO_T}$LDD" >&6; }
7777 else
7778 { echo "$as_me:$LINENO: result: no" >&5
7779 echo "${ECHO_T}no" >&6; }
7784 case $host_os in
7785 cygwin*|mingw32*)
7786 if test -n "$ac_tool_prefix"; then
7787 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7788 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7791 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7792 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 else
7794 if test -n "$DLLTOOL"; then
7795 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7796 else
7797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798 for as_dir in $PATH
7800 IFS=$as_save_IFS
7801 test -z "$as_dir" && as_dir=.
7802 for ac_exec_ext in '' $ac_executable_extensions; do
7803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7804 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7806 break 2
7808 done
7809 done
7810 IFS=$as_save_IFS
7814 DLLTOOL=$ac_cv_prog_DLLTOOL
7815 if test -n "$DLLTOOL"; then
7816 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7817 echo "${ECHO_T}$DLLTOOL" >&6; }
7818 else
7819 { echo "$as_me:$LINENO: result: no" >&5
7820 echo "${ECHO_T}no" >&6; }
7825 if test -z "$ac_cv_prog_DLLTOOL"; then
7826 ac_ct_DLLTOOL=$DLLTOOL
7827 # Extract the first word of "dlltool", so it can be a program name with args.
7828 set dummy dlltool; ac_word=$2
7829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7831 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7833 else
7834 if test -n "$ac_ct_DLLTOOL"; then
7835 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7836 else
7837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838 for as_dir in $PATH
7840 IFS=$as_save_IFS
7841 test -z "$as_dir" && as_dir=.
7842 for ac_exec_ext in '' $ac_executable_extensions; do
7843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7844 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7846 break 2
7848 done
7849 done
7850 IFS=$as_save_IFS
7854 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7855 if test -n "$ac_ct_DLLTOOL"; then
7856 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7857 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7858 else
7859 { echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6; }
7863 if test "x$ac_ct_DLLTOOL" = x; then
7864 DLLTOOL="false"
7865 else
7866 case $cross_compiling:$ac_tool_warned in
7867 yes:)
7868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7869 whose name does not start with the host triplet. If you think this
7870 configuration is useful to you, please write to autoconf@gnu.org." >&5
7871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7872 whose name does not start with the host triplet. If you think this
7873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7874 ac_tool_warned=yes ;;
7875 esac
7876 DLLTOOL=$ac_ct_DLLTOOL
7878 else
7879 DLLTOOL="$ac_cv_prog_DLLTOOL"
7882 if test -n "$ac_tool_prefix"; then
7883 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7884 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7887 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7888 echo $ECHO_N "(cached) $ECHO_C" >&6
7889 else
7890 if test -n "$DLLWRAP"; then
7891 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 DLLWRAP=$ac_cv_prog_DLLWRAP
7911 if test -n "$DLLWRAP"; then
7912 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7913 echo "${ECHO_T}$DLLWRAP" >&6; }
7914 else
7915 { echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6; }
7921 if test -z "$ac_cv_prog_DLLWRAP"; then
7922 ac_ct_DLLWRAP=$DLLWRAP
7923 # Extract the first word of "dllwrap", so it can be a program name with args.
7924 set dummy dllwrap; ac_word=$2
7925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7927 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 else
7930 if test -n "$ac_ct_DLLWRAP"; then
7931 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7932 else
7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 for as_dir in $PATH
7936 IFS=$as_save_IFS
7937 test -z "$as_dir" && as_dir=.
7938 for ac_exec_ext in '' $ac_executable_extensions; do
7939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7940 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 break 2
7944 done
7945 done
7946 IFS=$as_save_IFS
7950 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7951 if test -n "$ac_ct_DLLWRAP"; then
7952 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7953 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7954 else
7955 { echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6; }
7959 if test "x$ac_ct_DLLWRAP" = x; then
7960 DLLWRAP="false"
7961 else
7962 case $cross_compiling:$ac_tool_warned in
7963 yes:)
7964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7965 whose name does not start with the host triplet. If you think this
7966 configuration is useful to you, please write to autoconf@gnu.org." >&5
7967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7968 whose name does not start with the host triplet. If you think this
7969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7970 ac_tool_warned=yes ;;
7971 esac
7972 DLLWRAP=$ac_ct_DLLWRAP
7974 else
7975 DLLWRAP="$ac_cv_prog_DLLWRAP"
7978 if test -n "$ac_tool_prefix"; then
7979 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7980 set dummy ${ac_tool_prefix}ar; ac_word=$2
7981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7983 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7984 echo $ECHO_N "(cached) $ECHO_C" >&6
7985 else
7986 if test -n "$MINGWAR"; then
7987 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7988 else
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 for as_dir in $PATH
7992 IFS=$as_save_IFS
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7996 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 break 2
8000 done
8001 done
8002 IFS=$as_save_IFS
8006 MINGWAR=$ac_cv_prog_MINGWAR
8007 if test -n "$MINGWAR"; then
8008 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8009 echo "${ECHO_T}$MINGWAR" >&6; }
8010 else
8011 { echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6; }
8017 if test -z "$ac_cv_prog_MINGWAR"; then
8018 ac_ct_MINGWAR=$MINGWAR
8019 # Extract the first word of "ar", so it can be a program name with args.
8020 set dummy ar; ac_word=$2
8021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8023 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8024 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 else
8026 if test -n "$ac_ct_MINGWAR"; then
8027 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8028 else
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 for as_dir in $PATH
8032 IFS=$as_save_IFS
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8036 ac_cv_prog_ac_ct_MINGWAR="ar"
8037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 break 2
8040 done
8041 done
8042 IFS=$as_save_IFS
8046 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8047 if test -n "$ac_ct_MINGWAR"; then
8048 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8049 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8050 else
8051 { echo "$as_me:$LINENO: result: no" >&5
8052 echo "${ECHO_T}no" >&6; }
8055 if test "x$ac_ct_MINGWAR" = x; then
8056 MINGWAR="false"
8057 else
8058 case $cross_compiling:$ac_tool_warned in
8059 yes:)
8060 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8061 whose name does not start with the host triplet. If you think this
8062 configuration is useful to you, please write to autoconf@gnu.org." >&5
8063 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8064 whose name does not start with the host triplet. If you think this
8065 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8066 ac_tool_warned=yes ;;
8067 esac
8068 MINGWAR=$ac_ct_MINGWAR
8070 else
8071 MINGWAR="$ac_cv_prog_MINGWAR"
8074 if test "$DLLWRAP" = "false"; then
8075 LIBEXT="a"
8076 else
8077 LIBEXT="dll"
8079 IMPLIBEXT="a"
8080 WIN16_FILES=""
8081 WIN16_INSTALL=""
8083 darwin*|macosx*)
8084 DLLEXT=".so"
8085 LIBEXT="dylib"
8086 DLLFLAGS="$DLLFLAGS -fPIC"
8087 LDDLLFLAGS="-bundle -multiply_defined suppress"
8088 LIBWINE_LDFLAGS="-multiply_defined suppress"
8089 LDSHARED="\$(CC) -dynamiclib"
8090 STRIP="$STRIP -x"
8091 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8092 COREFOUNDATIONLIB="-framework CoreFoundation"
8094 IOKITLIB="-framework IOKit -framework CoreFoundation"
8096 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8098 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8099 then
8100 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8103 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8104 then
8105 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8108 case $host_cpu in
8109 *powerpc*)
8110 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8111 esac
8112 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8113 then
8114 CARBONLIB="-framework Carbon"
8116 QUARTZFILES='$(QUARTZFILES)'
8120 DLLFLAGS="$DLLFLAGS -fPIC"
8121 DLLEXT=".so"
8122 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8123 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8124 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8126 else
8127 ac_wine_try_cflags_saved=$CFLAGS
8128 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8129 cat >conftest.$ac_ext <<_ACEOF
8130 void myfunc() {}
8131 _ACEOF
8132 rm -f conftest.$ac_objext conftest$ac_exeext
8133 if { (ac_try="$ac_link"
8134 case "(($ac_try" in
8135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8136 *) ac_try_echo=$ac_try;;
8137 esac
8138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8139 (eval "$ac_link") 2>conftest.er1
8140 ac_status=$?
8141 grep -v '^ *+' conftest.er1 >conftest.err
8142 rm -f conftest.er1
8143 cat conftest.err >&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } && {
8146 test -z "$ac_c_werror_flag" ||
8147 test ! -s conftest.err
8148 } && test -s conftest$ac_exeext &&
8149 $as_test_x conftest$ac_exeext; then
8150 ac_cv_c_dll_gnuelf="yes"
8151 else
8152 echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 ac_cv_c_dll_gnuelf="no"
8158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8159 conftest$ac_exeext conftest.$ac_ext
8160 CFLAGS=$ac_wine_try_cflags_saved
8162 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8163 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8164 if test "$ac_cv_c_dll_gnuelf" = "yes"
8165 then
8166 LDSHARED="\$(CC) -shared"
8167 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8168 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8169 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8170 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 else
8173 ac_wine_try_cflags_saved=$CFLAGS
8174 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8175 cat >conftest.$ac_ext <<_ACEOF
8176 /* confdefs.h. */
8177 _ACEOF
8178 cat confdefs.h >>conftest.$ac_ext
8179 cat >>conftest.$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8183 main ()
8187 return 0;
8189 _ACEOF
8190 rm -f conftest.$ac_objext conftest$ac_exeext
8191 if { (ac_try="$ac_link"
8192 case "(($ac_try" in
8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8194 *) ac_try_echo=$ac_try;;
8195 esac
8196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8197 (eval "$ac_link") 2>conftest.er1
8198 ac_status=$?
8199 grep -v '^ *+' conftest.er1 >conftest.err
8200 rm -f conftest.er1
8201 cat conftest.err >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); } && {
8204 test -z "$ac_c_werror_flag" ||
8205 test ! -s conftest.err
8206 } && test -s conftest$ac_exeext &&
8207 $as_test_x conftest$ac_exeext; then
8208 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8209 else
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8213 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8217 conftest$ac_exeext conftest.$ac_ext
8218 CFLAGS=$ac_wine_try_cflags_saved
8220 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8221 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8222 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8223 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8224 else
8225 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8226 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8227 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 else
8230 ac_wine_try_cflags_saved=$CFLAGS
8231 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8232 cat >conftest.$ac_ext <<_ACEOF
8233 /* confdefs.h. */
8234 _ACEOF
8235 cat confdefs.h >>conftest.$ac_ext
8236 cat >>conftest.$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8240 main ()
8244 return 0;
8246 _ACEOF
8247 rm -f conftest.$ac_objext conftest$ac_exeext
8248 if { (ac_try="$ac_link"
8249 case "(($ac_try" in
8250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8251 *) ac_try_echo=$ac_try;;
8252 esac
8253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8254 (eval "$ac_link") 2>conftest.er1
8255 ac_status=$?
8256 grep -v '^ *+' conftest.er1 >conftest.err
8257 rm -f conftest.er1
8258 cat conftest.err >&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } && {
8261 test -z "$ac_c_werror_flag" ||
8262 test ! -s conftest.err
8263 } && test -s conftest$ac_exeext &&
8264 $as_test_x conftest$ac_exeext; then
8265 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8266 else
8267 echo "$as_me: failed program was:" >&5
8268 sed 's/^/| /' conftest.$ac_ext >&5
8270 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8278 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8279 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8280 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8286 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8287 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8288 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8289 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 else
8291 ac_wine_try_cflags_saved=$CFLAGS
8292 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8293 cat >conftest.$ac_ext <<_ACEOF
8294 /* confdefs.h. */
8295 _ACEOF
8296 cat confdefs.h >>conftest.$ac_ext
8297 cat >>conftest.$ac_ext <<_ACEOF
8298 /* end confdefs.h. */
8301 main ()
8305 return 0;
8307 _ACEOF
8308 rm -f conftest.$ac_objext conftest$ac_exeext
8309 if { (ac_try="$ac_link"
8310 case "(($ac_try" in
8311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8312 *) ac_try_echo=$ac_try;;
8313 esac
8314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8315 (eval "$ac_link") 2>conftest.er1
8316 ac_status=$?
8317 grep -v '^ *+' conftest.er1 >conftest.err
8318 rm -f conftest.er1
8319 cat conftest.err >&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); } && {
8322 test -z "$ac_c_werror_flag" ||
8323 test ! -s conftest.err
8324 } && test -s conftest$ac_exeext &&
8325 $as_test_x conftest$ac_exeext; then
8326 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8327 else
8328 echo "$as_me: failed program was:" >&5
8329 sed 's/^/| /' conftest.$ac_ext >&5
8331 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8335 conftest$ac_exeext conftest.$ac_ext
8336 CFLAGS=$ac_wine_try_cflags_saved
8338 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8339 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8340 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8341 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8345 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8346 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8347 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8348 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 else
8350 ac_wine_try_cflags_saved=$CFLAGS
8351 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8352 cat >conftest.$ac_ext <<_ACEOF
8353 /* confdefs.h. */
8354 _ACEOF
8355 cat confdefs.h >>conftest.$ac_ext
8356 cat >>conftest.$ac_ext <<_ACEOF
8357 /* end confdefs.h. */
8360 main ()
8364 return 0;
8366 _ACEOF
8367 rm -f conftest.$ac_objext conftest$ac_exeext
8368 if { (ac_try="$ac_link"
8369 case "(($ac_try" in
8370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8371 *) ac_try_echo=$ac_try;;
8372 esac
8373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8374 (eval "$ac_link") 2>conftest.er1
8375 ac_status=$?
8376 grep -v '^ *+' conftest.er1 >conftest.err
8377 rm -f conftest.er1
8378 cat conftest.err >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); } && {
8381 test -z "$ac_c_werror_flag" ||
8382 test ! -s conftest.err
8383 } && test -s conftest$ac_exeext &&
8384 $as_test_x conftest$ac_exeext; then
8385 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8386 else
8387 echo "$as_me: failed program was:" >&5
8388 sed 's/^/| /' conftest.$ac_ext >&5
8390 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8394 conftest$ac_exeext conftest.$ac_ext
8395 CFLAGS=$ac_wine_try_cflags_saved
8397 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8398 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8399 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8400 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8404 echo '{ global: *; };' >conftest.map
8405 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8406 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8407 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8408 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 else
8410 ac_wine_try_cflags_saved=$CFLAGS
8411 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8412 cat >conftest.$ac_ext <<_ACEOF
8413 /* confdefs.h. */
8414 _ACEOF
8415 cat confdefs.h >>conftest.$ac_ext
8416 cat >>conftest.$ac_ext <<_ACEOF
8417 /* end confdefs.h. */
8420 main ()
8424 return 0;
8426 _ACEOF
8427 rm -f conftest.$ac_objext conftest$ac_exeext
8428 if { (ac_try="$ac_link"
8429 case "(($ac_try" in
8430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8431 *) ac_try_echo=$ac_try;;
8432 esac
8433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8434 (eval "$ac_link") 2>conftest.er1
8435 ac_status=$?
8436 grep -v '^ *+' conftest.er1 >conftest.err
8437 rm -f conftest.er1
8438 cat conftest.err >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); } && {
8441 test -z "$ac_c_werror_flag" ||
8442 test ! -s conftest.err
8443 } && test -s conftest$ac_exeext &&
8444 $as_test_x conftest$ac_exeext; then
8445 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8446 else
8447 echo "$as_me: failed program was:" >&5
8448 sed 's/^/| /' conftest.$ac_ext >&5
8450 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8458 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8459 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8460 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8463 rm -f conftest.map
8465 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8466 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8467 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 else
8470 ac_wine_try_cflags_saved=$CFLAGS
8471 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8472 cat >conftest.$ac_ext <<_ACEOF
8473 /* confdefs.h. */
8474 _ACEOF
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8480 main ()
8484 return 0;
8486 _ACEOF
8487 rm -f conftest.$ac_objext conftest$ac_exeext
8488 if { (ac_try="$ac_link"
8489 case "(($ac_try" in
8490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8491 *) ac_try_echo=$ac_try;;
8492 esac
8493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8494 (eval "$ac_link") 2>conftest.er1
8495 ac_status=$?
8496 grep -v '^ *+' conftest.er1 >conftest.err
8497 rm -f conftest.er1
8498 cat conftest.err >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); } && {
8501 test -z "$ac_c_werror_flag" ||
8502 test ! -s conftest.err
8503 } && test -s conftest$ac_exeext &&
8504 $as_test_x conftest$ac_exeext; then
8505 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8506 else
8507 echo "$as_me: failed program was:" >&5
8508 sed 's/^/| /' conftest.$ac_ext >&5
8510 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8514 conftest$ac_exeext conftest.$ac_ext
8515 CFLAGS=$ac_wine_try_cflags_saved
8517 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8518 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8519 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8520 LDEXECFLAGS="-Wl,--export-dynamic"
8525 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8526 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8527 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8528 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8529 echo $ECHO_N "(cached) $ECHO_C" >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8533 cat >conftest.$ac_ext <<_ACEOF
8534 /* confdefs.h. */
8535 _ACEOF
8536 cat confdefs.h >>conftest.$ac_ext
8537 cat >>conftest.$ac_ext <<_ACEOF
8538 /* end confdefs.h. */
8541 main ()
8545 return 0;
8547 _ACEOF
8548 rm -f conftest.$ac_objext conftest$ac_exeext
8549 if { (ac_try="$ac_link"
8550 case "(($ac_try" in
8551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8552 *) ac_try_echo=$ac_try;;
8553 esac
8554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8555 (eval "$ac_link") 2>conftest.er1
8556 ac_status=$?
8557 grep -v '^ *+' conftest.er1 >conftest.err
8558 rm -f conftest.er1
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } && {
8562 test -z "$ac_c_werror_flag" ||
8563 test ! -s conftest.err
8564 } && test -s conftest$ac_exeext &&
8565 $as_test_x conftest$ac_exeext; then
8566 eval "$as_ac_var=yes"
8567 else
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 eval "$as_ac_var=no"
8574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8575 conftest$ac_exeext conftest.$ac_ext
8576 CFLAGS=$ac_wine_try_cflags_saved
8578 ac_res=`eval echo '${'$as_ac_var'}'`
8579 { echo "$as_me:$LINENO: result: $ac_res" >&5
8580 echo "${ECHO_T}$ac_res" >&6; }
8581 if test `eval echo '${'$as_ac_var'}'` = yes; then
8582 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8583 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8584 else
8585 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8586 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8587 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 else
8591 ac_wine_try_cflags_saved=$CFLAGS
8592 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8593 cat >conftest.$ac_ext <<_ACEOF
8594 /* confdefs.h. */
8595 _ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8601 main ()
8605 return 0;
8607 _ACEOF
8608 rm -f conftest.$ac_objext conftest$ac_exeext
8609 if { (ac_try="$ac_link"
8610 case "(($ac_try" in
8611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8612 *) ac_try_echo=$ac_try;;
8613 esac
8614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8615 (eval "$ac_link") 2>conftest.er1
8616 ac_status=$?
8617 grep -v '^ *+' conftest.er1 >conftest.err
8618 rm -f conftest.er1
8619 cat conftest.err >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); } && {
8622 test -z "$ac_c_werror_flag" ||
8623 test ! -s conftest.err
8624 } && test -s conftest$ac_exeext &&
8625 $as_test_x conftest$ac_exeext; then
8626 eval "$as_ac_var=yes"
8627 else
8628 echo "$as_me: failed program was:" >&5
8629 sed 's/^/| /' conftest.$ac_ext >&5
8631 eval "$as_ac_var=no"
8634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8635 conftest$ac_exeext conftest.$ac_ext
8636 CFLAGS=$ac_wine_try_cflags_saved
8638 ac_res=`eval echo '${'$as_ac_var'}'`
8639 { echo "$as_me:$LINENO: result: $ac_res" >&5
8640 echo "${ECHO_T}$ac_res" >&6; }
8641 if test `eval echo '${'$as_ac_var'}'` = yes; then
8642 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8643 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8649 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8650 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8651 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8656 cat >conftest.$ac_ext <<_ACEOF
8657 /* confdefs.h. */
8658 _ACEOF
8659 cat confdefs.h >>conftest.$ac_ext
8660 cat >>conftest.$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8664 main ()
8668 return 0;
8670 _ACEOF
8671 rm -f conftest.$ac_objext conftest$ac_exeext
8672 if { (ac_try="$ac_link"
8673 case "(($ac_try" in
8674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8675 *) ac_try_echo=$ac_try;;
8676 esac
8677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8678 (eval "$ac_link") 2>conftest.er1
8679 ac_status=$?
8680 grep -v '^ *+' conftest.er1 >conftest.err
8681 rm -f conftest.er1
8682 cat conftest.err >&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } && {
8685 test -z "$ac_c_werror_flag" ||
8686 test ! -s conftest.err
8687 } && test -s conftest$ac_exeext &&
8688 $as_test_x conftest$ac_exeext; then
8689 ac_cv_cflags__Wl___enable_new_dtags=yes
8690 else
8691 echo "$as_me: failed program was:" >&5
8692 sed 's/^/| /' conftest.$ac_ext >&5
8694 ac_cv_cflags__Wl___enable_new_dtags=no
8697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8698 conftest$ac_exeext conftest.$ac_ext
8699 CFLAGS=$ac_wine_try_cflags_saved
8701 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8702 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8703 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8704 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8708 case $host_cpu in
8709 *i[3456789]86* | x86_64)
8710 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8711 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8712 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8713 echo $ECHO_N "(cached) $ECHO_C" >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8717 cat >conftest.$ac_ext <<_ACEOF
8718 /* confdefs.h. */
8719 _ACEOF
8720 cat confdefs.h >>conftest.$ac_ext
8721 cat >>conftest.$ac_ext <<_ACEOF
8722 /* end confdefs.h. */
8725 main ()
8729 return 0;
8731 _ACEOF
8732 rm -f conftest.$ac_objext conftest$ac_exeext
8733 if { (ac_try="$ac_link"
8734 case "(($ac_try" in
8735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8736 *) ac_try_echo=$ac_try;;
8737 esac
8738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8739 (eval "$ac_link") 2>conftest.er1
8740 ac_status=$?
8741 grep -v '^ *+' conftest.er1 >conftest.err
8742 rm -f conftest.er1
8743 cat conftest.err >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } && {
8746 test -z "$ac_c_werror_flag" ||
8747 test ! -s conftest.err
8748 } && test -s conftest$ac_exeext &&
8749 $as_test_x conftest$ac_exeext; then
8750 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8751 else
8752 echo "$as_me: failed program was:" >&5
8753 sed 's/^/| /' conftest.$ac_ext >&5
8755 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8759 conftest$ac_exeext conftest.$ac_ext
8760 CFLAGS=$ac_wine_try_cflags_saved
8762 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8763 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8764 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8765 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8769 esac
8771 else
8772 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8773 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8774 if test "${ac_cv_c_dll_unixware+set}" = set; then
8775 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 else
8777 ac_wine_try_cflags_saved=$CFLAGS
8778 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8779 cat >conftest.$ac_ext <<_ACEOF
8780 void myfunc() {}
8781 _ACEOF
8782 rm -f conftest.$ac_objext conftest$ac_exeext
8783 if { (ac_try="$ac_link"
8784 case "(($ac_try" in
8785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8786 *) ac_try_echo=$ac_try;;
8787 esac
8788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8789 (eval "$ac_link") 2>conftest.er1
8790 ac_status=$?
8791 grep -v '^ *+' conftest.er1 >conftest.err
8792 rm -f conftest.er1
8793 cat conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } && {
8796 test -z "$ac_c_werror_flag" ||
8797 test ! -s conftest.err
8798 } && test -s conftest$ac_exeext &&
8799 $as_test_x conftest$ac_exeext; then
8800 ac_cv_c_dll_unixware="yes"
8801 else
8802 echo "$as_me: failed program was:" >&5
8803 sed 's/^/| /' conftest.$ac_ext >&5
8805 ac_cv_c_dll_unixware="no"
8808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8813 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8814 if test "$ac_cv_c_dll_unixware" = "yes"
8815 then
8816 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8817 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8819 else
8820 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8821 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8822 if test "${ac_cv_c_dll_hpux+set}" = set; then
8823 echo $ECHO_N "(cached) $ECHO_C" >&6
8824 else
8825 ac_wine_try_cflags_saved=$CFLAGS
8826 CFLAGS="$CFLAGS -shared"
8827 cat >conftest.$ac_ext <<_ACEOF
8828 void myfunc() {}
8829 _ACEOF
8830 rm -f conftest.$ac_objext conftest$ac_exeext
8831 if { (ac_try="$ac_link"
8832 case "(($ac_try" in
8833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8834 *) ac_try_echo=$ac_try;;
8835 esac
8836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8837 (eval "$ac_link") 2>conftest.er1
8838 ac_status=$?
8839 grep -v '^ *+' conftest.er1 >conftest.err
8840 rm -f conftest.er1
8841 cat conftest.err >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); } && {
8844 test -z "$ac_c_werror_flag" ||
8845 test ! -s conftest.err
8846 } && test -s conftest$ac_exeext &&
8847 $as_test_x conftest$ac_exeext; then
8848 ac_cv_c_dll_hpux="yes"
8849 else
8850 echo "$as_me: failed program was:" >&5
8851 sed 's/^/| /' conftest.$ac_ext >&5
8853 ac_cv_c_dll_hpux="no"
8856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8857 conftest$ac_exeext conftest.$ac_ext
8858 CFLAGS=$ac_wine_try_cflags_saved
8860 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8861 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8862 if test "$ac_cv_c_dll_hpux" = "yes"
8863 then
8864 LIBEXT="sl"
8865 DLLEXT=".sl"
8866 LDDLLFLAGS="-shared -fPIC"
8867 LDSHARED="\$(CC) -shared"
8872 CROSSTEST=""
8874 if test "$cross_compiling" = "no"
8875 then
8876 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8878 # Extract the first word of "$ac_prog", so it can be a program name with args.
8879 set dummy $ac_prog; ac_word=$2
8880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8882 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8883 echo $ECHO_N "(cached) $ECHO_C" >&6
8884 else
8885 if test -n "$CROSSCC"; then
8886 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8887 else
8888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8889 for as_dir in $PATH
8891 IFS=$as_save_IFS
8892 test -z "$as_dir" && as_dir=.
8893 for ac_exec_ext in '' $ac_executable_extensions; do
8894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8895 ac_cv_prog_CROSSCC="$ac_prog"
8896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8897 break 2
8899 done
8900 done
8901 IFS=$as_save_IFS
8905 CROSSCC=$ac_cv_prog_CROSSCC
8906 if test -n "$CROSSCC"; then
8907 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8908 echo "${ECHO_T}$CROSSCC" >&6; }
8909 else
8910 { echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6; }
8915 test -n "$CROSSCC" && break
8916 done
8917 test -n "$CROSSCC" || CROSSCC="false"
8919 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8921 # Extract the first word of "$ac_prog", so it can be a program name with args.
8922 set dummy $ac_prog; ac_word=$2
8923 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8925 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 else
8928 if test -n "$DLLTOOL"; then
8929 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8930 else
8931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8932 for as_dir in $PATH
8934 IFS=$as_save_IFS
8935 test -z "$as_dir" && as_dir=.
8936 for ac_exec_ext in '' $ac_executable_extensions; do
8937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8938 ac_cv_prog_DLLTOOL="$ac_prog"
8939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8940 break 2
8942 done
8943 done
8944 IFS=$as_save_IFS
8948 DLLTOOL=$ac_cv_prog_DLLTOOL
8949 if test -n "$DLLTOOL"; then
8950 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8951 echo "${ECHO_T}$DLLTOOL" >&6; }
8952 else
8953 { echo "$as_me:$LINENO: result: no" >&5
8954 echo "${ECHO_T}no" >&6; }
8958 test -n "$DLLTOOL" && break
8959 done
8960 test -n "$DLLTOOL" || DLLTOOL="false"
8962 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8964 # Extract the first word of "$ac_prog", so it can be a program name with args.
8965 set dummy $ac_prog; ac_word=$2
8966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8968 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8969 echo $ECHO_N "(cached) $ECHO_C" >&6
8970 else
8971 if test -n "$CROSSWINDRES"; then
8972 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8973 else
8974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975 for as_dir in $PATH
8977 IFS=$as_save_IFS
8978 test -z "$as_dir" && as_dir=.
8979 for ac_exec_ext in '' $ac_executable_extensions; do
8980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8981 ac_cv_prog_CROSSWINDRES="$ac_prog"
8982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8983 break 2
8985 done
8986 done
8987 IFS=$as_save_IFS
8991 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8992 if test -n "$CROSSWINDRES"; then
8993 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8994 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8995 else
8996 { echo "$as_me:$LINENO: result: no" >&5
8997 echo "${ECHO_T}no" >&6; }
9001 test -n "$CROSSWINDRES" && break
9002 done
9003 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9005 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9007 # Extract the first word of "$ac_prog", so it can be a program name with args.
9008 set dummy $ac_prog; ac_word=$2
9009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9011 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9012 echo $ECHO_N "(cached) $ECHO_C" >&6
9013 else
9014 if test -n "$MINGWAR"; then
9015 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9016 else
9017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9018 for as_dir in $PATH
9020 IFS=$as_save_IFS
9021 test -z "$as_dir" && as_dir=.
9022 for ac_exec_ext in '' $ac_executable_extensions; do
9023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9024 ac_cv_prog_MINGWAR="$ac_prog"
9025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9026 break 2
9028 done
9029 done
9030 IFS=$as_save_IFS
9034 MINGWAR=$ac_cv_prog_MINGWAR
9035 if test -n "$MINGWAR"; then
9036 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9037 echo "${ECHO_T}$MINGWAR" >&6; }
9038 else
9039 { echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6; }
9044 test -n "$MINGWAR" && break
9045 done
9046 test -n "$MINGWAR" || MINGWAR="false"
9048 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9051 esac
9053 if test "$LIBEXT" = "a"; then
9054 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9055 It is currently not possible to build Wine without shared library
9056 (.so) support to allow transparent switch between .so and .dll files.
9057 If you are using Linux, you will need a newer binutils.
9058 " >&5
9059 echo "$as_me: error: could not find a way to build shared libraries.
9060 It is currently not possible to build Wine without shared library
9061 (.so) support to allow transparent switch between .so and .dll files.
9062 If you are using Linux, you will need a newer binutils.
9063 " >&2;}
9064 { (exit 1); exit 1; }; }
9068 if test "$have_x" = "yes"
9069 then
9070 XLIB="-lXext -lX11"
9071 ac_save_CPPFLAGS="$CPPFLAGS"
9072 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9074 { echo "$as_me:$LINENO: checking for -lX11" >&5
9075 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9076 if test "${ac_cv_lib_soname_X11+set}" = set; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 else
9079 ac_check_soname_save_LIBS=$LIBS
9080 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9081 cat >conftest.$ac_ext <<_ACEOF
9082 /* confdefs.h. */
9083 _ACEOF
9084 cat confdefs.h >>conftest.$ac_ext
9085 cat >>conftest.$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9091 #ifdef __cplusplus
9092 extern "C"
9093 #endif
9094 char XCreateWindow ();
9096 main ()
9098 return XCreateWindow ();
9100 return 0;
9102 _ACEOF
9103 rm -f conftest.$ac_objext conftest$ac_exeext
9104 if { (ac_try="$ac_link"
9105 case "(($ac_try" in
9106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9107 *) ac_try_echo=$ac_try;;
9108 esac
9109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9110 (eval "$ac_link") 2>conftest.er1
9111 ac_status=$?
9112 grep -v '^ *+' conftest.er1 >conftest.err
9113 rm -f conftest.er1
9114 cat conftest.err >&5
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116 (exit $ac_status); } && {
9117 test -z "$ac_c_werror_flag" ||
9118 test ! -s conftest.err
9119 } && test -s conftest$ac_exeext &&
9120 $as_test_x conftest$ac_exeext; then
9121 case "$LIBEXT" in
9122 dll) ;;
9123 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'` ;;
9124 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9125 esac
9126 else
9127 echo "$as_me: failed program was:" >&5
9128 sed 's/^/| /' conftest.$ac_ext >&5
9133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9134 conftest$ac_exeext conftest.$ac_ext
9135 LIBS=$ac_check_soname_save_LIBS
9137 if test "x$ac_cv_lib_soname_X11" = "x"; then
9138 { echo "$as_me:$LINENO: result: not found" >&5
9139 echo "${ECHO_T}not found" >&6; }
9141 else
9142 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9143 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9145 cat >>confdefs.h <<_ACEOF
9146 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9147 _ACEOF
9152 { echo "$as_me:$LINENO: checking for -lXext" >&5
9153 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9154 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9155 echo $ECHO_N "(cached) $ECHO_C" >&6
9156 else
9157 ac_check_soname_save_LIBS=$LIBS
9158 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9159 cat >conftest.$ac_ext <<_ACEOF
9160 /* confdefs.h. */
9161 _ACEOF
9162 cat confdefs.h >>conftest.$ac_ext
9163 cat >>conftest.$ac_ext <<_ACEOF
9164 /* end confdefs.h. */
9166 /* Override any GCC internal prototype to avoid an error.
9167 Use char because int might match the return type of a GCC
9168 builtin and then its argument prototype would still apply. */
9169 #ifdef __cplusplus
9170 extern "C"
9171 #endif
9172 char XextCreateExtension ();
9174 main ()
9176 return XextCreateExtension ();
9178 return 0;
9180 _ACEOF
9181 rm -f conftest.$ac_objext conftest$ac_exeext
9182 if { (ac_try="$ac_link"
9183 case "(($ac_try" in
9184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9185 *) ac_try_echo=$ac_try;;
9186 esac
9187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9188 (eval "$ac_link") 2>conftest.er1
9189 ac_status=$?
9190 grep -v '^ *+' conftest.er1 >conftest.err
9191 rm -f conftest.er1
9192 cat conftest.err >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); } && {
9195 test -z "$ac_c_werror_flag" ||
9196 test ! -s conftest.err
9197 } && test -s conftest$ac_exeext &&
9198 $as_test_x conftest$ac_exeext; then
9199 case "$LIBEXT" in
9200 dll) ;;
9201 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'` ;;
9202 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9203 esac
9204 else
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.$ac_ext >&5
9211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9212 conftest$ac_exeext conftest.$ac_ext
9213 LIBS=$ac_check_soname_save_LIBS
9215 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9216 { echo "$as_me:$LINENO: result: not found" >&5
9217 echo "${ECHO_T}not found" >&6; }
9219 else
9220 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9221 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9223 cat >>confdefs.h <<_ACEOF
9224 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9225 _ACEOF
9242 for ac_header in X11/Xlib.h \
9243 X11/XKBlib.h \
9244 X11/Xutil.h \
9245 X11/Xcursor/Xcursor.h \
9246 X11/extensions/shape.h \
9247 X11/extensions/XInput.h \
9248 X11/extensions/XShm.h \
9249 X11/extensions/Xinerama.h \
9250 X11/extensions/Xrandr.h \
9251 X11/extensions/Xrender.h \
9252 X11/extensions/xf86vmode.h
9254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9255 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9258 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 else
9260 cat >conftest.$ac_ext <<_ACEOF
9261 /* confdefs.h. */
9262 _ACEOF
9263 cat confdefs.h >>conftest.$ac_ext
9264 cat >>conftest.$ac_ext <<_ACEOF
9265 /* end confdefs.h. */
9266 #ifdef HAVE_X11_XLIB_H
9267 # include <X11/Xlib.h>
9268 #endif
9269 #ifdef HAVE_X11_XUTIL_H
9270 # include <X11/Xutil.h>
9271 #endif
9273 #include <$ac_header>
9274 _ACEOF
9275 rm -f conftest.$ac_objext
9276 if { (ac_try="$ac_compile"
9277 case "(($ac_try" in
9278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9279 *) ac_try_echo=$ac_try;;
9280 esac
9281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9282 (eval "$ac_compile") 2>conftest.er1
9283 ac_status=$?
9284 grep -v '^ *+' conftest.er1 >conftest.err
9285 rm -f conftest.er1
9286 cat conftest.err >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } && {
9289 test -z "$ac_c_werror_flag" ||
9290 test ! -s conftest.err
9291 } && test -s conftest.$ac_objext; then
9292 eval "$as_ac_Header=yes"
9293 else
9294 echo "$as_me: failed program was:" >&5
9295 sed 's/^/| /' conftest.$ac_ext >&5
9297 eval "$as_ac_Header=no"
9300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9302 ac_res=`eval echo '${'$as_ac_Header'}'`
9303 { echo "$as_me:$LINENO: result: $ac_res" >&5
9304 echo "${ECHO_T}$ac_res" >&6; }
9305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9306 cat >>confdefs.h <<_ACEOF
9307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9308 _ACEOF
9312 done
9315 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9316 then
9317 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9318 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9319 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9320 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 else
9322 ac_check_lib_save_LIBS=$LIBS
9323 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9324 cat >conftest.$ac_ext <<_ACEOF
9325 /* confdefs.h. */
9326 _ACEOF
9327 cat confdefs.h >>conftest.$ac_ext
9328 cat >>conftest.$ac_ext <<_ACEOF
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char XkbQueryExtension ();
9339 main ()
9341 return XkbQueryExtension ();
9343 return 0;
9345 _ACEOF
9346 rm -f conftest.$ac_objext conftest$ac_exeext
9347 if { (ac_try="$ac_link"
9348 case "(($ac_try" in
9349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9350 *) ac_try_echo=$ac_try;;
9351 esac
9352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9353 (eval "$ac_link") 2>conftest.er1
9354 ac_status=$?
9355 grep -v '^ *+' conftest.er1 >conftest.err
9356 rm -f conftest.er1
9357 cat conftest.err >&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); } && {
9360 test -z "$ac_c_werror_flag" ||
9361 test ! -s conftest.err
9362 } && test -s conftest$ac_exeext &&
9363 $as_test_x conftest$ac_exeext; then
9364 ac_cv_lib_X11_XkbQueryExtension=yes
9365 else
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.$ac_ext >&5
9369 ac_cv_lib_X11_XkbQueryExtension=no
9372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LIBS=$ac_check_lib_save_LIBS
9376 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9377 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9378 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9380 cat >>confdefs.h <<\_ACEOF
9381 #define HAVE_XKB 1
9382 _ACEOF
9388 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9389 then
9390 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9391 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9392 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9393 echo $ECHO_N "(cached) $ECHO_C" >&6
9394 else
9395 ac_check_soname_save_LIBS=$LIBS
9396 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9397 cat >conftest.$ac_ext <<_ACEOF
9398 /* confdefs.h. */
9399 _ACEOF
9400 cat confdefs.h >>conftest.$ac_ext
9401 cat >>conftest.$ac_ext <<_ACEOF
9402 /* end confdefs.h. */
9404 /* Override any GCC internal prototype to avoid an error.
9405 Use char because int might match the return type of a GCC
9406 builtin and then its argument prototype would still apply. */
9407 #ifdef __cplusplus
9408 extern "C"
9409 #endif
9410 char XcursorImageLoadCursor ();
9412 main ()
9414 return XcursorImageLoadCursor ();
9416 return 0;
9418 _ACEOF
9419 rm -f conftest.$ac_objext conftest$ac_exeext
9420 if { (ac_try="$ac_link"
9421 case "(($ac_try" in
9422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9423 *) ac_try_echo=$ac_try;;
9424 esac
9425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9426 (eval "$ac_link") 2>conftest.er1
9427 ac_status=$?
9428 grep -v '^ *+' conftest.er1 >conftest.err
9429 rm -f conftest.er1
9430 cat conftest.err >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } && {
9433 test -z "$ac_c_werror_flag" ||
9434 test ! -s conftest.err
9435 } && test -s conftest$ac_exeext &&
9436 $as_test_x conftest$ac_exeext; then
9437 case "$LIBEXT" in
9438 dll) ;;
9439 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'` ;;
9440 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9441 esac
9442 else
9443 echo "$as_me: failed program was:" >&5
9444 sed 's/^/| /' conftest.$ac_ext >&5
9449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9450 conftest$ac_exeext conftest.$ac_ext
9451 LIBS=$ac_check_soname_save_LIBS
9453 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9454 { echo "$as_me:$LINENO: result: not found" >&5
9455 echo "${ECHO_T}not found" >&6; }
9457 else
9458 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9459 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9461 cat >>confdefs.h <<_ACEOF
9462 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9463 _ACEOF
9470 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9471 then
9472 { echo "$as_me:$LINENO: checking for -lXi" >&5
9473 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9474 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 else
9477 ac_check_soname_save_LIBS=$LIBS
9478 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9479 cat >conftest.$ac_ext <<_ACEOF
9480 /* confdefs.h. */
9481 _ACEOF
9482 cat confdefs.h >>conftest.$ac_ext
9483 cat >>conftest.$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9489 #ifdef __cplusplus
9490 extern "C"
9491 #endif
9492 char XOpenDevice ();
9494 main ()
9496 return XOpenDevice ();
9498 return 0;
9500 _ACEOF
9501 rm -f conftest.$ac_objext conftest$ac_exeext
9502 if { (ac_try="$ac_link"
9503 case "(($ac_try" in
9504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9505 *) ac_try_echo=$ac_try;;
9506 esac
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_link") 2>conftest.er1
9509 ac_status=$?
9510 grep -v '^ *+' conftest.er1 >conftest.err
9511 rm -f conftest.er1
9512 cat conftest.err >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } && {
9515 test -z "$ac_c_werror_flag" ||
9516 test ! -s conftest.err
9517 } && test -s conftest$ac_exeext &&
9518 $as_test_x conftest$ac_exeext; then
9519 case "$LIBEXT" in
9520 dll) ;;
9521 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'` ;;
9522 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9523 esac
9524 else
9525 echo "$as_me: failed program was:" >&5
9526 sed 's/^/| /' conftest.$ac_ext >&5
9531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LIBS=$ac_check_soname_save_LIBS
9535 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9536 { echo "$as_me:$LINENO: result: not found" >&5
9537 echo "${ECHO_T}not found" >&6; }
9539 else
9540 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9541 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9543 cat >>confdefs.h <<_ACEOF
9544 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9545 _ACEOF
9552 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9553 then
9554 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9555 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9556 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9557 echo $ECHO_N "(cached) $ECHO_C" >&6
9558 else
9559 ac_check_lib_save_LIBS=$LIBS
9560 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9561 cat >conftest.$ac_ext <<_ACEOF
9562 /* confdefs.h. */
9563 _ACEOF
9564 cat confdefs.h >>conftest.$ac_ext
9565 cat >>conftest.$ac_ext <<_ACEOF
9566 /* end confdefs.h. */
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char XShmQueryExtension ();
9576 main ()
9578 return XShmQueryExtension ();
9580 return 0;
9582 _ACEOF
9583 rm -f conftest.$ac_objext conftest$ac_exeext
9584 if { (ac_try="$ac_link"
9585 case "(($ac_try" in
9586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9587 *) ac_try_echo=$ac_try;;
9588 esac
9589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9590 (eval "$ac_link") 2>conftest.er1
9591 ac_status=$?
9592 grep -v '^ *+' conftest.er1 >conftest.err
9593 rm -f conftest.er1
9594 cat conftest.err >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); } && {
9597 test -z "$ac_c_werror_flag" ||
9598 test ! -s conftest.err
9599 } && test -s conftest$ac_exeext &&
9600 $as_test_x conftest$ac_exeext; then
9601 ac_cv_lib_Xext_XShmQueryExtension=yes
9602 else
9603 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.$ac_ext >&5
9606 ac_cv_lib_Xext_XShmQueryExtension=no
9609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9614 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9615 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9617 cat >>confdefs.h <<\_ACEOF
9618 #define HAVE_LIBXXSHM 1
9619 _ACEOF
9624 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9625 wine_notices="$wine_notices|XShm development files not found.
9626 Wine will be built without XShm support. (winex11.drv)"
9630 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9631 then
9632 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9633 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9634 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 else
9637 ac_check_lib_save_LIBS=$LIBS
9638 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9639 cat >conftest.$ac_ext <<_ACEOF
9640 /* confdefs.h. */
9641 _ACEOF
9642 cat confdefs.h >>conftest.$ac_ext
9643 cat >>conftest.$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9646 /* Override any GCC internal prototype to avoid an error.
9647 Use char because int might match the return type of a GCC
9648 builtin and then its argument prototype would still apply. */
9649 #ifdef __cplusplus
9650 extern "C"
9651 #endif
9652 char XShapeQueryExtension ();
9654 main ()
9656 return XShapeQueryExtension ();
9658 return 0;
9660 _ACEOF
9661 rm -f conftest.$ac_objext conftest$ac_exeext
9662 if { (ac_try="$ac_link"
9663 case "(($ac_try" in
9664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9665 *) ac_try_echo=$ac_try;;
9666 esac
9667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9668 (eval "$ac_link") 2>conftest.er1
9669 ac_status=$?
9670 grep -v '^ *+' conftest.er1 >conftest.err
9671 rm -f conftest.er1
9672 cat conftest.err >&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } && {
9675 test -z "$ac_c_werror_flag" ||
9676 test ! -s conftest.err
9677 } && test -s conftest$ac_exeext &&
9678 $as_test_x conftest$ac_exeext; then
9679 ac_cv_lib_Xext_XShapeQueryExtension=yes
9680 else
9681 echo "$as_me: failed program was:" >&5
9682 sed 's/^/| /' conftest.$ac_ext >&5
9684 ac_cv_lib_Xext_XShapeQueryExtension=no
9687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9688 conftest$ac_exeext conftest.$ac_ext
9689 LIBS=$ac_check_lib_save_LIBS
9691 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9692 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9693 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9695 cat >>confdefs.h <<\_ACEOF
9696 #define HAVE_LIBXSHAPE 1
9697 _ACEOF
9702 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9703 wine_notices="$wine_notices|XShape development files not found.
9704 Wine will be built without XShape support. (winex11.drv)"
9708 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9709 then
9710 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9711 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9712 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9714 else
9715 ac_check_lib_save_LIBS=$LIBS
9716 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9717 cat >conftest.$ac_ext <<_ACEOF
9718 /* confdefs.h. */
9719 _ACEOF
9720 cat confdefs.h >>conftest.$ac_ext
9721 cat >>conftest.$ac_ext <<_ACEOF
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 char XF86VidModeQueryExtension ();
9732 main ()
9734 return XF86VidModeQueryExtension ();
9736 return 0;
9738 _ACEOF
9739 rm -f conftest.$ac_objext conftest$ac_exeext
9740 if { (ac_try="$ac_link"
9741 case "(($ac_try" in
9742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9743 *) ac_try_echo=$ac_try;;
9744 esac
9745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9746 (eval "$ac_link") 2>conftest.er1
9747 ac_status=$?
9748 grep -v '^ *+' conftest.er1 >conftest.err
9749 rm -f conftest.er1
9750 cat conftest.err >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } && {
9753 test -z "$ac_c_werror_flag" ||
9754 test ! -s conftest.err
9755 } && test -s conftest$ac_exeext &&
9756 $as_test_x conftest$ac_exeext; then
9757 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9758 else
9759 echo "$as_me: failed program was:" >&5
9760 sed 's/^/| /' conftest.$ac_ext >&5
9762 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9766 conftest$ac_exeext conftest.$ac_ext
9767 LIBS=$ac_check_lib_save_LIBS
9769 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9770 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9771 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9773 cat >>confdefs.h <<\_ACEOF
9774 #define HAVE_LIBXXF86VM 1
9775 _ACEOF
9777 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9782 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9783 wine_notices="$wine_notices|Xxf86vm development files not found.
9784 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9788 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"
9789 then
9790 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9791 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9792 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9794 else
9795 ac_check_soname_save_LIBS=$LIBS
9796 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9797 cat >conftest.$ac_ext <<_ACEOF
9798 /* confdefs.h. */
9799 _ACEOF
9800 cat confdefs.h >>conftest.$ac_ext
9801 cat >>conftest.$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char XRenderQueryExtension ();
9812 main ()
9814 return XRenderQueryExtension ();
9816 return 0;
9818 _ACEOF
9819 rm -f conftest.$ac_objext conftest$ac_exeext
9820 if { (ac_try="$ac_link"
9821 case "(($ac_try" in
9822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9823 *) ac_try_echo=$ac_try;;
9824 esac
9825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9826 (eval "$ac_link") 2>conftest.er1
9827 ac_status=$?
9828 grep -v '^ *+' conftest.er1 >conftest.err
9829 rm -f conftest.er1
9830 cat conftest.err >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); } && {
9833 test -z "$ac_c_werror_flag" ||
9834 test ! -s conftest.err
9835 } && test -s conftest$ac_exeext &&
9836 $as_test_x conftest$ac_exeext; then
9837 case "$LIBEXT" in
9838 dll) ;;
9839 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'` ;;
9840 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9841 esac
9842 else
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.$ac_ext >&5
9849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9850 conftest$ac_exeext conftest.$ac_ext
9851 LIBS=$ac_check_soname_save_LIBS
9853 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9854 { echo "$as_me:$LINENO: result: not found" >&5
9855 echo "${ECHO_T}not found" >&6; }
9857 else
9858 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9859 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9861 cat >>confdefs.h <<_ACEOF
9862 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9863 _ACEOF
9865 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9866 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9867 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9868 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 else
9870 ac_check_lib_save_LIBS=$LIBS
9871 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9872 cat >conftest.$ac_ext <<_ACEOF
9873 /* confdefs.h. */
9874 _ACEOF
9875 cat confdefs.h >>conftest.$ac_ext
9876 cat >>conftest.$ac_ext <<_ACEOF
9877 /* end confdefs.h. */
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9882 #ifdef __cplusplus
9883 extern "C"
9884 #endif
9885 char XRenderSetPictureTransform ();
9887 main ()
9889 return XRenderSetPictureTransform ();
9891 return 0;
9893 _ACEOF
9894 rm -f conftest.$ac_objext conftest$ac_exeext
9895 if { (ac_try="$ac_link"
9896 case "(($ac_try" in
9897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9898 *) ac_try_echo=$ac_try;;
9899 esac
9900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9901 (eval "$ac_link") 2>conftest.er1
9902 ac_status=$?
9903 grep -v '^ *+' conftest.er1 >conftest.err
9904 rm -f conftest.er1
9905 cat conftest.err >&5
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); } && {
9908 test -z "$ac_c_werror_flag" ||
9909 test ! -s conftest.err
9910 } && test -s conftest$ac_exeext &&
9911 $as_test_x conftest$ac_exeext; then
9912 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9913 else
9914 echo "$as_me: failed program was:" >&5
9915 sed 's/^/| /' conftest.$ac_ext >&5
9917 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_lib_save_LIBS
9924 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9925 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9926 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9928 cat >>confdefs.h <<\_ACEOF
9929 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9930 _ACEOF
9938 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9939 wine_notices="$wine_notices|XRender development files not found.
9940 Wine will be built without XRender support. (winex11.drv)"
9944 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9945 then
9946 cat >conftest.$ac_ext <<_ACEOF
9947 /* confdefs.h. */
9948 _ACEOF
9949 cat confdefs.h >>conftest.$ac_ext
9950 cat >>conftest.$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9952 #include <X11/Xlib.h>
9953 #include <X11/extensions/Xrandr.h>
9955 main ()
9957 static typeof(XRRSetScreenConfigAndRate) * func;
9959 return 0;
9961 _ACEOF
9962 rm -f conftest.$ac_objext
9963 if { (ac_try="$ac_compile"
9964 case "(($ac_try" in
9965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9966 *) ac_try_echo=$ac_try;;
9967 esac
9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9969 (eval "$ac_compile") 2>conftest.er1
9970 ac_status=$?
9971 grep -v '^ *+' conftest.er1 >conftest.err
9972 rm -f conftest.er1
9973 cat conftest.err >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } && {
9976 test -z "$ac_c_werror_flag" ||
9977 test ! -s conftest.err
9978 } && test -s conftest.$ac_objext; then
9979 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9980 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9981 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9983 else
9984 ac_check_soname_save_LIBS=$LIBS
9985 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9986 cat >conftest.$ac_ext <<_ACEOF
9987 /* confdefs.h. */
9988 _ACEOF
9989 cat confdefs.h >>conftest.$ac_ext
9990 cat >>conftest.$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9996 #ifdef __cplusplus
9997 extern "C"
9998 #endif
9999 char XRRQueryExtension ();
10001 main ()
10003 return XRRQueryExtension ();
10005 return 0;
10007 _ACEOF
10008 rm -f conftest.$ac_objext conftest$ac_exeext
10009 if { (ac_try="$ac_link"
10010 case "(($ac_try" in
10011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10012 *) ac_try_echo=$ac_try;;
10013 esac
10014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10015 (eval "$ac_link") 2>conftest.er1
10016 ac_status=$?
10017 grep -v '^ *+' conftest.er1 >conftest.err
10018 rm -f conftest.er1
10019 cat conftest.err >&5
10020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021 (exit $ac_status); } && {
10022 test -z "$ac_c_werror_flag" ||
10023 test ! -s conftest.err
10024 } && test -s conftest$ac_exeext &&
10025 $as_test_x conftest$ac_exeext; then
10026 case "$LIBEXT" in
10027 dll) ;;
10028 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'` ;;
10029 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10030 esac
10031 else
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10039 conftest$ac_exeext conftest.$ac_ext
10040 LIBS=$ac_check_soname_save_LIBS
10042 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10043 { echo "$as_me:$LINENO: result: not found" >&5
10044 echo "${ECHO_T}not found" >&6; }
10046 else
10047 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10048 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10050 cat >>confdefs.h <<_ACEOF
10051 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10052 _ACEOF
10057 else
10058 echo "$as_me: failed program was:" >&5
10059 sed 's/^/| /' conftest.$ac_ext >&5
10064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10066 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10067 wine_notices="$wine_notices|XRandr development files not found.
10068 Wine will be built without XRandr support. (winex11.drv)"
10072 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10073 then
10074 cat >conftest.$ac_ext <<_ACEOF
10075 /* confdefs.h. */
10076 _ACEOF
10077 cat confdefs.h >>conftest.$ac_ext
10078 cat >>conftest.$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10080 #include <X11/Xlib.h>
10081 #include <X11/extensions/Xinerama.h>
10083 main ()
10085 static typeof(XineramaQueryScreens) * func;
10087 return 0;
10089 _ACEOF
10090 rm -f conftest.$ac_objext
10091 if { (ac_try="$ac_compile"
10092 case "(($ac_try" in
10093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10094 *) ac_try_echo=$ac_try;;
10095 esac
10096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10097 (eval "$ac_compile") 2>conftest.er1
10098 ac_status=$?
10099 grep -v '^ *+' conftest.er1 >conftest.err
10100 rm -f conftest.er1
10101 cat conftest.err >&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); } && {
10104 test -z "$ac_c_werror_flag" ||
10105 test ! -s conftest.err
10106 } && test -s conftest.$ac_objext; then
10107 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10108 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10109 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10111 else
10112 ac_check_soname_save_LIBS=$LIBS
10113 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10114 cat >conftest.$ac_ext <<_ACEOF
10115 /* confdefs.h. */
10116 _ACEOF
10117 cat confdefs.h >>conftest.$ac_ext
10118 cat >>conftest.$ac_ext <<_ACEOF
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char XineramaQueryScreens ();
10129 main ()
10131 return XineramaQueryScreens ();
10133 return 0;
10135 _ACEOF
10136 rm -f conftest.$ac_objext conftest$ac_exeext
10137 if { (ac_try="$ac_link"
10138 case "(($ac_try" in
10139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10140 *) ac_try_echo=$ac_try;;
10141 esac
10142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10143 (eval "$ac_link") 2>conftest.er1
10144 ac_status=$?
10145 grep -v '^ *+' conftest.er1 >conftest.err
10146 rm -f conftest.er1
10147 cat conftest.err >&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } && {
10150 test -z "$ac_c_werror_flag" ||
10151 test ! -s conftest.err
10152 } && test -s conftest$ac_exeext &&
10153 $as_test_x conftest$ac_exeext; then
10154 case "$LIBEXT" in
10155 dll) ;;
10156 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'` ;;
10157 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10158 esac
10159 else
10160 echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.$ac_ext >&5
10166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10167 conftest$ac_exeext conftest.$ac_ext
10168 LIBS=$ac_check_soname_save_LIBS
10170 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10171 { echo "$as_me:$LINENO: result: not found" >&5
10172 echo "${ECHO_T}not found" >&6; }
10174 else
10175 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10176 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10178 cat >>confdefs.h <<_ACEOF
10179 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10180 _ACEOF
10185 else
10186 echo "$as_me: failed program was:" >&5
10187 sed 's/^/| /' conftest.$ac_ext >&5
10192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10194 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10195 wine_notices="$wine_notices|Xinerama development files not found.
10196 Wine will be built without Xinerama support. (winex11.drv)"
10201 if test "x$with_opengl" != "xno"
10202 then
10207 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10213 echo $ECHO_N "(cached) $ECHO_C" >&6
10214 else
10215 cat >conftest.$ac_ext <<_ACEOF
10216 /* confdefs.h. */
10217 _ACEOF
10218 cat confdefs.h >>conftest.$ac_ext
10219 cat >>conftest.$ac_ext <<_ACEOF
10220 /* end confdefs.h. */
10221 #ifdef HAVE_GL_GLX_H
10222 # include <GL/glx.h>
10223 #endif
10225 #include <$ac_header>
10226 _ACEOF
10227 rm -f conftest.$ac_objext
10228 if { (ac_try="$ac_compile"
10229 case "(($ac_try" in
10230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10231 *) ac_try_echo=$ac_try;;
10232 esac
10233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10234 (eval "$ac_compile") 2>conftest.er1
10235 ac_status=$?
10236 grep -v '^ *+' conftest.er1 >conftest.err
10237 rm -f conftest.er1
10238 cat conftest.err >&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); } && {
10241 test -z "$ac_c_werror_flag" ||
10242 test ! -s conftest.err
10243 } && test -s conftest.$ac_objext; then
10244 eval "$as_ac_Header=yes"
10245 else
10246 echo "$as_me: failed program was:" >&5
10247 sed 's/^/| /' conftest.$ac_ext >&5
10249 eval "$as_ac_Header=no"
10252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10254 ac_res=`eval echo '${'$as_ac_Header'}'`
10255 { echo "$as_me:$LINENO: result: $ac_res" >&5
10256 echo "${ECHO_T}$ac_res" >&6; }
10257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10258 cat >>confdefs.h <<_ACEOF
10259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10260 _ACEOF
10264 done
10266 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10267 then
10268 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10269 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10270 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 else
10273 cat >conftest.$ac_ext <<_ACEOF
10274 /* confdefs.h. */
10275 _ACEOF
10276 cat confdefs.h >>conftest.$ac_ext
10277 cat >>conftest.$ac_ext <<_ACEOF
10278 /* end confdefs.h. */
10279 #include <GL/gl.h>
10281 main ()
10283 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10285 return 0;
10287 _ACEOF
10288 rm -f conftest.$ac_objext
10289 if { (ac_try="$ac_compile"
10290 case "(($ac_try" in
10291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10292 *) ac_try_echo=$ac_try;;
10293 esac
10294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10295 (eval "$ac_compile") 2>conftest.er1
10296 ac_status=$?
10297 grep -v '^ *+' conftest.er1 >conftest.err
10298 rm -f conftest.er1
10299 cat conftest.err >&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } && {
10302 test -z "$ac_c_werror_flag" ||
10303 test ! -s conftest.err
10304 } && test -s conftest.$ac_objext; then
10305 wine_cv_opengl_header_version_OK="yes"
10306 else
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10310 wine_cv_opengl_header_version_OK="no"
10313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10315 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10316 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10318 if test "$wine_cv_opengl_header_version_OK" = "yes"
10319 then
10320 { echo "$as_me:$LINENO: checking for -lGL" >&5
10321 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10322 if test "${ac_cv_lib_soname_GL+set}" = set; then
10323 echo $ECHO_N "(cached) $ECHO_C" >&6
10324 else
10325 ac_check_soname_save_LIBS=$LIBS
10326 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10327 cat >conftest.$ac_ext <<_ACEOF
10328 /* confdefs.h. */
10329 _ACEOF
10330 cat confdefs.h >>conftest.$ac_ext
10331 cat >>conftest.$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10334 /* Override any GCC internal prototype to avoid an error.
10335 Use char because int might match the return type of a GCC
10336 builtin and then its argument prototype would still apply. */
10337 #ifdef __cplusplus
10338 extern "C"
10339 #endif
10340 char glXCreateContext ();
10342 main ()
10344 return glXCreateContext ();
10346 return 0;
10348 _ACEOF
10349 rm -f conftest.$ac_objext conftest$ac_exeext
10350 if { (ac_try="$ac_link"
10351 case "(($ac_try" in
10352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10353 *) ac_try_echo=$ac_try;;
10354 esac
10355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_link") 2>conftest.er1
10357 ac_status=$?
10358 grep -v '^ *+' conftest.er1 >conftest.err
10359 rm -f conftest.er1
10360 cat conftest.err >&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); } && {
10363 test -z "$ac_c_werror_flag" ||
10364 test ! -s conftest.err
10365 } && test -s conftest$ac_exeext &&
10366 $as_test_x conftest$ac_exeext; then
10367 case "$LIBEXT" in
10368 dll) ;;
10369 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'` ;;
10370 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10371 esac
10372 else
10373 echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.$ac_ext >&5
10379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10380 conftest$ac_exeext conftest.$ac_ext
10381 LIBS=$ac_check_soname_save_LIBS
10383 if test "x$ac_cv_lib_soname_GL" = "x"; then
10384 { echo "$as_me:$LINENO: result: not found" >&5
10385 echo "${ECHO_T}not found" >&6; }
10386 if test -f /usr/X11R6/lib/libGL.a
10387 then
10388 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10389 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10390 else
10391 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10392 Wine will be build without OpenGL or Direct3D support."
10394 else
10395 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10396 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10398 cat >>confdefs.h <<_ACEOF
10399 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10400 _ACEOF
10402 OPENGL_LIBS="-lGL"
10403 OPENGLFILES='$(OPENGLFILES)'
10405 cat >>confdefs.h <<\_ACEOF
10406 #define HAVE_OPENGL 1
10407 _ACEOF
10412 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10413 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10414 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 else
10417 ac_check_lib_save_LIBS=$LIBS
10418 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10419 cat >conftest.$ac_ext <<_ACEOF
10420 /* confdefs.h. */
10421 _ACEOF
10422 cat confdefs.h >>conftest.$ac_ext
10423 cat >>conftest.$ac_ext <<_ACEOF
10424 /* end confdefs.h. */
10426 /* Override any GCC internal prototype to avoid an error.
10427 Use char because int might match the return type of a GCC
10428 builtin and then its argument prototype would still apply. */
10429 #ifdef __cplusplus
10430 extern "C"
10431 #endif
10432 char gluLookAt ();
10434 main ()
10436 return gluLookAt ();
10438 return 0;
10440 _ACEOF
10441 rm -f conftest.$ac_objext conftest$ac_exeext
10442 if { (ac_try="$ac_link"
10443 case "(($ac_try" in
10444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10445 *) ac_try_echo=$ac_try;;
10446 esac
10447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10448 (eval "$ac_link") 2>conftest.er1
10449 ac_status=$?
10450 grep -v '^ *+' conftest.er1 >conftest.err
10451 rm -f conftest.er1
10452 cat conftest.err >&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } && {
10455 test -z "$ac_c_werror_flag" ||
10456 test ! -s conftest.err
10457 } && test -s conftest$ac_exeext &&
10458 $as_test_x conftest$ac_exeext; then
10459 ac_cv_lib_GLU_gluLookAt=yes
10460 else
10461 echo "$as_me: failed program was:" >&5
10462 sed 's/^/| /' conftest.$ac_ext >&5
10464 ac_cv_lib_GLU_gluLookAt=no
10467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_lib_save_LIBS
10471 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10472 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10473 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10474 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10475 GLU32FILES='$(GLU32FILES)'
10479 else
10480 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10481 Wine will be build without OpenGL or Direct3D support."
10483 else
10484 wine_warnings="$wine_warnings|OpenGL development headers not found.
10485 Wine will be build without OpenGL or Direct3D support."
10489 NASLIBS=""
10492 for ac_header in audio/audiolib.h
10494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10499 echo $ECHO_N "(cached) $ECHO_C" >&6
10501 ac_res=`eval echo '${'$as_ac_Header'}'`
10502 { echo "$as_me:$LINENO: result: $ac_res" >&5
10503 echo "${ECHO_T}$ac_res" >&6; }
10504 else
10505 # Is the header compilable?
10506 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10508 cat >conftest.$ac_ext <<_ACEOF
10509 /* confdefs.h. */
10510 _ACEOF
10511 cat confdefs.h >>conftest.$ac_ext
10512 cat >>conftest.$ac_ext <<_ACEOF
10513 /* end confdefs.h. */
10514 $ac_includes_default
10515 #include <$ac_header>
10516 _ACEOF
10517 rm -f conftest.$ac_objext
10518 if { (ac_try="$ac_compile"
10519 case "(($ac_try" in
10520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10521 *) ac_try_echo=$ac_try;;
10522 esac
10523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10524 (eval "$ac_compile") 2>conftest.er1
10525 ac_status=$?
10526 grep -v '^ *+' conftest.er1 >conftest.err
10527 rm -f conftest.er1
10528 cat conftest.err >&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); } && {
10531 test -z "$ac_c_werror_flag" ||
10532 test ! -s conftest.err
10533 } && test -s conftest.$ac_objext; then
10534 ac_header_compiler=yes
10535 else
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.$ac_ext >&5
10539 ac_header_compiler=no
10542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10543 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10544 echo "${ECHO_T}$ac_header_compiler" >&6; }
10546 # Is the header present?
10547 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10549 cat >conftest.$ac_ext <<_ACEOF
10550 /* confdefs.h. */
10551 _ACEOF
10552 cat confdefs.h >>conftest.$ac_ext
10553 cat >>conftest.$ac_ext <<_ACEOF
10554 /* end confdefs.h. */
10555 #include <$ac_header>
10556 _ACEOF
10557 if { (ac_try="$ac_cpp conftest.$ac_ext"
10558 case "(($ac_try" in
10559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10560 *) ac_try_echo=$ac_try;;
10561 esac
10562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10564 ac_status=$?
10565 grep -v '^ *+' conftest.er1 >conftest.err
10566 rm -f conftest.er1
10567 cat conftest.err >&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); } >/dev/null && {
10570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10571 test ! -s conftest.err
10572 }; then
10573 ac_header_preproc=yes
10574 else
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.$ac_ext >&5
10578 ac_header_preproc=no
10581 rm -f conftest.err conftest.$ac_ext
10582 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10583 echo "${ECHO_T}$ac_header_preproc" >&6; }
10585 # So? What about this header?
10586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10587 yes:no: )
10588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10592 ac_header_preproc=yes
10594 no:yes:* )
10595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10607 ( cat <<\_ASBOX
10608 ## ------------------------------------ ##
10609 ## Report this to wine-devel@winehq.org ##
10610 ## ------------------------------------ ##
10611 _ASBOX
10612 ) | sed "s/^/$as_me: WARNING: /" >&2
10614 esac
10615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 else
10620 eval "$as_ac_Header=\$ac_header_preproc"
10622 ac_res=`eval echo '${'$as_ac_Header'}'`
10623 { echo "$as_me:$LINENO: result: $ac_res" >&5
10624 echo "${ECHO_T}$ac_res" >&6; }
10627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10628 cat >>confdefs.h <<_ACEOF
10629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10630 _ACEOF
10632 for ac_header in audio/soundlib.h
10634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10639 else
10640 cat >conftest.$ac_ext <<_ACEOF
10641 /* confdefs.h. */
10642 _ACEOF
10643 cat confdefs.h >>conftest.$ac_ext
10644 cat >>conftest.$ac_ext <<_ACEOF
10645 /* end confdefs.h. */
10646 #include <audio/audiolib.h>
10648 #include <$ac_header>
10649 _ACEOF
10650 rm -f conftest.$ac_objext
10651 if { (ac_try="$ac_compile"
10652 case "(($ac_try" in
10653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10654 *) ac_try_echo=$ac_try;;
10655 esac
10656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10657 (eval "$ac_compile") 2>conftest.er1
10658 ac_status=$?
10659 grep -v '^ *+' conftest.er1 >conftest.err
10660 rm -f conftest.er1
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } && {
10664 test -z "$ac_c_werror_flag" ||
10665 test ! -s conftest.err
10666 } && test -s conftest.$ac_objext; then
10667 eval "$as_ac_Header=yes"
10668 else
10669 echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.$ac_ext >&5
10672 eval "$as_ac_Header=no"
10675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10677 ac_res=`eval echo '${'$as_ac_Header'}'`
10678 { echo "$as_me:$LINENO: result: $ac_res" >&5
10679 echo "${ECHO_T}$ac_res" >&6; }
10680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10681 cat >>confdefs.h <<_ACEOF
10682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10683 _ACEOF
10687 done
10689 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10690 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10691 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 else
10694 ac_check_lib_save_LIBS=$LIBS
10695 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10696 cat >conftest.$ac_ext <<_ACEOF
10697 /* confdefs.h. */
10698 _ACEOF
10699 cat confdefs.h >>conftest.$ac_ext
10700 cat >>conftest.$ac_ext <<_ACEOF
10701 /* end confdefs.h. */
10703 /* Override any GCC internal prototype to avoid an error.
10704 Use char because int might match the return type of a GCC
10705 builtin and then its argument prototype would still apply. */
10706 #ifdef __cplusplus
10707 extern "C"
10708 #endif
10709 char AuCreateFlow ();
10711 main ()
10713 return AuCreateFlow ();
10715 return 0;
10717 _ACEOF
10718 rm -f conftest.$ac_objext conftest$ac_exeext
10719 if { (ac_try="$ac_link"
10720 case "(($ac_try" in
10721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10722 *) ac_try_echo=$ac_try;;
10723 esac
10724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10725 (eval "$ac_link") 2>conftest.er1
10726 ac_status=$?
10727 grep -v '^ *+' conftest.er1 >conftest.err
10728 rm -f conftest.er1
10729 cat conftest.err >&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } && {
10732 test -z "$ac_c_werror_flag" ||
10733 test ! -s conftest.err
10734 } && test -s conftest$ac_exeext &&
10735 $as_test_x conftest$ac_exeext; then
10736 ac_cv_lib_audio_AuCreateFlow=yes
10737 else
10738 echo "$as_me: failed program was:" >&5
10739 sed 's/^/| /' conftest.$ac_ext >&5
10741 ac_cv_lib_audio_AuCreateFlow=no
10744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10745 conftest$ac_exeext conftest.$ac_ext
10746 LIBS=$ac_check_lib_save_LIBS
10748 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10749 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10750 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10752 cat >>confdefs.h <<\_ACEOF
10753 #define HAVE_NAS 1
10754 _ACEOF
10756 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10757 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10758 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10759 echo $ECHO_N "(cached) $ECHO_C" >&6
10760 else
10761 ac_check_lib_save_LIBS=$LIBS
10762 LIBS="-lXau $X_LIBS $LIBS"
10763 cat >conftest.$ac_ext <<_ACEOF
10764 /* confdefs.h. */
10765 _ACEOF
10766 cat confdefs.h >>conftest.$ac_ext
10767 cat >>conftest.$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10773 #ifdef __cplusplus
10774 extern "C"
10775 #endif
10776 char XauGetBestAuthByAddr ();
10778 main ()
10780 return XauGetBestAuthByAddr ();
10782 return 0;
10784 _ACEOF
10785 rm -f conftest.$ac_objext conftest$ac_exeext
10786 if { (ac_try="$ac_link"
10787 case "(($ac_try" in
10788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10789 *) ac_try_echo=$ac_try;;
10790 esac
10791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10792 (eval "$ac_link") 2>conftest.er1
10793 ac_status=$?
10794 grep -v '^ *+' conftest.er1 >conftest.err
10795 rm -f conftest.er1
10796 cat conftest.err >&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); } && {
10799 test -z "$ac_c_werror_flag" ||
10800 test ! -s conftest.err
10801 } && test -s conftest$ac_exeext &&
10802 $as_test_x conftest$ac_exeext; then
10803 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10804 else
10805 echo "$as_me: failed program was:" >&5
10806 sed 's/^/| /' conftest.$ac_ext >&5
10808 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10812 conftest$ac_exeext conftest.$ac_ext
10813 LIBS=$ac_check_lib_save_LIBS
10815 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10816 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10817 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10818 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10819 else
10820 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10828 done
10831 CPPFLAGS="$ac_save_CPPFLAGS"
10832 XFILES='$(XFILES)'
10833 else
10834 XLIB=""
10835 X_CFLAGS=""
10836 X_LIBS=""
10837 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10838 without X support, which probably isn't what you want. You will need to install
10839 development packages of Xlib/Xfree86 at the very least."
10843 XML2LIBS=""
10845 XML2INCL=""
10847 XSLTLIBS=""
10849 XSLTINCL=""
10851 ac_save_CPPFLAGS="$CPPFLAGS"
10852 if test "$PKG_CONFIG" != "false"
10853 then
10854 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10855 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10856 else
10857 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10858 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10860 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10862 for ac_header in libxml/parser.h
10864 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10866 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 ac_res=`eval echo '${'$as_ac_Header'}'`
10872 { echo "$as_me:$LINENO: result: $ac_res" >&5
10873 echo "${ECHO_T}$ac_res" >&6; }
10874 else
10875 # Is the header compilable?
10876 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10878 cat >conftest.$ac_ext <<_ACEOF
10879 /* confdefs.h. */
10880 _ACEOF
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10884 $ac_includes_default
10885 #include <$ac_header>
10886 _ACEOF
10887 rm -f conftest.$ac_objext
10888 if { (ac_try="$ac_compile"
10889 case "(($ac_try" in
10890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10891 *) ac_try_echo=$ac_try;;
10892 esac
10893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10894 (eval "$ac_compile") 2>conftest.er1
10895 ac_status=$?
10896 grep -v '^ *+' conftest.er1 >conftest.err
10897 rm -f conftest.er1
10898 cat conftest.err >&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); } && {
10901 test -z "$ac_c_werror_flag" ||
10902 test ! -s conftest.err
10903 } && test -s conftest.$ac_objext; then
10904 ac_header_compiler=yes
10905 else
10906 echo "$as_me: failed program was:" >&5
10907 sed 's/^/| /' conftest.$ac_ext >&5
10909 ac_header_compiler=no
10912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10913 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10914 echo "${ECHO_T}$ac_header_compiler" >&6; }
10916 # Is the header present?
10917 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10919 cat >conftest.$ac_ext <<_ACEOF
10920 /* confdefs.h. */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10925 #include <$ac_header>
10926 _ACEOF
10927 if { (ac_try="$ac_cpp conftest.$ac_ext"
10928 case "(($ac_try" in
10929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10930 *) ac_try_echo=$ac_try;;
10931 esac
10932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10934 ac_status=$?
10935 grep -v '^ *+' conftest.er1 >conftest.err
10936 rm -f conftest.er1
10937 cat conftest.err >&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } >/dev/null && {
10940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10941 test ! -s conftest.err
10942 }; then
10943 ac_header_preproc=yes
10944 else
10945 echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.$ac_ext >&5
10948 ac_header_preproc=no
10951 rm -f conftest.err conftest.$ac_ext
10952 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10953 echo "${ECHO_T}$ac_header_preproc" >&6; }
10955 # So? What about this header?
10956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10957 yes:no: )
10958 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10959 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10961 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10962 ac_header_preproc=yes
10964 no:yes:* )
10965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10966 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10968 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10969 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10970 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10971 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10972 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10975 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10976 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10977 ( cat <<\_ASBOX
10978 ## ------------------------------------ ##
10979 ## Report this to wine-devel@winehq.org ##
10980 ## ------------------------------------ ##
10981 _ASBOX
10982 ) | sed "s/^/$as_me: WARNING: /" >&2
10984 esac
10985 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 else
10990 eval "$as_ac_Header=\$ac_header_preproc"
10992 ac_res=`eval echo '${'$as_ac_Header'}'`
10993 { echo "$as_me:$LINENO: result: $ac_res" >&5
10994 echo "${ECHO_T}$ac_res" >&6; }
10997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10998 cat >>confdefs.h <<_ACEOF
10999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11000 _ACEOF
11001 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11002 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11003 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11004 echo $ECHO_N "(cached) $ECHO_C" >&6
11005 else
11006 ac_check_lib_save_LIBS=$LIBS
11007 LIBS="-lxml2 $ac_xml_libs $LIBS"
11008 cat >conftest.$ac_ext <<_ACEOF
11009 /* confdefs.h. */
11010 _ACEOF
11011 cat confdefs.h >>conftest.$ac_ext
11012 cat >>conftest.$ac_ext <<_ACEOF
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 char xmlParseMemory ();
11023 main ()
11025 return xmlParseMemory ();
11027 return 0;
11029 _ACEOF
11030 rm -f conftest.$ac_objext conftest$ac_exeext
11031 if { (ac_try="$ac_link"
11032 case "(($ac_try" in
11033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11034 *) ac_try_echo=$ac_try;;
11035 esac
11036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11037 (eval "$ac_link") 2>conftest.er1
11038 ac_status=$?
11039 grep -v '^ *+' conftest.er1 >conftest.err
11040 rm -f conftest.er1
11041 cat conftest.err >&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); } && {
11044 test -z "$ac_c_werror_flag" ||
11045 test ! -s conftest.err
11046 } && test -s conftest$ac_exeext &&
11047 $as_test_x conftest$ac_exeext; then
11048 ac_cv_lib_xml2_xmlParseMemory=yes
11049 else
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11053 ac_cv_lib_xml2_xmlParseMemory=no
11056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11057 conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_lib_save_LIBS
11060 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11061 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11062 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11064 cat >>confdefs.h <<\_ACEOF
11065 #define HAVE_LIBXML2 1
11066 _ACEOF
11068 XML2LIBS="$ac_xml_libs"
11069 XML2INCL="$ac_xml_cflags"
11072 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11073 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11074 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11076 else
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lxml2 $ac_xml_libs $LIBS"
11079 cat >conftest.$ac_ext <<_ACEOF
11080 /* confdefs.h. */
11081 _ACEOF
11082 cat confdefs.h >>conftest.$ac_ext
11083 cat >>conftest.$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11089 #ifdef __cplusplus
11090 extern "C"
11091 #endif
11092 char xmlReadMemory ();
11094 main ()
11096 return xmlReadMemory ();
11098 return 0;
11100 _ACEOF
11101 rm -f conftest.$ac_objext conftest$ac_exeext
11102 if { (ac_try="$ac_link"
11103 case "(($ac_try" in
11104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11105 *) ac_try_echo=$ac_try;;
11106 esac
11107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11108 (eval "$ac_link") 2>conftest.er1
11109 ac_status=$?
11110 grep -v '^ *+' conftest.er1 >conftest.err
11111 rm -f conftest.er1
11112 cat conftest.err >&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } && {
11115 test -z "$ac_c_werror_flag" ||
11116 test ! -s conftest.err
11117 } && test -s conftest$ac_exeext &&
11118 $as_test_x conftest$ac_exeext; then
11119 ac_cv_lib_xml2_xmlReadMemory=yes
11120 else
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.$ac_ext >&5
11124 ac_cv_lib_xml2_xmlReadMemory=no
11127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11132 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11133 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11135 cat >>confdefs.h <<\_ACEOF
11136 #define HAVE_XMLREADMEMORY 1
11137 _ACEOF
11141 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11142 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11143 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11144 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 else
11146 ac_check_lib_save_LIBS=$LIBS
11147 LIBS="-lxml2 $ac_xml_libs $LIBS"
11148 cat >conftest.$ac_ext <<_ACEOF
11149 /* confdefs.h. */
11150 _ACEOF
11151 cat confdefs.h >>conftest.$ac_ext
11152 cat >>conftest.$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11155 /* Override any GCC internal prototype to avoid an error.
11156 Use char because int might match the return type of a GCC
11157 builtin and then its argument prototype would still apply. */
11158 #ifdef __cplusplus
11159 extern "C"
11160 #endif
11161 char xmlNewDocPI ();
11163 main ()
11165 return xmlNewDocPI ();
11167 return 0;
11169 _ACEOF
11170 rm -f conftest.$ac_objext conftest$ac_exeext
11171 if { (ac_try="$ac_link"
11172 case "(($ac_try" in
11173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11174 *) ac_try_echo=$ac_try;;
11175 esac
11176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11177 (eval "$ac_link") 2>conftest.er1
11178 ac_status=$?
11179 grep -v '^ *+' conftest.er1 >conftest.err
11180 rm -f conftest.er1
11181 cat conftest.err >&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); } && {
11184 test -z "$ac_c_werror_flag" ||
11185 test ! -s conftest.err
11186 } && test -s conftest$ac_exeext &&
11187 $as_test_x conftest$ac_exeext; then
11188 ac_cv_lib_xml2_xmlNewDocPI=yes
11189 else
11190 echo "$as_me: failed program was:" >&5
11191 sed 's/^/| /' conftest.$ac_ext >&5
11193 ac_cv_lib_xml2_xmlNewDocPI=no
11196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_lib_save_LIBS
11200 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11201 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11202 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11204 cat >>confdefs.h <<\_ACEOF
11205 #define HAVE_XMLNEWDOCPI 1
11206 _ACEOF
11213 done
11215 CPPFLAGS="$ac_save_CPPFLAGS"
11216 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11217 wine_notices="$wine_notices|libxml2 development files not found.
11218 Wine will be built without XML support. (msxml.dll)"
11222 if test "$PKG_CONFIG" != "false"
11223 then
11224 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11225 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11226 else
11227 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11228 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11230 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11233 for ac_header in libxslt/pattern.h libxslt/transform.h
11235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11236 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 else
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h. */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247 #ifdef HAVE_LIBXSLT_PATTERN_H
11248 # include <libxslt/pattern.h>
11249 #endif
11251 #include <$ac_header>
11252 _ACEOF
11253 rm -f conftest.$ac_objext
11254 if { (ac_try="$ac_compile"
11255 case "(($ac_try" in
11256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11257 *) ac_try_echo=$ac_try;;
11258 esac
11259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11260 (eval "$ac_compile") 2>conftest.er1
11261 ac_status=$?
11262 grep -v '^ *+' conftest.er1 >conftest.err
11263 rm -f conftest.er1
11264 cat conftest.err >&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } && {
11267 test -z "$ac_c_werror_flag" ||
11268 test ! -s conftest.err
11269 } && test -s conftest.$ac_objext; then
11270 eval "$as_ac_Header=yes"
11271 else
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11275 eval "$as_ac_Header=no"
11278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11280 ac_res=`eval echo '${'$as_ac_Header'}'`
11281 { echo "$as_me:$LINENO: result: $ac_res" >&5
11282 echo "${ECHO_T}$ac_res" >&6; }
11283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11284 cat >>confdefs.h <<_ACEOF
11285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11286 _ACEOF
11287 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11288 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11289 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11290 echo $ECHO_N "(cached) $ECHO_C" >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lxslt $ac_xslt_libs $LIBS"
11294 cat >conftest.$ac_ext <<_ACEOF
11295 /* confdefs.h. */
11296 _ACEOF
11297 cat confdefs.h >>conftest.$ac_ext
11298 cat >>conftest.$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char xsltCompilePattern ();
11309 main ()
11311 return xsltCompilePattern ();
11313 return 0;
11315 _ACEOF
11316 rm -f conftest.$ac_objext conftest$ac_exeext
11317 if { (ac_try="$ac_link"
11318 case "(($ac_try" in
11319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11320 *) ac_try_echo=$ac_try;;
11321 esac
11322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11323 (eval "$ac_link") 2>conftest.er1
11324 ac_status=$?
11325 grep -v '^ *+' conftest.er1 >conftest.err
11326 rm -f conftest.er1
11327 cat conftest.err >&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); } && {
11330 test -z "$ac_c_werror_flag" ||
11331 test ! -s conftest.err
11332 } && test -s conftest$ac_exeext &&
11333 $as_test_x conftest$ac_exeext; then
11334 ac_cv_lib_xslt_xsltCompilePattern=yes
11335 else
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.$ac_ext >&5
11339 ac_cv_lib_xslt_xsltCompilePattern=no
11342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11343 conftest$ac_exeext conftest.$ac_ext
11344 LIBS=$ac_check_lib_save_LIBS
11346 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11347 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11348 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11350 cat >>confdefs.h <<\_ACEOF
11351 #define HAVE_LIBXSLT 1
11352 _ACEOF
11354 XSLTLIBS="$ac_xslt_libs"
11355 XSLTINCL="$ac_xslt_cflags"
11361 done
11363 CPPFLAGS="$ac_save_CPPFLAGS"
11364 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11365 wine_notices="$wine_notices|libxslt development files not found.
11366 Wine will be built without xslt support. (msxml.dll)"
11370 HALINCL=""
11372 if test "$PKG_CONFIG" != "false"
11373 then
11374 ac_save_CPPFLAGS="$CPPFLAGS"
11375 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11376 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11377 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11380 for ac_header in dbus/dbus.h hal/libhal.h
11382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 ac_res=`eval echo '${'$as_ac_Header'}'`
11390 { echo "$as_me:$LINENO: result: $ac_res" >&5
11391 echo "${ECHO_T}$ac_res" >&6; }
11392 else
11393 # Is the header compilable?
11394 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11396 cat >conftest.$ac_ext <<_ACEOF
11397 /* confdefs.h. */
11398 _ACEOF
11399 cat confdefs.h >>conftest.$ac_ext
11400 cat >>conftest.$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11402 $ac_includes_default
11403 #include <$ac_header>
11404 _ACEOF
11405 rm -f conftest.$ac_objext
11406 if { (ac_try="$ac_compile"
11407 case "(($ac_try" in
11408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11409 *) ac_try_echo=$ac_try;;
11410 esac
11411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11412 (eval "$ac_compile") 2>conftest.er1
11413 ac_status=$?
11414 grep -v '^ *+' conftest.er1 >conftest.err
11415 rm -f conftest.er1
11416 cat conftest.err >&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); } && {
11419 test -z "$ac_c_werror_flag" ||
11420 test ! -s conftest.err
11421 } && test -s conftest.$ac_objext; then
11422 ac_header_compiler=yes
11423 else
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.$ac_ext >&5
11427 ac_header_compiler=no
11430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11431 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11432 echo "${ECHO_T}$ac_header_compiler" >&6; }
11434 # Is the header present?
11435 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11437 cat >conftest.$ac_ext <<_ACEOF
11438 /* confdefs.h. */
11439 _ACEOF
11440 cat confdefs.h >>conftest.$ac_ext
11441 cat >>conftest.$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11443 #include <$ac_header>
11444 _ACEOF
11445 if { (ac_try="$ac_cpp conftest.$ac_ext"
11446 case "(($ac_try" in
11447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11448 *) ac_try_echo=$ac_try;;
11449 esac
11450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11452 ac_status=$?
11453 grep -v '^ *+' conftest.er1 >conftest.err
11454 rm -f conftest.er1
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } >/dev/null && {
11458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11459 test ! -s conftest.err
11460 }; then
11461 ac_header_preproc=yes
11462 else
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11466 ac_header_preproc=no
11469 rm -f conftest.err conftest.$ac_ext
11470 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11471 echo "${ECHO_T}$ac_header_preproc" >&6; }
11473 # So? What about this header?
11474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11475 yes:no: )
11476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11480 ac_header_preproc=yes
11482 no:yes:* )
11483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11495 ( cat <<\_ASBOX
11496 ## ------------------------------------ ##
11497 ## Report this to wine-devel@winehq.org ##
11498 ## ------------------------------------ ##
11499 _ASBOX
11500 ) | sed "s/^/$as_me: WARNING: /" >&2
11502 esac
11503 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 else
11508 eval "$as_ac_Header=\$ac_header_preproc"
11510 ac_res=`eval echo '${'$as_ac_Header'}'`
11511 { echo "$as_me:$LINENO: result: $ac_res" >&5
11512 echo "${ECHO_T}$ac_res" >&6; }
11515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11516 cat >>confdefs.h <<_ACEOF
11517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11518 _ACEOF
11522 done
11524 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11525 then
11526 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11527 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11528 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 else
11531 ac_check_lib_save_LIBS=$LIBS
11532 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11533 cat >conftest.$ac_ext <<_ACEOF
11534 /* confdefs.h. */
11535 _ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11543 #ifdef __cplusplus
11544 extern "C"
11545 #endif
11546 char dbus_connection_close ();
11548 main ()
11550 return dbus_connection_close ();
11552 return 0;
11554 _ACEOF
11555 rm -f conftest.$ac_objext conftest$ac_exeext
11556 if { (ac_try="$ac_link"
11557 case "(($ac_try" in
11558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11560 esac
11561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11562 (eval "$ac_link") 2>conftest.er1
11563 ac_status=$?
11564 grep -v '^ *+' conftest.er1 >conftest.err
11565 rm -f conftest.er1
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } && {
11569 test -z "$ac_c_werror_flag" ||
11570 test ! -s conftest.err
11571 } && test -s conftest$ac_exeext &&
11572 $as_test_x conftest$ac_exeext; then
11573 ac_cv_lib_dbus_1_dbus_connection_close=yes
11574 else
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.$ac_ext >&5
11578 ac_cv_lib_dbus_1_dbus_connection_close=no
11581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11582 conftest$ac_exeext conftest.$ac_ext
11583 LIBS=$ac_check_lib_save_LIBS
11585 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11586 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11587 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11588 { echo "$as_me:$LINENO: checking for -lhal" >&5
11589 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11590 if test "${ac_cv_lib_soname_hal+set}" = set; then
11591 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 else
11593 ac_check_soname_save_LIBS=$LIBS
11594 LIBS="-lhal $ac_hal_libs $LIBS"
11595 cat >conftest.$ac_ext <<_ACEOF
11596 /* confdefs.h. */
11597 _ACEOF
11598 cat confdefs.h >>conftest.$ac_ext
11599 cat >>conftest.$ac_ext <<_ACEOF
11600 /* end confdefs.h. */
11602 /* Override any GCC internal prototype to avoid an error.
11603 Use char because int might match the return type of a GCC
11604 builtin and then its argument prototype would still apply. */
11605 #ifdef __cplusplus
11606 extern "C"
11607 #endif
11608 char libhal_ctx_new ();
11610 main ()
11612 return libhal_ctx_new ();
11614 return 0;
11616 _ACEOF
11617 rm -f conftest.$ac_objext conftest$ac_exeext
11618 if { (ac_try="$ac_link"
11619 case "(($ac_try" in
11620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11621 *) ac_try_echo=$ac_try;;
11622 esac
11623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11624 (eval "$ac_link") 2>conftest.er1
11625 ac_status=$?
11626 grep -v '^ *+' conftest.er1 >conftest.err
11627 rm -f conftest.er1
11628 cat conftest.err >&5
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } && {
11631 test -z "$ac_c_werror_flag" ||
11632 test ! -s conftest.err
11633 } && test -s conftest$ac_exeext &&
11634 $as_test_x conftest$ac_exeext; then
11635 case "$LIBEXT" in
11636 dll) ;;
11637 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'` ;;
11638 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11639 esac
11640 else
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11648 conftest$ac_exeext conftest.$ac_ext
11649 LIBS=$ac_check_soname_save_LIBS
11651 if test "x$ac_cv_lib_soname_hal" = "x"; then
11652 { echo "$as_me:$LINENO: result: not found" >&5
11653 echo "${ECHO_T}not found" >&6; }
11655 else
11656 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11657 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11659 cat >>confdefs.h <<_ACEOF
11660 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11661 _ACEOF
11663 HALINCL="$ac_hal_cflags"
11669 CPPFLAGS="$ac_save_CPPFLAGS"
11671 if test "x$ac_cv_lib_soname_hal" = "x"; then
11672 wine_notices="$wine_notices|libhal development files not found.
11673 Wine will be built without dynamic device support. (explorer.exe)"
11677 CURSESLIBS=""
11678 if test "$ac_cv_header_ncurses_h" = "yes"
11679 then
11680 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11681 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11682 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 else
11685 ac_check_soname_save_LIBS=$LIBS
11686 LIBS="-lncurses $LIBS"
11687 cat >conftest.$ac_ext <<_ACEOF
11688 /* confdefs.h. */
11689 _ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11697 #ifdef __cplusplus
11698 extern "C"
11699 #endif
11700 char waddch ();
11702 main ()
11704 return waddch ();
11706 return 0;
11708 _ACEOF
11709 rm -f conftest.$ac_objext conftest$ac_exeext
11710 if { (ac_try="$ac_link"
11711 case "(($ac_try" in
11712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11713 *) ac_try_echo=$ac_try;;
11714 esac
11715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11716 (eval "$ac_link") 2>conftest.er1
11717 ac_status=$?
11718 grep -v '^ *+' conftest.er1 >conftest.err
11719 rm -f conftest.er1
11720 cat conftest.err >&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } && {
11723 test -z "$ac_c_werror_flag" ||
11724 test ! -s conftest.err
11725 } && test -s conftest$ac_exeext &&
11726 $as_test_x conftest$ac_exeext; then
11727 case "$LIBEXT" in
11728 dll) ;;
11729 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'` ;;
11730 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11731 esac
11732 else
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.$ac_ext >&5
11739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11740 conftest$ac_exeext conftest.$ac_ext
11741 LIBS=$ac_check_soname_save_LIBS
11743 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11744 { echo "$as_me:$LINENO: result: not found" >&5
11745 echo "${ECHO_T}not found" >&6; }
11747 else
11748 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11749 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11751 cat >>confdefs.h <<_ACEOF
11752 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11753 _ACEOF
11755 CURSESLIBS="-lncurses"
11758 elif test "$ac_cv_header_curses_h" = "yes"
11759 then
11760 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11761 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11762 if test "${ac_cv_lib_soname_curses+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765 ac_check_soname_save_LIBS=$LIBS
11766 LIBS="-lcurses $LIBS"
11767 cat >conftest.$ac_ext <<_ACEOF
11768 /* confdefs.h. */
11769 _ACEOF
11770 cat confdefs.h >>conftest.$ac_ext
11771 cat >>conftest.$ac_ext <<_ACEOF
11772 /* end confdefs.h. */
11774 /* Override any GCC internal prototype to avoid an error.
11775 Use char because int might match the return type of a GCC
11776 builtin and then its argument prototype would still apply. */
11777 #ifdef __cplusplus
11778 extern "C"
11779 #endif
11780 char waddch ();
11782 main ()
11784 return waddch ();
11786 return 0;
11788 _ACEOF
11789 rm -f conftest.$ac_objext conftest$ac_exeext
11790 if { (ac_try="$ac_link"
11791 case "(($ac_try" in
11792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11793 *) ac_try_echo=$ac_try;;
11794 esac
11795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11796 (eval "$ac_link") 2>conftest.er1
11797 ac_status=$?
11798 grep -v '^ *+' conftest.er1 >conftest.err
11799 rm -f conftest.er1
11800 cat conftest.err >&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); } && {
11803 test -z "$ac_c_werror_flag" ||
11804 test ! -s conftest.err
11805 } && test -s conftest$ac_exeext &&
11806 $as_test_x conftest$ac_exeext; then
11807 case "$LIBEXT" in
11808 dll) ;;
11809 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'` ;;
11810 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11811 esac
11812 else
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.$ac_ext >&5
11819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_soname_save_LIBS
11823 if test "x$ac_cv_lib_soname_curses" = "x"; then
11824 { echo "$as_me:$LINENO: result: not found" >&5
11825 echo "${ECHO_T}not found" >&6; }
11827 else
11828 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11829 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11831 cat >>confdefs.h <<_ACEOF
11832 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11833 _ACEOF
11835 CURSESLIBS="-lcurses"
11839 ac_save_LIBS="$LIBS"
11840 LIBS="$LIBS $CURSESLIBS"
11842 for ac_func in mousemask
11844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 else
11850 cat >conftest.$ac_ext <<_ACEOF
11851 /* confdefs.h. */
11852 _ACEOF
11853 cat confdefs.h >>conftest.$ac_ext
11854 cat >>conftest.$ac_ext <<_ACEOF
11855 /* end confdefs.h. */
11856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11858 #define $ac_func innocuous_$ac_func
11860 /* System header to define __stub macros and hopefully few prototypes,
11861 which can conflict with char $ac_func (); below.
11862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11863 <limits.h> exists even on freestanding compilers. */
11865 #ifdef __STDC__
11866 # include <limits.h>
11867 #else
11868 # include <assert.h>
11869 #endif
11871 #undef $ac_func
11873 /* Override any GCC internal prototype to avoid an error.
11874 Use char because int might match the return type of a GCC
11875 builtin and then its argument prototype would still apply. */
11876 #ifdef __cplusplus
11877 extern "C"
11878 #endif
11879 char $ac_func ();
11880 /* The GNU C library defines this for functions which it implements
11881 to always fail with ENOSYS. Some functions are actually named
11882 something starting with __ and the normal name is an alias. */
11883 #if defined __stub_$ac_func || defined __stub___$ac_func
11884 choke me
11885 #endif
11888 main ()
11890 return $ac_func ();
11892 return 0;
11894 _ACEOF
11895 rm -f conftest.$ac_objext conftest$ac_exeext
11896 if { (ac_try="$ac_link"
11897 case "(($ac_try" in
11898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11899 *) ac_try_echo=$ac_try;;
11900 esac
11901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11902 (eval "$ac_link") 2>conftest.er1
11903 ac_status=$?
11904 grep -v '^ *+' conftest.er1 >conftest.err
11905 rm -f conftest.er1
11906 cat conftest.err >&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } && {
11909 test -z "$ac_c_werror_flag" ||
11910 test ! -s conftest.err
11911 } && test -s conftest$ac_exeext &&
11912 $as_test_x conftest$ac_exeext; then
11913 eval "$as_ac_var=yes"
11914 else
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.$ac_ext >&5
11918 eval "$as_ac_var=no"
11921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11922 conftest$ac_exeext conftest.$ac_ext
11924 ac_res=`eval echo '${'$as_ac_var'}'`
11925 { echo "$as_me:$LINENO: result: $ac_res" >&5
11926 echo "${ECHO_T}$ac_res" >&6; }
11927 if test `eval echo '${'$as_ac_var'}'` = yes; then
11928 cat >>confdefs.h <<_ACEOF
11929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11930 _ACEOF
11933 done
11935 LIBS="$ac_save_LIBS"
11936 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11937 wine_notices="$wine_notices|lib(n)curses development files not found.
11938 Wine will be built without (n)curses support. (wineconsole.exe)"
11942 # Extract the first word of "sane-config", so it can be a program name with args.
11943 set dummy sane-config; ac_word=$2
11944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11946 if test "${ac_cv_prog_sane_devel+set}" = set; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 else
11949 if test -n "$sane_devel"; then
11950 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11951 else
11952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11953 for as_dir in $PATH
11955 IFS=$as_save_IFS
11956 test -z "$as_dir" && as_dir=.
11957 for ac_exec_ext in '' $ac_executable_extensions; do
11958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11959 ac_cv_prog_sane_devel="sane-config"
11960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11961 break 2
11963 done
11964 done
11965 IFS=$as_save_IFS
11967 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11970 sane_devel=$ac_cv_prog_sane_devel
11971 if test -n "$sane_devel"; then
11972 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11973 echo "${ECHO_T}$sane_devel" >&6; }
11974 else
11975 { echo "$as_me:$LINENO: result: no" >&5
11976 echo "${ECHO_T}no" >&6; }
11980 if test "$sane_devel" != "no"
11981 then
11982 ac_sane_incl="`$sane_devel --cflags`"
11983 ac_save_CPPFLAGS="$CPPFLAGS"
11984 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11985 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11986 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11987 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11988 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11992 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11993 else
11994 # Is the header compilable?
11995 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11996 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11997 cat >conftest.$ac_ext <<_ACEOF
11998 /* confdefs.h. */
11999 _ACEOF
12000 cat confdefs.h >>conftest.$ac_ext
12001 cat >>conftest.$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12003 $ac_includes_default
12004 #include <sane/sane.h>
12005 _ACEOF
12006 rm -f conftest.$ac_objext
12007 if { (ac_try="$ac_compile"
12008 case "(($ac_try" in
12009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12010 *) ac_try_echo=$ac_try;;
12011 esac
12012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12013 (eval "$ac_compile") 2>conftest.er1
12014 ac_status=$?
12015 grep -v '^ *+' conftest.er1 >conftest.err
12016 rm -f conftest.er1
12017 cat conftest.err >&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } && {
12020 test -z "$ac_c_werror_flag" ||
12021 test ! -s conftest.err
12022 } && test -s conftest.$ac_objext; then
12023 ac_header_compiler=yes
12024 else
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.$ac_ext >&5
12028 ac_header_compiler=no
12031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12032 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12033 echo "${ECHO_T}$ac_header_compiler" >&6; }
12035 # Is the header present?
12036 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12037 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12038 cat >conftest.$ac_ext <<_ACEOF
12039 /* confdefs.h. */
12040 _ACEOF
12041 cat confdefs.h >>conftest.$ac_ext
12042 cat >>conftest.$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12044 #include <sane/sane.h>
12045 _ACEOF
12046 if { (ac_try="$ac_cpp conftest.$ac_ext"
12047 case "(($ac_try" in
12048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12049 *) ac_try_echo=$ac_try;;
12050 esac
12051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12053 ac_status=$?
12054 grep -v '^ *+' conftest.er1 >conftest.err
12055 rm -f conftest.er1
12056 cat conftest.err >&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } >/dev/null && {
12059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12060 test ! -s conftest.err
12061 }; then
12062 ac_header_preproc=yes
12063 else
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.$ac_ext >&5
12067 ac_header_preproc=no
12070 rm -f conftest.err conftest.$ac_ext
12071 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12072 echo "${ECHO_T}$ac_header_preproc" >&6; }
12074 # So? What about this header?
12075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12076 yes:no: )
12077 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12078 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12079 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12080 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12081 ac_header_preproc=yes
12083 no:yes:* )
12084 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12085 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12086 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12087 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12088 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12089 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12090 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12091 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12092 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12093 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12094 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12095 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12096 ( cat <<\_ASBOX
12097 ## ------------------------------------ ##
12098 ## Report this to wine-devel@winehq.org ##
12099 ## ------------------------------------ ##
12100 _ASBOX
12101 ) | sed "s/^/$as_me: WARNING: /" >&2
12103 esac
12104 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12105 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12106 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 else
12109 ac_cv_header_sane_sane_h=$ac_header_preproc
12111 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12112 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12115 if test $ac_cv_header_sane_sane_h = yes; then
12116 { echo "$as_me:$LINENO: checking for -lsane" >&5
12117 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12118 if test "${ac_cv_lib_soname_sane+set}" = set; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12120 else
12121 ac_check_soname_save_LIBS=$LIBS
12122 LIBS="-lsane $LIBS"
12123 cat >conftest.$ac_ext <<_ACEOF
12124 /* confdefs.h. */
12125 _ACEOF
12126 cat confdefs.h >>conftest.$ac_ext
12127 cat >>conftest.$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12133 #ifdef __cplusplus
12134 extern "C"
12135 #endif
12136 char sane_init ();
12138 main ()
12140 return sane_init ();
12142 return 0;
12144 _ACEOF
12145 rm -f conftest.$ac_objext conftest$ac_exeext
12146 if { (ac_try="$ac_link"
12147 case "(($ac_try" in
12148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12149 *) ac_try_echo=$ac_try;;
12150 esac
12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12152 (eval "$ac_link") 2>conftest.er1
12153 ac_status=$?
12154 grep -v '^ *+' conftest.er1 >conftest.err
12155 rm -f conftest.er1
12156 cat conftest.err >&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } && {
12159 test -z "$ac_c_werror_flag" ||
12160 test ! -s conftest.err
12161 } && test -s conftest$ac_exeext &&
12162 $as_test_x conftest$ac_exeext; then
12163 case "$LIBEXT" in
12164 dll) ;;
12165 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'` ;;
12166 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12167 esac
12168 else
12169 echo "$as_me: failed program was:" >&5
12170 sed 's/^/| /' conftest.$ac_ext >&5
12175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_soname_save_LIBS
12179 if test "x$ac_cv_lib_soname_sane" = "x"; then
12180 { echo "$as_me:$LINENO: result: not found" >&5
12181 echo "${ECHO_T}not found" >&6; }
12183 else
12184 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12185 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12187 cat >>confdefs.h <<_ACEOF
12188 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12189 _ACEOF
12191 SANEINCL="$ac_sane_incl"
12198 CPPFLAGS="$ac_save_CPPFLAGS"
12200 if test "x$ac_cv_lib_soname_sane" = "x"; then
12201 wine_notices="$wine_notices|libsane development files not found.
12202 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12206 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12207 set dummy gphoto2-config; ac_word=$2
12208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12210 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 else
12213 if test -n "$gphoto2_devel"; then
12214 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12215 else
12216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12217 for as_dir in $PATH
12219 IFS=$as_save_IFS
12220 test -z "$as_dir" && as_dir=.
12221 for ac_exec_ext in '' $ac_executable_extensions; do
12222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12223 ac_cv_prog_gphoto2_devel="gphoto2-config"
12224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12225 break 2
12227 done
12228 done
12229 IFS=$as_save_IFS
12231 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12234 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12235 if test -n "$gphoto2_devel"; then
12236 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12237 echo "${ECHO_T}$gphoto2_devel" >&6; }
12238 else
12239 { echo "$as_me:$LINENO: result: no" >&5
12240 echo "${ECHO_T}no" >&6; }
12244 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12245 set dummy gphoto2-port-config; ac_word=$2
12246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12248 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 else
12251 if test -n "$gphoto2port_devel"; then
12252 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12253 else
12254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12255 for as_dir in $PATH
12257 IFS=$as_save_IFS
12258 test -z "$as_dir" && as_dir=.
12259 for ac_exec_ext in '' $ac_executable_extensions; do
12260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12261 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12263 break 2
12265 done
12266 done
12267 IFS=$as_save_IFS
12269 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12272 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12273 if test -n "$gphoto2port_devel"; then
12274 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12275 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12276 else
12277 { echo "$as_me:$LINENO: result: no" >&5
12278 echo "${ECHO_T}no" >&6; }
12282 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12283 then
12284 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12285 ac_gphoto2_libs=""
12286 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12288 case "$i" in
12289 -L/usr/lib|-L/usr/lib64) ;;
12290 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12291 esac
12292 done
12293 ac_save_CPPFLAGS="$CPPFLAGS"
12294 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12295 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12296 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12297 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12298 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12302 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12303 else
12304 # Is the header compilable?
12305 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12306 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12307 cat >conftest.$ac_ext <<_ACEOF
12308 /* confdefs.h. */
12309 _ACEOF
12310 cat confdefs.h >>conftest.$ac_ext
12311 cat >>conftest.$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12313 $ac_includes_default
12314 #include <gphoto2-camera.h>
12315 _ACEOF
12316 rm -f conftest.$ac_objext
12317 if { (ac_try="$ac_compile"
12318 case "(($ac_try" in
12319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12320 *) ac_try_echo=$ac_try;;
12321 esac
12322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12323 (eval "$ac_compile") 2>conftest.er1
12324 ac_status=$?
12325 grep -v '^ *+' conftest.er1 >conftest.err
12326 rm -f conftest.er1
12327 cat conftest.err >&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } && {
12330 test -z "$ac_c_werror_flag" ||
12331 test ! -s conftest.err
12332 } && test -s conftest.$ac_objext; then
12333 ac_header_compiler=yes
12334 else
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.$ac_ext >&5
12338 ac_header_compiler=no
12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12342 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12343 echo "${ECHO_T}$ac_header_compiler" >&6; }
12345 # Is the header present?
12346 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12347 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12348 cat >conftest.$ac_ext <<_ACEOF
12349 /* confdefs.h. */
12350 _ACEOF
12351 cat confdefs.h >>conftest.$ac_ext
12352 cat >>conftest.$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12354 #include <gphoto2-camera.h>
12355 _ACEOF
12356 if { (ac_try="$ac_cpp conftest.$ac_ext"
12357 case "(($ac_try" in
12358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12359 *) ac_try_echo=$ac_try;;
12360 esac
12361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12363 ac_status=$?
12364 grep -v '^ *+' conftest.er1 >conftest.err
12365 rm -f conftest.er1
12366 cat conftest.err >&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); } >/dev/null && {
12369 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12370 test ! -s conftest.err
12371 }; then
12372 ac_header_preproc=yes
12373 else
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.$ac_ext >&5
12377 ac_header_preproc=no
12380 rm -f conftest.err conftest.$ac_ext
12381 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12382 echo "${ECHO_T}$ac_header_preproc" >&6; }
12384 # So? What about this header?
12385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12386 yes:no: )
12387 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12388 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12389 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12390 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12391 ac_header_preproc=yes
12393 no:yes:* )
12394 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12395 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12396 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12397 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12398 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12399 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12400 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12401 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12402 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12403 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12404 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12405 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12406 ( cat <<\_ASBOX
12407 ## ------------------------------------ ##
12408 ## Report this to wine-devel@winehq.org ##
12409 ## ------------------------------------ ##
12410 _ASBOX
12411 ) | sed "s/^/$as_me: WARNING: /" >&2
12413 esac
12414 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12415 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12416 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 else
12419 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12421 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12422 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12425 if test $ac_cv_header_gphoto2_camera_h = yes; then
12426 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12427 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12428 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 else
12431 ac_check_lib_save_LIBS=$LIBS
12432 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12433 cat >conftest.$ac_ext <<_ACEOF
12434 /* confdefs.h. */
12435 _ACEOF
12436 cat confdefs.h >>conftest.$ac_ext
12437 cat >>conftest.$ac_ext <<_ACEOF
12438 /* end confdefs.h. */
12440 /* Override any GCC internal prototype to avoid an error.
12441 Use char because int might match the return type of a GCC
12442 builtin and then its argument prototype would still apply. */
12443 #ifdef __cplusplus
12444 extern "C"
12445 #endif
12446 char gp_camera_new ();
12448 main ()
12450 return gp_camera_new ();
12452 return 0;
12454 _ACEOF
12455 rm -f conftest.$ac_objext conftest$ac_exeext
12456 if { (ac_try="$ac_link"
12457 case "(($ac_try" in
12458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12459 *) ac_try_echo=$ac_try;;
12460 esac
12461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12462 (eval "$ac_link") 2>conftest.er1
12463 ac_status=$?
12464 grep -v '^ *+' conftest.er1 >conftest.err
12465 rm -f conftest.er1
12466 cat conftest.err >&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); } && {
12469 test -z "$ac_c_werror_flag" ||
12470 test ! -s conftest.err
12471 } && test -s conftest$ac_exeext &&
12472 $as_test_x conftest$ac_exeext; then
12473 ac_cv_lib_gphoto2_gp_camera_new=yes
12474 else
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12478 ac_cv_lib_gphoto2_gp_camera_new=no
12481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12485 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12486 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12487 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12489 cat >>confdefs.h <<\_ACEOF
12490 #define HAVE_GPHOTO2 1
12491 _ACEOF
12493 GPHOTO2LIBS="$ac_gphoto2_libs"
12495 GPHOTO2INCL="$ac_gphoto2_incl"
12502 CPPFLAGS="$ac_save_CPPFLAGS"
12504 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12505 wine_notices="$wine_notices|libgphoto2 development files not found.
12506 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12511 RESOLVLIBS=""
12513 if test "$ac_cv_header_resolv_h" = "yes"
12514 then
12515 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12516 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12517 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 else
12520 ac_check_lib_save_LIBS=$LIBS
12521 LIBS="-lresolv $LIBS"
12522 cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12532 #ifdef __cplusplus
12533 extern "C"
12534 #endif
12535 char res_query ();
12537 main ()
12539 return res_query ();
12541 return 0;
12543 _ACEOF
12544 rm -f conftest.$ac_objext conftest$ac_exeext
12545 if { (ac_try="$ac_link"
12546 case "(($ac_try" in
12547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12548 *) ac_try_echo=$ac_try;;
12549 esac
12550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12551 (eval "$ac_link") 2>conftest.er1
12552 ac_status=$?
12553 grep -v '^ *+' conftest.er1 >conftest.err
12554 rm -f conftest.er1
12555 cat conftest.err >&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } && {
12558 test -z "$ac_c_werror_flag" ||
12559 test ! -s conftest.err
12560 } && test -s conftest$ac_exeext &&
12561 $as_test_x conftest$ac_exeext; then
12562 ac_cv_lib_resolv_res_query=yes
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 ac_cv_lib_resolv_res_query=no
12570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12571 conftest$ac_exeext conftest.$ac_ext
12572 LIBS=$ac_check_lib_save_LIBS
12574 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12575 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12576 if test $ac_cv_lib_resolv_res_query = yes; then
12578 cat >>confdefs.h <<\_ACEOF
12579 #define HAVE_RESOLV 1
12580 _ACEOF
12582 RESOLVLIBS="-lresolv"
12587 LCMSLIBS=""
12589 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12590 then
12591 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12592 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12593 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12594 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 else
12596 ac_check_lib_save_LIBS=$LIBS
12597 LIBS="-llcms $LIBS"
12598 cat >conftest.$ac_ext <<_ACEOF
12599 /* confdefs.h. */
12600 _ACEOF
12601 cat confdefs.h >>conftest.$ac_ext
12602 cat >>conftest.$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12608 #ifdef __cplusplus
12609 extern "C"
12610 #endif
12611 char cmsOpenProfileFromFile ();
12613 main ()
12615 return cmsOpenProfileFromFile ();
12617 return 0;
12619 _ACEOF
12620 rm -f conftest.$ac_objext conftest$ac_exeext
12621 if { (ac_try="$ac_link"
12622 case "(($ac_try" in
12623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12624 *) ac_try_echo=$ac_try;;
12625 esac
12626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12627 (eval "$ac_link") 2>conftest.er1
12628 ac_status=$?
12629 grep -v '^ *+' conftest.er1 >conftest.err
12630 rm -f conftest.er1
12631 cat conftest.err >&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); } && {
12634 test -z "$ac_c_werror_flag" ||
12635 test ! -s conftest.err
12636 } && test -s conftest$ac_exeext &&
12637 $as_test_x conftest$ac_exeext; then
12638 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12639 else
12640 echo "$as_me: failed program was:" >&5
12641 sed 's/^/| /' conftest.$ac_ext >&5
12643 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_lib_save_LIBS
12650 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12651 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12652 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12654 cat >>confdefs.h <<\_ACEOF
12655 #define HAVE_LCMS 1
12656 _ACEOF
12658 LCMSLIBS="-llcms"
12662 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12663 wine_notices="$wine_notices|liblcms development files not found.
12664 Wine will be built without Color Management support. (mscms.dll)"
12668 LDAPLIBS=""
12670 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12671 then
12672 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12673 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12674 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12676 else
12677 ac_check_lib_save_LIBS=$LIBS
12678 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12679 cat >conftest.$ac_ext <<_ACEOF
12680 /* confdefs.h. */
12681 _ACEOF
12682 cat confdefs.h >>conftest.$ac_ext
12683 cat >>conftest.$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char ldap_initialize ();
12694 main ()
12696 return ldap_initialize ();
12698 return 0;
12700 _ACEOF
12701 rm -f conftest.$ac_objext conftest$ac_exeext
12702 if { (ac_try="$ac_link"
12703 case "(($ac_try" in
12704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12705 *) ac_try_echo=$ac_try;;
12706 esac
12707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12708 (eval "$ac_link") 2>conftest.er1
12709 ac_status=$?
12710 grep -v '^ *+' conftest.er1 >conftest.err
12711 rm -f conftest.er1
12712 cat conftest.err >&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } && {
12715 test -z "$ac_c_werror_flag" ||
12716 test ! -s conftest.err
12717 } && test -s conftest$ac_exeext &&
12718 $as_test_x conftest$ac_exeext; then
12719 ac_cv_lib_ldap_r_ldap_initialize=yes
12720 else
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.$ac_ext >&5
12724 ac_cv_lib_ldap_r_ldap_initialize=no
12727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12728 conftest$ac_exeext conftest.$ac_ext
12729 LIBS=$ac_check_lib_save_LIBS
12731 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12732 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12733 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12734 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12735 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12736 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12739 ac_check_lib_save_LIBS=$LIBS
12740 LIBS="-llber $LIBPTHREAD $LIBS"
12741 cat >conftest.$ac_ext <<_ACEOF
12742 /* confdefs.h. */
12743 _ACEOF
12744 cat confdefs.h >>conftest.$ac_ext
12745 cat >>conftest.$ac_ext <<_ACEOF
12746 /* end confdefs.h. */
12748 /* Override any GCC internal prototype to avoid an error.
12749 Use char because int might match the return type of a GCC
12750 builtin and then its argument prototype would still apply. */
12751 #ifdef __cplusplus
12752 extern "C"
12753 #endif
12754 char ber_init ();
12756 main ()
12758 return ber_init ();
12760 return 0;
12762 _ACEOF
12763 rm -f conftest.$ac_objext conftest$ac_exeext
12764 if { (ac_try="$ac_link"
12765 case "(($ac_try" in
12766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12767 *) ac_try_echo=$ac_try;;
12768 esac
12769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12770 (eval "$ac_link") 2>conftest.er1
12771 ac_status=$?
12772 grep -v '^ *+' conftest.er1 >conftest.err
12773 rm -f conftest.er1
12774 cat conftest.err >&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); } && {
12777 test -z "$ac_c_werror_flag" ||
12778 test ! -s conftest.err
12779 } && test -s conftest$ac_exeext &&
12780 $as_test_x conftest$ac_exeext; then
12781 ac_cv_lib_lber_ber_init=yes
12782 else
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.$ac_ext >&5
12786 ac_cv_lib_lber_ber_init=no
12789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12790 conftest$ac_exeext conftest.$ac_ext
12791 LIBS=$ac_check_lib_save_LIBS
12793 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12794 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12795 if test $ac_cv_lib_lber_ber_init = yes; then
12797 cat >>confdefs.h <<\_ACEOF
12798 #define HAVE_LDAP 1
12799 _ACEOF
12801 LDAPLIBS="-lldap_r -llber"
12806 ac_wine_check_funcs_save_LIBS="$LIBS"
12807 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12812 for ac_func in \
12813 ldap_count_references \
12814 ldap_first_reference \
12815 ldap_next_reference \
12816 ldap_parse_reference
12818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12822 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 else
12824 cat >conftest.$ac_ext <<_ACEOF
12825 /* confdefs.h. */
12826 _ACEOF
12827 cat confdefs.h >>conftest.$ac_ext
12828 cat >>conftest.$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12832 #define $ac_func innocuous_$ac_func
12834 /* System header to define __stub macros and hopefully few prototypes,
12835 which can conflict with char $ac_func (); below.
12836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12837 <limits.h> exists even on freestanding compilers. */
12839 #ifdef __STDC__
12840 # include <limits.h>
12841 #else
12842 # include <assert.h>
12843 #endif
12845 #undef $ac_func
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12850 #ifdef __cplusplus
12851 extern "C"
12852 #endif
12853 char $ac_func ();
12854 /* The GNU C library defines this for functions which it implements
12855 to always fail with ENOSYS. Some functions are actually named
12856 something starting with __ and the normal name is an alias. */
12857 #if defined __stub_$ac_func || defined __stub___$ac_func
12858 choke me
12859 #endif
12862 main ()
12864 return $ac_func ();
12866 return 0;
12868 _ACEOF
12869 rm -f conftest.$ac_objext conftest$ac_exeext
12870 if { (ac_try="$ac_link"
12871 case "(($ac_try" in
12872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12873 *) ac_try_echo=$ac_try;;
12874 esac
12875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12876 (eval "$ac_link") 2>conftest.er1
12877 ac_status=$?
12878 grep -v '^ *+' conftest.er1 >conftest.err
12879 rm -f conftest.er1
12880 cat conftest.err >&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } && {
12883 test -z "$ac_c_werror_flag" ||
12884 test ! -s conftest.err
12885 } && test -s conftest$ac_exeext &&
12886 $as_test_x conftest$ac_exeext; then
12887 eval "$as_ac_var=yes"
12888 else
12889 echo "$as_me: failed program was:" >&5
12890 sed 's/^/| /' conftest.$ac_ext >&5
12892 eval "$as_ac_var=no"
12895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12896 conftest$ac_exeext conftest.$ac_ext
12898 ac_res=`eval echo '${'$as_ac_var'}'`
12899 { echo "$as_me:$LINENO: result: $ac_res" >&5
12900 echo "${ECHO_T}$ac_res" >&6; }
12901 if test `eval echo '${'$as_ac_var'}'` = yes; then
12902 cat >>confdefs.h <<_ACEOF
12903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12904 _ACEOF
12907 done
12909 LIBS="$ac_wine_check_funcs_save_LIBS"
12911 if test "x$LDAPLIBS" = "x"; then
12912 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
12913 Wine will be built without LDAP support. (wldap32.dll)"
12917 for ac_prog in freetype-config freetype2-config
12919 # Extract the first word of "$ac_prog", so it can be a program name with args.
12920 set dummy $ac_prog; ac_word=$2
12921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12923 if test "${ac_cv_prog_ft_devel+set}" = set; then
12924 echo $ECHO_N "(cached) $ECHO_C" >&6
12925 else
12926 if test -n "$ft_devel"; then
12927 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12928 else
12929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12930 for as_dir in $PATH
12932 IFS=$as_save_IFS
12933 test -z "$as_dir" && as_dir=.
12934 for ac_exec_ext in '' $ac_executable_extensions; do
12935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12936 ac_cv_prog_ft_devel="$ac_prog"
12937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12938 break 2
12940 done
12941 done
12942 IFS=$as_save_IFS
12946 ft_devel=$ac_cv_prog_ft_devel
12947 if test -n "$ft_devel"; then
12948 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12949 echo "${ECHO_T}$ft_devel" >&6; }
12950 else
12951 { echo "$as_me:$LINENO: result: no" >&5
12952 echo "${ECHO_T}no" >&6; }
12956 test -n "$ft_devel" && break
12957 done
12958 test -n "$ft_devel" || ft_devel="false"
12960 if test "$ft_devel" != "false"
12961 then
12962 ac_freetype_libs=`$ft_devel --libs`
12963 ac_freetype_incl=`$ft_devel --cflags`
12964 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
12965 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
12966 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 else
12969 ac_check_soname_save_LIBS=$LIBS
12970 LIBS="-lfreetype $ac_freetype_libs $LIBS"
12971 cat >conftest.$ac_ext <<_ACEOF
12972 /* confdefs.h. */
12973 _ACEOF
12974 cat confdefs.h >>conftest.$ac_ext
12975 cat >>conftest.$ac_ext <<_ACEOF
12976 /* end confdefs.h. */
12978 /* Override any GCC internal prototype to avoid an error.
12979 Use char because int might match the return type of a GCC
12980 builtin and then its argument prototype would still apply. */
12981 #ifdef __cplusplus
12982 extern "C"
12983 #endif
12984 char FT_Init_FreeType ();
12986 main ()
12988 return FT_Init_FreeType ();
12990 return 0;
12992 _ACEOF
12993 rm -f conftest.$ac_objext conftest$ac_exeext
12994 if { (ac_try="$ac_link"
12995 case "(($ac_try" in
12996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12997 *) ac_try_echo=$ac_try;;
12998 esac
12999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13000 (eval "$ac_link") 2>conftest.er1
13001 ac_status=$?
13002 grep -v '^ *+' conftest.er1 >conftest.err
13003 rm -f conftest.er1
13004 cat conftest.err >&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } && {
13007 test -z "$ac_c_werror_flag" ||
13008 test ! -s conftest.err
13009 } && test -s conftest$ac_exeext &&
13010 $as_test_x conftest$ac_exeext; then
13011 case "$LIBEXT" in
13012 dll) ;;
13013 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'` ;;
13014 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13015 esac
13016 else
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.$ac_ext >&5
13023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13024 conftest$ac_exeext conftest.$ac_ext
13025 LIBS=$ac_check_soname_save_LIBS
13027 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13028 { echo "$as_me:$LINENO: result: not found" >&5
13029 echo "${ECHO_T}not found" >&6; }
13030 ft_lib=no
13031 else
13032 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13033 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13035 cat >>confdefs.h <<_ACEOF
13036 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13037 _ACEOF
13039 ft_lib=yes
13042 if test "$ft_lib" = "yes"
13043 then
13044 ac_save_CPPFLAGS="$CPPFLAGS"
13045 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13057 for ac_header in ft2build.h \
13058 freetype/freetype.h \
13059 freetype/ftglyph.h \
13060 freetype/tttables.h \
13061 freetype/ftnames.h \
13062 freetype/ftsnames.h \
13063 freetype/ttnameid.h \
13064 freetype/ftoutln.h \
13065 freetype/ftwinfnt.h \
13066 freetype/ftmodapi.h \
13067 freetype/internal/sfnt.h
13069 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13070 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13074 else
13075 cat >conftest.$ac_ext <<_ACEOF
13076 /* confdefs.h. */
13077 _ACEOF
13078 cat confdefs.h >>conftest.$ac_ext
13079 cat >>conftest.$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13081 #if HAVE_FT2BUILD_H
13082 #include <ft2build.h>
13083 #endif
13085 #include <$ac_header>
13086 _ACEOF
13087 rm -f conftest.$ac_objext
13088 if { (ac_try="$ac_compile"
13089 case "(($ac_try" in
13090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13091 *) ac_try_echo=$ac_try;;
13092 esac
13093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13094 (eval "$ac_compile") 2>conftest.er1
13095 ac_status=$?
13096 grep -v '^ *+' conftest.er1 >conftest.err
13097 rm -f conftest.er1
13098 cat conftest.err >&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); } && {
13101 test -z "$ac_c_werror_flag" ||
13102 test ! -s conftest.err
13103 } && test -s conftest.$ac_objext; then
13104 eval "$as_ac_Header=yes"
13105 else
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.$ac_ext >&5
13109 eval "$as_ac_Header=no"
13112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13114 ac_res=`eval echo '${'$as_ac_Header'}'`
13115 { echo "$as_me:$LINENO: result: $ac_res" >&5
13116 echo "${ECHO_T}$ac_res" >&6; }
13117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13118 cat >>confdefs.h <<_ACEOF
13119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13120 _ACEOF
13124 done
13126 cat >conftest.$ac_ext <<_ACEOF
13127 /* confdefs.h. */
13128 _ACEOF
13129 cat confdefs.h >>conftest.$ac_ext
13130 cat >>conftest.$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13132 #include <ft2build.h>
13133 #include <freetype/fttrigon.h>
13134 _ACEOF
13135 if { (ac_try="$ac_cpp conftest.$ac_ext"
13136 case "(($ac_try" in
13137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13138 *) ac_try_echo=$ac_try;;
13139 esac
13140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13142 ac_status=$?
13143 grep -v '^ *+' conftest.er1 >conftest.err
13144 rm -f conftest.er1
13145 cat conftest.err >&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } >/dev/null && {
13148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13149 test ! -s conftest.err
13150 }; then
13152 cat >>confdefs.h <<\_ACEOF
13153 #define HAVE_FREETYPE_FTTRIGON_H 1
13154 _ACEOF
13156 wine_cv_fttrigon=yes
13157 else
13158 echo "$as_me: failed program was:" >&5
13159 sed 's/^/| /' conftest.$ac_ext >&5
13161 wine_cv_fttrigon=no
13164 rm -f conftest.err conftest.$ac_ext
13165 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13166 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13167 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13169 else
13170 cat >conftest.$ac_ext <<_ACEOF
13171 /* confdefs.h. */
13172 _ACEOF
13173 cat confdefs.h >>conftest.$ac_ext
13174 cat >>conftest.$ac_ext <<_ACEOF
13175 /* end confdefs.h. */
13176 #include <freetype/ftmodapi.h>
13178 typedef FT_TrueTypeEngineType ac__type_new_;
13180 main ()
13182 if ((ac__type_new_ *) 0)
13183 return 0;
13184 if (sizeof (ac__type_new_))
13185 return 0;
13187 return 0;
13189 _ACEOF
13190 rm -f conftest.$ac_objext
13191 if { (ac_try="$ac_compile"
13192 case "(($ac_try" in
13193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13194 *) ac_try_echo=$ac_try;;
13195 esac
13196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13197 (eval "$ac_compile") 2>conftest.er1
13198 ac_status=$?
13199 grep -v '^ *+' conftest.er1 >conftest.err
13200 rm -f conftest.er1
13201 cat conftest.err >&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); } && {
13204 test -z "$ac_c_werror_flag" ||
13205 test ! -s conftest.err
13206 } && test -s conftest.$ac_objext; then
13207 ac_cv_type_FT_TrueTypeEngineType=yes
13208 else
13209 echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.$ac_ext >&5
13212 ac_cv_type_FT_TrueTypeEngineType=no
13215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13217 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13218 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13219 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13221 cat >>confdefs.h <<_ACEOF
13222 #define HAVE_FT_TRUETYPEENGINETYPE 1
13223 _ACEOF
13228 ac_save_CFLAGS="$CFLAGS"
13229 CFLAGS="$CFLAGS $ac_freetype_libs"
13231 for ac_func in FT_Load_Sfnt_Table
13233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13236 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 else
13239 cat >conftest.$ac_ext <<_ACEOF
13240 /* confdefs.h. */
13241 _ACEOF
13242 cat confdefs.h >>conftest.$ac_ext
13243 cat >>conftest.$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13247 #define $ac_func innocuous_$ac_func
13249 /* System header to define __stub macros and hopefully few prototypes,
13250 which can conflict with char $ac_func (); below.
13251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13252 <limits.h> exists even on freestanding compilers. */
13254 #ifdef __STDC__
13255 # include <limits.h>
13256 #else
13257 # include <assert.h>
13258 #endif
13260 #undef $ac_func
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char $ac_func ();
13269 /* The GNU C library defines this for functions which it implements
13270 to always fail with ENOSYS. Some functions are actually named
13271 something starting with __ and the normal name is an alias. */
13272 #if defined __stub_$ac_func || defined __stub___$ac_func
13273 choke me
13274 #endif
13277 main ()
13279 return $ac_func ();
13281 return 0;
13283 _ACEOF
13284 rm -f conftest.$ac_objext conftest$ac_exeext
13285 if { (ac_try="$ac_link"
13286 case "(($ac_try" in
13287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13288 *) ac_try_echo=$ac_try;;
13289 esac
13290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13291 (eval "$ac_link") 2>conftest.er1
13292 ac_status=$?
13293 grep -v '^ *+' conftest.er1 >conftest.err
13294 rm -f conftest.er1
13295 cat conftest.err >&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); } && {
13298 test -z "$ac_c_werror_flag" ||
13299 test ! -s conftest.err
13300 } && test -s conftest$ac_exeext &&
13301 $as_test_x conftest$ac_exeext; then
13302 eval "$as_ac_var=yes"
13303 else
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.$ac_ext >&5
13307 eval "$as_ac_var=no"
13310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13311 conftest$ac_exeext conftest.$ac_ext
13313 ac_res=`eval echo '${'$as_ac_var'}'`
13314 { echo "$as_me:$LINENO: result: $ac_res" >&5
13315 echo "${ECHO_T}$ac_res" >&6; }
13316 if test `eval echo '${'$as_ac_var'}'` = yes; then
13317 cat >>confdefs.h <<_ACEOF
13318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13319 _ACEOF
13322 done
13324 CFLAGS="$ac_save_CFLAGS"
13325 CPPFLAGS="$ac_save_CPPFLAGS"
13326 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13327 then
13329 cat >>confdefs.h <<\_ACEOF
13330 #define HAVE_FREETYPE 1
13331 _ACEOF
13333 FREETYPELIBS="$ac_freetype_libs"
13335 FREETYPEINCL="$ac_freetype_incl"
13341 if test "$FONTFORGE" = "false"
13342 then
13343 wine_warnings="$wine_warnings|FontForge is missing.
13344 Fonts will not be built. Dialog text may be invisible or unaligned."
13345 elif test "x$FREETYPELIBS" = "x"
13346 then
13347 wine_warnings="$wine_warnings|FreeType development files not found.
13348 Fonts will not be built. Dialog text may be invisible or unaligned."
13349 else
13350 FONTSSUBDIRS="fonts"
13354 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13355 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13356 if test "${ac_cv_c_ppdev+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 else
13359 cat >conftest.$ac_ext <<_ACEOF
13360 /* confdefs.h. */
13361 _ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365 #include <linux/ppdev.h>
13367 main ()
13369 ioctl (1,PPCLAIM,0)
13371 return 0;
13373 _ACEOF
13374 rm -f conftest.$ac_objext
13375 if { (ac_try="$ac_compile"
13376 case "(($ac_try" in
13377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13378 *) ac_try_echo=$ac_try;;
13379 esac
13380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13381 (eval "$ac_compile") 2>conftest.er1
13382 ac_status=$?
13383 grep -v '^ *+' conftest.er1 >conftest.err
13384 rm -f conftest.er1
13385 cat conftest.err >&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } && {
13388 test -z "$ac_c_werror_flag" ||
13389 test ! -s conftest.err
13390 } && test -s conftest.$ac_objext; then
13391 ac_cv_c_ppdev="yes"
13392 else
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.$ac_ext >&5
13396 ac_cv_c_ppdev="no"
13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13401 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13402 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13403 if test "$ac_cv_c_ppdev" = "yes"
13404 then
13406 cat >>confdefs.h <<\_ACEOF
13407 #define HAVE_PPDEV 1
13408 _ACEOF
13412 { echo "$as_me:$LINENO: checking for va_copy" >&5
13413 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13414 if test "${ac_cv_c_va_copy+set}" = set; then
13415 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 else
13417 cat >conftest.$ac_ext <<_ACEOF
13418 /* confdefs.h. */
13419 _ACEOF
13420 cat confdefs.h >>conftest.$ac_ext
13421 cat >>conftest.$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 #include <stdarg.h>
13425 main ()
13427 va_list ap1, ap2; va_copy(ap1,ap2);
13429 return 0;
13431 _ACEOF
13432 rm -f conftest.$ac_objext conftest$ac_exeext
13433 if { (ac_try="$ac_link"
13434 case "(($ac_try" in
13435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13436 *) ac_try_echo=$ac_try;;
13437 esac
13438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13439 (eval "$ac_link") 2>conftest.er1
13440 ac_status=$?
13441 grep -v '^ *+' conftest.er1 >conftest.err
13442 rm -f conftest.er1
13443 cat conftest.err >&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } && {
13446 test -z "$ac_c_werror_flag" ||
13447 test ! -s conftest.err
13448 } && test -s conftest$ac_exeext &&
13449 $as_test_x conftest$ac_exeext; then
13450 ac_cv_c_va_copy="yes"
13451 else
13452 echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.$ac_ext >&5
13455 ac_cv_c_va_copy="no"
13458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13459 conftest$ac_exeext conftest.$ac_ext
13462 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13463 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13464 if test "$ac_cv_c_va_copy" = "yes"
13465 then
13467 cat >>confdefs.h <<\_ACEOF
13468 #define HAVE_VA_COPY 1
13469 _ACEOF
13472 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13473 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13474 if test "${ac_cv_c___va_copy+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 cat >conftest.$ac_ext <<_ACEOF
13478 /* confdefs.h. */
13479 _ACEOF
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13483 #include <stdarg.h>
13485 main ()
13487 va_list ap1, ap2; __va_copy(ap1,ap2);
13489 return 0;
13491 _ACEOF
13492 rm -f conftest.$ac_objext conftest$ac_exeext
13493 if { (ac_try="$ac_link"
13494 case "(($ac_try" in
13495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13496 *) ac_try_echo=$ac_try;;
13497 esac
13498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13499 (eval "$ac_link") 2>conftest.er1
13500 ac_status=$?
13501 grep -v '^ *+' conftest.er1 >conftest.err
13502 rm -f conftest.er1
13503 cat conftest.err >&5
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); } && {
13506 test -z "$ac_c_werror_flag" ||
13507 test ! -s conftest.err
13508 } && test -s conftest$ac_exeext &&
13509 $as_test_x conftest$ac_exeext; then
13510 ac_cv_c___va_copy="yes"
13511 else
13512 echo "$as_me: failed program was:" >&5
13513 sed 's/^/| /' conftest.$ac_ext >&5
13515 ac_cv_c___va_copy="no"
13518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13519 conftest$ac_exeext conftest.$ac_ext
13522 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13523 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13524 if test "$ac_cv_c___va_copy" = "yes"
13525 then
13527 cat >>confdefs.h <<\_ACEOF
13528 #define HAVE___VA_COPY 1
13529 _ACEOF
13533 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13534 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13535 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13537 else
13538 cat >conftest.$ac_ext <<_ACEOF
13539 /* confdefs.h. */
13540 _ACEOF
13541 cat confdefs.h >>conftest.$ac_ext
13542 cat >>conftest.$ac_ext <<_ACEOF
13543 /* end confdefs.h. */
13544 #include <setjmp.h>
13546 main ()
13548 sigjmp_buf buf;
13549 sigsetjmp( buf, 1 );
13550 siglongjmp( buf, 1 );
13552 return 0;
13554 _ACEOF
13555 rm -f conftest.$ac_objext conftest$ac_exeext
13556 if { (ac_try="$ac_link"
13557 case "(($ac_try" in
13558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13559 *) ac_try_echo=$ac_try;;
13560 esac
13561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13562 (eval "$ac_link") 2>conftest.er1
13563 ac_status=$?
13564 grep -v '^ *+' conftest.er1 >conftest.err
13565 rm -f conftest.er1
13566 cat conftest.err >&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } && {
13569 test -z "$ac_c_werror_flag" ||
13570 test ! -s conftest.err
13571 } && test -s conftest$ac_exeext &&
13572 $as_test_x conftest$ac_exeext; then
13573 ac_cv_c_sigsetjmp="yes"
13574 else
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.$ac_ext >&5
13578 ac_cv_c_sigsetjmp="no"
13581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13582 conftest$ac_exeext conftest.$ac_ext
13585 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13586 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13587 if test "$ac_cv_c_sigsetjmp" = "yes"
13588 then
13590 cat >>confdefs.h <<\_ACEOF
13591 #define HAVE_SIGSETJMP 1
13592 _ACEOF
13596 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13597 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13598 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 else
13601 cat >conftest.$ac_ext <<_ACEOF
13602 /* confdefs.h. */
13603 _ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #define _GNU_SOURCE
13608 #include <pthread.h>
13610 typedef pthread_rwlock_t ac__type_new_;
13612 main ()
13614 if ((ac__type_new_ *) 0)
13615 return 0;
13616 if (sizeof (ac__type_new_))
13617 return 0;
13619 return 0;
13621 _ACEOF
13622 rm -f conftest.$ac_objext
13623 if { (ac_try="$ac_compile"
13624 case "(($ac_try" in
13625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13626 *) ac_try_echo=$ac_try;;
13627 esac
13628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13629 (eval "$ac_compile") 2>conftest.er1
13630 ac_status=$?
13631 grep -v '^ *+' conftest.er1 >conftest.err
13632 rm -f conftest.er1
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } && {
13636 test -z "$ac_c_werror_flag" ||
13637 test ! -s conftest.err
13638 } && test -s conftest.$ac_objext; then
13639 ac_cv_type_pthread_rwlock_t=yes
13640 else
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13644 ac_cv_type_pthread_rwlock_t=no
13647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13649 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13650 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13651 if test $ac_cv_type_pthread_rwlock_t = yes; then
13653 cat >>confdefs.h <<_ACEOF
13654 #define HAVE_PTHREAD_RWLOCK_T 1
13655 _ACEOF
13659 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13660 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13661 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13662 echo $ECHO_N "(cached) $ECHO_C" >&6
13663 else
13664 cat >conftest.$ac_ext <<_ACEOF
13665 /* confdefs.h. */
13666 _ACEOF
13667 cat confdefs.h >>conftest.$ac_ext
13668 cat >>conftest.$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13670 #define _GNU_SOURCE
13671 #include <pthread.h>
13673 typedef pthread_rwlockattr_t ac__type_new_;
13675 main ()
13677 if ((ac__type_new_ *) 0)
13678 return 0;
13679 if (sizeof (ac__type_new_))
13680 return 0;
13682 return 0;
13684 _ACEOF
13685 rm -f conftest.$ac_objext
13686 if { (ac_try="$ac_compile"
13687 case "(($ac_try" in
13688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13689 *) ac_try_echo=$ac_try;;
13690 esac
13691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_compile") 2>conftest.er1
13693 ac_status=$?
13694 grep -v '^ *+' conftest.er1 >conftest.err
13695 rm -f conftest.er1
13696 cat conftest.err >&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && {
13699 test -z "$ac_c_werror_flag" ||
13700 test ! -s conftest.err
13701 } && test -s conftest.$ac_objext; then
13702 ac_cv_type_pthread_rwlockattr_t=yes
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13707 ac_cv_type_pthread_rwlockattr_t=no
13710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13712 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13713 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13714 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13716 cat >>confdefs.h <<_ACEOF
13717 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13718 _ACEOF
13724 ac_wine_check_funcs_save_LIBS="$LIBS"
13725 LIBS="$LIBS $LIBPTHREAD"
13730 for ac_func in \
13731 pthread_attr_get_np \
13732 pthread_getattr_np \
13733 pthread_get_stackaddr_np \
13734 pthread_get_stacksize_np
13736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13741 else
13742 cat >conftest.$ac_ext <<_ACEOF
13743 /* confdefs.h. */
13744 _ACEOF
13745 cat confdefs.h >>conftest.$ac_ext
13746 cat >>conftest.$ac_ext <<_ACEOF
13747 /* end confdefs.h. */
13748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13750 #define $ac_func innocuous_$ac_func
13752 /* System header to define __stub macros and hopefully few prototypes,
13753 which can conflict with char $ac_func (); below.
13754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13755 <limits.h> exists even on freestanding compilers. */
13757 #ifdef __STDC__
13758 # include <limits.h>
13759 #else
13760 # include <assert.h>
13761 #endif
13763 #undef $ac_func
13765 /* Override any GCC internal prototype to avoid an error.
13766 Use char because int might match the return type of a GCC
13767 builtin and then its argument prototype would still apply. */
13768 #ifdef __cplusplus
13769 extern "C"
13770 #endif
13771 char $ac_func ();
13772 /* The GNU C library defines this for functions which it implements
13773 to always fail with ENOSYS. Some functions are actually named
13774 something starting with __ and the normal name is an alias. */
13775 #if defined __stub_$ac_func || defined __stub___$ac_func
13776 choke me
13777 #endif
13780 main ()
13782 return $ac_func ();
13784 return 0;
13786 _ACEOF
13787 rm -f conftest.$ac_objext conftest$ac_exeext
13788 if { (ac_try="$ac_link"
13789 case "(($ac_try" in
13790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13791 *) ac_try_echo=$ac_try;;
13792 esac
13793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13794 (eval "$ac_link") 2>conftest.er1
13795 ac_status=$?
13796 grep -v '^ *+' conftest.er1 >conftest.err
13797 rm -f conftest.er1
13798 cat conftest.err >&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } && {
13801 test -z "$ac_c_werror_flag" ||
13802 test ! -s conftest.err
13803 } && test -s conftest$ac_exeext &&
13804 $as_test_x conftest$ac_exeext; then
13805 eval "$as_ac_var=yes"
13806 else
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.$ac_ext >&5
13810 eval "$as_ac_var=no"
13813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13814 conftest$ac_exeext conftest.$ac_ext
13816 ac_res=`eval echo '${'$as_ac_var'}'`
13817 { echo "$as_me:$LINENO: result: $ac_res" >&5
13818 echo "${ECHO_T}$ac_res" >&6; }
13819 if test `eval echo '${'$as_ac_var'}'` = yes; then
13820 cat >>confdefs.h <<_ACEOF
13821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13822 _ACEOF
13825 done
13827 LIBS="$ac_wine_check_funcs_save_LIBS"
13829 # Extract the first word of "esd-config", so it can be a program name with args.
13830 set dummy esd-config; ac_word=$2
13831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13833 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13834 echo $ECHO_N "(cached) $ECHO_C" >&6
13835 else
13836 case $ESDCONFIG in
13837 [\\/]* | ?:[\\/]*)
13838 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 for as_dir in $PATH
13844 IFS=$as_save_IFS
13845 test -z "$as_dir" && as_dir=.
13846 for ac_exec_ext in '' $ac_executable_extensions; do
13847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13848 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13850 break 2
13852 done
13853 done
13854 IFS=$as_save_IFS
13857 esac
13859 ESDCONFIG=$ac_cv_path_ESDCONFIG
13860 if test -n "$ESDCONFIG"; then
13861 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13862 echo "${ECHO_T}$ESDCONFIG" >&6; }
13863 else
13864 { echo "$as_me:$LINENO: result: no" >&5
13865 echo "${ECHO_T}no" >&6; }
13869 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13870 then
13871 ESD_CFLAGS=""
13872 for i in `$ESDCONFIG --cflags`
13874 case "$i" in
13875 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13876 esac
13877 done
13878 ESD_LIBS=`$ESDCONFIG --libs`
13879 save_CFLAGS="$CFLAGS"
13880 CFLAGS="$CFLAGS $ESD_CFLAGS"
13881 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13882 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13883 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 else
13886 ac_check_lib_save_LIBS=$LIBS
13887 LIBS="-lesd $LIBS"
13888 cat >conftest.$ac_ext <<_ACEOF
13889 /* confdefs.h. */
13890 _ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13895 /* Override any GCC internal prototype to avoid an error.
13896 Use char because int might match the return type of a GCC
13897 builtin and then its argument prototype would still apply. */
13898 #ifdef __cplusplus
13899 extern "C"
13900 #endif
13901 char esd_open_sound ();
13903 main ()
13905 return esd_open_sound ();
13907 return 0;
13909 _ACEOF
13910 rm -f conftest.$ac_objext conftest$ac_exeext
13911 if { (ac_try="$ac_link"
13912 case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13915 esac
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_link") 2>conftest.er1
13918 ac_status=$?
13919 grep -v '^ *+' conftest.er1 >conftest.err
13920 rm -f conftest.er1
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } && {
13924 test -z "$ac_c_werror_flag" ||
13925 test ! -s conftest.err
13926 } && test -s conftest$ac_exeext &&
13927 $as_test_x conftest$ac_exeext; then
13928 ac_cv_lib_esd_esd_open_sound=yes
13929 else
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.$ac_ext >&5
13933 ac_cv_lib_esd_esd_open_sound=no
13936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_lib_save_LIBS
13940 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13941 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13942 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13943 ESDLIBS=$ESD_LIBS
13945 ESDINCL=$ESD_CFLAGS
13948 cat >>confdefs.h <<\_ACEOF
13949 #define HAVE_ESD 1
13950 _ACEOF
13954 CFLAGS="$save_CFLAGS"
13957 ALSALIBS=""
13959 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13960 then
13961 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13962 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13963 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13964 echo $ECHO_N "(cached) $ECHO_C" >&6
13965 else
13966 ac_check_lib_save_LIBS=$LIBS
13967 LIBS="-lasound $LIBS"
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13978 #ifdef __cplusplus
13979 extern "C"
13980 #endif
13981 char snd_pcm_hw_params_get_access ();
13983 main ()
13985 return snd_pcm_hw_params_get_access ();
13987 return 0;
13989 _ACEOF
13990 rm -f conftest.$ac_objext conftest$ac_exeext
13991 if { (ac_try="$ac_link"
13992 case "(($ac_try" in
13993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13994 *) ac_try_echo=$ac_try;;
13995 esac
13996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13997 (eval "$ac_link") 2>conftest.er1
13998 ac_status=$?
13999 grep -v '^ *+' conftest.er1 >conftest.err
14000 rm -f conftest.er1
14001 cat conftest.err >&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } && {
14004 test -z "$ac_c_werror_flag" ||
14005 test ! -s conftest.err
14006 } && test -s conftest$ac_exeext &&
14007 $as_test_x conftest$ac_exeext; then
14008 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14009 else
14010 echo "$as_me: failed program was:" >&5
14011 sed 's/^/| /' conftest.$ac_ext >&5
14013 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_lib_save_LIBS
14020 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14021 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14022 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14023 cat >conftest.$ac_ext <<_ACEOF
14024 /* confdefs.h. */
14025 _ACEOF
14026 cat confdefs.h >>conftest.$ac_ext
14027 cat >>conftest.$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 #ifdef HAVE_ALSA_ASOUNDLIB_H
14030 #include <alsa/asoundlib.h>
14031 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14032 #include <sys/asoundlib.h>
14033 #endif
14035 main ()
14037 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14039 return 0;
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047 esac
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14050 ac_status=$?
14051 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14060 cat >>confdefs.h <<\_ACEOF
14061 #define HAVE_ALSA 1
14062 _ACEOF
14064 ALSALIBS="-lasound"
14065 else
14066 echo "$as_me: failed program was:" >&5
14067 sed 's/^/| /' conftest.$ac_ext >&5
14072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14077 AUDIOIOLIBS=""
14079 if test "$ac_cv_header_libaudioio_h" = "yes"
14080 then
14081 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14082 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14083 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 else
14086 ac_check_lib_save_LIBS=$LIBS
14087 LIBS="-laudioio $LIBS"
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14095 /* Override any GCC internal prototype to avoid an error.
14096 Use char because int might match the return type of a GCC
14097 builtin and then its argument prototype would still apply. */
14098 #ifdef __cplusplus
14099 extern "C"
14100 #endif
14101 char AudioIOGetVersion ();
14103 main ()
14105 return AudioIOGetVersion ();
14107 return 0;
14109 _ACEOF
14110 rm -f conftest.$ac_objext conftest$ac_exeext
14111 if { (ac_try="$ac_link"
14112 case "(($ac_try" in
14113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14114 *) ac_try_echo=$ac_try;;
14115 esac
14116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14117 (eval "$ac_link") 2>conftest.er1
14118 ac_status=$?
14119 grep -v '^ *+' conftest.er1 >conftest.err
14120 rm -f conftest.er1
14121 cat conftest.err >&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); } && {
14124 test -z "$ac_c_werror_flag" ||
14125 test ! -s conftest.err
14126 } && test -s conftest$ac_exeext &&
14127 $as_test_x conftest$ac_exeext; then
14128 ac_cv_lib_audioio_AudioIOGetVersion=yes
14129 else
14130 echo "$as_me: failed program was:" >&5
14131 sed 's/^/| /' conftest.$ac_ext >&5
14133 ac_cv_lib_audioio_AudioIOGetVersion=no
14136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_lib_save_LIBS
14140 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14141 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14142 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14143 AUDIOIOLIBS="-laudioio"
14145 cat >>confdefs.h <<\_ACEOF
14146 #define HAVE_LIBAUDIOIO 1
14147 _ACEOF
14154 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14155 then
14156 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14157 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14158 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 else
14161 ac_check_soname_save_LIBS=$LIBS
14162 LIBS="-lcapi20 $LIBS"
14163 cat >conftest.$ac_ext <<_ACEOF
14164 /* confdefs.h. */
14165 _ACEOF
14166 cat confdefs.h >>conftest.$ac_ext
14167 cat >>conftest.$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14170 /* Override any GCC internal prototype to avoid an error.
14171 Use char because int might match the return type of a GCC
14172 builtin and then its argument prototype would still apply. */
14173 #ifdef __cplusplus
14174 extern "C"
14175 #endif
14176 char capi20_register ();
14178 main ()
14180 return capi20_register ();
14182 return 0;
14184 _ACEOF
14185 rm -f conftest.$ac_objext conftest$ac_exeext
14186 if { (ac_try="$ac_link"
14187 case "(($ac_try" in
14188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14189 *) ac_try_echo=$ac_try;;
14190 esac
14191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14192 (eval "$ac_link") 2>conftest.er1
14193 ac_status=$?
14194 grep -v '^ *+' conftest.er1 >conftest.err
14195 rm -f conftest.er1
14196 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } && {
14199 test -z "$ac_c_werror_flag" ||
14200 test ! -s conftest.err
14201 } && test -s conftest$ac_exeext &&
14202 $as_test_x conftest$ac_exeext; then
14203 case "$LIBEXT" in
14204 dll) ;;
14205 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'` ;;
14206 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14207 esac
14208 else
14209 echo "$as_me: failed program was:" >&5
14210 sed 's/^/| /' conftest.$ac_ext >&5
14215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14216 conftest$ac_exeext conftest.$ac_ext
14217 LIBS=$ac_check_soname_save_LIBS
14219 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14220 { echo "$as_me:$LINENO: result: not found" >&5
14221 echo "${ECHO_T}not found" >&6; }
14223 else
14224 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14225 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14227 cat >>confdefs.h <<_ACEOF
14228 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14229 _ACEOF
14235 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14236 wine_notices="$wine_notices|libcapi20 development files not found.
14237 Wine will be built without ISDN support. (capi2032.dll)"
14241 if test "$ac_cv_header_cups_cups_h" = "yes"
14242 then
14243 { echo "$as_me:$LINENO: checking for -lcups" >&5
14244 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14245 if test "${ac_cv_lib_soname_cups+set}" = set; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14247 else
14248 ac_check_soname_save_LIBS=$LIBS
14249 LIBS="-lcups $LIBS"
14250 cat >conftest.$ac_ext <<_ACEOF
14251 /* confdefs.h. */
14252 _ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14257 /* Override any GCC internal prototype to avoid an error.
14258 Use char because int might match the return type of a GCC
14259 builtin and then its argument prototype would still apply. */
14260 #ifdef __cplusplus
14261 extern "C"
14262 #endif
14263 char cupsGetDefault ();
14265 main ()
14267 return cupsGetDefault ();
14269 return 0;
14271 _ACEOF
14272 rm -f conftest.$ac_objext conftest$ac_exeext
14273 if { (ac_try="$ac_link"
14274 case "(($ac_try" in
14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14277 esac
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_link") 2>conftest.er1
14280 ac_status=$?
14281 grep -v '^ *+' conftest.er1 >conftest.err
14282 rm -f conftest.er1
14283 cat conftest.err >&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } && {
14286 test -z "$ac_c_werror_flag" ||
14287 test ! -s conftest.err
14288 } && test -s conftest$ac_exeext &&
14289 $as_test_x conftest$ac_exeext; then
14290 case "$LIBEXT" in
14291 dll) ;;
14292 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'` ;;
14293 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14294 esac
14295 else
14296 echo "$as_me: failed program was:" >&5
14297 sed 's/^/| /' conftest.$ac_ext >&5
14302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14303 conftest$ac_exeext conftest.$ac_ext
14304 LIBS=$ac_check_soname_save_LIBS
14306 if test "x$ac_cv_lib_soname_cups" = "x"; then
14307 { echo "$as_me:$LINENO: result: not found" >&5
14308 echo "${ECHO_T}not found" >&6; }
14310 else
14311 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14312 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14314 cat >>confdefs.h <<_ACEOF
14315 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14316 _ACEOF
14322 if test "x$ac_cv_lib_soname_cups" = "x"; then
14323 wine_notices="$wine_notices|libcups development files not found.
14324 Wine will be built without CUPS support."
14328 if test "$ac_cv_header_jack_jack_h" = "yes"
14329 then
14330 { echo "$as_me:$LINENO: checking for -ljack" >&5
14331 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14332 if test "${ac_cv_lib_soname_jack+set}" = set; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14334 else
14335 ac_check_soname_save_LIBS=$LIBS
14336 LIBS="-ljack $LIBS"
14337 cat >conftest.$ac_ext <<_ACEOF
14338 /* confdefs.h. */
14339 _ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14347 #ifdef __cplusplus
14348 extern "C"
14349 #endif
14350 char jack_client_new ();
14352 main ()
14354 return jack_client_new ();
14356 return 0;
14358 _ACEOF
14359 rm -f conftest.$ac_objext conftest$ac_exeext
14360 if { (ac_try="$ac_link"
14361 case "(($ac_try" in
14362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14363 *) ac_try_echo=$ac_try;;
14364 esac
14365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14366 (eval "$ac_link") 2>conftest.er1
14367 ac_status=$?
14368 grep -v '^ *+' conftest.er1 >conftest.err
14369 rm -f conftest.er1
14370 cat conftest.err >&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } && {
14373 test -z "$ac_c_werror_flag" ||
14374 test ! -s conftest.err
14375 } && test -s conftest$ac_exeext &&
14376 $as_test_x conftest$ac_exeext; then
14377 case "$LIBEXT" in
14378 dll) ;;
14379 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'` ;;
14380 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14381 esac
14382 else
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14390 conftest$ac_exeext conftest.$ac_ext
14391 LIBS=$ac_check_soname_save_LIBS
14393 if test "x$ac_cv_lib_soname_jack" = "x"; then
14394 { echo "$as_me:$LINENO: result: not found" >&5
14395 echo "${ECHO_T}not found" >&6; }
14397 else
14398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14399 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14401 cat >>confdefs.h <<_ACEOF
14402 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14403 _ACEOF
14410 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14411 then
14412 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14413 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14414 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 else
14417 ac_check_soname_save_LIBS=$LIBS
14418 LIBS="-lfontconfig $LIBS"
14419 cat >conftest.$ac_ext <<_ACEOF
14420 /* confdefs.h. */
14421 _ACEOF
14422 cat confdefs.h >>conftest.$ac_ext
14423 cat >>conftest.$ac_ext <<_ACEOF
14424 /* end confdefs.h. */
14426 /* Override any GCC internal prototype to avoid an error.
14427 Use char because int might match the return type of a GCC
14428 builtin and then its argument prototype would still apply. */
14429 #ifdef __cplusplus
14430 extern "C"
14431 #endif
14432 char FcInit ();
14434 main ()
14436 return FcInit ();
14438 return 0;
14440 _ACEOF
14441 rm -f conftest.$ac_objext conftest$ac_exeext
14442 if { (ac_try="$ac_link"
14443 case "(($ac_try" in
14444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14445 *) ac_try_echo=$ac_try;;
14446 esac
14447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14448 (eval "$ac_link") 2>conftest.er1
14449 ac_status=$?
14450 grep -v '^ *+' conftest.er1 >conftest.err
14451 rm -f conftest.er1
14452 cat conftest.err >&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); } && {
14455 test -z "$ac_c_werror_flag" ||
14456 test ! -s conftest.err
14457 } && test -s conftest$ac_exeext &&
14458 $as_test_x conftest$ac_exeext; then
14459 case "$LIBEXT" in
14460 dll) ;;
14461 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'` ;;
14462 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14463 esac
14464 else
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.$ac_ext >&5
14471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14472 conftest$ac_exeext conftest.$ac_ext
14473 LIBS=$ac_check_soname_save_LIBS
14475 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14476 { echo "$as_me:$LINENO: result: not found" >&5
14477 echo "${ECHO_T}not found" >&6; }
14479 else
14480 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14481 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14483 cat >>confdefs.h <<_ACEOF
14484 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14485 _ACEOF
14491 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14492 wine_notices="$wine_notices|fontconfig development files not found.
14493 Wine will be built without fontconfig support."
14497 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14498 then
14499 { echo "$as_me:$LINENO: checking for -lssl" >&5
14500 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14501 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 else
14504 ac_check_soname_save_LIBS=$LIBS
14505 LIBS="-lssl $LIBS"
14506 cat >conftest.$ac_ext <<_ACEOF
14507 /* confdefs.h. */
14508 _ACEOF
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14513 /* Override any GCC internal prototype to avoid an error.
14514 Use char because int might match the return type of a GCC
14515 builtin and then its argument prototype would still apply. */
14516 #ifdef __cplusplus
14517 extern "C"
14518 #endif
14519 char SSL_library_init ();
14521 main ()
14523 return SSL_library_init ();
14525 return 0;
14527 _ACEOF
14528 rm -f conftest.$ac_objext conftest$ac_exeext
14529 if { (ac_try="$ac_link"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14533 esac
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_link") 2>conftest.er1
14536 ac_status=$?
14537 grep -v '^ *+' conftest.er1 >conftest.err
14538 rm -f conftest.er1
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } && {
14542 test -z "$ac_c_werror_flag" ||
14543 test ! -s conftest.err
14544 } && test -s conftest$ac_exeext &&
14545 $as_test_x conftest$ac_exeext; then
14546 case "$LIBEXT" in
14547 dll) ;;
14548 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'` ;;
14549 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14550 esac
14551 else
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.$ac_ext >&5
14558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_check_soname_save_LIBS
14562 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14563 { echo "$as_me:$LINENO: result: not found" >&5
14564 echo "${ECHO_T}not found" >&6; }
14566 else
14567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14568 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14570 cat >>confdefs.h <<_ACEOF
14571 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14572 _ACEOF
14577 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14578 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14579 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14580 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 else
14582 ac_check_soname_save_LIBS=$LIBS
14583 LIBS="-lcrypto $LIBS"
14584 cat >conftest.$ac_ext <<_ACEOF
14585 /* confdefs.h. */
14586 _ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 #ifdef __cplusplus
14595 extern "C"
14596 #endif
14597 char BIO_new_socket ();
14599 main ()
14601 return BIO_new_socket ();
14603 return 0;
14605 _ACEOF
14606 rm -f conftest.$ac_objext conftest$ac_exeext
14607 if { (ac_try="$ac_link"
14608 case "(($ac_try" in
14609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14610 *) ac_try_echo=$ac_try;;
14611 esac
14612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14613 (eval "$ac_link") 2>conftest.er1
14614 ac_status=$?
14615 grep -v '^ *+' conftest.er1 >conftest.err
14616 rm -f conftest.er1
14617 cat conftest.err >&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); } && {
14620 test -z "$ac_c_werror_flag" ||
14621 test ! -s conftest.err
14622 } && test -s conftest$ac_exeext &&
14623 $as_test_x conftest$ac_exeext; then
14624 case "$LIBEXT" in
14625 dll) ;;
14626 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'` ;;
14627 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14628 esac
14629 else
14630 echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.$ac_ext >&5
14636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14637 conftest$ac_exeext conftest.$ac_ext
14638 LIBS=$ac_check_soname_save_LIBS
14640 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14641 { echo "$as_me:$LINENO: result: not found" >&5
14642 echo "${ECHO_T}not found" >&6; }
14644 else
14645 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14646 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14648 cat >>confdefs.h <<_ACEOF
14649 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14650 _ACEOF
14656 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14657 wine_notices="$wine_notices|OpenSSL development files not found.
14658 Wine will be built without SSL support. (wininet.dll)"
14662 if test "$ac_cv_header_jpeglib_h" = "yes"
14663 then
14664 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14665 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14666 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14667 echo $ECHO_N "(cached) $ECHO_C" >&6
14668 else
14669 ac_check_soname_save_LIBS=$LIBS
14670 LIBS="-ljpeg $LIBS"
14671 cat >conftest.$ac_ext <<_ACEOF
14672 /* confdefs.h. */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14678 /* Override any GCC internal prototype to avoid an error.
14679 Use char because int might match the return type of a GCC
14680 builtin and then its argument prototype would still apply. */
14681 #ifdef __cplusplus
14682 extern "C"
14683 #endif
14684 char jpeg_start_decompress ();
14686 main ()
14688 return jpeg_start_decompress ();
14690 return 0;
14692 _ACEOF
14693 rm -f conftest.$ac_objext conftest$ac_exeext
14694 if { (ac_try="$ac_link"
14695 case "(($ac_try" in
14696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14697 *) ac_try_echo=$ac_try;;
14698 esac
14699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14700 (eval "$ac_link") 2>conftest.er1
14701 ac_status=$?
14702 grep -v '^ *+' conftest.er1 >conftest.err
14703 rm -f conftest.er1
14704 cat conftest.err >&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); } && {
14707 test -z "$ac_c_werror_flag" ||
14708 test ! -s conftest.err
14709 } && test -s conftest$ac_exeext &&
14710 $as_test_x conftest$ac_exeext; then
14711 case "$LIBEXT" in
14712 dll) ;;
14713 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'` ;;
14714 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14715 esac
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_soname_save_LIBS
14727 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14728 { echo "$as_me:$LINENO: result: not found" >&5
14729 echo "${ECHO_T}not found" >&6; }
14731 else
14732 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14733 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14735 cat >>confdefs.h <<_ACEOF
14736 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14737 _ACEOF
14743 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14744 wine_notices="$wine_notices|libjpeg development files not found.
14745 Wine will be built without JPEG support. (oleaut32.dll)"
14749 if test "$ac_cv_header_png_h" = "yes"
14750 then
14751 { echo "$as_me:$LINENO: checking for -lpng" >&5
14752 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14753 if test "${ac_cv_lib_soname_png+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14755 else
14756 ac_check_soname_save_LIBS=$LIBS
14757 LIBS="-lpng $LIBS"
14758 cat >conftest.$ac_ext <<_ACEOF
14759 /* confdefs.h. */
14760 _ACEOF
14761 cat confdefs.h >>conftest.$ac_ext
14762 cat >>conftest.$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14768 #ifdef __cplusplus
14769 extern "C"
14770 #endif
14771 char png_create_read_struct ();
14773 main ()
14775 return png_create_read_struct ();
14777 return 0;
14779 _ACEOF
14780 rm -f conftest.$ac_objext conftest$ac_exeext
14781 if { (ac_try="$ac_link"
14782 case "(($ac_try" in
14783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14784 *) ac_try_echo=$ac_try;;
14785 esac
14786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14787 (eval "$ac_link") 2>conftest.er1
14788 ac_status=$?
14789 grep -v '^ *+' conftest.er1 >conftest.err
14790 rm -f conftest.er1
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } && {
14794 test -z "$ac_c_werror_flag" ||
14795 test ! -s conftest.err
14796 } && test -s conftest$ac_exeext &&
14797 $as_test_x conftest$ac_exeext; then
14798 case "$LIBEXT" in
14799 dll) ;;
14800 dylib) ac_cv_lib_soname_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'` ;;
14801 *) 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'` ;;
14802 esac
14803 else
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.$ac_ext >&5
14810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14811 conftest$ac_exeext conftest.$ac_ext
14812 LIBS=$ac_check_soname_save_LIBS
14814 if test "x$ac_cv_lib_soname_png" = "x"; then
14815 { echo "$as_me:$LINENO: result: not found" >&5
14816 echo "${ECHO_T}not found" >&6; }
14818 else
14819 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14820 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14822 cat >>confdefs.h <<_ACEOF
14823 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14824 _ACEOF
14830 if test "x$ac_cv_lib_soname_png" = "x"; then
14831 wine_notices="$wine_notices|libpng development files not found.
14832 Wine will be built without PNG support. (oleaut32.dll)"
14836 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14837 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14838 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14839 "$ac_cv_header_soundcard_h" != "yes"; then
14840 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
14845 EXTRACFLAGS=""
14847 if test "x${GCC}" = "xyes"
14848 then
14849 EXTRACFLAGS="-Wall -pipe"
14851 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14852 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14853 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 else
14856 if test "$cross_compiling" = yes; then
14857 ac_cv_c_gcc_strength_bug="yes"
14858 else
14859 cat >conftest.$ac_ext <<_ACEOF
14860 /* confdefs.h. */
14861 _ACEOF
14862 cat confdefs.h >>conftest.$ac_ext
14863 cat >>conftest.$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14865 int L[4] = {0,1,2,3};
14867 main ()
14869 static int Array[3];
14870 unsigned int B = 3;
14871 int i;
14872 for(i=0; i<B; i++) Array[i] = i - 3;
14873 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14874 L[i] = 4;
14875 exit( Array[1] != -2 || L[2] != 3)
14877 return 0;
14879 _ACEOF
14880 rm -f conftest$ac_exeext
14881 if { (ac_try="$ac_link"
14882 case "(($ac_try" in
14883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14884 *) ac_try_echo=$ac_try;;
14885 esac
14886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14887 (eval "$ac_link") 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14891 { (case "(($ac_try" in
14892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14893 *) ac_try_echo=$ac_try;;
14894 esac
14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14896 (eval "$ac_try") 2>&5
14897 ac_status=$?
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; }; then
14900 ac_cv_c_gcc_strength_bug="no"
14901 else
14902 echo "$as_me: program exited with status $ac_status" >&5
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14906 ( exit $ac_status )
14907 ac_cv_c_gcc_strength_bug="yes"
14909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14914 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14915 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14916 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14917 then
14918 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14922 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14923 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14924 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 else
14927 ac_wine_try_cflags_saved=$CFLAGS
14928 CFLAGS="$CFLAGS -fshort-wchar"
14929 cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h. */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14937 main ()
14941 return 0;
14943 _ACEOF
14944 rm -f conftest.$ac_objext conftest$ac_exeext
14945 if { (ac_try="$ac_link"
14946 case "(($ac_try" in
14947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14948 *) ac_try_echo=$ac_try;;
14949 esac
14950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14951 (eval "$ac_link") 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } && {
14958 test -z "$ac_c_werror_flag" ||
14959 test ! -s conftest.err
14960 } && test -s conftest$ac_exeext &&
14961 $as_test_x conftest$ac_exeext; then
14962 ac_cv_cflags__fshort_wchar=yes
14963 else
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14967 ac_cv_cflags__fshort_wchar=no
14970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14971 conftest$ac_exeext conftest.$ac_ext
14972 CFLAGS=$ac_wine_try_cflags_saved
14974 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14975 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14976 if test $ac_cv_cflags__fshort_wchar = yes; then
14978 cat >>confdefs.h <<\_ACEOF
14979 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14980 _ACEOF
14984 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14985 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14986 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14988 else
14989 ac_wine_try_cflags_saved=$CFLAGS
14990 CFLAGS="$CFLAGS -fno-strict-aliasing"
14991 cat >conftest.$ac_ext <<_ACEOF
14992 /* confdefs.h. */
14993 _ACEOF
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
14999 main ()
15003 return 0;
15005 _ACEOF
15006 rm -f conftest.$ac_objext conftest$ac_exeext
15007 if { (ac_try="$ac_link"
15008 case "(($ac_try" in
15009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15010 *) ac_try_echo=$ac_try;;
15011 esac
15012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15013 (eval "$ac_link") 2>conftest.er1
15014 ac_status=$?
15015 grep -v '^ *+' conftest.er1 >conftest.err
15016 rm -f conftest.er1
15017 cat conftest.err >&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } && {
15020 test -z "$ac_c_werror_flag" ||
15021 test ! -s conftest.err
15022 } && test -s conftest$ac_exeext &&
15023 $as_test_x conftest$ac_exeext; then
15024 ac_cv_cflags__fno_strict_aliasing=yes
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 ac_cv_cflags__fno_strict_aliasing=no
15032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15033 conftest$ac_exeext conftest.$ac_ext
15034 CFLAGS=$ac_wine_try_cflags_saved
15036 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15037 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15038 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15039 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15042 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15043 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15044 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 else
15047 ac_wine_try_cflags_saved=$CFLAGS
15048 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h. */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15057 main ()
15061 return 0;
15063 _ACEOF
15064 rm -f conftest.$ac_objext conftest$ac_exeext
15065 if { (ac_try="$ac_link"
15066 case "(($ac_try" in
15067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15068 *) ac_try_echo=$ac_try;;
15069 esac
15070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15071 (eval "$ac_link") 2>conftest.er1
15072 ac_status=$?
15073 grep -v '^ *+' conftest.er1 >conftest.err
15074 rm -f conftest.er1
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } && {
15078 test -z "$ac_c_werror_flag" ||
15079 test ! -s conftest.err
15080 } && test -s conftest$ac_exeext &&
15081 $as_test_x conftest$ac_exeext; then
15082 ac_cv_cflags__Wdeclaration_after_statement=yes
15083 else
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15087 ac_cv_cflags__Wdeclaration_after_statement=no
15090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15091 conftest$ac_exeext conftest.$ac_ext
15092 CFLAGS=$ac_wine_try_cflags_saved
15094 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15095 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15096 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15097 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15100 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15101 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15102 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 ac_wine_try_cflags_saved=$CFLAGS
15106 CFLAGS="$CFLAGS -Wwrite-strings"
15107 cat >conftest.$ac_ext <<_ACEOF
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15115 main ()
15119 return 0;
15121 _ACEOF
15122 rm -f conftest.$ac_objext conftest$ac_exeext
15123 if { (ac_try="$ac_link"
15124 case "(($ac_try" in
15125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15127 esac
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_link") 2>conftest.er1
15130 ac_status=$?
15131 grep -v '^ *+' conftest.er1 >conftest.err
15132 rm -f conftest.er1
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } && {
15136 test -z "$ac_c_werror_flag" ||
15137 test ! -s conftest.err
15138 } && test -s conftest$ac_exeext &&
15139 $as_test_x conftest$ac_exeext; then
15140 ac_cv_cflags__Wwrite_strings=yes
15141 else
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.$ac_ext >&5
15145 ac_cv_cflags__Wwrite_strings=no
15148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15149 conftest$ac_exeext conftest.$ac_ext
15150 CFLAGS=$ac_wine_try_cflags_saved
15152 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15153 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15154 if test $ac_cv_cflags__Wwrite_strings = yes; then
15155 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15159 saved_CFLAGS="$CFLAGS"
15160 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15161 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15162 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15163 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15164 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 else
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 #include <string.h>
15174 main ()
15178 return 0;
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (ac_try="$ac_compile"
15183 case "(($ac_try" in
15184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15185 *) ac_try_echo=$ac_try;;
15186 esac
15187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15189 ac_status=$?
15190 grep -v '^ *+' conftest.er1 >conftest.err
15191 rm -f conftest.er1
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 ac_cv_c_string_h_warnings=no
15199 else
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15203 ac_cv_c_string_h_warnings=yes
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15208 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15209 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15210 CFLAGS="$saved_CFLAGS"
15211 if test "$ac_cv_c_string_h_warnings" = "no"
15212 then
15213 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15216 BUILTINFLAG=""
15218 saved_CFLAGS="$CFLAGS"
15219 CFLAGS="$CFLAGS -Werror"
15220 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15221 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15222 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 else
15225 cat >conftest.$ac_ext <<_ACEOF
15226 /* confdefs.h. */
15227 _ACEOF
15228 cat confdefs.h >>conftest.$ac_ext
15229 cat >>conftest.$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15233 main ()
15235 int iswlower(unsigned short);
15237 return 0;
15239 _ACEOF
15240 rm -f conftest.$ac_objext
15241 if { (ac_try="$ac_compile"
15242 case "(($ac_try" in
15243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15244 *) ac_try_echo=$ac_try;;
15245 esac
15246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15247 (eval "$ac_compile") 2>conftest.er1
15248 ac_status=$?
15249 grep -v '^ *+' conftest.er1 >conftest.err
15250 rm -f conftest.er1
15251 cat conftest.err >&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } && {
15254 test -z "$ac_c_werror_flag" ||
15255 test ! -s conftest.err
15256 } && test -s conftest.$ac_objext; then
15257 ac_cv_c_builtin_wchar_ctype=no
15258 else
15259 echo "$as_me: failed program was:" >&5
15260 sed 's/^/| /' conftest.$ac_ext >&5
15262 ac_cv_c_builtin_wchar_ctype=yes
15265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15268 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15269 CFLAGS="$saved_CFLAGS"
15270 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15271 then
15272 BUILTINFLAG="-fno-builtin"
15277 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15278 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15279 if test "${ac_cv_asm_func_def+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15281 else
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15290 main ()
15292 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15294 return 0;
15296 _ACEOF
15297 rm -f conftest.$ac_objext conftest$ac_exeext
15298 if { (ac_try="$ac_link"
15299 case "(($ac_try" in
15300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15301 *) ac_try_echo=$ac_try;;
15302 esac
15303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15304 (eval "$ac_link") 2>conftest.er1
15305 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } && {
15311 test -z "$ac_c_werror_flag" ||
15312 test ! -s conftest.err
15313 } && test -s conftest$ac_exeext &&
15314 $as_test_x conftest$ac_exeext; then
15315 ac_cv_asm_func_def=".def"
15316 else
15317 echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.$ac_ext >&5
15320 cat >conftest.$ac_ext <<_ACEOF
15321 /* confdefs.h. */
15322 _ACEOF
15323 cat confdefs.h >>conftest.$ac_ext
15324 cat >>conftest.$ac_ext <<_ACEOF
15325 /* end confdefs.h. */
15328 main ()
15330 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15332 return 0;
15334 _ACEOF
15335 rm -f conftest.$ac_objext conftest$ac_exeext
15336 if { (ac_try="$ac_link"
15337 case "(($ac_try" in
15338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15339 *) ac_try_echo=$ac_try;;
15340 esac
15341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15342 (eval "$ac_link") 2>conftest.er1
15343 ac_status=$?
15344 grep -v '^ *+' conftest.er1 >conftest.err
15345 rm -f conftest.er1
15346 cat conftest.err >&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } && {
15349 test -z "$ac_c_werror_flag" ||
15350 test ! -s conftest.err
15351 } && test -s conftest$ac_exeext &&
15352 $as_test_x conftest$ac_exeext; then
15353 ac_cv_asm_func_def=".type @function"
15354 else
15355 echo "$as_me: failed program was:" >&5
15356 sed 's/^/| /' conftest.$ac_ext >&5
15358 cat >conftest.$ac_ext <<_ACEOF
15359 /* confdefs.h. */
15360 _ACEOF
15361 cat confdefs.h >>conftest.$ac_ext
15362 cat >>conftest.$ac_ext <<_ACEOF
15363 /* end confdefs.h. */
15366 main ()
15368 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15370 return 0;
15372 _ACEOF
15373 rm -f conftest.$ac_objext conftest$ac_exeext
15374 if { (ac_try="$ac_link"
15375 case "(($ac_try" in
15376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15377 *) ac_try_echo=$ac_try;;
15378 esac
15379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15380 (eval "$ac_link") 2>conftest.er1
15381 ac_status=$?
15382 grep -v '^ *+' conftest.er1 >conftest.err
15383 rm -f conftest.er1
15384 cat conftest.err >&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); } && {
15387 test -z "$ac_c_werror_flag" ||
15388 test ! -s conftest.err
15389 } && test -s conftest$ac_exeext &&
15390 $as_test_x conftest$ac_exeext; then
15391 ac_cv_asm_func_def=".type 2"
15392 else
15393 echo "$as_me: failed program was:" >&5
15394 sed 's/^/| /' conftest.$ac_ext >&5
15396 ac_cv_asm_func_def="unknown"
15399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15400 conftest$ac_exeext conftest.$ac_ext
15403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15404 conftest$ac_exeext conftest.$ac_ext
15407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408 conftest$ac_exeext conftest.$ac_ext
15410 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15411 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15415 case "$ac_cv_asm_func_def" in
15416 ".def")
15417 cat >>confdefs.h <<\_ACEOF
15418 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15419 _ACEOF
15421 ".type @function")
15422 cat >>confdefs.h <<\_ACEOF
15423 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15424 _ACEOF
15426 ".type 2")
15427 cat >>confdefs.h <<\_ACEOF
15428 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15429 _ACEOF
15432 cat >>confdefs.h <<\_ACEOF
15433 #define __ASM_FUNC(name) ""
15434 _ACEOF
15436 esac
15439 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15440 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15441 if test "${ac_cv_c_extern_prefix+set}" = set; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 else
15444 cat >conftest.$ac_ext <<_ACEOF
15445 /* confdefs.h. */
15446 _ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h. */
15450 extern int ac_test;
15452 main ()
15454 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15456 return 0;
15458 _ACEOF
15459 rm -f conftest.$ac_objext conftest$ac_exeext
15460 if { (ac_try="$ac_link"
15461 case "(($ac_try" in
15462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15463 *) ac_try_echo=$ac_try;;
15464 esac
15465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15466 (eval "$ac_link") 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest$ac_exeext &&
15476 $as_test_x conftest$ac_exeext; then
15477 ac_cv_c_extern_prefix="yes"
15478 else
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15482 ac_cv_c_extern_prefix="no"
15485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15486 conftest$ac_exeext conftest.$ac_ext
15488 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15489 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15493 if test "$ac_cv_c_extern_prefix" = "yes"
15494 then
15495 cat >>confdefs.h <<\_ACEOF
15496 #define __ASM_NAME(name) "_" name
15497 _ACEOF
15499 else
15500 cat >>confdefs.h <<\_ACEOF
15501 #define __ASM_NAME(name) name
15502 _ACEOF
15507 LDPATH=""
15509 case $build_os in
15510 cygwin*|mingw32*)
15511 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15513 darwin*|macosx*)
15515 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15516 then
15517 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15521 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15523 esac
15525 case $host_os in
15526 mingw32*)
15527 CRTLIBS="-lmsvcrt"
15529 SOCKETLIBS="-lws2_32"
15532 esac
15534 MAIN_BINARY="wine-pthread"
15535 case $host_cpu in
15536 *i[3456789]86*)
15537 case $host_os in
15538 linux* | k*bsd*-gnu)
15539 MAIN_BINARY="wine-glibc"
15541 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15543 freebsd*)
15544 MAIN_BINARY="wine-freebsd"
15546 EXTRA_BINARIES="wine-pthread"
15548 esac
15550 esac
15615 for ac_func in \
15616 _pclose \
15617 _popen \
15618 _snprintf \
15619 _spawnvp \
15620 _stricmp \
15621 _strnicmp \
15622 _vsnprintf \
15623 asctime_r \
15624 chsize \
15625 clone \
15626 dlopen \
15627 epoll_create \
15628 ffs \
15629 finite \
15630 fork \
15631 fpclass \
15632 fstatfs \
15633 fstatvfs \
15634 ftruncate \
15635 futimes \
15636 futimesat \
15637 getdirentries \
15638 getopt_long \
15639 getpagesize \
15640 getpwuid \
15641 gettid \
15642 gettimeofday \
15643 getuid \
15644 inet_pton \
15645 kqueue \
15646 lstat \
15647 memmove \
15648 mmap \
15649 pclose \
15650 poll \
15651 popen \
15652 prctl \
15653 pread \
15654 pwrite \
15655 readlink \
15656 rfork \
15657 sched_yield \
15658 select \
15659 setrlimit \
15660 settimeofday \
15661 sigaltstack \
15662 sigprocmask \
15663 snprintf \
15664 spawnvp \
15665 statfs \
15666 statvfs \
15667 strcasecmp \
15668 strerror \
15669 strncasecmp \
15670 strtold \
15671 tcgetattr \
15672 thr_kill2 \
15673 timegm \
15674 usleep \
15675 vsnprintf \
15676 wait4 \
15677 waitpid \
15680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15681 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15683 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15684 echo $ECHO_N "(cached) $ECHO_C" >&6
15685 else
15686 cat >conftest.$ac_ext <<_ACEOF
15687 /* confdefs.h. */
15688 _ACEOF
15689 cat confdefs.h >>conftest.$ac_ext
15690 cat >>conftest.$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15694 #define $ac_func innocuous_$ac_func
15696 /* System header to define __stub macros and hopefully few prototypes,
15697 which can conflict with char $ac_func (); below.
15698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15699 <limits.h> exists even on freestanding compilers. */
15701 #ifdef __STDC__
15702 # include <limits.h>
15703 #else
15704 # include <assert.h>
15705 #endif
15707 #undef $ac_func
15709 /* Override any GCC internal prototype to avoid an error.
15710 Use char because int might match the return type of a GCC
15711 builtin and then its argument prototype would still apply. */
15712 #ifdef __cplusplus
15713 extern "C"
15714 #endif
15715 char $ac_func ();
15716 /* The GNU C library defines this for functions which it implements
15717 to always fail with ENOSYS. Some functions are actually named
15718 something starting with __ and the normal name is an alias. */
15719 #if defined __stub_$ac_func || defined __stub___$ac_func
15720 choke me
15721 #endif
15724 main ()
15726 return $ac_func ();
15728 return 0;
15730 _ACEOF
15731 rm -f conftest.$ac_objext conftest$ac_exeext
15732 if { (ac_try="$ac_link"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_link") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest$ac_exeext &&
15748 $as_test_x conftest$ac_exeext; then
15749 eval "$as_ac_var=yes"
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 eval "$as_ac_var=no"
15757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15758 conftest$ac_exeext conftest.$ac_ext
15760 ac_res=`eval echo '${'$as_ac_var'}'`
15761 { echo "$as_me:$LINENO: result: $ac_res" >&5
15762 echo "${ECHO_T}$ac_res" >&6; }
15763 if test `eval echo '${'$as_ac_var'}'` = yes; then
15764 cat >>confdefs.h <<_ACEOF
15765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15766 _ACEOF
15769 done
15772 if test "$ac_cv_func_dlopen" = no
15773 then
15774 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15775 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15776 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15778 else
15779 ac_check_lib_save_LIBS=$LIBS
15780 LIBS="-ldl $LIBS"
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15788 /* Override any GCC internal prototype to avoid an error.
15789 Use char because int might match the return type of a GCC
15790 builtin and then its argument prototype would still apply. */
15791 #ifdef __cplusplus
15792 extern "C"
15793 #endif
15794 char dlopen ();
15796 main ()
15798 return dlopen ();
15800 return 0;
15802 _ACEOF
15803 rm -f conftest.$ac_objext conftest$ac_exeext
15804 if { (ac_try="$ac_link"
15805 case "(($ac_try" in
15806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15807 *) ac_try_echo=$ac_try;;
15808 esac
15809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15810 (eval "$ac_link") 2>conftest.er1
15811 ac_status=$?
15812 grep -v '^ *+' conftest.er1 >conftest.err
15813 rm -f conftest.er1
15814 cat conftest.err >&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } && {
15817 test -z "$ac_c_werror_flag" ||
15818 test ! -s conftest.err
15819 } && test -s conftest$ac_exeext &&
15820 $as_test_x conftest$ac_exeext; then
15821 ac_cv_lib_dl_dlopen=yes
15822 else
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.$ac_ext >&5
15826 ac_cv_lib_dl_dlopen=no
15829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15830 conftest$ac_exeext conftest.$ac_ext
15831 LIBS=$ac_check_lib_save_LIBS
15833 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15834 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15835 if test $ac_cv_lib_dl_dlopen = yes; then
15836 cat >>confdefs.h <<\_ACEOF
15837 #define HAVE_DLOPEN 1
15838 _ACEOF
15839 LIBDL="-ldl"
15844 ac_wine_check_funcs_save_LIBS="$LIBS"
15845 LIBS="$LIBS $LIBDL"
15847 for ac_func in dladdr
15849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15852 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15854 else
15855 cat >conftest.$ac_ext <<_ACEOF
15856 /* confdefs.h. */
15857 _ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15863 #define $ac_func innocuous_$ac_func
15865 /* System header to define __stub macros and hopefully few prototypes,
15866 which can conflict with char $ac_func (); below.
15867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15868 <limits.h> exists even on freestanding compilers. */
15870 #ifdef __STDC__
15871 # include <limits.h>
15872 #else
15873 # include <assert.h>
15874 #endif
15876 #undef $ac_func
15878 /* Override any GCC internal prototype to avoid an error.
15879 Use char because int might match the return type of a GCC
15880 builtin and then its argument prototype would still apply. */
15881 #ifdef __cplusplus
15882 extern "C"
15883 #endif
15884 char $ac_func ();
15885 /* The GNU C library defines this for functions which it implements
15886 to always fail with ENOSYS. Some functions are actually named
15887 something starting with __ and the normal name is an alias. */
15888 #if defined __stub_$ac_func || defined __stub___$ac_func
15889 choke me
15890 #endif
15893 main ()
15895 return $ac_func ();
15897 return 0;
15899 _ACEOF
15900 rm -f conftest.$ac_objext conftest$ac_exeext
15901 if { (ac_try="$ac_link"
15902 case "(($ac_try" in
15903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15904 *) ac_try_echo=$ac_try;;
15905 esac
15906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15907 (eval "$ac_link") 2>conftest.er1
15908 ac_status=$?
15909 grep -v '^ *+' conftest.er1 >conftest.err
15910 rm -f conftest.er1
15911 cat conftest.err >&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } && {
15914 test -z "$ac_c_werror_flag" ||
15915 test ! -s conftest.err
15916 } && test -s conftest$ac_exeext &&
15917 $as_test_x conftest$ac_exeext; then
15918 eval "$as_ac_var=yes"
15919 else
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.$ac_ext >&5
15923 eval "$as_ac_var=no"
15926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15927 conftest$ac_exeext conftest.$ac_ext
15929 ac_res=`eval echo '${'$as_ac_var'}'`
15930 { echo "$as_me:$LINENO: result: $ac_res" >&5
15931 echo "${ECHO_T}$ac_res" >&6; }
15932 if test `eval echo '${'$as_ac_var'}'` = yes; then
15933 cat >>confdefs.h <<_ACEOF
15934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15935 _ACEOF
15938 done
15940 LIBS="$ac_wine_check_funcs_save_LIBS"
15942 if test "$ac_cv_func_poll" = no
15943 then
15944 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15945 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15946 if test "${ac_cv_lib_poll_poll+set}" = set; then
15947 echo $ECHO_N "(cached) $ECHO_C" >&6
15948 else
15949 ac_check_lib_save_LIBS=$LIBS
15950 LIBS="-lpoll $LIBS"
15951 cat >conftest.$ac_ext <<_ACEOF
15952 /* confdefs.h. */
15953 _ACEOF
15954 cat confdefs.h >>conftest.$ac_ext
15955 cat >>conftest.$ac_ext <<_ACEOF
15956 /* end confdefs.h. */
15958 /* Override any GCC internal prototype to avoid an error.
15959 Use char because int might match the return type of a GCC
15960 builtin and then its argument prototype would still apply. */
15961 #ifdef __cplusplus
15962 extern "C"
15963 #endif
15964 char poll ();
15966 main ()
15968 return poll ();
15970 return 0;
15972 _ACEOF
15973 rm -f conftest.$ac_objext conftest$ac_exeext
15974 if { (ac_try="$ac_link"
15975 case "(($ac_try" in
15976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15977 *) ac_try_echo=$ac_try;;
15978 esac
15979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15980 (eval "$ac_link") 2>conftest.er1
15981 ac_status=$?
15982 grep -v '^ *+' conftest.er1 >conftest.err
15983 rm -f conftest.er1
15984 cat conftest.err >&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); } && {
15987 test -z "$ac_c_werror_flag" ||
15988 test ! -s conftest.err
15989 } && test -s conftest$ac_exeext &&
15990 $as_test_x conftest$ac_exeext; then
15991 ac_cv_lib_poll_poll=yes
15992 else
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.$ac_ext >&5
15996 ac_cv_lib_poll_poll=no
15999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16000 conftest$ac_exeext conftest.$ac_ext
16001 LIBS=$ac_check_lib_save_LIBS
16003 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16004 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16005 if test $ac_cv_lib_poll_poll = yes; then
16006 cat >>confdefs.h <<\_ACEOF
16007 #define HAVE_POLL 1
16008 _ACEOF
16009 LIBPOLL="-lpoll"
16015 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16016 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16017 if test "${ac_cv_search_gethostbyname+set}" = set; then
16018 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 else
16020 ac_func_search_save_LIBS=$LIBS
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16028 /* Override any GCC internal prototype to avoid an error.
16029 Use char because int might match the return type of a GCC
16030 builtin and then its argument prototype would still apply. */
16031 #ifdef __cplusplus
16032 extern "C"
16033 #endif
16034 char gethostbyname ();
16036 main ()
16038 return gethostbyname ();
16040 return 0;
16042 _ACEOF
16043 for ac_lib in '' nsl; do
16044 if test -z "$ac_lib"; then
16045 ac_res="none required"
16046 else
16047 ac_res=-l$ac_lib
16048 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16050 rm -f conftest.$ac_objext conftest$ac_exeext
16051 if { (ac_try="$ac_link"
16052 case "(($ac_try" in
16053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16054 *) ac_try_echo=$ac_try;;
16055 esac
16056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16057 (eval "$ac_link") 2>conftest.er1
16058 ac_status=$?
16059 grep -v '^ *+' conftest.er1 >conftest.err
16060 rm -f conftest.er1
16061 cat conftest.err >&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } && {
16064 test -z "$ac_c_werror_flag" ||
16065 test ! -s conftest.err
16066 } && test -s conftest$ac_exeext &&
16067 $as_test_x conftest$ac_exeext; then
16068 ac_cv_search_gethostbyname=$ac_res
16069 else
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16077 conftest$ac_exeext
16078 if test "${ac_cv_search_gethostbyname+set}" = set; then
16079 break
16081 done
16082 if test "${ac_cv_search_gethostbyname+set}" = set; then
16084 else
16085 ac_cv_search_gethostbyname=no
16087 rm conftest.$ac_ext
16088 LIBS=$ac_func_search_save_LIBS
16090 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16091 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16092 ac_res=$ac_cv_search_gethostbyname
16093 if test "$ac_res" != no; then
16094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16099 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16100 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16101 if test "${ac_cv_search_connect+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 else
16104 ac_func_search_save_LIBS=$LIBS
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char connect ();
16120 main ()
16122 return connect ();
16124 return 0;
16126 _ACEOF
16127 for ac_lib in '' socket; do
16128 if test -z "$ac_lib"; then
16129 ac_res="none required"
16130 else
16131 ac_res=-l$ac_lib
16132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16134 rm -f conftest.$ac_objext conftest$ac_exeext
16135 if { (ac_try="$ac_link"
16136 case "(($ac_try" in
16137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16138 *) ac_try_echo=$ac_try;;
16139 esac
16140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16141 (eval "$ac_link") 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } && {
16148 test -z "$ac_c_werror_flag" ||
16149 test ! -s conftest.err
16150 } && test -s conftest$ac_exeext &&
16151 $as_test_x conftest$ac_exeext; then
16152 ac_cv_search_connect=$ac_res
16153 else
16154 echo "$as_me: failed program was:" >&5
16155 sed 's/^/| /' conftest.$ac_ext >&5
16160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16161 conftest$ac_exeext
16162 if test "${ac_cv_search_connect+set}" = set; then
16163 break
16165 done
16166 if test "${ac_cv_search_connect+set}" = set; then
16168 else
16169 ac_cv_search_connect=no
16171 rm conftest.$ac_ext
16172 LIBS=$ac_func_search_save_LIBS
16174 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16175 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16176 ac_res=$ac_cv_search_connect
16177 if test "$ac_res" != no; then
16178 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16184 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16185 if test "${ac_cv_search_inet_aton+set}" = set; then
16186 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 else
16188 ac_func_search_save_LIBS=$LIBS
16189 cat >conftest.$ac_ext <<_ACEOF
16190 /* confdefs.h. */
16191 _ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16196 /* Override any GCC internal prototype to avoid an error.
16197 Use char because int might match the return type of a GCC
16198 builtin and then its argument prototype would still apply. */
16199 #ifdef __cplusplus
16200 extern "C"
16201 #endif
16202 char inet_aton ();
16204 main ()
16206 return inet_aton ();
16208 return 0;
16210 _ACEOF
16211 for ac_lib in '' resolv; do
16212 if test -z "$ac_lib"; then
16213 ac_res="none required"
16214 else
16215 ac_res=-l$ac_lib
16216 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16218 rm -f conftest.$ac_objext conftest$ac_exeext
16219 if { (ac_try="$ac_link"
16220 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16223 esac
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_link") 2>conftest.er1
16226 ac_status=$?
16227 grep -v '^ *+' conftest.er1 >conftest.err
16228 rm -f conftest.er1
16229 cat conftest.err >&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } && {
16232 test -z "$ac_c_werror_flag" ||
16233 test ! -s conftest.err
16234 } && test -s conftest$ac_exeext &&
16235 $as_test_x conftest$ac_exeext; then
16236 ac_cv_search_inet_aton=$ac_res
16237 else
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16245 conftest$ac_exeext
16246 if test "${ac_cv_search_inet_aton+set}" = set; then
16247 break
16249 done
16250 if test "${ac_cv_search_inet_aton+set}" = set; then
16252 else
16253 ac_cv_search_inet_aton=no
16255 rm conftest.$ac_ext
16256 LIBS=$ac_func_search_save_LIBS
16258 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16259 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16260 ac_res=$ac_cv_search_inet_aton
16261 if test "$ac_res" != no; then
16262 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16275 for ac_func in \
16276 getaddrinfo \
16277 getnameinfo \
16278 getnetbyname \
16279 getprotobyname \
16280 getprotobynumber \
16281 getservbyport \
16282 inet_network \
16283 sendmsg \
16286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16290 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 else
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16300 #define $ac_func innocuous_$ac_func
16302 /* System header to define __stub macros and hopefully few prototypes,
16303 which can conflict with char $ac_func (); below.
16304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16305 <limits.h> exists even on freestanding compilers. */
16307 #ifdef __STDC__
16308 # include <limits.h>
16309 #else
16310 # include <assert.h>
16311 #endif
16313 #undef $ac_func
16315 /* Override any GCC internal prototype to avoid an error.
16316 Use char because int might match the return type of a GCC
16317 builtin and then its argument prototype would still apply. */
16318 #ifdef __cplusplus
16319 extern "C"
16320 #endif
16321 char $ac_func ();
16322 /* The GNU C library defines this for functions which it implements
16323 to always fail with ENOSYS. Some functions are actually named
16324 something starting with __ and the normal name is an alias. */
16325 #if defined __stub_$ac_func || defined __stub___$ac_func
16326 choke me
16327 #endif
16330 main ()
16332 return $ac_func ();
16334 return 0;
16336 _ACEOF
16337 rm -f conftest.$ac_objext conftest$ac_exeext
16338 if { (ac_try="$ac_link"
16339 case "(($ac_try" in
16340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16341 *) ac_try_echo=$ac_try;;
16342 esac
16343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16344 (eval "$ac_link") 2>conftest.er1
16345 ac_status=$?
16346 grep -v '^ *+' conftest.er1 >conftest.err
16347 rm -f conftest.er1
16348 cat conftest.err >&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } && {
16351 test -z "$ac_c_werror_flag" ||
16352 test ! -s conftest.err
16353 } && test -s conftest$ac_exeext &&
16354 $as_test_x conftest$ac_exeext; then
16355 eval "$as_ac_var=yes"
16356 else
16357 echo "$as_me: failed program was:" >&5
16358 sed 's/^/| /' conftest.$ac_ext >&5
16360 eval "$as_ac_var=no"
16363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16364 conftest$ac_exeext conftest.$ac_ext
16366 ac_res=`eval echo '${'$as_ac_var'}'`
16367 { echo "$as_me:$LINENO: result: $ac_res" >&5
16368 echo "${ECHO_T}$ac_res" >&6; }
16369 if test `eval echo '${'$as_ac_var'}'` = yes; then
16370 cat >>confdefs.h <<_ACEOF
16371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16372 _ACEOF
16375 done
16379 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16380 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16381 if test "${ac_cv_c_const+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 else
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16392 main ()
16394 /* FIXME: Include the comments suggested by Paul. */
16395 #ifndef __cplusplus
16396 /* Ultrix mips cc rejects this. */
16397 typedef int charset[2];
16398 const charset cs;
16399 /* SunOS 4.1.1 cc rejects this. */
16400 char const *const *pcpcc;
16401 char **ppc;
16402 /* NEC SVR4.0.2 mips cc rejects this. */
16403 struct point {int x, y;};
16404 static struct point const zero = {0,0};
16405 /* AIX XL C 1.02.0.0 rejects this.
16406 It does not let you subtract one const X* pointer from another in
16407 an arm of an if-expression whose if-part is not a constant
16408 expression */
16409 const char *g = "string";
16410 pcpcc = &g + (g ? g-g : 0);
16411 /* HPUX 7.0 cc rejects these. */
16412 ++pcpcc;
16413 ppc = (char**) pcpcc;
16414 pcpcc = (char const *const *) ppc;
16415 { /* SCO 3.2v4 cc rejects this. */
16416 char *t;
16417 char const *s = 0 ? (char *) 0 : (char const *) 0;
16419 *t++ = 0;
16420 if (s) return 0;
16422 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16423 int x[] = {25, 17};
16424 const int *foo = &x[0];
16425 ++foo;
16427 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16428 typedef const int *iptr;
16429 iptr p = 0;
16430 ++p;
16432 { /* AIX XL C 1.02.0.0 rejects this saying
16433 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16434 struct s { int j; const int *ap[3]; };
16435 struct s *b; b->j = 5;
16437 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16438 const int foo = 10;
16439 if (!foo) return 0;
16441 return !cs[0] && !zero.x;
16442 #endif
16445 return 0;
16447 _ACEOF
16448 rm -f conftest.$ac_objext
16449 if { (ac_try="$ac_compile"
16450 case "(($ac_try" in
16451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16452 *) ac_try_echo=$ac_try;;
16453 esac
16454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16455 (eval "$ac_compile") 2>conftest.er1
16456 ac_status=$?
16457 grep -v '^ *+' conftest.er1 >conftest.err
16458 rm -f conftest.er1
16459 cat conftest.err >&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } && {
16462 test -z "$ac_c_werror_flag" ||
16463 test ! -s conftest.err
16464 } && test -s conftest.$ac_objext; then
16465 ac_cv_c_const=yes
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 ac_cv_c_const=no
16473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16475 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16476 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16477 if test $ac_cv_c_const = no; then
16479 cat >>confdefs.h <<\_ACEOF
16480 #define const
16481 _ACEOF
16485 { echo "$as_me:$LINENO: checking for inline" >&5
16486 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16487 if test "${ac_cv_c_inline+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 else
16490 ac_cv_c_inline=no
16491 for ac_kw in inline __inline__ __inline; do
16492 cat >conftest.$ac_ext <<_ACEOF
16493 /* confdefs.h. */
16494 _ACEOF
16495 cat confdefs.h >>conftest.$ac_ext
16496 cat >>conftest.$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16498 #ifndef __cplusplus
16499 typedef int foo_t;
16500 static $ac_kw foo_t static_foo () {return 0; }
16501 $ac_kw foo_t foo () {return 0; }
16502 #endif
16504 _ACEOF
16505 rm -f conftest.$ac_objext
16506 if { (ac_try="$ac_compile"
16507 case "(($ac_try" in
16508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16509 *) ac_try_echo=$ac_try;;
16510 esac
16511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16512 (eval "$ac_compile") 2>conftest.er1
16513 ac_status=$?
16514 grep -v '^ *+' conftest.er1 >conftest.err
16515 rm -f conftest.er1
16516 cat conftest.err >&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } && {
16519 test -z "$ac_c_werror_flag" ||
16520 test ! -s conftest.err
16521 } && test -s conftest.$ac_objext; then
16522 ac_cv_c_inline=$ac_kw
16523 else
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16531 test "$ac_cv_c_inline" != no && break
16532 done
16535 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16536 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16539 case $ac_cv_c_inline in
16540 inline | yes) ;;
16542 case $ac_cv_c_inline in
16543 no) ac_val=;;
16544 *) ac_val=$ac_cv_c_inline;;
16545 esac
16546 cat >>confdefs.h <<_ACEOF
16547 #ifndef __cplusplus
16548 #define inline $ac_val
16549 #endif
16550 _ACEOF
16552 esac
16554 { echo "$as_me:$LINENO: checking for mode_t" >&5
16555 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16556 if test "${ac_cv_type_mode_t+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 else
16559 cat >conftest.$ac_ext <<_ACEOF
16560 /* confdefs.h. */
16561 _ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16565 $ac_includes_default
16566 typedef mode_t ac__type_new_;
16568 main ()
16570 if ((ac__type_new_ *) 0)
16571 return 0;
16572 if (sizeof (ac__type_new_))
16573 return 0;
16575 return 0;
16577 _ACEOF
16578 rm -f conftest.$ac_objext
16579 if { (ac_try="$ac_compile"
16580 case "(($ac_try" in
16581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16582 *) ac_try_echo=$ac_try;;
16583 esac
16584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16585 (eval "$ac_compile") 2>conftest.er1
16586 ac_status=$?
16587 grep -v '^ *+' conftest.er1 >conftest.err
16588 rm -f conftest.er1
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } && {
16592 test -z "$ac_c_werror_flag" ||
16593 test ! -s conftest.err
16594 } && test -s conftest.$ac_objext; then
16595 ac_cv_type_mode_t=yes
16596 else
16597 echo "$as_me: failed program was:" >&5
16598 sed 's/^/| /' conftest.$ac_ext >&5
16600 ac_cv_type_mode_t=no
16603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16605 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16606 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16607 if test $ac_cv_type_mode_t = yes; then
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_MODE_T 1
16611 _ACEOF
16615 { echo "$as_me:$LINENO: checking for off_t" >&5
16616 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16617 if test "${ac_cv_type_off_t+set}" = set; then
16618 echo $ECHO_N "(cached) $ECHO_C" >&6
16619 else
16620 cat >conftest.$ac_ext <<_ACEOF
16621 /* confdefs.h. */
16622 _ACEOF
16623 cat confdefs.h >>conftest.$ac_ext
16624 cat >>conftest.$ac_ext <<_ACEOF
16625 /* end confdefs.h. */
16626 $ac_includes_default
16627 typedef off_t ac__type_new_;
16629 main ()
16631 if ((ac__type_new_ *) 0)
16632 return 0;
16633 if (sizeof (ac__type_new_))
16634 return 0;
16636 return 0;
16638 _ACEOF
16639 rm -f conftest.$ac_objext
16640 if { (ac_try="$ac_compile"
16641 case "(($ac_try" in
16642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16643 *) ac_try_echo=$ac_try;;
16644 esac
16645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16646 (eval "$ac_compile") 2>conftest.er1
16647 ac_status=$?
16648 grep -v '^ *+' conftest.er1 >conftest.err
16649 rm -f conftest.er1
16650 cat conftest.err >&5
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); } && {
16653 test -z "$ac_c_werror_flag" ||
16654 test ! -s conftest.err
16655 } && test -s conftest.$ac_objext; then
16656 ac_cv_type_off_t=yes
16657 else
16658 echo "$as_me: failed program was:" >&5
16659 sed 's/^/| /' conftest.$ac_ext >&5
16661 ac_cv_type_off_t=no
16664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16666 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16667 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16668 if test $ac_cv_type_off_t = yes; then
16670 cat >>confdefs.h <<_ACEOF
16671 #define HAVE_OFF_T 1
16672 _ACEOF
16676 { echo "$as_me:$LINENO: checking for pid_t" >&5
16677 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16678 if test "${ac_cv_type_pid_t+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16681 cat >conftest.$ac_ext <<_ACEOF
16682 /* confdefs.h. */
16683 _ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687 $ac_includes_default
16688 typedef pid_t ac__type_new_;
16690 main ()
16692 if ((ac__type_new_ *) 0)
16693 return 0;
16694 if (sizeof (ac__type_new_))
16695 return 0;
16697 return 0;
16699 _ACEOF
16700 rm -f conftest.$ac_objext
16701 if { (ac_try="$ac_compile"
16702 case "(($ac_try" in
16703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704 *) ac_try_echo=$ac_try;;
16705 esac
16706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16707 (eval "$ac_compile") 2>conftest.er1
16708 ac_status=$?
16709 grep -v '^ *+' conftest.er1 >conftest.err
16710 rm -f conftest.er1
16711 cat conftest.err >&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } && {
16714 test -z "$ac_c_werror_flag" ||
16715 test ! -s conftest.err
16716 } && test -s conftest.$ac_objext; then
16717 ac_cv_type_pid_t=yes
16718 else
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.$ac_ext >&5
16722 ac_cv_type_pid_t=no
16725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16727 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16728 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16729 if test $ac_cv_type_pid_t = yes; then
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_PID_T 1
16733 _ACEOF
16737 { echo "$as_me:$LINENO: checking for size_t" >&5
16738 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16739 if test "${ac_cv_type_size_t+set}" = set; then
16740 echo $ECHO_N "(cached) $ECHO_C" >&6
16741 else
16742 cat >conftest.$ac_ext <<_ACEOF
16743 /* confdefs.h. */
16744 _ACEOF
16745 cat confdefs.h >>conftest.$ac_ext
16746 cat >>conftest.$ac_ext <<_ACEOF
16747 /* end confdefs.h. */
16748 $ac_includes_default
16749 typedef size_t ac__type_new_;
16751 main ()
16753 if ((ac__type_new_ *) 0)
16754 return 0;
16755 if (sizeof (ac__type_new_))
16756 return 0;
16758 return 0;
16760 _ACEOF
16761 rm -f conftest.$ac_objext
16762 if { (ac_try="$ac_compile"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16766 esac
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_compile") 2>conftest.er1
16769 ac_status=$?
16770 grep -v '^ *+' conftest.er1 >conftest.err
16771 rm -f conftest.er1
16772 cat conftest.err >&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && {
16775 test -z "$ac_c_werror_flag" ||
16776 test ! -s conftest.err
16777 } && test -s conftest.$ac_objext; then
16778 ac_cv_type_size_t=yes
16779 else
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.$ac_ext >&5
16783 ac_cv_type_size_t=no
16786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16788 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16789 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16790 if test $ac_cv_type_size_t = yes; then
16792 cat >>confdefs.h <<_ACEOF
16793 #define HAVE_SIZE_T 1
16794 _ACEOF
16798 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16799 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16800 if test "${ac_cv_type_ssize_t+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 else
16803 cat >conftest.$ac_ext <<_ACEOF
16804 /* confdefs.h. */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 $ac_includes_default
16810 typedef ssize_t ac__type_new_;
16812 main ()
16814 if ((ac__type_new_ *) 0)
16815 return 0;
16816 if (sizeof (ac__type_new_))
16817 return 0;
16819 return 0;
16821 _ACEOF
16822 rm -f conftest.$ac_objext
16823 if { (ac_try="$ac_compile"
16824 case "(($ac_try" in
16825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16826 *) ac_try_echo=$ac_try;;
16827 esac
16828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16829 (eval "$ac_compile") 2>conftest.er1
16830 ac_status=$?
16831 grep -v '^ *+' conftest.er1 >conftest.err
16832 rm -f conftest.er1
16833 cat conftest.err >&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); } && {
16836 test -z "$ac_c_werror_flag" ||
16837 test ! -s conftest.err
16838 } && test -s conftest.$ac_objext; then
16839 ac_cv_type_ssize_t=yes
16840 else
16841 echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.$ac_ext >&5
16844 ac_cv_type_ssize_t=no
16847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16849 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16850 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16851 if test $ac_cv_type_ssize_t = yes; then
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_SSIZE_T 1
16855 _ACEOF
16859 { echo "$as_me:$LINENO: checking for long long" >&5
16860 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16861 if test "${ac_cv_type_long_long+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 else
16864 cat >conftest.$ac_ext <<_ACEOF
16865 /* confdefs.h. */
16866 _ACEOF
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16871 typedef long long ac__type_new_;
16873 main ()
16875 if ((ac__type_new_ *) 0)
16876 return 0;
16877 if (sizeof (ac__type_new_))
16878 return 0;
16880 return 0;
16882 _ACEOF
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16888 esac
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_c_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.$ac_objext; then
16900 ac_cv_type_long_long=yes
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16905 ac_cv_type_long_long=no
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16910 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16911 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16912 if test $ac_cv_type_long_long = yes; then
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_LONG_LONG 1
16916 _ACEOF
16920 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16921 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16922 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 else
16925 cat >conftest.$ac_ext <<_ACEOF
16926 /* confdefs.h. */
16927 _ACEOF
16928 cat confdefs.h >>conftest.$ac_ext
16929 cat >>conftest.$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 $ac_includes_default
16932 typedef fsblkcnt_t ac__type_new_;
16934 main ()
16936 if ((ac__type_new_ *) 0)
16937 return 0;
16938 if (sizeof (ac__type_new_))
16939 return 0;
16941 return 0;
16943 _ACEOF
16944 rm -f conftest.$ac_objext
16945 if { (ac_try="$ac_compile"
16946 case "(($ac_try" in
16947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16948 *) ac_try_echo=$ac_try;;
16949 esac
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_compile") 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } && {
16958 test -z "$ac_c_werror_flag" ||
16959 test ! -s conftest.err
16960 } && test -s conftest.$ac_objext; then
16961 ac_cv_type_fsblkcnt_t=yes
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16966 ac_cv_type_fsblkcnt_t=no
16969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16971 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16972 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16973 if test $ac_cv_type_fsblkcnt_t = yes; then
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_FSBLKCNT_T 1
16977 _ACEOF
16981 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16982 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
16983 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 else
16986 cat >conftest.$ac_ext <<_ACEOF
16987 /* confdefs.h. */
16988 _ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 typedef fsfilcnt_t ac__type_new_;
16995 main ()
16997 if ((ac__type_new_ *) 0)
16998 return 0;
16999 if (sizeof (ac__type_new_))
17000 return 0;
17002 return 0;
17004 _ACEOF
17005 rm -f conftest.$ac_objext
17006 if { (ac_try="$ac_compile"
17007 case "(($ac_try" in
17008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17009 *) ac_try_echo=$ac_try;;
17010 esac
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_compile") 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } && {
17019 test -z "$ac_c_werror_flag" ||
17020 test ! -s conftest.err
17021 } && test -s conftest.$ac_objext; then
17022 ac_cv_type_fsfilcnt_t=yes
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 ac_cv_type_fsfilcnt_t=no
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17033 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17034 if test $ac_cv_type_fsfilcnt_t = yes; then
17036 cat >>confdefs.h <<_ACEOF
17037 #define HAVE_FSFILCNT_T 1
17038 _ACEOF
17043 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17044 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17045 if test "${ac_cv_type_sigset_t+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 else
17048 cat >conftest.$ac_ext <<_ACEOF
17049 /* confdefs.h. */
17050 _ACEOF
17051 cat confdefs.h >>conftest.$ac_ext
17052 cat >>conftest.$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054 #include <signal.h>
17056 typedef sigset_t ac__type_new_;
17058 main ()
17060 if ((ac__type_new_ *) 0)
17061 return 0;
17062 if (sizeof (ac__type_new_))
17063 return 0;
17065 return 0;
17067 _ACEOF
17068 rm -f conftest.$ac_objext
17069 if { (ac_try="$ac_compile"
17070 case "(($ac_try" in
17071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17072 *) ac_try_echo=$ac_try;;
17073 esac
17074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17075 (eval "$ac_compile") 2>conftest.er1
17076 ac_status=$?
17077 grep -v '^ *+' conftest.er1 >conftest.err
17078 rm -f conftest.er1
17079 cat conftest.err >&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } && {
17082 test -z "$ac_c_werror_flag" ||
17083 test ! -s conftest.err
17084 } && test -s conftest.$ac_objext; then
17085 ac_cv_type_sigset_t=yes
17086 else
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17090 ac_cv_type_sigset_t=no
17093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17095 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17096 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17097 if test $ac_cv_type_sigset_t = yes; then
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_SIGSET_T 1
17101 _ACEOF
17106 { echo "$as_me:$LINENO: checking for request_sense" >&5
17107 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17108 if test "${ac_cv_type_request_sense+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17110 else
17111 cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h. */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include <linux/cdrom.h>
17119 typedef request_sense ac__type_new_;
17121 main ()
17123 if ((ac__type_new_ *) 0)
17124 return 0;
17125 if (sizeof (ac__type_new_))
17126 return 0;
17128 return 0;
17130 _ACEOF
17131 rm -f conftest.$ac_objext
17132 if { (ac_try="$ac_compile"
17133 case "(($ac_try" in
17134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17135 *) ac_try_echo=$ac_try;;
17136 esac
17137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17138 (eval "$ac_compile") 2>conftest.er1
17139 ac_status=$?
17140 grep -v '^ *+' conftest.er1 >conftest.err
17141 rm -f conftest.er1
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } && {
17145 test -z "$ac_c_werror_flag" ||
17146 test ! -s conftest.err
17147 } && test -s conftest.$ac_objext; then
17148 ac_cv_type_request_sense=yes
17149 else
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17153 ac_cv_type_request_sense=no
17156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17159 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17160 if test $ac_cv_type_request_sense = yes; then
17162 cat >>confdefs.h <<_ACEOF
17163 #define HAVE_REQUEST_SENSE 1
17164 _ACEOF
17170 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17171 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17172 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 else
17175 cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h. */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 #ifdef HAVE_LINUX_INPUT_H
17182 #include <linux/input.h>
17183 #endif
17186 main ()
17188 static struct ff_effect ac_aggr;
17189 if (ac_aggr.direction)
17190 return 0;
17192 return 0;
17194 _ACEOF
17195 rm -f conftest.$ac_objext
17196 if { (ac_try="$ac_compile"
17197 case "(($ac_try" in
17198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17199 *) ac_try_echo=$ac_try;;
17200 esac
17201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17202 (eval "$ac_compile") 2>conftest.er1
17203 ac_status=$?
17204 grep -v '^ *+' conftest.er1 >conftest.err
17205 rm -f conftest.er1
17206 cat conftest.err >&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } && {
17209 test -z "$ac_c_werror_flag" ||
17210 test ! -s conftest.err
17211 } && test -s conftest.$ac_objext; then
17212 ac_cv_member_struct_ff_effect_direction=yes
17213 else
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17217 cat >conftest.$ac_ext <<_ACEOF
17218 /* confdefs.h. */
17219 _ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 #ifdef HAVE_LINUX_INPUT_H
17224 #include <linux/input.h>
17225 #endif
17228 main ()
17230 static struct ff_effect ac_aggr;
17231 if (sizeof ac_aggr.direction)
17232 return 0;
17234 return 0;
17236 _ACEOF
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17242 esac
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 ac_cv_member_struct_ff_effect_direction=yes
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17259 ac_cv_member_struct_ff_effect_direction=no
17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17267 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17268 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17269 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17271 cat >>confdefs.h <<_ACEOF
17272 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17273 _ACEOF
17279 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17280 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17281 if test "${wine_cv_have_sigaddset+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17284 cat >conftest.$ac_ext <<_ACEOF
17285 /* confdefs.h. */
17286 _ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17290 #include <signal.h>
17292 main ()
17294 sigset_t set; sigaddset(&set,SIGTERM);
17296 return 0;
17298 _ACEOF
17299 rm -f conftest.$ac_objext conftest$ac_exeext
17300 if { (ac_try="$ac_link"
17301 case "(($ac_try" in
17302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17303 *) ac_try_echo=$ac_try;;
17304 esac
17305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17306 (eval "$ac_link") 2>conftest.er1
17307 ac_status=$?
17308 grep -v '^ *+' conftest.er1 >conftest.err
17309 rm -f conftest.er1
17310 cat conftest.err >&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } && {
17313 test -z "$ac_c_werror_flag" ||
17314 test ! -s conftest.err
17315 } && test -s conftest$ac_exeext &&
17316 $as_test_x conftest$ac_exeext; then
17317 wine_cv_have_sigaddset=yes
17318 else
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17322 wine_cv_have_sigaddset=no
17325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17326 conftest$ac_exeext conftest.$ac_ext
17328 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17329 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17330 if test "$wine_cv_have_sigaddset" = "yes"
17331 then
17333 cat >>confdefs.h <<\_ACEOF
17334 #define HAVE_SIGADDSET 1
17335 _ACEOF
17340 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17341 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17342 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 else
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <netdb.h>
17353 main ()
17356 char *name=NULL;
17357 struct hostent he;
17358 struct hostent *result;
17359 char *buf=NULL;
17360 int bufsize=0;
17361 int res,errnr;
17362 char *addr=NULL;
17363 int addrlen=0;
17364 int addrtype=0;
17365 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17366 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17369 return 0;
17371 _ACEOF
17372 rm -f conftest.$ac_objext conftest$ac_exeext
17373 if { (ac_try="$ac_link"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17377 esac
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_link") 2>conftest.er1
17380 ac_status=$?
17381 grep -v '^ *+' conftest.er1 >conftest.err
17382 rm -f conftest.er1
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && {
17386 test -z "$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 } && test -s conftest$ac_exeext &&
17389 $as_test_x conftest$ac_exeext; then
17390 wine_cv_linux_gethostbyname_r_6=yes
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17395 wine_cv_linux_gethostbyname_r_6=no
17399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17400 conftest$ac_exeext conftest.$ac_ext
17403 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17404 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17405 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17406 then
17408 cat >>confdefs.h <<\_ACEOF
17409 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17410 _ACEOF
17414 if test "$ac_cv_header_linux_joystick_h" = "yes"
17415 then
17416 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17417 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17418 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 else
17421 cat >conftest.$ac_ext <<_ACEOF
17422 /* confdefs.h. */
17423 _ACEOF
17424 cat confdefs.h >>conftest.$ac_ext
17425 cat >>conftest.$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17428 #include <sys/ioctl.h>
17429 #include <sys/types.h>
17430 #include <linux/joystick.h>
17432 struct js_event blub;
17433 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17434 #error "no 2.2 header"
17435 #endif
17438 main ()
17440 /*empty*/
17442 return 0;
17444 _ACEOF
17445 rm -f conftest.$ac_objext
17446 if { (ac_try="$ac_compile"
17447 case "(($ac_try" in
17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17450 esac
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_compile") 2>conftest.er1
17453 ac_status=$?
17454 grep -v '^ *+' conftest.er1 >conftest.err
17455 rm -f conftest.er1
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } && {
17459 test -z "$ac_c_werror_flag" ||
17460 test ! -s conftest.err
17461 } && test -s conftest.$ac_objext; then
17462 wine_cv_linux_joystick_22_api=yes
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17467 wine_cv_linux_joystick_22_api=no
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17474 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17475 if test "$wine_cv_linux_joystick_22_api" = "yes"
17476 then
17478 cat >>confdefs.h <<\_ACEOF
17479 #define HAVE_LINUX_22_JOYSTICK_API 1
17480 _ACEOF
17486 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17487 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17488 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17489 echo $ECHO_N "(cached) $ECHO_C" >&6
17490 else
17491 cat >conftest.$ac_ext <<_ACEOF
17492 /* confdefs.h. */
17493 _ACEOF
17494 cat confdefs.h >>conftest.$ac_ext
17495 cat >>conftest.$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17497 #include <sys/types.h>
17498 #ifdef HAVE_SYS_PARAM_H
17499 # include <sys/param.h>
17500 #endif
17501 #ifdef HAVE_SYS_MOUNT_H
17502 # include <sys/mount.h>
17503 #endif
17504 #ifdef HAVE_SYS_VFS_H
17505 # include <sys/vfs.h>
17506 #endif
17507 #ifdef HAVE_SYS_STATFS_H
17508 # include <sys/statfs.h>
17509 #endif
17512 main ()
17514 static struct statfs ac_aggr;
17515 if (ac_aggr.f_bfree)
17516 return 0;
17518 return 0;
17520 _ACEOF
17521 rm -f conftest.$ac_objext
17522 if { (ac_try="$ac_compile"
17523 case "(($ac_try" in
17524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17525 *) ac_try_echo=$ac_try;;
17526 esac
17527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17528 (eval "$ac_compile") 2>conftest.er1
17529 ac_status=$?
17530 grep -v '^ *+' conftest.er1 >conftest.err
17531 rm -f conftest.er1
17532 cat conftest.err >&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); } && {
17535 test -z "$ac_c_werror_flag" ||
17536 test ! -s conftest.err
17537 } && test -s conftest.$ac_objext; then
17538 ac_cv_member_struct_statfs_f_bfree=yes
17539 else
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.$ac_ext >&5
17543 cat >conftest.$ac_ext <<_ACEOF
17544 /* confdefs.h. */
17545 _ACEOF
17546 cat confdefs.h >>conftest.$ac_ext
17547 cat >>conftest.$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 #include <sys/types.h>
17550 #ifdef HAVE_SYS_PARAM_H
17551 # include <sys/param.h>
17552 #endif
17553 #ifdef HAVE_SYS_MOUNT_H
17554 # include <sys/mount.h>
17555 #endif
17556 #ifdef HAVE_SYS_VFS_H
17557 # include <sys/vfs.h>
17558 #endif
17559 #ifdef HAVE_SYS_STATFS_H
17560 # include <sys/statfs.h>
17561 #endif
17564 main ()
17566 static struct statfs ac_aggr;
17567 if (sizeof ac_aggr.f_bfree)
17568 return 0;
17570 return 0;
17572 _ACEOF
17573 rm -f conftest.$ac_objext
17574 if { (ac_try="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17578 esac
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_c_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest.$ac_objext; then
17590 ac_cv_member_struct_statfs_f_bfree=yes
17591 else
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17595 ac_cv_member_struct_statfs_f_bfree=no
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17604 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17605 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17607 cat >>confdefs.h <<_ACEOF
17608 #define HAVE_STRUCT_STATFS_F_BFREE 1
17609 _ACEOF
17613 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17614 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17615 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17617 else
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 #include <sys/types.h>
17625 #ifdef HAVE_SYS_PARAM_H
17626 # include <sys/param.h>
17627 #endif
17628 #ifdef HAVE_SYS_MOUNT_H
17629 # include <sys/mount.h>
17630 #endif
17631 #ifdef HAVE_SYS_VFS_H
17632 # include <sys/vfs.h>
17633 #endif
17634 #ifdef HAVE_SYS_STATFS_H
17635 # include <sys/statfs.h>
17636 #endif
17639 main ()
17641 static struct statfs ac_aggr;
17642 if (ac_aggr.f_bavail)
17643 return 0;
17645 return 0;
17647 _ACEOF
17648 rm -f conftest.$ac_objext
17649 if { (ac_try="$ac_compile"
17650 case "(($ac_try" in
17651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17652 *) ac_try_echo=$ac_try;;
17653 esac
17654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17655 (eval "$ac_compile") 2>conftest.er1
17656 ac_status=$?
17657 grep -v '^ *+' conftest.er1 >conftest.err
17658 rm -f conftest.er1
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } && {
17662 test -z "$ac_c_werror_flag" ||
17663 test ! -s conftest.err
17664 } && test -s conftest.$ac_objext; then
17665 ac_cv_member_struct_statfs_f_bavail=yes
17666 else
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.$ac_ext >&5
17670 cat >conftest.$ac_ext <<_ACEOF
17671 /* confdefs.h. */
17672 _ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 #include <sys/types.h>
17677 #ifdef HAVE_SYS_PARAM_H
17678 # include <sys/param.h>
17679 #endif
17680 #ifdef HAVE_SYS_MOUNT_H
17681 # include <sys/mount.h>
17682 #endif
17683 #ifdef HAVE_SYS_VFS_H
17684 # include <sys/vfs.h>
17685 #endif
17686 #ifdef HAVE_SYS_STATFS_H
17687 # include <sys/statfs.h>
17688 #endif
17691 main ()
17693 static struct statfs ac_aggr;
17694 if (sizeof ac_aggr.f_bavail)
17695 return 0;
17697 return 0;
17699 _ACEOF
17700 rm -f conftest.$ac_objext
17701 if { (ac_try="$ac_compile"
17702 case "(($ac_try" in
17703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17704 *) ac_try_echo=$ac_try;;
17705 esac
17706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17707 (eval "$ac_compile") 2>conftest.er1
17708 ac_status=$?
17709 grep -v '^ *+' conftest.er1 >conftest.err
17710 rm -f conftest.er1
17711 cat conftest.err >&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_c_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest.$ac_objext; then
17717 ac_cv_member_struct_statfs_f_bavail=yes
17718 else
17719 echo "$as_me: failed program was:" >&5
17720 sed 's/^/| /' conftest.$ac_ext >&5
17722 ac_cv_member_struct_statfs_f_bavail=no
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17731 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17732 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17734 cat >>confdefs.h <<_ACEOF
17735 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17736 _ACEOF
17740 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17741 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17742 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17743 echo $ECHO_N "(cached) $ECHO_C" >&6
17744 else
17745 cat >conftest.$ac_ext <<_ACEOF
17746 /* confdefs.h. */
17747 _ACEOF
17748 cat confdefs.h >>conftest.$ac_ext
17749 cat >>conftest.$ac_ext <<_ACEOF
17750 /* end confdefs.h. */
17751 #include <sys/types.h>
17752 #ifdef HAVE_SYS_PARAM_H
17753 # include <sys/param.h>
17754 #endif
17755 #ifdef HAVE_SYS_MOUNT_H
17756 # include <sys/mount.h>
17757 #endif
17758 #ifdef HAVE_SYS_VFS_H
17759 # include <sys/vfs.h>
17760 #endif
17761 #ifdef HAVE_SYS_STATFS_H
17762 # include <sys/statfs.h>
17763 #endif
17766 main ()
17768 static struct statfs ac_aggr;
17769 if (ac_aggr.f_frsize)
17770 return 0;
17772 return 0;
17774 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } && {
17789 test -z "$ac_c_werror_flag" ||
17790 test ! -s conftest.err
17791 } && test -s conftest.$ac_objext; then
17792 ac_cv_member_struct_statfs_f_frsize=yes
17793 else
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17797 cat >conftest.$ac_ext <<_ACEOF
17798 /* confdefs.h. */
17799 _ACEOF
17800 cat confdefs.h >>conftest.$ac_ext
17801 cat >>conftest.$ac_ext <<_ACEOF
17802 /* end confdefs.h. */
17803 #include <sys/types.h>
17804 #ifdef HAVE_SYS_PARAM_H
17805 # include <sys/param.h>
17806 #endif
17807 #ifdef HAVE_SYS_MOUNT_H
17808 # include <sys/mount.h>
17809 #endif
17810 #ifdef HAVE_SYS_VFS_H
17811 # include <sys/vfs.h>
17812 #endif
17813 #ifdef HAVE_SYS_STATFS_H
17814 # include <sys/statfs.h>
17815 #endif
17818 main ()
17820 static struct statfs ac_aggr;
17821 if (sizeof ac_aggr.f_frsize)
17822 return 0;
17824 return 0;
17826 _ACEOF
17827 rm -f conftest.$ac_objext
17828 if { (ac_try="$ac_compile"
17829 case "(($ac_try" in
17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17832 esac
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_compile") 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } && {
17841 test -z "$ac_c_werror_flag" ||
17842 test ! -s conftest.err
17843 } && test -s conftest.$ac_objext; then
17844 ac_cv_member_struct_statfs_f_frsize=yes
17845 else
17846 echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.$ac_ext >&5
17849 ac_cv_member_struct_statfs_f_frsize=no
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17858 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17859 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17861 cat >>confdefs.h <<_ACEOF
17862 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17863 _ACEOF
17867 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17868 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17869 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17871 else
17872 cat >conftest.$ac_ext <<_ACEOF
17873 /* confdefs.h. */
17874 _ACEOF
17875 cat confdefs.h >>conftest.$ac_ext
17876 cat >>conftest.$ac_ext <<_ACEOF
17877 /* end confdefs.h. */
17878 #include <sys/types.h>
17879 #ifdef HAVE_SYS_PARAM_H
17880 # include <sys/param.h>
17881 #endif
17882 #ifdef HAVE_SYS_MOUNT_H
17883 # include <sys/mount.h>
17884 #endif
17885 #ifdef HAVE_SYS_VFS_H
17886 # include <sys/vfs.h>
17887 #endif
17888 #ifdef HAVE_SYS_STATFS_H
17889 # include <sys/statfs.h>
17890 #endif
17893 main ()
17895 static struct statfs ac_aggr;
17896 if (ac_aggr.f_ffree)
17897 return 0;
17899 return 0;
17901 _ACEOF
17902 rm -f conftest.$ac_objext
17903 if { (ac_try="$ac_compile"
17904 case "(($ac_try" in
17905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17906 *) ac_try_echo=$ac_try;;
17907 esac
17908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17909 (eval "$ac_compile") 2>conftest.er1
17910 ac_status=$?
17911 grep -v '^ *+' conftest.er1 >conftest.err
17912 rm -f conftest.er1
17913 cat conftest.err >&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); } && {
17916 test -z "$ac_c_werror_flag" ||
17917 test ! -s conftest.err
17918 } && test -s conftest.$ac_objext; then
17919 ac_cv_member_struct_statfs_f_ffree=yes
17920 else
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17924 cat >conftest.$ac_ext <<_ACEOF
17925 /* confdefs.h. */
17926 _ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 #include <sys/types.h>
17931 #ifdef HAVE_SYS_PARAM_H
17932 # include <sys/param.h>
17933 #endif
17934 #ifdef HAVE_SYS_MOUNT_H
17935 # include <sys/mount.h>
17936 #endif
17937 #ifdef HAVE_SYS_VFS_H
17938 # include <sys/vfs.h>
17939 #endif
17940 #ifdef HAVE_SYS_STATFS_H
17941 # include <sys/statfs.h>
17942 #endif
17945 main ()
17947 static struct statfs ac_aggr;
17948 if (sizeof ac_aggr.f_ffree)
17949 return 0;
17951 return 0;
17953 _ACEOF
17954 rm -f conftest.$ac_objext
17955 if { (ac_try="$ac_compile"
17956 case "(($ac_try" in
17957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17958 *) ac_try_echo=$ac_try;;
17959 esac
17960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17961 (eval "$ac_compile") 2>conftest.er1
17962 ac_status=$?
17963 grep -v '^ *+' conftest.er1 >conftest.err
17964 rm -f conftest.er1
17965 cat conftest.err >&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } && {
17968 test -z "$ac_c_werror_flag" ||
17969 test ! -s conftest.err
17970 } && test -s conftest.$ac_objext; then
17971 ac_cv_member_struct_statfs_f_ffree=yes
17972 else
17973 echo "$as_me: failed program was:" >&5
17974 sed 's/^/| /' conftest.$ac_ext >&5
17976 ac_cv_member_struct_statfs_f_ffree=no
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17984 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17985 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
17986 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17988 cat >>confdefs.h <<_ACEOF
17989 #define HAVE_STRUCT_STATFS_F_FFREE 1
17990 _ACEOF
17994 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17995 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
17996 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999 cat >conftest.$ac_ext <<_ACEOF
18000 /* confdefs.h. */
18001 _ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005 #include <sys/types.h>
18006 #ifdef HAVE_SYS_PARAM_H
18007 # include <sys/param.h>
18008 #endif
18009 #ifdef HAVE_SYS_MOUNT_H
18010 # include <sys/mount.h>
18011 #endif
18012 #ifdef HAVE_SYS_VFS_H
18013 # include <sys/vfs.h>
18014 #endif
18015 #ifdef HAVE_SYS_STATFS_H
18016 # include <sys/statfs.h>
18017 #endif
18020 main ()
18022 static struct statfs ac_aggr;
18023 if (ac_aggr.f_favail)
18024 return 0;
18026 return 0;
18028 _ACEOF
18029 rm -f conftest.$ac_objext
18030 if { (ac_try="$ac_compile"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18034 esac
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compile") 2>conftest.er1
18037 ac_status=$?
18038 grep -v '^ *+' conftest.er1 >conftest.err
18039 rm -f conftest.er1
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest.$ac_objext; then
18046 ac_cv_member_struct_statfs_f_favail=yes
18047 else
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18051 cat >conftest.$ac_ext <<_ACEOF
18052 /* confdefs.h. */
18053 _ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18057 #include <sys/types.h>
18058 #ifdef HAVE_SYS_PARAM_H
18059 # include <sys/param.h>
18060 #endif
18061 #ifdef HAVE_SYS_MOUNT_H
18062 # include <sys/mount.h>
18063 #endif
18064 #ifdef HAVE_SYS_VFS_H
18065 # include <sys/vfs.h>
18066 #endif
18067 #ifdef HAVE_SYS_STATFS_H
18068 # include <sys/statfs.h>
18069 #endif
18072 main ()
18074 static struct statfs ac_aggr;
18075 if (sizeof ac_aggr.f_favail)
18076 return 0;
18078 return 0;
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (ac_try="$ac_compile"
18083 case "(($ac_try" in
18084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18085 *) ac_try_echo=$ac_try;;
18086 esac
18087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18088 (eval "$ac_compile") 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && {
18095 test -z "$ac_c_werror_flag" ||
18096 test ! -s conftest.err
18097 } && test -s conftest.$ac_objext; then
18098 ac_cv_member_struct_statfs_f_favail=yes
18099 else
18100 echo "$as_me: failed program was:" >&5
18101 sed 's/^/| /' conftest.$ac_ext >&5
18103 ac_cv_member_struct_statfs_f_favail=no
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18111 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18112 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18113 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18115 cat >>confdefs.h <<_ACEOF
18116 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18117 _ACEOF
18121 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18122 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18123 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 cat >conftest.$ac_ext <<_ACEOF
18127 /* confdefs.h. */
18128 _ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132 #include <sys/types.h>
18133 #ifdef HAVE_SYS_PARAM_H
18134 # include <sys/param.h>
18135 #endif
18136 #ifdef HAVE_SYS_MOUNT_H
18137 # include <sys/mount.h>
18138 #endif
18139 #ifdef HAVE_SYS_VFS_H
18140 # include <sys/vfs.h>
18141 #endif
18142 #ifdef HAVE_SYS_STATFS_H
18143 # include <sys/statfs.h>
18144 #endif
18147 main ()
18149 static struct statfs ac_aggr;
18150 if (ac_aggr.f_namelen)
18151 return 0;
18153 return 0;
18155 _ACEOF
18156 rm -f conftest.$ac_objext
18157 if { (ac_try="$ac_compile"
18158 case "(($ac_try" in
18159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18160 *) ac_try_echo=$ac_try;;
18161 esac
18162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18163 (eval "$ac_compile") 2>conftest.er1
18164 ac_status=$?
18165 grep -v '^ *+' conftest.er1 >conftest.err
18166 rm -f conftest.er1
18167 cat conftest.err >&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } && {
18170 test -z "$ac_c_werror_flag" ||
18171 test ! -s conftest.err
18172 } && test -s conftest.$ac_objext; then
18173 ac_cv_member_struct_statfs_f_namelen=yes
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h. */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 #include <sys/types.h>
18185 #ifdef HAVE_SYS_PARAM_H
18186 # include <sys/param.h>
18187 #endif
18188 #ifdef HAVE_SYS_MOUNT_H
18189 # include <sys/mount.h>
18190 #endif
18191 #ifdef HAVE_SYS_VFS_H
18192 # include <sys/vfs.h>
18193 #endif
18194 #ifdef HAVE_SYS_STATFS_H
18195 # include <sys/statfs.h>
18196 #endif
18199 main ()
18201 static struct statfs ac_aggr;
18202 if (sizeof ac_aggr.f_namelen)
18203 return 0;
18205 return 0;
18207 _ACEOF
18208 rm -f conftest.$ac_objext
18209 if { (ac_try="$ac_compile"
18210 case "(($ac_try" in
18211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18212 *) ac_try_echo=$ac_try;;
18213 esac
18214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 (eval "$ac_compile") 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } && {
18222 test -z "$ac_c_werror_flag" ||
18223 test ! -s conftest.err
18224 } && test -s conftest.$ac_objext; then
18225 ac_cv_member_struct_statfs_f_namelen=yes
18226 else
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18230 ac_cv_member_struct_statfs_f_namelen=no
18233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18238 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18239 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18240 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18242 cat >>confdefs.h <<_ACEOF
18243 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18244 _ACEOF
18250 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18251 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18252 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 cat >conftest.$ac_ext <<_ACEOF
18256 /* confdefs.h. */
18257 _ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 #ifdef HAVE_SYS_STATVFS_H
18262 #include <sys/statvfs.h>
18263 #endif
18266 main ()
18268 static struct statvfs ac_aggr;
18269 if (ac_aggr.f_blocks)
18270 return 0;
18272 return 0;
18274 _ACEOF
18275 rm -f conftest.$ac_objext
18276 if { (ac_try="$ac_compile"
18277 case "(($ac_try" in
18278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18279 *) ac_try_echo=$ac_try;;
18280 esac
18281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18282 (eval "$ac_compile") 2>conftest.er1
18283 ac_status=$?
18284 grep -v '^ *+' conftest.er1 >conftest.err
18285 rm -f conftest.er1
18286 cat conftest.err >&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && {
18289 test -z "$ac_c_werror_flag" ||
18290 test ! -s conftest.err
18291 } && test -s conftest.$ac_objext; then
18292 ac_cv_member_struct_statvfs_f_blocks=yes
18293 else
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18297 cat >conftest.$ac_ext <<_ACEOF
18298 /* confdefs.h. */
18299 _ACEOF
18300 cat confdefs.h >>conftest.$ac_ext
18301 cat >>conftest.$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 #ifdef HAVE_SYS_STATVFS_H
18304 #include <sys/statvfs.h>
18305 #endif
18308 main ()
18310 static struct statvfs ac_aggr;
18311 if (sizeof ac_aggr.f_blocks)
18312 return 0;
18314 return 0;
18316 _ACEOF
18317 rm -f conftest.$ac_objext
18318 if { (ac_try="$ac_compile"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_compile") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_c_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest.$ac_objext; then
18334 ac_cv_member_struct_statvfs_f_blocks=yes
18335 else
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18339 ac_cv_member_struct_statvfs_f_blocks=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18347 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18348 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18349 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18351 cat >>confdefs.h <<_ACEOF
18352 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18353 _ACEOF
18359 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18360 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18361 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18362 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 else
18364 cat >conftest.$ac_ext <<_ACEOF
18365 /* confdefs.h. */
18366 _ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 #include <sys/types.h>
18371 #ifdef HAVE_SYS_SOCKET_H
18372 # include <sys/socket.h>
18373 #endif
18374 #ifdef HAVE_SYS_UN_H
18375 # include <sys/un.h>
18376 #endif
18379 main ()
18381 static struct msghdr ac_aggr;
18382 if (ac_aggr.msg_accrights)
18383 return 0;
18385 return 0;
18387 _ACEOF
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18393 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 ac_cv_member_struct_msghdr_msg_accrights=yes
18406 else
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18410 cat >conftest.$ac_ext <<_ACEOF
18411 /* confdefs.h. */
18412 _ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 #include <sys/types.h>
18417 #ifdef HAVE_SYS_SOCKET_H
18418 # include <sys/socket.h>
18419 #endif
18420 #ifdef HAVE_SYS_UN_H
18421 # include <sys/un.h>
18422 #endif
18425 main ()
18427 static struct msghdr ac_aggr;
18428 if (sizeof ac_aggr.msg_accrights)
18429 return 0;
18431 return 0;
18433 _ACEOF
18434 rm -f conftest.$ac_objext
18435 if { (ac_try="$ac_compile"
18436 case "(($ac_try" in
18437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18438 *) ac_try_echo=$ac_try;;
18439 esac
18440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18441 (eval "$ac_compile") 2>conftest.er1
18442 ac_status=$?
18443 grep -v '^ *+' conftest.er1 >conftest.err
18444 rm -f conftest.er1
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } && {
18448 test -z "$ac_c_werror_flag" ||
18449 test ! -s conftest.err
18450 } && test -s conftest.$ac_objext; then
18451 ac_cv_member_struct_msghdr_msg_accrights=yes
18452 else
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.$ac_ext >&5
18456 ac_cv_member_struct_msghdr_msg_accrights=no
18459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18464 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18465 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18466 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18468 cat >>confdefs.h <<_ACEOF
18469 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18470 _ACEOF
18474 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18475 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18476 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18477 echo $ECHO_N "(cached) $ECHO_C" >&6
18478 else
18479 cat >conftest.$ac_ext <<_ACEOF
18480 /* confdefs.h. */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 #include <sys/types.h>
18486 #ifdef HAVE_SYS_SOCKET_H
18487 # include <sys/socket.h>
18488 #endif
18489 #ifdef HAVE_SYS_UN_H
18490 # include <sys/un.h>
18491 #endif
18494 main ()
18496 static struct sockaddr ac_aggr;
18497 if (ac_aggr.sa_len)
18498 return 0;
18500 return 0;
18502 _ACEOF
18503 rm -f conftest.$ac_objext
18504 if { (ac_try="$ac_compile"
18505 case "(($ac_try" in
18506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18507 *) ac_try_echo=$ac_try;;
18508 esac
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_compile") 2>conftest.er1
18511 ac_status=$?
18512 grep -v '^ *+' conftest.er1 >conftest.err
18513 rm -f conftest.er1
18514 cat conftest.err >&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } && {
18517 test -z "$ac_c_werror_flag" ||
18518 test ! -s conftest.err
18519 } && test -s conftest.$ac_objext; then
18520 ac_cv_member_struct_sockaddr_sa_len=yes
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18525 cat >conftest.$ac_ext <<_ACEOF
18526 /* confdefs.h. */
18527 _ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18531 #include <sys/types.h>
18532 #ifdef HAVE_SYS_SOCKET_H
18533 # include <sys/socket.h>
18534 #endif
18535 #ifdef HAVE_SYS_UN_H
18536 # include <sys/un.h>
18537 #endif
18540 main ()
18542 static struct sockaddr ac_aggr;
18543 if (sizeof ac_aggr.sa_len)
18544 return 0;
18546 return 0;
18548 _ACEOF
18549 rm -f conftest.$ac_objext
18550 if { (ac_try="$ac_compile"
18551 case "(($ac_try" in
18552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18553 *) ac_try_echo=$ac_try;;
18554 esac
18555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18556 (eval "$ac_compile") 2>conftest.er1
18557 ac_status=$?
18558 grep -v '^ *+' conftest.er1 >conftest.err
18559 rm -f conftest.er1
18560 cat conftest.err >&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } && {
18563 test -z "$ac_c_werror_flag" ||
18564 test ! -s conftest.err
18565 } && test -s conftest.$ac_objext; then
18566 ac_cv_member_struct_sockaddr_sa_len=yes
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18571 ac_cv_member_struct_sockaddr_sa_len=no
18574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18580 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18581 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18585 _ACEOF
18589 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18590 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18591 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18592 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 else
18594 cat >conftest.$ac_ext <<_ACEOF
18595 /* confdefs.h. */
18596 _ACEOF
18597 cat confdefs.h >>conftest.$ac_ext
18598 cat >>conftest.$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18600 #include <sys/types.h>
18601 #ifdef HAVE_SYS_SOCKET_H
18602 # include <sys/socket.h>
18603 #endif
18604 #ifdef HAVE_SYS_UN_H
18605 # include <sys/un.h>
18606 #endif
18609 main ()
18611 static struct sockaddr_un ac_aggr;
18612 if (ac_aggr.sun_len)
18613 return 0;
18615 return 0;
18617 _ACEOF
18618 rm -f conftest.$ac_objext
18619 if { (ac_try="$ac_compile"
18620 case "(($ac_try" in
18621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18622 *) ac_try_echo=$ac_try;;
18623 esac
18624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18625 (eval "$ac_compile") 2>conftest.er1
18626 ac_status=$?
18627 grep -v '^ *+' conftest.er1 >conftest.err
18628 rm -f conftest.er1
18629 cat conftest.err >&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); } && {
18632 test -z "$ac_c_werror_flag" ||
18633 test ! -s conftest.err
18634 } && test -s conftest.$ac_objext; then
18635 ac_cv_member_struct_sockaddr_un_sun_len=yes
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18640 cat >conftest.$ac_ext <<_ACEOF
18641 /* confdefs.h. */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 #include <sys/types.h>
18647 #ifdef HAVE_SYS_SOCKET_H
18648 # include <sys/socket.h>
18649 #endif
18650 #ifdef HAVE_SYS_UN_H
18651 # include <sys/un.h>
18652 #endif
18655 main ()
18657 static struct sockaddr_un ac_aggr;
18658 if (sizeof ac_aggr.sun_len)
18659 return 0;
18661 return 0;
18663 _ACEOF
18664 rm -f conftest.$ac_objext
18665 if { (ac_try="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18669 esac
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18672 ac_status=$?
18673 grep -v '^ *+' conftest.er1 >conftest.err
18674 rm -f conftest.er1
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.$ac_objext; then
18681 ac_cv_member_struct_sockaddr_un_sun_len=yes
18682 else
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18686 ac_cv_member_struct_sockaddr_un_sun_len=no
18689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18695 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18696 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18698 cat >>confdefs.h <<_ACEOF
18699 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18700 _ACEOF
18706 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18707 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18708 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18710 else
18711 cat >conftest.$ac_ext <<_ACEOF
18712 /* confdefs.h. */
18713 _ACEOF
18714 cat confdefs.h >>conftest.$ac_ext
18715 cat >>conftest.$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 #include <sys/types.h>
18718 #ifdef HAVE_SCSI_SG_H
18719 #include <scsi/sg.h>
18720 #endif
18723 main ()
18725 static scsireq_t ac_aggr;
18726 if (ac_aggr.cmd)
18727 return 0;
18729 return 0;
18731 _ACEOF
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18737 esac
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18740 ac_status=$?
18741 grep -v '^ *+' conftest.er1 >conftest.err
18742 rm -f conftest.er1
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_c_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 ac_cv_member_scsireq_t_cmd=yes
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h. */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 #include <sys/types.h>
18761 #ifdef HAVE_SCSI_SG_H
18762 #include <scsi/sg.h>
18763 #endif
18766 main ()
18768 static scsireq_t ac_aggr;
18769 if (sizeof ac_aggr.cmd)
18770 return 0;
18772 return 0;
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (ac_try="$ac_compile"
18777 case "(($ac_try" in
18778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18779 *) ac_try_echo=$ac_try;;
18780 esac
18781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18782 (eval "$ac_compile") 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } && {
18789 test -z "$ac_c_werror_flag" ||
18790 test ! -s conftest.err
18791 } && test -s conftest.$ac_objext; then
18792 ac_cv_member_scsireq_t_cmd=yes
18793 else
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 ac_cv_member_scsireq_t_cmd=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18805 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18806 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18807 if test $ac_cv_member_scsireq_t_cmd = yes; then
18809 cat >>confdefs.h <<_ACEOF
18810 #define HAVE_SCSIREQ_T_CMD 1
18811 _ACEOF
18815 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18816 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18817 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 else
18820 cat >conftest.$ac_ext <<_ACEOF
18821 /* confdefs.h. */
18822 _ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 #include <sys/types.h>
18827 #ifdef HAVE_SCSI_SG_H
18828 #include <scsi/sg.h>
18829 #endif
18832 main ()
18834 static sg_io_hdr_t ac_aggr;
18835 if (ac_aggr.interface_id)
18836 return 0;
18838 return 0;
18840 _ACEOF
18841 rm -f conftest.$ac_objext
18842 if { (ac_try="$ac_compile"
18843 case "(($ac_try" in
18844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18845 *) ac_try_echo=$ac_try;;
18846 esac
18847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18848 (eval "$ac_compile") 2>conftest.er1
18849 ac_status=$?
18850 grep -v '^ *+' conftest.er1 >conftest.err
18851 rm -f conftest.er1
18852 cat conftest.err >&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } && {
18855 test -z "$ac_c_werror_flag" ||
18856 test ! -s conftest.err
18857 } && test -s conftest.$ac_objext; then
18858 ac_cv_member_sg_io_hdr_t_interface_id=yes
18859 else
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 #include <sys/types.h>
18870 #ifdef HAVE_SCSI_SG_H
18871 #include <scsi/sg.h>
18872 #endif
18875 main ()
18877 static sg_io_hdr_t ac_aggr;
18878 if (sizeof ac_aggr.interface_id)
18879 return 0;
18881 return 0;
18883 _ACEOF
18884 rm -f conftest.$ac_objext
18885 if { (ac_try="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18889 esac
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18892 ac_status=$?
18893 grep -v '^ *+' conftest.er1 >conftest.err
18894 rm -f conftest.er1
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && {
18898 test -z "$ac_c_werror_flag" ||
18899 test ! -s conftest.err
18900 } && test -s conftest.$ac_objext; then
18901 ac_cv_member_sg_io_hdr_t_interface_id=yes
18902 else
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.$ac_ext >&5
18906 ac_cv_member_sg_io_hdr_t_interface_id=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18915 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18916 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18920 _ACEOF
18926 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18927 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18928 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 else
18931 cat >conftest.$ac_ext <<_ACEOF
18932 /* confdefs.h. */
18933 _ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18937 #include <signal.h>
18940 main ()
18942 static siginfo_t ac_aggr;
18943 if (ac_aggr.si_fd)
18944 return 0;
18946 return 0;
18948 _ACEOF
18949 rm -f conftest.$ac_objext
18950 if { (ac_try="$ac_compile"
18951 case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18954 esac
18955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_compile") 2>conftest.er1
18957 ac_status=$?
18958 grep -v '^ *+' conftest.er1 >conftest.err
18959 rm -f conftest.er1
18960 cat conftest.err >&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } && {
18963 test -z "$ac_c_werror_flag" ||
18964 test ! -s conftest.err
18965 } && test -s conftest.$ac_objext; then
18966 ac_cv_member_siginfo_t_si_fd=yes
18967 else
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18971 cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h. */
18973 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <signal.h>
18980 main ()
18982 static siginfo_t ac_aggr;
18983 if (sizeof ac_aggr.si_fd)
18984 return 0;
18986 return 0;
18988 _ACEOF
18989 rm -f conftest.$ac_objext
18990 if { (ac_try="$ac_compile"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994 esac
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_compile") 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest.$ac_objext; then
19006 ac_cv_member_siginfo_t_si_fd=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 ac_cv_member_siginfo_t_si_fd=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19020 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19021 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19023 cat >>confdefs.h <<_ACEOF
19024 #define HAVE_SIGINFO_T_SI_FD 1
19025 _ACEOF
19031 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19032 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19033 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19034 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 else
19036 cat >conftest.$ac_ext <<_ACEOF
19037 /* confdefs.h. */
19038 _ACEOF
19039 cat confdefs.h >>conftest.$ac_ext
19040 cat >>conftest.$ac_ext <<_ACEOF
19041 /* end confdefs.h. */
19042 #include <sys/types.h>
19043 #ifdef HAVE_SYS_MTIO_H
19044 #include <sys/mtio.h>
19045 #endif
19048 main ()
19050 static struct mtget ac_aggr;
19051 if (ac_aggr.mt_blksiz)
19052 return 0;
19054 return 0;
19056 _ACEOF
19057 rm -f conftest.$ac_objext
19058 if { (ac_try="$ac_compile"
19059 case "(($ac_try" in
19060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19061 *) ac_try_echo=$ac_try;;
19062 esac
19063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19064 (eval "$ac_compile") 2>conftest.er1
19065 ac_status=$?
19066 grep -v '^ *+' conftest.er1 >conftest.err
19067 rm -f conftest.er1
19068 cat conftest.err >&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } && {
19071 test -z "$ac_c_werror_flag" ||
19072 test ! -s conftest.err
19073 } && test -s conftest.$ac_objext; then
19074 ac_cv_member_struct_mtget_mt_blksiz=yes
19075 else
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19079 cat >conftest.$ac_ext <<_ACEOF
19080 /* confdefs.h. */
19081 _ACEOF
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19085 #include <sys/types.h>
19086 #ifdef HAVE_SYS_MTIO_H
19087 #include <sys/mtio.h>
19088 #endif
19091 main ()
19093 static struct mtget ac_aggr;
19094 if (sizeof ac_aggr.mt_blksiz)
19095 return 0;
19097 return 0;
19099 _ACEOF
19100 rm -f conftest.$ac_objext
19101 if { (ac_try="$ac_compile"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19105 esac
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_compile") 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_c_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest.$ac_objext; then
19117 ac_cv_member_struct_mtget_mt_blksiz=yes
19118 else
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19122 ac_cv_member_struct_mtget_mt_blksiz=no
19125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19130 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19131 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19132 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19136 _ACEOF
19140 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19141 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19142 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19145 cat >conftest.$ac_ext <<_ACEOF
19146 /* confdefs.h. */
19147 _ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 #include <sys/types.h>
19152 #ifdef HAVE_SYS_MTIO_H
19153 #include <sys/mtio.h>
19154 #endif
19157 main ()
19159 static struct mtget ac_aggr;
19160 if (ac_aggr.mt_gstat)
19161 return 0;
19163 return 0;
19165 _ACEOF
19166 rm -f conftest.$ac_objext
19167 if { (ac_try="$ac_compile"
19168 case "(($ac_try" in
19169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 *) ac_try_echo=$ac_try;;
19171 esac
19172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_compile") 2>conftest.er1
19174 ac_status=$?
19175 grep -v '^ *+' conftest.er1 >conftest.err
19176 rm -f conftest.er1
19177 cat conftest.err >&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); } && {
19180 test -z "$ac_c_werror_flag" ||
19181 test ! -s conftest.err
19182 } && test -s conftest.$ac_objext; then
19183 ac_cv_member_struct_mtget_mt_gstat=yes
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19188 cat >conftest.$ac_ext <<_ACEOF
19189 /* confdefs.h. */
19190 _ACEOF
19191 cat confdefs.h >>conftest.$ac_ext
19192 cat >>conftest.$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 #include <sys/types.h>
19195 #ifdef HAVE_SYS_MTIO_H
19196 #include <sys/mtio.h>
19197 #endif
19200 main ()
19202 static struct mtget ac_aggr;
19203 if (sizeof ac_aggr.mt_gstat)
19204 return 0;
19206 return 0;
19208 _ACEOF
19209 rm -f conftest.$ac_objext
19210 if { (ac_try="$ac_compile"
19211 case "(($ac_try" in
19212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19213 *) ac_try_echo=$ac_try;;
19214 esac
19215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19216 (eval "$ac_compile") 2>conftest.er1
19217 ac_status=$?
19218 grep -v '^ *+' conftest.er1 >conftest.err
19219 rm -f conftest.er1
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } && {
19223 test -z "$ac_c_werror_flag" ||
19224 test ! -s conftest.err
19225 } && test -s conftest.$ac_objext; then
19226 ac_cv_member_struct_mtget_mt_gstat=yes
19227 else
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19231 ac_cv_member_struct_mtget_mt_gstat=no
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19239 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19240 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19241 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19245 _ACEOF
19249 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19250 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19251 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19253 else
19254 cat >conftest.$ac_ext <<_ACEOF
19255 /* confdefs.h. */
19256 _ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 #include <sys/types.h>
19261 #ifdef HAVE_SYS_MTIO_H
19262 #include <sys/mtio.h>
19263 #endif
19266 main ()
19268 static struct mtget ac_aggr;
19269 if (ac_aggr.mt_blkno)
19270 return 0;
19272 return 0;
19274 _ACEOF
19275 rm -f conftest.$ac_objext
19276 if { (ac_try="$ac_compile"
19277 case "(($ac_try" in
19278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19279 *) ac_try_echo=$ac_try;;
19280 esac
19281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19282 (eval "$ac_compile") 2>conftest.er1
19283 ac_status=$?
19284 grep -v '^ *+' conftest.er1 >conftest.err
19285 rm -f conftest.er1
19286 cat conftest.err >&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } && {
19289 test -z "$ac_c_werror_flag" ||
19290 test ! -s conftest.err
19291 } && test -s conftest.$ac_objext; then
19292 ac_cv_member_struct_mtget_mt_blkno=yes
19293 else
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <sys/types.h>
19304 #ifdef HAVE_SYS_MTIO_H
19305 #include <sys/mtio.h>
19306 #endif
19309 main ()
19311 static struct mtget ac_aggr;
19312 if (sizeof ac_aggr.mt_blkno)
19313 return 0;
19315 return 0;
19317 _ACEOF
19318 rm -f conftest.$ac_objext
19319 if { (ac_try="$ac_compile"
19320 case "(($ac_try" in
19321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19322 *) ac_try_echo=$ac_try;;
19323 esac
19324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19325 (eval "$ac_compile") 2>conftest.er1
19326 ac_status=$?
19327 grep -v '^ *+' conftest.er1 >conftest.err
19328 rm -f conftest.er1
19329 cat conftest.err >&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } && {
19332 test -z "$ac_c_werror_flag" ||
19333 test ! -s conftest.err
19334 } && test -s conftest.$ac_objext; then
19335 ac_cv_member_struct_mtget_mt_blkno=yes
19336 else
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19340 ac_cv_member_struct_mtget_mt_blkno=no
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19349 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19350 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19354 _ACEOF
19360 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19361 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19362 if test "${ac_cv_member_struct_option_name+set}" = set; then
19363 echo $ECHO_N "(cached) $ECHO_C" >&6
19364 else
19365 cat >conftest.$ac_ext <<_ACEOF
19366 /* confdefs.h. */
19367 _ACEOF
19368 cat confdefs.h >>conftest.$ac_ext
19369 cat >>conftest.$ac_ext <<_ACEOF
19370 /* end confdefs.h. */
19371 #ifdef HAVE_GETOPT_H
19372 #include <getopt.h>
19373 #endif
19376 main ()
19378 static struct option ac_aggr;
19379 if (ac_aggr.name)
19380 return 0;
19382 return 0;
19384 _ACEOF
19385 rm -f conftest.$ac_objext
19386 if { (ac_try="$ac_compile"
19387 case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19390 esac
19391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19392 (eval "$ac_compile") 2>conftest.er1
19393 ac_status=$?
19394 grep -v '^ *+' conftest.er1 >conftest.err
19395 rm -f conftest.er1
19396 cat conftest.err >&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && {
19399 test -z "$ac_c_werror_flag" ||
19400 test ! -s conftest.err
19401 } && test -s conftest.$ac_objext; then
19402 ac_cv_member_struct_option_name=yes
19403 else
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19407 cat >conftest.$ac_ext <<_ACEOF
19408 /* confdefs.h. */
19409 _ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 #ifdef HAVE_GETOPT_H
19414 #include <getopt.h>
19415 #endif
19418 main ()
19420 static struct option ac_aggr;
19421 if (sizeof ac_aggr.name)
19422 return 0;
19424 return 0;
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (ac_try="$ac_compile"
19429 case "(($ac_try" in
19430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19432 esac
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_compile") 2>conftest.er1
19435 ac_status=$?
19436 grep -v '^ *+' conftest.er1 >conftest.err
19437 rm -f conftest.er1
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } && {
19441 test -z "$ac_c_werror_flag" ||
19442 test ! -s conftest.err
19443 } && test -s conftest.$ac_objext; then
19444 ac_cv_member_struct_option_name=yes
19445 else
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19449 ac_cv_member_struct_option_name=no
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19457 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19458 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19459 if test $ac_cv_member_struct_option_name = yes; then
19461 cat >>confdefs.h <<_ACEOF
19462 #define HAVE_STRUCT_OPTION_NAME 1
19463 _ACEOF
19469 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19470 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19471 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19473 else
19474 cat >conftest.$ac_ext <<_ACEOF
19475 /* confdefs.h. */
19476 _ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 $ac_includes_default
19482 main ()
19484 static struct stat ac_aggr;
19485 if (ac_aggr.st_blocks)
19486 return 0;
19488 return 0;
19490 _ACEOF
19491 rm -f conftest.$ac_objext
19492 if { (ac_try="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19496 esac
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_member_struct_stat_st_blocks=yes
19509 else
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19513 cat >conftest.$ac_ext <<_ACEOF
19514 /* confdefs.h. */
19515 _ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 $ac_includes_default
19521 main ()
19523 static struct stat ac_aggr;
19524 if (sizeof ac_aggr.st_blocks)
19525 return 0;
19527 return 0;
19529 _ACEOF
19530 rm -f conftest.$ac_objext
19531 if { (ac_try="$ac_compile"
19532 case "(($ac_try" in
19533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19534 *) ac_try_echo=$ac_try;;
19535 esac
19536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19537 (eval "$ac_compile") 2>conftest.er1
19538 ac_status=$?
19539 grep -v '^ *+' conftest.er1 >conftest.err
19540 rm -f conftest.er1
19541 cat conftest.err >&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } && {
19544 test -z "$ac_c_werror_flag" ||
19545 test ! -s conftest.err
19546 } && test -s conftest.$ac_objext; then
19547 ac_cv_member_struct_stat_st_blocks=yes
19548 else
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19552 ac_cv_member_struct_stat_st_blocks=no
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19561 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19562 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19564 cat >>confdefs.h <<_ACEOF
19565 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19566 _ACEOF
19572 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19573 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19574 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 else
19577 cat >conftest.$ac_ext <<_ACEOF
19578 /* confdefs.h. */
19579 _ACEOF
19580 cat confdefs.h >>conftest.$ac_ext
19581 cat >>conftest.$ac_ext <<_ACEOF
19582 /* end confdefs.h. */
19583 #ifdef HAVE_SYS_TYPES_H
19584 #include <sys/types.h>
19585 #endif
19586 #ifdef HAVE_NETINET_IN_H
19587 #include <netinet/in.h>
19588 #endif
19591 main ()
19593 static struct sockaddr_in6 ac_aggr;
19594 if (ac_aggr.sin6_scope_id)
19595 return 0;
19597 return 0;
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (ac_try="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19605 esac
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19608 ac_status=$?
19609 grep -v '^ *+' conftest.er1 >conftest.err
19610 rm -f conftest.er1
19611 cat conftest.err >&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.$ac_objext; then
19617 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19618 else
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.$ac_ext >&5
19622 cat >conftest.$ac_ext <<_ACEOF
19623 /* confdefs.h. */
19624 _ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 #ifdef HAVE_SYS_TYPES_H
19629 #include <sys/types.h>
19630 #endif
19631 #ifdef HAVE_NETINET_IN_H
19632 #include <netinet/in.h>
19633 #endif
19636 main ()
19638 static struct sockaddr_in6 ac_aggr;
19639 if (sizeof ac_aggr.sin6_scope_id)
19640 return 0;
19642 return 0;
19644 _ACEOF
19645 rm -f conftest.$ac_objext
19646 if { (ac_try="$ac_compile"
19647 case "(($ac_try" in
19648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19649 *) ac_try_echo=$ac_try;;
19650 esac
19651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19652 (eval "$ac_compile") 2>conftest.er1
19653 ac_status=$?
19654 grep -v '^ *+' conftest.er1 >conftest.err
19655 rm -f conftest.er1
19656 cat conftest.err >&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } && {
19659 test -z "$ac_c_werror_flag" ||
19660 test ! -s conftest.err
19661 } && test -s conftest.$ac_objext; then
19662 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19663 else
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19667 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19675 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19676 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19677 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19679 cat >>confdefs.h <<_ACEOF
19680 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19681 _ACEOF
19687 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19688 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19689 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19690 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 else
19692 cat >conftest.$ac_ext <<_ACEOF
19693 /* confdefs.h. */
19694 _ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 #ifdef HAVE_SYS_TYPES_H
19699 #include <sys/types.h>
19700 #endif
19701 #ifdef HAVE_NETINET_IN_H
19702 # include <netinet/in.h>
19703 #endif
19704 #ifdef HAVE_ARPA_NAMESER_H
19705 # include <arpa/nameser.h>
19706 #endif
19709 main ()
19711 static ns_msg ac_aggr;
19712 if (ac_aggr._msg_ptr)
19713 return 0;
19715 return 0;
19717 _ACEOF
19718 rm -f conftest.$ac_objext
19719 if { (ac_try="$ac_compile"
19720 case "(($ac_try" in
19721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19722 *) ac_try_echo=$ac_try;;
19723 esac
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_compile") 2>conftest.er1
19726 ac_status=$?
19727 grep -v '^ *+' conftest.er1 >conftest.err
19728 rm -f conftest.er1
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } && {
19732 test -z "$ac_c_werror_flag" ||
19733 test ! -s conftest.err
19734 } && test -s conftest.$ac_objext; then
19735 ac_cv_member_ns_msg__msg_ptr=yes
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 #ifdef HAVE_SYS_TYPES_H
19747 #include <sys/types.h>
19748 #endif
19749 #ifdef HAVE_NETINET_IN_H
19750 # include <netinet/in.h>
19751 #endif
19752 #ifdef HAVE_ARPA_NAMESER_H
19753 # include <arpa/nameser.h>
19754 #endif
19757 main ()
19759 static ns_msg ac_aggr;
19760 if (sizeof ac_aggr._msg_ptr)
19761 return 0;
19763 return 0;
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest.$ac_objext; then
19783 ac_cv_member_ns_msg__msg_ptr=yes
19784 else
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19788 ac_cv_member_ns_msg__msg_ptr=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19797 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19798 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19800 cat >>confdefs.h <<_ACEOF
19801 #define HAVE_NS_MSG__MSG_PTR 1
19802 _ACEOF
19808 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19809 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19810 if test "${ac_cv_have_timezone+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19812 else
19813 cat >conftest.$ac_ext <<_ACEOF
19814 /* confdefs.h. */
19815 _ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #include <time.h>
19821 main ()
19823 timezone = 1
19825 return 0;
19827 _ACEOF
19828 rm -f conftest.$ac_objext conftest$ac_exeext
19829 if { (ac_try="$ac_link"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19833 esac
19834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_link") 2>conftest.er1
19836 ac_status=$?
19837 grep -v '^ *+' conftest.er1 >conftest.err
19838 rm -f conftest.er1
19839 cat conftest.err >&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } && {
19842 test -z "$ac_c_werror_flag" ||
19843 test ! -s conftest.err
19844 } && test -s conftest$ac_exeext &&
19845 $as_test_x conftest$ac_exeext; then
19846 ac_cv_have_timezone="yes"
19847 else
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.$ac_ext >&5
19851 ac_cv_have_timezone="no"
19854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19855 conftest$ac_exeext conftest.$ac_ext
19857 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19858 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19859 if test "$ac_cv_have_timezone" = "yes"
19860 then
19862 cat >>confdefs.h <<\_ACEOF
19863 #define HAVE_TIMEZONE 1
19864 _ACEOF
19867 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19868 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19869 if test "${ac_cv_have_daylight+set}" = set; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 else
19872 cat >conftest.$ac_ext <<_ACEOF
19873 /* confdefs.h. */
19874 _ACEOF
19875 cat confdefs.h >>conftest.$ac_ext
19876 cat >>conftest.$ac_ext <<_ACEOF
19877 /* end confdefs.h. */
19878 #include <time.h>
19880 main ()
19882 daylight = 1
19884 return 0;
19886 _ACEOF
19887 rm -f conftest.$ac_objext conftest$ac_exeext
19888 if { (ac_try="$ac_link"
19889 case "(($ac_try" in
19890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19891 *) ac_try_echo=$ac_try;;
19892 esac
19893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19894 (eval "$ac_link") 2>conftest.er1
19895 ac_status=$?
19896 grep -v '^ *+' conftest.er1 >conftest.err
19897 rm -f conftest.er1
19898 cat conftest.err >&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } && {
19901 test -z "$ac_c_werror_flag" ||
19902 test ! -s conftest.err
19903 } && test -s conftest$ac_exeext &&
19904 $as_test_x conftest$ac_exeext; then
19905 ac_cv_have_daylight="yes"
19906 else
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19910 ac_cv_have_daylight="no"
19913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19914 conftest$ac_exeext conftest.$ac_ext
19916 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19917 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19918 if test "$ac_cv_have_daylight" = "yes"
19919 then
19921 cat >>confdefs.h <<\_ACEOF
19922 #define HAVE_DAYLIGHT 1
19923 _ACEOF
19928 case $host_cpu in
19929 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19930 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19931 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19932 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 else
19934 cat >conftest.$ac_ext <<_ACEOF
19935 /* confdefs.h. */
19936 _ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19940 #ifndef __i386__
19942 #endif
19943 _ACEOF
19944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19945 $EGREP "yes" >/dev/null 2>&1; then
19946 ac_cv_cpp_def___i386__=yes
19947 else
19948 ac_cv_cpp_def___i386__=no
19950 rm -f conftest*
19953 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19954 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19955 if test $ac_cv_cpp_def___i386__ = yes; then
19956 CFLAGS="$CFLAGS -D__i386__"
19957 LINTFLAGS="$LINTFLAGS -D__i386__"
19960 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19961 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19962 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19964 else
19965 cat >conftest.$ac_ext <<_ACEOF
19966 /* confdefs.h. */
19967 _ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 #ifndef __x86_64__
19973 #endif
19974 _ACEOF
19975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19976 $EGREP "yes" >/dev/null 2>&1; then
19977 ac_cv_cpp_def___x86_64__=yes
19978 else
19979 ac_cv_cpp_def___x86_64__=no
19981 rm -f conftest*
19984 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19985 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
19986 if test $ac_cv_cpp_def___x86_64__ = yes; then
19987 CFLAGS="$CFLAGS -D__x86_64__"
19988 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19991 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19992 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
19993 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 else
19996 cat >conftest.$ac_ext <<_ACEOF
19997 /* confdefs.h. */
19998 _ACEOF
19999 cat confdefs.h >>conftest.$ac_ext
20000 cat >>conftest.$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20002 #ifndef __ALPHA__
20004 #endif
20005 _ACEOF
20006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20007 $EGREP "yes" >/dev/null 2>&1; then
20008 ac_cv_cpp_def___ALPHA__=yes
20009 else
20010 ac_cv_cpp_def___ALPHA__=no
20012 rm -f conftest*
20015 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20016 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20017 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20018 CFLAGS="$CFLAGS -D__ALPHA__"
20019 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20022 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20023 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20024 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20025 echo $ECHO_N "(cached) $ECHO_C" >&6
20026 else
20027 cat >conftest.$ac_ext <<_ACEOF
20028 /* confdefs.h. */
20029 _ACEOF
20030 cat confdefs.h >>conftest.$ac_ext
20031 cat >>conftest.$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 #ifndef __sparc__
20035 #endif
20036 _ACEOF
20037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20038 $EGREP "yes" >/dev/null 2>&1; then
20039 ac_cv_cpp_def___sparc__=yes
20040 else
20041 ac_cv_cpp_def___sparc__=no
20043 rm -f conftest*
20046 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20047 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20048 if test $ac_cv_cpp_def___sparc__ = yes; then
20049 CFLAGS="$CFLAGS -D__sparc__"
20050 LINTFLAGS="$LINTFLAGS -D__sparc__"
20053 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20054 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20055 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20056 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 else
20058 cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h. */
20060 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20064 #ifndef __powerpc__
20066 #endif
20067 _ACEOF
20068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20069 $EGREP "yes" >/dev/null 2>&1; then
20070 ac_cv_cpp_def___powerpc__=yes
20071 else
20072 ac_cv_cpp_def___powerpc__=no
20074 rm -f conftest*
20077 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20078 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20079 if test $ac_cv_cpp_def___powerpc__ = yes; then
20080 CFLAGS="$CFLAGS -D__powerpc__"
20081 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20084 esac
20086 case $host_vendor in
20087 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20088 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20089 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20090 echo $ECHO_N "(cached) $ECHO_C" >&6
20091 else
20092 cat >conftest.$ac_ext <<_ACEOF
20093 /* confdefs.h. */
20094 _ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 #ifndef __sun__
20100 #endif
20101 _ACEOF
20102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20103 $EGREP "yes" >/dev/null 2>&1; then
20104 ac_cv_cpp_def___sun__=yes
20105 else
20106 ac_cv_cpp_def___sun__=no
20108 rm -f conftest*
20111 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20112 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20113 if test $ac_cv_cpp_def___sun__ = yes; then
20114 CFLAGS="$CFLAGS -D__sun__"
20115 LINTFLAGS="$LINTFLAGS -D__sun__"
20118 esac
20121 DEPENDENCIES="### Dependencies:
20123 .INIT: Makefile
20124 .BEGIN: Makefile
20125 Makefile: dummy
20126 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20128 \$(OBJS): \$(IDL_GEN_HEADERS)
20129 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20130 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20131 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20137 ac_config_commands="$ac_config_commands include/stamp-h"
20140 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20142 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20144 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20146 ac_config_commands="$ac_config_commands dlls/user32/resources"
20148 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20150 ac_config_commands="$ac_config_commands include/wine"
20153 MAKE_RULES=Make.rules
20156 MAKE_DLL_RULES=dlls/Makedll.rules
20159 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20162 MAKE_TEST_RULES=dlls/Maketest.rules
20165 MAKE_PROG_RULES=programs/Makeprog.rules
20168 ac_config_files="$ac_config_files Make.rules"
20170 ac_config_files="$ac_config_files dlls/Makedll.rules"
20172 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20174 ac_config_files="$ac_config_files dlls/Maketest.rules"
20176 ac_config_files="$ac_config_files programs/Makeprog.rules"
20178 ac_config_files="$ac_config_files Makefile"
20180 ac_config_files="$ac_config_files dlls/Makefile"
20182 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20184 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20186 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20188 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20190 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20192 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20194 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20196 ac_config_files="$ac_config_files dlls/atl/Makefile"
20198 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20200 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20202 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20204 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20206 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20208 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20210 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20212 ac_config_files="$ac_config_files dlls/cards/Makefile"
20214 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20216 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20218 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20220 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20222 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20224 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20226 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20228 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20230 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20232 ac_config_files="$ac_config_files dlls/credui/Makefile"
20234 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20236 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20238 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20240 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20242 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20244 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20246 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20248 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20250 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20252 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20254 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20256 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20258 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20260 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20262 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20264 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20266 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20268 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20270 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20272 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20274 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20276 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20278 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20280 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20282 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20284 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20286 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20288 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20290 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20292 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20294 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20296 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20298 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20300 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20302 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20304 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20306 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20308 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20310 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20312 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20314 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20316 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20318 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20320 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20322 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20324 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20326 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20328 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20330 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20332 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20334 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20336 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20338 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20340 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20342 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20344 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20346 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20348 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20350 ac_config_files="$ac_config_files dlls/hal/Makefile"
20352 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20354 ac_config_files="$ac_config_files dlls/hid/Makefile"
20356 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20358 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20360 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20362 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20364 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20366 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20368 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20370 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20372 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20374 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20376 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20378 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20380 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20382 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20384 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20386 ac_config_files="$ac_config_files dlls/itss/Makefile"
20388 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20390 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20392 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20394 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20396 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20398 ac_config_files="$ac_config_files dlls/localui/Makefile"
20400 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20402 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20404 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20406 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20408 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20410 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20412 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20414 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20416 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20418 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20420 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20422 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20424 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20426 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20428 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20430 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20432 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20434 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20436 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20438 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20440 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20442 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20444 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20446 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20448 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20450 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20452 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20454 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20456 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20458 ac_config_files="$ac_config_files dlls/msi/Makefile"
20460 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20462 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20464 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20466 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20468 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20470 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20472 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20474 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20476 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20478 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20480 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20482 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20484 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20486 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20488 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20490 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20492 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20494 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20496 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20498 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20500 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20502 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20504 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20506 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20508 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20510 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20512 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20514 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20516 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20518 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20520 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20522 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20524 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20526 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20528 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20530 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20532 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20534 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20536 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20538 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20540 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20542 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20544 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20546 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20548 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20550 ac_config_files="$ac_config_files dlls/printui/Makefile"
20552 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20554 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20556 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20558 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20560 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20562 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20564 ac_config_files="$ac_config_files dlls/query/Makefile"
20566 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20568 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20570 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20572 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20574 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20576 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20578 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20580 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20582 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20586 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20590 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20592 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20594 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20596 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/security/Makefile"
20600 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20602 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20604 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20606 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20608 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20610 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20612 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20614 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20616 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20618 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20620 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20622 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20624 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20626 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20628 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20632 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20636 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20638 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20640 ac_config_files="$ac_config_files dlls/sti/Makefile"
20642 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20644 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20646 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20648 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20650 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20652 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20654 ac_config_files="$ac_config_files dlls/url/Makefile"
20656 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20658 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20660 ac_config_files="$ac_config_files dlls/user32/Makefile"
20662 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20664 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20666 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20668 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20670 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20672 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20674 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20678 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20680 ac_config_files="$ac_config_files dlls/version/Makefile"
20682 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20686 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20688 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20690 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20692 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20694 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20696 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20698 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20700 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20702 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20704 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20706 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20708 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20710 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20712 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20714 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20716 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20718 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20720 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20722 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20724 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20726 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20728 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20730 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20732 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20734 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20736 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20738 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20740 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20742 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20744 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20746 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20748 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20750 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20752 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20754 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20756 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20758 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20760 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20762 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20764 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20766 ac_config_files="$ac_config_files documentation/Makefile"
20768 ac_config_files="$ac_config_files fonts/Makefile"
20770 ac_config_files="$ac_config_files include/Makefile"
20772 ac_config_files="$ac_config_files libs/Makefile"
20774 ac_config_files="$ac_config_files libs/port/Makefile"
20776 ac_config_files="$ac_config_files libs/wine/Makefile"
20778 ac_config_files="$ac_config_files libs/wpp/Makefile"
20780 ac_config_files="$ac_config_files loader/Makefile"
20782 ac_config_files="$ac_config_files programs/Makefile"
20784 ac_config_files="$ac_config_files programs/clock/Makefile"
20786 ac_config_files="$ac_config_files programs/cmd/Makefile"
20788 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20790 ac_config_files="$ac_config_files programs/control/Makefile"
20792 ac_config_files="$ac_config_files programs/eject/Makefile"
20794 ac_config_files="$ac_config_files programs/expand/Makefile"
20796 ac_config_files="$ac_config_files programs/explorer/Makefile"
20798 ac_config_files="$ac_config_files programs/hh/Makefile"
20800 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20802 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20804 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20806 ac_config_files="$ac_config_files programs/net/Makefile"
20808 ac_config_files="$ac_config_files programs/notepad/Makefile"
20810 ac_config_files="$ac_config_files programs/oleview/Makefile"
20812 ac_config_files="$ac_config_files programs/progman/Makefile"
20814 ac_config_files="$ac_config_files programs/regedit/Makefile"
20816 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20818 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20820 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20822 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20824 ac_config_files="$ac_config_files programs/start/Makefile"
20826 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20828 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20830 ac_config_files="$ac_config_files programs/view/Makefile"
20832 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20834 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20836 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20838 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20840 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20842 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20844 ac_config_files="$ac_config_files programs/winefile/Makefile"
20846 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20848 ac_config_files="$ac_config_files programs/winemine/Makefile"
20850 ac_config_files="$ac_config_files programs/winepath/Makefile"
20852 ac_config_files="$ac_config_files programs/winetest/Makefile"
20854 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20856 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20858 ac_config_files="$ac_config_files programs/winver/Makefile"
20860 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20862 ac_config_files="$ac_config_files programs/write/Makefile"
20864 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20866 ac_config_files="$ac_config_files server/Makefile"
20868 ac_config_files="$ac_config_files tools/Makefile"
20870 ac_config_files="$ac_config_files tools/widl/Makefile"
20872 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20874 ac_config_files="$ac_config_files tools/winedump/Makefile"
20876 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20878 ac_config_files="$ac_config_files tools/wmc/Makefile"
20880 ac_config_files="$ac_config_files tools/wrc/Makefile"
20883 cat >confcache <<\_ACEOF
20884 # This file is a shell script that caches the results of configure
20885 # tests run on this system so they can be shared between configure
20886 # scripts and configure runs, see configure's option --config-cache.
20887 # It is not useful on other systems. If it contains results you don't
20888 # want to keep, you may remove or edit it.
20890 # config.status only pays attention to the cache file if you give it
20891 # the --recheck option to rerun configure.
20893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20895 # following values.
20897 _ACEOF
20899 # The following way of writing the cache mishandles newlines in values,
20900 # but we know of no workaround that is simple, portable, and efficient.
20901 # So, we kill variables containing newlines.
20902 # Ultrix sh set writes to stderr and can't be redirected directly,
20903 # and sets the high bit in the cache file unless we assign to the vars.
20905 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20906 eval ac_val=\$$ac_var
20907 case $ac_val in #(
20908 *${as_nl}*)
20909 case $ac_var in #(
20910 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20911 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20912 esac
20913 case $ac_var in #(
20914 _ | IFS | as_nl) ;; #(
20915 *) $as_unset $ac_var ;;
20916 esac ;;
20917 esac
20918 done
20920 (set) 2>&1 |
20921 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20922 *${as_nl}ac_space=\ *)
20923 # `set' does not quote correctly, so add quotes (double-quote
20924 # substitution turns \\\\ into \\, and sed turns \\ into \).
20925 sed -n \
20926 "s/'/'\\\\''/g;
20927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20928 ;; #(
20930 # `set' quotes correctly as required by POSIX, so do not add quotes.
20931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20933 esac |
20934 sort
20936 sed '
20937 /^ac_cv_env_/b end
20938 t clear
20939 :clear
20940 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20941 t end
20942 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20943 :end' >>confcache
20944 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20945 if test -w "$cache_file"; then
20946 test "x$cache_file" != "x/dev/null" &&
20947 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20948 echo "$as_me: updating cache $cache_file" >&6;}
20949 cat confcache >$cache_file
20950 else
20951 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20952 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20955 rm -f confcache
20957 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20958 # Let make expand exec_prefix.
20959 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20961 DEFS=-DHAVE_CONFIG_H
20963 ac_libobjs=
20964 ac_ltlibobjs=
20965 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20966 # 1. Remove the extension, and $U if already installed.
20967 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20968 ac_i=`echo "$ac_i" | sed "$ac_script"`
20969 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20970 # will be set to the directory where LIBOBJS objects are built.
20971 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20972 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20973 done
20974 LIBOBJS=$ac_libobjs
20976 LTLIBOBJS=$ac_ltlibobjs
20980 : ${CONFIG_STATUS=./config.status}
20981 ac_clean_files_save=$ac_clean_files
20982 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20983 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20984 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20985 cat >$CONFIG_STATUS <<_ACEOF
20986 #! $SHELL
20987 # Generated by $as_me.
20988 # Run this file to recreate the current configuration.
20989 # Compiler output produced by configure, useful for debugging
20990 # configure, is in config.log if it exists.
20992 debug=false
20993 ac_cs_recheck=false
20994 ac_cs_silent=false
20995 SHELL=\${CONFIG_SHELL-$SHELL}
20996 _ACEOF
20998 cat >>$CONFIG_STATUS <<\_ACEOF
20999 ## --------------------- ##
21000 ## M4sh Initialization. ##
21001 ## --------------------- ##
21003 # Be more Bourne compatible
21004 DUALCASE=1; export DUALCASE # for MKS sh
21005 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21006 emulate sh
21007 NULLCMD=:
21008 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21009 # is contrary to our usage. Disable this feature.
21010 alias -g '${1+"$@"}'='"$@"'
21011 setopt NO_GLOB_SUBST
21012 else
21013 case `(set -o) 2>/dev/null` in
21014 *posix*) set -o posix ;;
21015 esac
21022 # PATH needs CR
21023 # Avoid depending upon Character Ranges.
21024 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21025 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21026 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21027 as_cr_digits='0123456789'
21028 as_cr_alnum=$as_cr_Letters$as_cr_digits
21030 # The user is always right.
21031 if test "${PATH_SEPARATOR+set}" != set; then
21032 echo "#! /bin/sh" >conf$$.sh
21033 echo "exit 0" >>conf$$.sh
21034 chmod +x conf$$.sh
21035 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21036 PATH_SEPARATOR=';'
21037 else
21038 PATH_SEPARATOR=:
21040 rm -f conf$$.sh
21043 # Support unset when possible.
21044 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21045 as_unset=unset
21046 else
21047 as_unset=false
21051 # IFS
21052 # We need space, tab and new line, in precisely that order. Quoting is
21053 # there to prevent editors from complaining about space-tab.
21054 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21055 # splitting by setting IFS to empty value.)
21056 as_nl='
21058 IFS=" "" $as_nl"
21060 # Find who we are. Look in the path if we contain no directory separator.
21061 case $0 in
21062 *[\\/]* ) as_myself=$0 ;;
21063 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21064 for as_dir in $PATH
21066 IFS=$as_save_IFS
21067 test -z "$as_dir" && as_dir=.
21068 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21069 done
21070 IFS=$as_save_IFS
21073 esac
21074 # We did not find ourselves, most probably we were run as `sh COMMAND'
21075 # in which case we are not to be found in the path.
21076 if test "x$as_myself" = x; then
21077 as_myself=$0
21079 if test ! -f "$as_myself"; then
21080 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21081 { (exit 1); exit 1; }
21084 # Work around bugs in pre-3.0 UWIN ksh.
21085 for as_var in ENV MAIL MAILPATH
21086 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21087 done
21088 PS1='$ '
21089 PS2='> '
21090 PS4='+ '
21092 # NLS nuisances.
21093 for as_var in \
21094 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21095 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21096 LC_TELEPHONE LC_TIME
21098 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21099 eval $as_var=C; export $as_var
21100 else
21101 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21103 done
21105 # Required to use basename.
21106 if expr a : '\(a\)' >/dev/null 2>&1 &&
21107 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21108 as_expr=expr
21109 else
21110 as_expr=false
21113 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21114 as_basename=basename
21115 else
21116 as_basename=false
21120 # Name of the executable.
21121 as_me=`$as_basename -- "$0" ||
21122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21123 X"$0" : 'X\(//\)$' \| \
21124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21125 echo X/"$0" |
21126 sed '/^.*\/\([^/][^/]*\)\/*$/{
21127 s//\1/
21130 /^X\/\(\/\/\)$/{
21131 s//\1/
21134 /^X\/\(\/\).*/{
21135 s//\1/
21138 s/.*/./; q'`
21140 # CDPATH.
21141 $as_unset CDPATH
21145 as_lineno_1=$LINENO
21146 as_lineno_2=$LINENO
21147 test "x$as_lineno_1" != "x$as_lineno_2" &&
21148 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21150 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21151 # uniformly replaced by the line number. The first 'sed' inserts a
21152 # line-number line after each line using $LINENO; the second 'sed'
21153 # does the real work. The second script uses 'N' to pair each
21154 # line-number line with the line containing $LINENO, and appends
21155 # trailing '-' during substitution so that $LINENO is not a special
21156 # case at line end.
21157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21158 # scripts with optimization help from Paolo Bonzini. Blame Lee
21159 # E. McMahon (1931-1989) for sed's syntax. :-)
21160 sed -n '
21162 /[$]LINENO/=
21163 ' <$as_myself |
21164 sed '
21165 s/[$]LINENO.*/&-/
21166 t lineno
21168 :lineno
21170 :loop
21171 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21172 t loop
21173 s/-\n.*//
21174 ' >$as_me.lineno &&
21175 chmod +x "$as_me.lineno" ||
21176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21177 { (exit 1); exit 1; }; }
21179 # Don't try to exec as it changes $[0], causing all sort of problems
21180 # (the dirname of $[0] is not the place where we might find the
21181 # original and so on. Autoconf is especially sensitive to this).
21182 . "./$as_me.lineno"
21183 # Exit status is that of the last command.
21184 exit
21188 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21189 as_dirname=dirname
21190 else
21191 as_dirname=false
21194 ECHO_C= ECHO_N= ECHO_T=
21195 case `echo -n x` in
21196 -n*)
21197 case `echo 'x\c'` in
21198 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21199 *) ECHO_C='\c';;
21200 esac;;
21202 ECHO_N='-n';;
21203 esac
21205 if expr a : '\(a\)' >/dev/null 2>&1 &&
21206 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21207 as_expr=expr
21208 else
21209 as_expr=false
21212 rm -f conf$$ conf$$.exe conf$$.file
21213 if test -d conf$$.dir; then
21214 rm -f conf$$.dir/conf$$.file
21215 else
21216 rm -f conf$$.dir
21217 mkdir conf$$.dir
21219 echo >conf$$.file
21220 if ln -s conf$$.file conf$$ 2>/dev/null; then
21221 as_ln_s='ln -s'
21222 # ... but there are two gotchas:
21223 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21224 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21225 # In both cases, we have to default to `cp -p'.
21226 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21227 as_ln_s='cp -p'
21228 elif ln conf$$.file conf$$ 2>/dev/null; then
21229 as_ln_s=ln
21230 else
21231 as_ln_s='cp -p'
21233 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21234 rmdir conf$$.dir 2>/dev/null
21236 if mkdir -p . 2>/dev/null; then
21237 as_mkdir_p=:
21238 else
21239 test -d ./-p && rmdir ./-p
21240 as_mkdir_p=false
21243 if test -x / >/dev/null 2>&1; then
21244 as_test_x='test -x'
21245 else
21246 if ls -dL / >/dev/null 2>&1; then
21247 as_ls_L_option=L
21248 else
21249 as_ls_L_option=
21251 as_test_x='
21252 eval sh -c '\''
21253 if test -d "$1"; then
21254 test -d "$1/.";
21255 else
21256 case $1 in
21257 -*)set "./$1";;
21258 esac;
21259 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21260 ???[sx]*):;;*)false;;esac;fi
21261 '\'' sh
21264 as_executable_p=$as_test_x
21266 # Sed expression to map a string onto a valid CPP name.
21267 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21269 # Sed expression to map a string onto a valid variable name.
21270 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21273 exec 6>&1
21275 # Save the log message, to keep $[0] and so on meaningful, and to
21276 # report actual input values of CONFIG_FILES etc. instead of their
21277 # values after options handling.
21278 ac_log="
21279 This file was extended by Wine $as_me 0.9.45, which was
21280 generated by GNU Autoconf 2.61. Invocation command line was
21282 CONFIG_FILES = $CONFIG_FILES
21283 CONFIG_HEADERS = $CONFIG_HEADERS
21284 CONFIG_LINKS = $CONFIG_LINKS
21285 CONFIG_COMMANDS = $CONFIG_COMMANDS
21286 $ $0 $@
21288 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21291 _ACEOF
21293 cat >>$CONFIG_STATUS <<_ACEOF
21294 # Files that config.status was made for.
21295 config_files="$ac_config_files"
21296 config_headers="$ac_config_headers"
21297 config_commands="$ac_config_commands"
21299 _ACEOF
21301 cat >>$CONFIG_STATUS <<\_ACEOF
21302 ac_cs_usage="\
21303 \`$as_me' instantiates files from templates according to the
21304 current configuration.
21306 Usage: $0 [OPTIONS] [FILE]...
21308 -h, --help print this help, then exit
21309 -V, --version print version number and configuration settings, then exit
21310 -q, --quiet do not print progress messages
21311 -d, --debug don't remove temporary files
21312 --recheck update $as_me by reconfiguring in the same conditions
21313 --file=FILE[:TEMPLATE]
21314 instantiate the configuration file FILE
21315 --header=FILE[:TEMPLATE]
21316 instantiate the configuration header FILE
21318 Configuration files:
21319 $config_files
21321 Configuration headers:
21322 $config_headers
21324 Configuration commands:
21325 $config_commands
21327 Report bugs to <bug-autoconf@gnu.org>."
21329 _ACEOF
21330 cat >>$CONFIG_STATUS <<_ACEOF
21331 ac_cs_version="\\
21332 Wine config.status 0.9.45
21333 configured by $0, generated by GNU Autoconf 2.61,
21334 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21336 Copyright (C) 2006 Free Software Foundation, Inc.
21337 This config.status script is free software; the Free Software Foundation
21338 gives unlimited permission to copy, distribute and modify it."
21340 ac_pwd='$ac_pwd'
21341 srcdir='$srcdir'
21342 INSTALL='$INSTALL'
21343 _ACEOF
21345 cat >>$CONFIG_STATUS <<\_ACEOF
21346 # If no file are specified by the user, then we need to provide default
21347 # value. By we need to know if files were specified by the user.
21348 ac_need_defaults=:
21349 while test $# != 0
21351 case $1 in
21352 --*=*)
21353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21354 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21355 ac_shift=:
21358 ac_option=$1
21359 ac_optarg=$2
21360 ac_shift=shift
21362 esac
21364 case $ac_option in
21365 # Handling of the options.
21366 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21367 ac_cs_recheck=: ;;
21368 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21369 echo "$ac_cs_version"; exit ;;
21370 --debug | --debu | --deb | --de | --d | -d )
21371 debug=: ;;
21372 --file | --fil | --fi | --f )
21373 $ac_shift
21374 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21375 ac_need_defaults=false;;
21376 --header | --heade | --head | --hea )
21377 $ac_shift
21378 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21379 ac_need_defaults=false;;
21380 --he | --h)
21381 # Conflict between --help and --header
21382 { echo "$as_me: error: ambiguous option: $1
21383 Try \`$0 --help' for more information." >&2
21384 { (exit 1); exit 1; }; };;
21385 --help | --hel | -h )
21386 echo "$ac_cs_usage"; exit ;;
21387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21388 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21389 ac_cs_silent=: ;;
21391 # This is an error.
21392 -*) { echo "$as_me: error: unrecognized option: $1
21393 Try \`$0 --help' for more information." >&2
21394 { (exit 1); exit 1; }; } ;;
21396 *) ac_config_targets="$ac_config_targets $1"
21397 ac_need_defaults=false ;;
21399 esac
21400 shift
21401 done
21403 ac_configure_extra_args=
21405 if $ac_cs_silent; then
21406 exec 6>/dev/null
21407 ac_configure_extra_args="$ac_configure_extra_args --silent"
21410 _ACEOF
21411 cat >>$CONFIG_STATUS <<_ACEOF
21412 if \$ac_cs_recheck; then
21413 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21414 CONFIG_SHELL=$SHELL
21415 export CONFIG_SHELL
21416 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21419 _ACEOF
21420 cat >>$CONFIG_STATUS <<\_ACEOF
21421 exec 5>>config.log
21423 echo
21424 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21425 ## Running $as_me. ##
21426 _ASBOX
21427 echo "$ac_log"
21428 } >&5
21430 _ACEOF
21431 cat >>$CONFIG_STATUS <<_ACEOF
21432 _ACEOF
21434 cat >>$CONFIG_STATUS <<\_ACEOF
21436 # Handling of arguments.
21437 for ac_config_target in $ac_config_targets
21439 case $ac_config_target in
21440 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21441 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21442 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21443 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21444 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21445 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21446 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21447 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21448 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21449 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21450 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21451 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21452 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21453 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21454 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21455 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21456 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21457 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21458 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21459 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21460 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21461 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21462 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21463 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21464 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21465 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21466 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21467 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21468 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21469 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21470 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21471 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21472 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21473 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21474 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21475 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21476 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21477 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21478 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21479 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21480 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21481 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21482 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21483 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21484 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21485 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21486 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21487 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21488 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21489 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21490 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21491 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21492 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21493 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21494 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21495 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21496 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21497 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21498 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21499 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21500 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21501 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21502 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21503 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21504 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21505 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21506 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21507 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21508 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21509 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21510 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21511 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21512 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21513 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21514 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21515 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21516 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21517 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21518 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21519 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21520 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21521 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21522 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21523 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21524 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21525 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21526 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21527 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21528 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21529 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21530 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21531 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21532 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21533 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21534 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21535 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21536 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21537 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21538 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21539 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21540 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21541 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21542 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21543 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21544 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21545 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21546 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21547 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21548 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21549 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21550 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21551 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21552 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21553 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21554 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21555 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21556 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21557 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21558 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21559 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21560 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21561 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21562 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21563 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21564 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21565 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21566 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21567 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21568 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21569 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21570 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21571 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21572 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21573 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21574 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21575 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21576 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21577 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21578 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21579 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21580 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21581 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21582 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21583 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21584 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21585 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21586 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21587 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21588 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21589 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21590 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21591 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21592 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21593 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21594 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21595 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21596 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21597 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21598 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21599 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21600 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21601 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21602 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21603 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21604 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21605 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21606 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21607 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21608 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21609 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21610 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21611 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21612 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21613 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21614 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21615 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21616 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21617 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21618 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21619 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21620 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21621 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21622 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21623 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21624 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21625 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21626 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21627 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21628 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21629 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21630 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21631 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21632 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21633 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
21634 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21635 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21636 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21637 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21638 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21639 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21640 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21641 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21642 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21643 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21644 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21645 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21646 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21647 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21648 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21649 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21650 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21651 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21652 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21653 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21654 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21655 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21656 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21657 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21658 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21659 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21660 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21661 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21662 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21663 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21664 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21665 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21666 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21667 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21668 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21669 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21670 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21671 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21672 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21673 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21674 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21675 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21676 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21677 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21678 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21679 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21680 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21681 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21682 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21683 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21684 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21685 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21686 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21687 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21688 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21689 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21690 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21691 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21692 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21693 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21694 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21695 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21696 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21697 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21698 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21699 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21700 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21701 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21702 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21703 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21704 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21705 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21706 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21707 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21708 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21709 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21710 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21711 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21712 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21713 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21714 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21715 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21716 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21717 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21718 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21719 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21720 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21721 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21722 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21723 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21724 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21725 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21726 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21727 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21728 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21729 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21730 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21731 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21732 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21733 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21734 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21735 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21736 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21737 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21738 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21739 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21740 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21741 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21742 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21743 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21744 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21745 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21746 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21747 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21748 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21749 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21750 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21751 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21752 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21753 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21754 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21755 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21756 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21757 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21758 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21759 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21760 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21761 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21762 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21763 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21764 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21765 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21766 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21767 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21768 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21769 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21770 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21771 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21772 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21773 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21774 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21775 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21776 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21777 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21778 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21779 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21780 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21781 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21782 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21783 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21784 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21785 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21786 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21787 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21788 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21789 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21790 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21791 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21792 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21793 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21794 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21795 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
21796 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21797 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21798 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21799 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21800 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21801 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21802 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21803 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21804 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21806 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21807 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21808 { (exit 1); exit 1; }; };;
21809 esac
21810 done
21813 # If the user did not use the arguments to specify the items to instantiate,
21814 # then the envvar interface is used. Set only those that are not.
21815 # We use the long form for the default assignment because of an extremely
21816 # bizarre bug on SunOS 4.1.3.
21817 if $ac_need_defaults; then
21818 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21819 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21820 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21823 # Have a temporary directory for convenience. Make it in the build tree
21824 # simply because there is no reason against having it here, and in addition,
21825 # creating and moving files from /tmp can sometimes cause problems.
21826 # Hook for its removal unless debugging.
21827 # Note that there is a small window in which the directory will not be cleaned:
21828 # after its creation but before its name has been assigned to `$tmp'.
21829 $debug ||
21831 tmp=
21832 trap 'exit_status=$?
21833 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21835 trap '{ (exit 1); exit 1; }' 1 2 13 15
21837 # Create a (secure) tmp directory for tmp files.
21840 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21841 test -n "$tmp" && test -d "$tmp"
21842 } ||
21844 tmp=./conf$$-$RANDOM
21845 (umask 077 && mkdir "$tmp")
21846 } ||
21848 echo "$me: cannot create a temporary directory in ." >&2
21849 { (exit 1); exit 1; }
21853 # Set up the sed scripts for CONFIG_FILES section.
21856 # No need to generate the scripts if there are no CONFIG_FILES.
21857 # This happens for instance when ./config.status config.h
21858 if test -n "$CONFIG_FILES"; then
21860 _ACEOF
21862 # Create sed commands to just substitute file output variables.
21864 # Remaining file output variables are in a fragment that also has non-file
21865 # output varibles.
21869 ac_delim='%!_!# '
21870 for ac_last_try in false false false false false :; do
21871 cat >conf$$subs.sed <<_ACEOF
21872 SHELL!$SHELL$ac_delim
21873 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21874 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21875 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21876 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21877 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21878 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21879 exec_prefix!$exec_prefix$ac_delim
21880 prefix!$prefix$ac_delim
21881 program_transform_name!$program_transform_name$ac_delim
21882 bindir!$bindir$ac_delim
21883 sbindir!$sbindir$ac_delim
21884 libexecdir!$libexecdir$ac_delim
21885 datarootdir!$datarootdir$ac_delim
21886 datadir!$datadir$ac_delim
21887 sysconfdir!$sysconfdir$ac_delim
21888 sharedstatedir!$sharedstatedir$ac_delim
21889 localstatedir!$localstatedir$ac_delim
21890 includedir!$includedir$ac_delim
21891 oldincludedir!$oldincludedir$ac_delim
21892 docdir!$docdir$ac_delim
21893 infodir!$infodir$ac_delim
21894 htmldir!$htmldir$ac_delim
21895 dvidir!$dvidir$ac_delim
21896 pdfdir!$pdfdir$ac_delim
21897 psdir!$psdir$ac_delim
21898 libdir!$libdir$ac_delim
21899 localedir!$localedir$ac_delim
21900 mandir!$mandir$ac_delim
21901 DEFS!$DEFS$ac_delim
21902 ECHO_C!$ECHO_C$ac_delim
21903 ECHO_N!$ECHO_N$ac_delim
21904 ECHO_T!$ECHO_T$ac_delim
21905 LIBS!$LIBS$ac_delim
21906 build_alias!$build_alias$ac_delim
21907 host_alias!$host_alias$ac_delim
21908 target_alias!$target_alias$ac_delim
21909 build!$build$ac_delim
21910 build_cpu!$build_cpu$ac_delim
21911 build_vendor!$build_vendor$ac_delim
21912 build_os!$build_os$ac_delim
21913 host!$host$ac_delim
21914 host_cpu!$host_cpu$ac_delim
21915 host_vendor!$host_vendor$ac_delim
21916 host_os!$host_os$ac_delim
21917 WIN16_FILES!$WIN16_FILES$ac_delim
21918 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21919 SET_MAKE!$SET_MAKE$ac_delim
21920 CC!$CC$ac_delim
21921 CFLAGS!$CFLAGS$ac_delim
21922 LDFLAGS!$LDFLAGS$ac_delim
21923 CPPFLAGS!$CPPFLAGS$ac_delim
21924 ac_ct_CC!$ac_ct_CC$ac_delim
21925 EXEEXT!$EXEEXT$ac_delim
21926 OBJEXT!$OBJEXT$ac_delim
21927 CXX!$CXX$ac_delim
21928 CXXFLAGS!$CXXFLAGS$ac_delim
21929 ac_ct_CXX!$ac_ct_CXX$ac_delim
21930 CPPBIN!$CPPBIN$ac_delim
21931 TOOLSDIR!$TOOLSDIR$ac_delim
21932 XMKMF!$XMKMF$ac_delim
21933 CPP!$CPP$ac_delim
21934 X_CFLAGS!$X_CFLAGS$ac_delim
21935 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21936 X_LIBS!$X_LIBS$ac_delim
21937 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21938 FLEX!$FLEX$ac_delim
21939 BISON!$BISON$ac_delim
21940 AS!$AS$ac_delim
21941 ac_ct_AS!$ac_ct_AS$ac_delim
21942 LD!$LD$ac_delim
21943 AR!$AR$ac_delim
21944 RANLIB!$RANLIB$ac_delim
21945 STRIP!$STRIP$ac_delim
21946 WINDRES!$WINDRES$ac_delim
21947 LN_S!$LN_S$ac_delim
21948 LN!$LN$ac_delim
21949 GREP!$GREP$ac_delim
21950 EGREP!$EGREP$ac_delim
21951 LDCONFIG!$LDCONFIG$ac_delim
21952 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21953 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21954 _ACEOF
21956 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21957 break
21958 elif $ac_last_try; then
21959 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21960 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21961 { (exit 1); exit 1; }; }
21962 else
21963 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21965 done
21967 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21968 if test -n "$ac_eof"; then
21969 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21970 ac_eof=`expr $ac_eof + 1`
21973 cat >>$CONFIG_STATUS <<_ACEOF
21974 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21975 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21976 /^[ ]*@MAKE_RULES@[ ]*$/{
21977 r $MAKE_RULES
21980 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21981 r $MAKE_DLL_RULES
21984 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21985 r $MAKE_IMPLIB_RULES
21988 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21989 r $MAKE_TEST_RULES
21992 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21993 r $MAKE_PROG_RULES
21996 _ACEOF
21997 sed '
21998 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21999 s/^/s,@/; s/!/@,|#_!!_#|/
22002 s/'"$ac_delim"'$/,g/; t
22003 s/$/\\/; p
22004 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22005 ' >>$CONFIG_STATUS <conf$$subs.sed
22006 rm -f conf$$subs.sed
22007 cat >>$CONFIG_STATUS <<_ACEOF
22008 CEOF$ac_eof
22009 _ACEOF
22012 ac_delim='%!_!# '
22013 for ac_last_try in false false false false false :; do
22014 cat >conf$$subs.sed <<_ACEOF
22015 INSTALL_DATA!$INSTALL_DATA$ac_delim
22016 LINT!$LINT$ac_delim
22017 LINTFLAGS!$LINTFLAGS$ac_delim
22018 FONTFORGE!$FONTFORGE$ac_delim
22019 PKG_CONFIG!$PKG_CONFIG$ac_delim
22020 PRELINK!$PRELINK$ac_delim
22021 LIBPTHREAD!$LIBPTHREAD$ac_delim
22022 XLIB!$XLIB$ac_delim
22023 XFILES!$XFILES$ac_delim
22024 OPENGLFILES!$OPENGLFILES$ac_delim
22025 GLU32FILES!$GLU32FILES$ac_delim
22026 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22027 QUARTZFILES!$QUARTZFILES$ac_delim
22028 DLLEXT!$DLLEXT$ac_delim
22029 DLLFLAGS!$DLLFLAGS$ac_delim
22030 LDSHARED!$LDSHARED$ac_delim
22031 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22032 LIBEXT!$LIBEXT$ac_delim
22033 IMPLIBEXT!$IMPLIBEXT$ac_delim
22034 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22035 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22036 LDD!$LDD$ac_delim
22037 DLLTOOL!$DLLTOOL$ac_delim
22038 DLLWRAP!$DLLWRAP$ac_delim
22039 MINGWAR!$MINGWAR$ac_delim
22040 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22041 IOKITLIB!$IOKITLIB$ac_delim
22042 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22043 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22044 COREAUDIO!$COREAUDIO$ac_delim
22045 CARBONLIB!$CARBONLIB$ac_delim
22046 CROSSTEST!$CROSSTEST$ac_delim
22047 CROSSCC!$CROSSCC$ac_delim
22048 CROSSWINDRES!$CROSSWINDRES$ac_delim
22049 NASLIBS!$NASLIBS$ac_delim
22050 XML2LIBS!$XML2LIBS$ac_delim
22051 XML2INCL!$XML2INCL$ac_delim
22052 XSLTLIBS!$XSLTLIBS$ac_delim
22053 XSLTINCL!$XSLTINCL$ac_delim
22054 HALINCL!$HALINCL$ac_delim
22055 sane_devel!$sane_devel$ac_delim
22056 SANEINCL!$SANEINCL$ac_delim
22057 gphoto2_devel!$gphoto2_devel$ac_delim
22058 gphoto2port_devel!$gphoto2port_devel$ac_delim
22059 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22060 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22061 RESOLVLIBS!$RESOLVLIBS$ac_delim
22062 LCMSLIBS!$LCMSLIBS$ac_delim
22063 LDAPLIBS!$LDAPLIBS$ac_delim
22064 ft_devel!$ft_devel$ac_delim
22065 FREETYPELIBS!$FREETYPELIBS$ac_delim
22066 FREETYPEINCL!$FREETYPEINCL$ac_delim
22067 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22068 ESDCONFIG!$ESDCONFIG$ac_delim
22069 ESDLIBS!$ESDLIBS$ac_delim
22070 ESDINCL!$ESDINCL$ac_delim
22071 ALSALIBS!$ALSALIBS$ac_delim
22072 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22073 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22074 BUILTINFLAG!$BUILTINFLAG$ac_delim
22075 LDPATH!$LDPATH$ac_delim
22076 CRTLIBS!$CRTLIBS$ac_delim
22077 SOCKETLIBS!$SOCKETLIBS$ac_delim
22078 MAIN_BINARY!$MAIN_BINARY$ac_delim
22079 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22080 LIBDL!$LIBDL$ac_delim
22081 LIBPOLL!$LIBPOLL$ac_delim
22082 DEPENDENCIES!$DEPENDENCIES$ac_delim
22083 LIBOBJS!$LIBOBJS$ac_delim
22084 LTLIBOBJS!$LTLIBOBJS$ac_delim
22085 _ACEOF
22087 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
22088 break
22089 elif $ac_last_try; then
22090 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22091 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22092 { (exit 1); exit 1; }; }
22093 else
22094 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22096 done
22098 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22099 if test -n "$ac_eof"; then
22100 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22101 ac_eof=`expr $ac_eof + 1`
22104 cat >>$CONFIG_STATUS <<_ACEOF
22105 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22107 _ACEOF
22108 sed '
22109 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22110 s/^/s,@/; s/!/@,|#_!!_#|/
22113 s/'"$ac_delim"'$/,g/; t
22114 s/$/\\/; p
22115 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22116 ' >>$CONFIG_STATUS <conf$$subs.sed
22117 rm -f conf$$subs.sed
22118 cat >>$CONFIG_STATUS <<_ACEOF
22119 :end
22120 s/|#_!!_#|//g
22121 CEOF$ac_eof
22122 _ACEOF
22125 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22126 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22127 # trailing colons and then remove the whole line if VPATH becomes empty
22128 # (actually we leave an empty line to preserve line numbers).
22129 if test "x$srcdir" = x.; then
22130 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22131 s/:*\$(srcdir):*/:/
22132 s/:*\${srcdir}:*/:/
22133 s/:*@srcdir@:*/:/
22134 s/^\([^=]*=[ ]*\):*/\1/
22135 s/:*$//
22136 s/^[^=]*=[ ]*$//
22140 cat >>$CONFIG_STATUS <<\_ACEOF
22141 fi # test -n "$CONFIG_FILES"
22144 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22146 case $ac_tag in
22147 :[FHLC]) ac_mode=$ac_tag; continue;;
22148 esac
22149 case $ac_mode$ac_tag in
22150 :[FHL]*:*);;
22151 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22152 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22153 { (exit 1); exit 1; }; };;
22154 :[FH]-) ac_tag=-:-;;
22155 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22156 esac
22157 ac_save_IFS=$IFS
22158 IFS=:
22159 set x $ac_tag
22160 IFS=$ac_save_IFS
22161 shift
22162 ac_file=$1
22163 shift
22165 case $ac_mode in
22166 :L) ac_source=$1;;
22167 :[FH])
22168 ac_file_inputs=
22169 for ac_f
22171 case $ac_f in
22172 -) ac_f="$tmp/stdin";;
22173 *) # Look for the file first in the build tree, then in the source tree
22174 # (if the path is not absolute). The absolute path cannot be DOS-style,
22175 # because $ac_f cannot contain `:'.
22176 test -f "$ac_f" ||
22177 case $ac_f in
22178 [\\/$]*) false;;
22179 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22180 esac ||
22181 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22182 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22183 { (exit 1); exit 1; }; };;
22184 esac
22185 ac_file_inputs="$ac_file_inputs $ac_f"
22186 done
22188 # Let's still pretend it is `configure' which instantiates (i.e., don't
22189 # use $as_me), people would be surprised to read:
22190 # /* config.h. Generated by config.status. */
22191 configure_input="Generated from "`IFS=:
22192 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22193 if test x"$ac_file" != x-; then
22194 configure_input="$ac_file. $configure_input"
22195 { echo "$as_me:$LINENO: creating $ac_file" >&5
22196 echo "$as_me: creating $ac_file" >&6;}
22199 case $ac_tag in
22200 *:-:* | *:-) cat >"$tmp/stdin";;
22201 esac
22203 esac
22205 ac_dir=`$as_dirname -- "$ac_file" ||
22206 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22207 X"$ac_file" : 'X\(//\)[^/]' \| \
22208 X"$ac_file" : 'X\(//\)$' \| \
22209 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22210 echo X"$ac_file" |
22211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22212 s//\1/
22215 /^X\(\/\/\)[^/].*/{
22216 s//\1/
22219 /^X\(\/\/\)$/{
22220 s//\1/
22223 /^X\(\/\).*/{
22224 s//\1/
22227 s/.*/./; q'`
22228 { as_dir="$ac_dir"
22229 case $as_dir in #(
22230 -*) as_dir=./$as_dir;;
22231 esac
22232 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22233 as_dirs=
22234 while :; do
22235 case $as_dir in #(
22236 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22237 *) as_qdir=$as_dir;;
22238 esac
22239 as_dirs="'$as_qdir' $as_dirs"
22240 as_dir=`$as_dirname -- "$as_dir" ||
22241 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22242 X"$as_dir" : 'X\(//\)[^/]' \| \
22243 X"$as_dir" : 'X\(//\)$' \| \
22244 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22245 echo X"$as_dir" |
22246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22247 s//\1/
22250 /^X\(\/\/\)[^/].*/{
22251 s//\1/
22254 /^X\(\/\/\)$/{
22255 s//\1/
22258 /^X\(\/\).*/{
22259 s//\1/
22262 s/.*/./; q'`
22263 test -d "$as_dir" && break
22264 done
22265 test -z "$as_dirs" || eval "mkdir $as_dirs"
22266 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22267 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22268 { (exit 1); exit 1; }; }; }
22269 ac_builddir=.
22271 case "$ac_dir" in
22272 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22274 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22275 # A ".." for each directory in $ac_dir_suffix.
22276 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22277 case $ac_top_builddir_sub in
22278 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22279 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22280 esac ;;
22281 esac
22282 ac_abs_top_builddir=$ac_pwd
22283 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22284 # for backward compatibility:
22285 ac_top_builddir=$ac_top_build_prefix
22287 case $srcdir in
22288 .) # We are building in place.
22289 ac_srcdir=.
22290 ac_top_srcdir=$ac_top_builddir_sub
22291 ac_abs_top_srcdir=$ac_pwd ;;
22292 [\\/]* | ?:[\\/]* ) # Absolute name.
22293 ac_srcdir=$srcdir$ac_dir_suffix;
22294 ac_top_srcdir=$srcdir
22295 ac_abs_top_srcdir=$srcdir ;;
22296 *) # Relative name.
22297 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22298 ac_top_srcdir=$ac_top_build_prefix$srcdir
22299 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22300 esac
22301 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22304 case $ac_mode in
22307 # CONFIG_FILE
22310 case $INSTALL in
22311 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22312 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22313 esac
22314 _ACEOF
22316 cat >>$CONFIG_STATUS <<\_ACEOF
22317 # If the template does not know about datarootdir, expand it.
22318 # FIXME: This hack should be removed a few years after 2.60.
22319 ac_datarootdir_hack=; ac_datarootdir_seen=
22321 case `sed -n '/datarootdir/ {
22325 /@datadir@/p
22326 /@docdir@/p
22327 /@infodir@/p
22328 /@localedir@/p
22329 /@mandir@/p
22330 ' $ac_file_inputs` in
22331 *datarootdir*) ac_datarootdir_seen=yes;;
22332 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22333 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22334 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22335 _ACEOF
22336 cat >>$CONFIG_STATUS <<_ACEOF
22337 ac_datarootdir_hack='
22338 s&@datadir@&$datadir&g
22339 s&@docdir@&$docdir&g
22340 s&@infodir@&$infodir&g
22341 s&@localedir@&$localedir&g
22342 s&@mandir@&$mandir&g
22343 s&\\\${datarootdir}&$datarootdir&g' ;;
22344 esac
22345 _ACEOF
22347 # Neutralize VPATH when `$srcdir' = `.'.
22348 # Shell code in configure.ac might set extrasub.
22349 # FIXME: do we really want to maintain this feature?
22350 cat >>$CONFIG_STATUS <<_ACEOF
22351 sed "$ac_vpsub
22352 $extrasub
22353 _ACEOF
22354 cat >>$CONFIG_STATUS <<\_ACEOF
22356 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22357 s&@configure_input@&$configure_input&;t t
22358 s&@top_builddir@&$ac_top_builddir_sub&;t t
22359 s&@srcdir@&$ac_srcdir&;t t
22360 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22361 s&@top_srcdir@&$ac_top_srcdir&;t t
22362 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22363 s&@builddir@&$ac_builddir&;t t
22364 s&@abs_builddir@&$ac_abs_builddir&;t t
22365 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22366 s&@INSTALL@&$ac_INSTALL&;t t
22367 $ac_datarootdir_hack
22368 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22370 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22371 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22372 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22373 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22374 which seems to be undefined. Please make sure it is defined." >&5
22375 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22376 which seems to be undefined. Please make sure it is defined." >&2;}
22378 rm -f "$tmp/stdin"
22379 case $ac_file in
22380 -) cat "$tmp/out"; rm -f "$tmp/out";;
22381 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22382 esac
22386 # CONFIG_HEADER
22388 _ACEOF
22390 # Transform confdefs.h into a sed script `conftest.defines', that
22391 # substitutes the proper values into config.h.in to produce config.h.
22392 rm -f conftest.defines conftest.tail
22393 # First, append a space to every undef/define line, to ease matching.
22394 echo 's/$/ /' >conftest.defines
22395 # Then, protect against being on the right side of a sed subst, or in
22396 # an unquoted here document, in config.status. If some macros were
22397 # called several times there might be several #defines for the same
22398 # symbol, which is useless. But do not sort them, since the last
22399 # AC_DEFINE must be honored.
22400 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22401 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22402 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22403 # PARAMS is the parameter list in the macro definition--in most cases, it's
22404 # just an empty string.
22405 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22406 ac_dB='\\)[ (].*,\\1define\\2'
22407 ac_dC=' '
22408 ac_dD=' ,'
22410 uniq confdefs.h |
22411 sed -n '
22412 t rset
22413 :rset
22414 s/^[ ]*#[ ]*define[ ][ ]*//
22415 t ok
22418 s/[\\&,]/\\&/g
22419 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22420 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22421 ' >>conftest.defines
22423 # Remove the space that was appended to ease matching.
22424 # Then replace #undef with comments. This is necessary, for
22425 # example, in the case of _POSIX_SOURCE, which is predefined and required
22426 # on some systems where configure will not decide to define it.
22427 # (The regexp can be short, since the line contains either #define or #undef.)
22428 echo 's/ $//
22429 s,^[ #]*u.*,/* & */,' >>conftest.defines
22431 # Break up conftest.defines:
22432 ac_max_sed_lines=50
22434 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22435 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22436 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22437 # et cetera.
22438 ac_in='$ac_file_inputs'
22439 ac_out='"$tmp/out1"'
22440 ac_nxt='"$tmp/out2"'
22442 while :
22444 # Write a here document:
22445 cat >>$CONFIG_STATUS <<_ACEOF
22446 # First, check the format of the line:
22447 cat >"\$tmp/defines.sed" <<\\CEOF
22448 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22449 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22451 :def
22452 _ACEOF
22453 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22454 echo 'CEOF
22455 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22456 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22457 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22458 grep . conftest.tail >/dev/null || break
22459 rm -f conftest.defines
22460 mv conftest.tail conftest.defines
22461 done
22462 rm -f conftest.defines conftest.tail
22464 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22465 cat >>$CONFIG_STATUS <<\_ACEOF
22466 if test x"$ac_file" != x-; then
22467 echo "/* $configure_input */" >"$tmp/config.h"
22468 cat "$ac_result" >>"$tmp/config.h"
22469 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22470 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22471 echo "$as_me: $ac_file is unchanged" >&6;}
22472 else
22473 rm -f $ac_file
22474 mv "$tmp/config.h" $ac_file
22476 else
22477 echo "/* $configure_input */"
22478 cat "$ac_result"
22480 rm -f "$tmp/out12"
22483 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22484 echo "$as_me: executing $ac_file commands" >&6;}
22486 esac
22489 case $ac_file$ac_mode in
22490 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22491 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22492 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22493 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22494 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22495 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22496 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22497 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22498 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22499 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22500 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22501 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22502 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22504 esac
22505 done # for ac_tag
22508 { (exit 0); exit 0; }
22509 _ACEOF
22510 chmod +x $CONFIG_STATUS
22511 ac_clean_files=$ac_clean_files_save
22514 # configure is writing to config.log, and then calls config.status.
22515 # config.status does its own redirection, appending to config.log.
22516 # Unfortunately, on DOS this fails, as config.log is still kept open
22517 # by configure, so config.status won't be able to write to it; its
22518 # output is simply discarded. So we exec the FD to /dev/null,
22519 # effectively closing config.log, so it can be properly (re)opened and
22520 # appended to by config.status. When coming back to configure, we
22521 # need to make the FD available again.
22522 if test "$no_create" != yes; then
22523 ac_cs_success=:
22524 ac_config_status_args=
22525 test "$silent" = yes &&
22526 ac_config_status_args="$ac_config_status_args --quiet"
22527 exec 5>/dev/null
22528 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22529 exec 5>>config.log
22530 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22531 # would make configure fail if this is the last instruction.
22532 $ac_cs_success || { (exit 1); exit 1; }
22536 if test "$no_create" = "yes"
22537 then
22538 exit 0
22541 ac_save_IFS="$IFS"
22542 IFS="|"
22543 if test "$verbose" = "yes"; then
22544 for msg in $wine_notices; do
22545 if test -n "$msg"; then
22546 echo >&2
22547 { echo "$as_me:$LINENO: $msg" >&5
22548 echo "$as_me: $msg" >&6;}
22550 done
22552 for msg in $wine_warnings; do
22553 if test -n "$msg"; then
22554 echo >&2
22555 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22556 echo "$as_me: WARNING: $msg" >&2;}
22558 done
22559 IFS="$ac_save_IFS"
22561 echo
22562 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22563 echo