wined3d: BltFast dealing correctly with overlapping src and dest.
[wine.git] / configure
blob8836c99119b29c445da93f395c4c825f25e6c632
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
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.57'
578 PACKAGE_STRING='Wine 0.9.57'
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 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 DLLEXT
716 DLLFLAGS
717 LDSHARED
718 LDDLLFLAGS
719 LIBEXT
720 IMPLIBEXT
721 LDRPATH_INSTALL
722 LDRPATH_LOCAL
724 DLLTOOL
725 DLLWRAP
726 MINGWAR
727 SECURITYLIB
728 COREFOUNDATIONLIB
729 IOKITLIB
730 LDEXECFLAGS
731 DISKARBITRATIONLIB
732 COREAUDIO
733 CARBONLIB
734 CROSSTEST
735 CROSSCC
736 CROSSWINDRES
737 NASLIBS
738 XML2LIBS
739 XML2INCL
740 XSLTLIBS
741 XSLTINCL
742 HALINCL
743 sane_devel
744 SANEINCL
745 gphoto2_devel
746 gphoto2port_devel
747 GPHOTO2LIBS
748 GPHOTO2INCL
749 RESOLVLIBS
750 LCMSLIBS
751 LDAPLIBS
752 ft_devel
753 FREETYPELIBS
754 FREETYPEINCL
755 FONTSSUBDIRS
756 ESDCONFIG
757 ESDLIBS
758 ESDINCL
759 ALSALIBS
760 AUDIOIOLIBS
761 FONTCONFIGINCL
762 EXTRACFLAGS
763 BUILTINFLAG
764 LDPATH
765 CRTLIBS
766 SOCKETLIBS
767 MAIN_BINARY
768 EXTRA_BINARIES
769 LIBDL
770 LIBPOLL
771 DEPENDENCIES
772 LIBOBJS
773 LTLIBOBJS'
774 ac_subst_files='MAKE_RULES
775 MAKE_DLL_RULES
776 MAKE_IMPLIB_RULES
777 MAKE_TEST_RULES
778 MAKE_PROG_RULES'
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
788 CXXFLAGS
790 XMKMF
791 CPP'
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *) ac_optarg=yes ;;
854 esac
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
860 ac_dashdash=yes ;;
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 ac_prev=bindir ;;
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 bindir=$ac_optarg ;;
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
879 --config-cache | -C)
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
883 ac_prev=datadir ;;
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1128 --x)
1129 # Obsolete; use --with-x.
1130 with_x=yes ;;
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1151 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 esac
1169 done
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 case $ac_val in
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 esac
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1190 done
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1195 build=$build_alias
1196 host=$host_alias
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1206 cross_compiling=yes
1210 ac_tool_prefix=
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 echo X"$0" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 ac_abs_confdir=`(
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1269 pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 srcdir=.
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1293 cat <<_ACEOF
1294 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1303 Configuration:
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 [PREFIX]
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1347 _ACEOF
1349 cat <<\_ACEOF
1351 X features:
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1355 System types:
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1358 _ACEOF
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1364 esac
1365 cat <<\_ACEOF
1367 Optional Features:
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1372 binaries)
1373 --enable-maintainer-mode
1374 enable maintainer-specific build rules
1376 Optional Packages:
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1379 --without-alsa do not use the Alsa sound support
1380 --without-audioio do not use the AudioIO sound support
1381 --without-capi do not use CAPI (ISDN support)
1382 --without-cms do not use CMS (color management support)
1383 --without-coreaudio do not use the CoreAudio sound support
1384 --without-cups do not use CUPS
1385 --without-curses do not use (n)curses
1386 --without-esd do not use the EsounD sound support
1387 --without-fontconfig do not use fontconfig
1388 --without-gphoto do not use gphoto (Digital Camera support)
1389 --without-hal do not use HAL (dynamic device support)
1390 --without-jack do not use the Jack sound support
1391 --without-jpeg do not use JPEG
1392 --without-ldap do not use LDAP
1393 --without-nas do not use the NAS sound support
1394 --without-opengl do not use OpenGL
1395 --without-openssl do not use OpenSSL
1396 --without-oss do not use the OSS sound support
1397 --without-png do not use PNG
1398 --without-sane do not use SANE (scanner support)
1399 --without-xcomposite do not use the Xcomposite extension
1400 --without-xcursor do not use the Xcursor extension
1401 --without-xinerama do not use Xinerama (multi-monitor support)
1402 --without-xinput do not use the Xinput extension
1403 --without-xml do not use XML
1404 --without-xrandr do not use Xrandr (resolution changes)
1405 --without-xrender do not use the Xrender extension
1406 --without-xshape do not use the Xshape extension
1407 --without-xshm do not use XShm (shared memory extension)
1408 --without-xslt do not use XSLT
1409 --without-xvidmode do not use XFree video mode extension
1410 --with-wine-tools=DIR use Wine tools from directory DIR
1411 --with-x use the X Window System
1413 Some influential environment variables:
1414 CC C compiler command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1417 nonstandard directory <lib dir>
1418 LIBS libraries to pass to the linker, e.g. -l<library>
1419 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1420 you have headers in a nonstandard directory <include dir>
1421 CXX C++ compiler command
1422 CXXFLAGS C++ compiler flags
1423 XMKMF Path to xmkmf, Makefile generator for X Window System
1424 CPP C preprocessor
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1429 Report bugs to <wine-devel@winehq.org>.
1430 _ACEOF
1431 ac_status=$?
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" || continue
1438 ac_builddir=.
1440 case "$ac_dir" in
1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1443 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1444 # A ".." for each directory in $ac_dir_suffix.
1445 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1446 case $ac_top_builddir_sub in
1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1449 esac ;;
1450 esac
1451 ac_abs_top_builddir=$ac_pwd
1452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1453 # for backward compatibility:
1454 ac_top_builddir=$ac_top_build_prefix
1456 case $srcdir in
1457 .) # We are building in place.
1458 ac_srcdir=.
1459 ac_top_srcdir=$ac_top_builddir_sub
1460 ac_abs_top_srcdir=$ac_pwd ;;
1461 [\\/]* | ?:[\\/]* ) # Absolute name.
1462 ac_srcdir=$srcdir$ac_dir_suffix;
1463 ac_top_srcdir=$srcdir
1464 ac_abs_top_srcdir=$srcdir ;;
1465 *) # Relative name.
1466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1467 ac_top_srcdir=$ac_top_build_prefix$srcdir
1468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1469 esac
1470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1472 cd "$ac_dir" || { ac_status=$?; continue; }
1473 # Check for guested configure.
1474 if test -f "$ac_srcdir/configure.gnu"; then
1475 echo &&
1476 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1477 elif test -f "$ac_srcdir/configure"; then
1478 echo &&
1479 $SHELL "$ac_srcdir/configure" --help=recursive
1480 else
1481 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1482 fi || ac_status=$?
1483 cd "$ac_pwd" || { ac_status=$?; break; }
1484 done
1487 test -n "$ac_init_help" && exit $ac_status
1488 if $ac_init_version; then
1489 cat <<\_ACEOF
1490 Wine configure 0.9.57
1491 generated by GNU Autoconf 2.61
1493 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1494 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1495 This configure script is free software; the Free Software Foundation
1496 gives unlimited permission to copy, distribute and modify it.
1497 _ACEOF
1498 exit
1500 cat >config.log <<_ACEOF
1501 This file contains any messages produced by compilers while
1502 running configure, to aid debugging if configure makes a mistake.
1504 It was created by Wine $as_me 0.9.57, which was
1505 generated by GNU Autoconf 2.61. Invocation command line was
1507 $ $0 $@
1509 _ACEOF
1510 exec 5>>config.log
1512 cat <<_ASUNAME
1513 ## --------- ##
1514 ## Platform. ##
1515 ## --------- ##
1517 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1518 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1519 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1520 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1521 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1523 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1524 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1526 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1527 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1528 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1529 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1530 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1531 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1532 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1534 _ASUNAME
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 for as_dir in $PATH
1539 IFS=$as_save_IFS
1540 test -z "$as_dir" && as_dir=.
1541 echo "PATH: $as_dir"
1542 done
1543 IFS=$as_save_IFS
1545 } >&5
1547 cat >&5 <<_ACEOF
1550 ## ----------- ##
1551 ## Core tests. ##
1552 ## ----------- ##
1554 _ACEOF
1557 # Keep a trace of the command line.
1558 # Strip out --no-create and --no-recursion so they do not pile up.
1559 # Strip out --silent because we don't want to record it for future runs.
1560 # Also quote any args containing shell meta-characters.
1561 # Make two passes to allow for proper duplicate-argument suppression.
1562 ac_configure_args=
1563 ac_configure_args0=
1564 ac_configure_args1=
1565 ac_must_keep_next=false
1566 for ac_pass in 1 2
1568 for ac_arg
1570 case $ac_arg in
1571 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1572 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1573 | -silent | --silent | --silen | --sile | --sil)
1574 continue ;;
1575 *\'*)
1576 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1577 esac
1578 case $ac_pass in
1579 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1581 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1582 if test $ac_must_keep_next = true; then
1583 ac_must_keep_next=false # Got value, back to normal.
1584 else
1585 case $ac_arg in
1586 *=* | --config-cache | -C | -disable-* | --disable-* \
1587 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1588 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1589 | -with-* | --with-* | -without-* | --without-* | --x)
1590 case "$ac_configure_args0 " in
1591 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1592 esac
1594 -* ) ac_must_keep_next=true ;;
1595 esac
1597 ac_configure_args="$ac_configure_args '$ac_arg'"
1599 esac
1600 done
1601 done
1602 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1603 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1605 # When interrupted or exit'd, cleanup temporary files, and complete
1606 # config.log. We remove comments because anyway the quotes in there
1607 # would cause problems or look ugly.
1608 # WARNING: Use '\'' to represent an apostrophe within the trap.
1609 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1610 trap 'exit_status=$?
1611 # Save into config.log some information that might help in debugging.
1613 echo
1615 cat <<\_ASBOX
1616 ## ---------------- ##
1617 ## Cache variables. ##
1618 ## ---------------- ##
1619 _ASBOX
1620 echo
1621 # The following way of writing the cache mishandles newlines in values,
1623 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1624 eval ac_val=\$$ac_var
1625 case $ac_val in #(
1626 *${as_nl}*)
1627 case $ac_var in #(
1628 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1629 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1630 esac
1631 case $ac_var in #(
1632 _ | IFS | as_nl) ;; #(
1633 *) $as_unset $ac_var ;;
1634 esac ;;
1635 esac
1636 done
1637 (set) 2>&1 |
1638 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1639 *${as_nl}ac_space=\ *)
1640 sed -n \
1641 "s/'\''/'\''\\\\'\'''\''/g;
1642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1643 ;; #(
1645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1647 esac |
1648 sort
1650 echo
1652 cat <<\_ASBOX
1653 ## ----------------- ##
1654 ## Output variables. ##
1655 ## ----------------- ##
1656 _ASBOX
1657 echo
1658 for ac_var in $ac_subst_vars
1660 eval ac_val=\$$ac_var
1661 case $ac_val in
1662 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663 esac
1664 echo "$ac_var='\''$ac_val'\''"
1665 done | sort
1666 echo
1668 if test -n "$ac_subst_files"; then
1669 cat <<\_ASBOX
1670 ## ------------------- ##
1671 ## File substitutions. ##
1672 ## ------------------- ##
1673 _ASBOX
1674 echo
1675 for ac_var in $ac_subst_files
1677 eval ac_val=\$$ac_var
1678 case $ac_val in
1679 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1680 esac
1681 echo "$ac_var='\''$ac_val'\''"
1682 done | sort
1683 echo
1686 if test -s confdefs.h; then
1687 cat <<\_ASBOX
1688 ## ----------- ##
1689 ## confdefs.h. ##
1690 ## ----------- ##
1691 _ASBOX
1692 echo
1693 cat confdefs.h
1694 echo
1696 test "$ac_signal" != 0 &&
1697 echo "$as_me: caught signal $ac_signal"
1698 echo "$as_me: exit $exit_status"
1699 } >&5
1700 rm -f core *.core core.conftest.* &&
1701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1702 exit $exit_status
1704 for ac_signal in 1 2 13 15; do
1705 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1706 done
1707 ac_signal=0
1709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1710 rm -f -r conftest* confdefs.h
1712 # Predefined preprocessor variables.
1714 cat >>confdefs.h <<_ACEOF
1715 #define PACKAGE_NAME "$PACKAGE_NAME"
1716 _ACEOF
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1721 _ACEOF
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1726 _ACEOF
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_STRING "$PACKAGE_STRING"
1731 _ACEOF
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1736 _ACEOF
1739 # Let the site file select an alternate cache file if it wants to.
1740 # Prefer explicitly selected file to automatically selected ones.
1741 if test -n "$CONFIG_SITE"; then
1742 set x "$CONFIG_SITE"
1743 elif test "x$prefix" != xNONE; then
1744 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1745 else
1746 set x "$ac_default_prefix/share/config.site" \
1747 "$ac_default_prefix/etc/config.site"
1749 shift
1750 for ac_site_file
1752 if test -r "$ac_site_file"; then
1753 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1754 echo "$as_me: loading site script $ac_site_file" >&6;}
1755 sed 's/^/| /' "$ac_site_file" >&5
1756 . "$ac_site_file"
1758 done
1760 if test -r "$cache_file"; then
1761 # Some versions of bash will fail to source /dev/null (special
1762 # files actually), so we avoid doing that.
1763 if test -f "$cache_file"; then
1764 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1765 echo "$as_me: loading cache $cache_file" >&6;}
1766 case $cache_file in
1767 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1768 *) . "./$cache_file";;
1769 esac
1771 else
1772 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1773 echo "$as_me: creating cache $cache_file" >&6;}
1774 >$cache_file
1777 # Check that the precious variables saved in the cache have kept the same
1778 # value.
1779 ac_cache_corrupted=false
1780 for ac_var in $ac_precious_vars; do
1781 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1782 eval ac_new_set=\$ac_env_${ac_var}_set
1783 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1784 eval ac_new_val=\$ac_env_${ac_var}_value
1785 case $ac_old_set,$ac_new_set in
1786 set,)
1787 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1788 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1789 ac_cache_corrupted=: ;;
1790 ,set)
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1794 ,);;
1796 if test "x$ac_old_val" != "x$ac_new_val"; then
1797 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1798 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1799 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1800 echo "$as_me: former value: $ac_old_val" >&2;}
1801 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1802 echo "$as_me: current value: $ac_new_val" >&2;}
1803 ac_cache_corrupted=:
1804 fi;;
1805 esac
1806 # Pass precious variables to config.status.
1807 if test "$ac_new_set" = set; then
1808 case $ac_new_val in
1809 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1810 *) ac_arg=$ac_var=$ac_new_val ;;
1811 esac
1812 case " $ac_configure_args " in
1813 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1814 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1815 esac
1817 done
1818 if $ac_cache_corrupted; then
1819 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1820 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1822 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1823 { (exit 1); exit 1; }; }
1850 ac_ext=c
1851 ac_cpp='$CPP $CPPFLAGS'
1852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1858 ac_config_headers="$ac_config_headers include/config.h"
1860 ac_aux_dir=
1861 for ac_dir in tools "$srcdir"/tools; do
1862 if test -f "$ac_dir/install-sh"; then
1863 ac_aux_dir=$ac_dir
1864 ac_install_sh="$ac_aux_dir/install-sh -c"
1865 break
1866 elif test -f "$ac_dir/install.sh"; then
1867 ac_aux_dir=$ac_dir
1868 ac_install_sh="$ac_aux_dir/install.sh -c"
1869 break
1870 elif test -f "$ac_dir/shtool"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/shtool install -c"
1873 break
1875 done
1876 if test -z "$ac_aux_dir"; then
1877 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1878 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1879 { (exit 1); exit 1; }; }
1882 # These three variables are undocumented and unsupported,
1883 # and are intended to be withdrawn in a future Autoconf release.
1884 # They can cause serious problems if a builder's source tree is in a directory
1885 # whose full name contains unusual characters.
1886 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1887 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1888 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1893 # Check whether --enable-win16 was given.
1894 if test "${enable_win16+set}" = set; then
1895 enableval=$enable_win16;
1898 # Check whether --enable-win64 was given.
1899 if test "${enable_win64+set}" = set; then
1900 enableval=$enable_win64;
1903 # Check whether --enable-maintainer-mode was given.
1904 if test "${enable_maintainer_mode+set}" = set; then
1905 enableval=$enable_maintainer_mode;
1906 else
1907 MAINTAINER_MODE=\#
1913 # Check whether --with-alsa was given.
1914 if test "${with_alsa+set}" = set; then
1915 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1919 # Check whether --with-audioio was given.
1920 if test "${with_audioio+set}" = set; then
1921 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1925 # Check whether --with-capi was given.
1926 if test "${with_capi+set}" = set; then
1927 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1931 # Check whether --with-cms was given.
1932 if test "${with_cms+set}" = set; then
1933 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1937 # Check whether --with-coreaudio was given.
1938 if test "${with_coreaudio+set}" = set; then
1939 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1943 # Check whether --with-cups was given.
1944 if test "${with_cups+set}" = set; then
1945 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1949 # Check whether --with-curses was given.
1950 if test "${with_curses+set}" = set; then
1951 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1955 # Check whether --with-esd was given.
1956 if test "${with_esd+set}" = set; then
1957 withval=$with_esd;
1961 # Check whether --with-fontconfig was given.
1962 if test "${with_fontconfig+set}" = set; then
1963 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1967 # Check whether --with-gphoto was given.
1968 if test "${with_gphoto+set}" = set; then
1969 withval=$with_gphoto;
1973 # Check whether --with-hal was given.
1974 if test "${with_hal+set}" = set; then
1975 withval=$with_hal;
1979 # Check whether --with-jack was given.
1980 if test "${with_jack+set}" = set; then
1981 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1985 # Check whether --with-jpeg was given.
1986 if test "${with_jpeg+set}" = set; then
1987 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1991 # Check whether --with-ldap was given.
1992 if test "${with_ldap+set}" = set; then
1993 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1997 # Check whether --with-nas was given.
1998 if test "${with_nas+set}" = set; then
1999 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2003 # Check whether --with-opengl was given.
2004 if test "${with_opengl+set}" = set; then
2005 withval=$with_opengl;
2009 # Check whether --with-openssl was given.
2010 if test "${with_openssl+set}" = set; then
2011 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2015 # Check whether --with-oss was given.
2016 if test "${with_oss+set}" = set; then
2017 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2021 # Check whether --with-png was given.
2022 if test "${with_png+set}" = set; then
2023 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2027 # Check whether --with-sane was given.
2028 if test "${with_sane+set}" = set; then
2029 withval=$with_sane;
2033 # Check whether --with-xcomposite was given.
2034 if test "${with_xcomposite+set}" = set; then
2035 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2039 # Check whether --with-xcursor was given.
2040 if test "${with_xcursor+set}" = set; then
2041 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2045 # Check whether --with-xinerama was given.
2046 if test "${with_xinerama+set}" = set; then
2047 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2051 # Check whether --with-xinput was given.
2052 if test "${with_xinput+set}" = set; then
2053 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2057 # Check whether --with-xml was given.
2058 if test "${with_xml+set}" = set; then
2059 withval=$with_xml;
2063 # Check whether --with-xrandr was given.
2064 if test "${with_xrandr+set}" = set; then
2065 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2069 # Check whether --with-xrender was given.
2070 if test "${with_xrender+set}" = set; then
2071 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2075 # Check whether --with-xshape was given.
2076 if test "${with_xshape+set}" = set; then
2077 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2081 # Check whether --with-xshm was given.
2082 if test "${with_xshm+set}" = set; then
2083 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2087 # Check whether --with-xslt was given.
2088 if test "${with_xslt+set}" = set; then
2089 withval=$with_xslt;
2093 # Check whether --with-xvidmode was given.
2094 if test "${with_xvidmode+set}" = set; then
2095 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2100 # Check whether --with-wine-tools was given.
2101 if test "${with_wine_tools+set}" = set; then
2102 withval=$with_wine_tools;
2106 # Make sure we can run config.sub.
2107 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2108 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2109 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2110 { (exit 1); exit 1; }; }
2112 { echo "$as_me:$LINENO: checking build system type" >&5
2113 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2114 if test "${ac_cv_build+set}" = set; then
2115 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 else
2117 ac_build_alias=$build_alias
2118 test "x$ac_build_alias" = x &&
2119 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2120 test "x$ac_build_alias" = x &&
2121 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2122 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2123 { (exit 1); exit 1; }; }
2124 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2125 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2126 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2127 { (exit 1); exit 1; }; }
2130 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2131 echo "${ECHO_T}$ac_cv_build" >&6; }
2132 case $ac_cv_build in
2133 *-*-*) ;;
2134 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2135 echo "$as_me: error: invalid value of canonical build" >&2;}
2136 { (exit 1); exit 1; }; };;
2137 esac
2138 build=$ac_cv_build
2139 ac_save_IFS=$IFS; IFS='-'
2140 set x $ac_cv_build
2141 shift
2142 build_cpu=$1
2143 build_vendor=$2
2144 shift; shift
2145 # Remember, the first character of IFS is used to create $*,
2146 # except with old shells:
2147 build_os=$*
2148 IFS=$ac_save_IFS
2149 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2152 { echo "$as_me:$LINENO: checking host system type" >&5
2153 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2154 if test "${ac_cv_host+set}" = set; then
2155 echo $ECHO_N "(cached) $ECHO_C" >&6
2156 else
2157 if test "x$host_alias" = x; then
2158 ac_cv_host=$ac_cv_build
2159 else
2160 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2161 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2162 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2163 { (exit 1); exit 1; }; }
2167 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2168 echo "${ECHO_T}$ac_cv_host" >&6; }
2169 case $ac_cv_host in
2170 *-*-*) ;;
2171 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2172 echo "$as_me: error: invalid value of canonical host" >&2;}
2173 { (exit 1); exit 1; }; };;
2174 esac
2175 host=$ac_cv_host
2176 ac_save_IFS=$IFS; IFS='-'
2177 set x $ac_cv_host
2178 shift
2179 host_cpu=$1
2180 host_vendor=$2
2181 shift; shift
2182 # Remember, the first character of IFS is used to create $*,
2183 # except with old shells:
2184 host_os=$*
2185 IFS=$ac_save_IFS
2186 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2189 case $host in
2190 x86_64*linux*)
2191 if test "x$enable_win64" != "xyes"
2192 then
2193 test -n "$CC" || CC="gcc -m32"
2194 test -n "$CXX"|| CXX="g++ -m32"
2195 test -n "$LD" || LD="ld -m elf_i386"
2196 test -n "$AS" || AS="as --32"
2197 host_cpu="i386"
2200 esac
2202 case $host_cpu in
2203 *i[3456789]86*)
2204 if test "x$enable_win16" != "xno"
2205 then
2206 enable_win16="yes"
2209 esac
2211 WIN16_FILES="\$(WIN16_FILES)"
2213 WIN16_INSTALL="\$(WIN16_INSTALL)"
2215 if test "x$enable_win16" != "xyes"
2216 then
2217 WIN16_FILES=""
2218 WIN16_INSTALL=""
2221 case "$srcdir" in
2222 .) ;;
2223 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2224 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2225 You need to run 'make distclean' in the source tree first." >&5
2226 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2227 You need to run 'make distclean' in the source tree first." >&2;}
2228 { (exit 1); exit 1; }; }
2229 fi ;;
2230 esac
2233 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2234 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2235 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2236 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 else
2239 cat >conftest.make <<\_ACEOF
2240 SHELL = /bin/sh
2241 all:
2242 @echo '@@@%%%=$(MAKE)=@@@%%%'
2243 _ACEOF
2244 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2245 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2246 *@@@%%%=?*=@@@%%%*)
2247 eval ac_cv_prog_make_${ac_make}_set=yes;;
2249 eval ac_cv_prog_make_${ac_make}_set=no;;
2250 esac
2251 rm -f conftest.make
2253 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2254 { echo "$as_me:$LINENO: result: yes" >&5
2255 echo "${ECHO_T}yes" >&6; }
2256 SET_MAKE=
2257 else
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2260 SET_MAKE="MAKE=${MAKE-make}"
2263 ac_ext=c
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276 if test -n "$CC"; then
2277 ac_cv_prog_CC="$CC" # Let the user override the test.
2278 else
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2282 IFS=$as_save_IFS
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 break 2
2290 done
2291 done
2292 IFS=$as_save_IFS
2296 CC=$ac_cv_prog_CC
2297 if test -n "$CC"; then
2298 { echo "$as_me:$LINENO: result: $CC" >&5
2299 echo "${ECHO_T}$CC" >&6; }
2300 else
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2307 if test -z "$ac_cv_prog_CC"; then
2308 ac_ct_CC=$CC
2309 # Extract the first word of "gcc", so it can be a program name with args.
2310 set dummy gcc; ac_word=$2
2311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2315 else
2316 if test -n "$ac_ct_CC"; then
2317 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2318 else
2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 for as_dir in $PATH
2322 IFS=$as_save_IFS
2323 test -z "$as_dir" && as_dir=.
2324 for ac_exec_ext in '' $ac_executable_extensions; do
2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2326 ac_cv_prog_ac_ct_CC="gcc"
2327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 break 2
2330 done
2331 done
2332 IFS=$as_save_IFS
2336 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2337 if test -n "$ac_ct_CC"; then
2338 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2339 echo "${ECHO_T}$ac_ct_CC" >&6; }
2340 else
2341 { echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6; }
2345 if test "x$ac_ct_CC" = x; then
2346 CC=""
2347 else
2348 case $cross_compiling:$ac_tool_warned in
2349 yes:)
2350 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2351 whose name does not start with the host triplet. If you think this
2352 configuration is useful to you, please write to autoconf@gnu.org." >&5
2353 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2354 whose name does not start with the host triplet. If you think this
2355 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2356 ac_tool_warned=yes ;;
2357 esac
2358 CC=$ac_ct_CC
2360 else
2361 CC="$ac_cv_prog_CC"
2364 if test -z "$CC"; then
2365 if test -n "$ac_tool_prefix"; then
2366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2367 set dummy ${ac_tool_prefix}cc; ac_word=$2
2368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2370 if test "${ac_cv_prog_CC+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 else
2373 if test -n "$CC"; then
2374 ac_cv_prog_CC="$CC" # Let the user override the test.
2375 else
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 for as_dir in $PATH
2379 IFS=$as_save_IFS
2380 test -z "$as_dir" && as_dir=.
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_prog_CC="${ac_tool_prefix}cc"
2384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 break 2
2387 done
2388 done
2389 IFS=$as_save_IFS
2393 CC=$ac_cv_prog_CC
2394 if test -n "$CC"; then
2395 { echo "$as_me:$LINENO: result: $CC" >&5
2396 echo "${ECHO_T}$CC" >&6; }
2397 else
2398 { echo "$as_me:$LINENO: result: no" >&5
2399 echo "${ECHO_T}no" >&6; }
2405 if test -z "$CC"; then
2406 # Extract the first word of "cc", so it can be a program name with args.
2407 set dummy cc; ac_word=$2
2408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2410 if test "${ac_cv_prog_CC+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 else
2413 if test -n "$CC"; then
2414 ac_cv_prog_CC="$CC" # Let the user override the test.
2415 else
2416 ac_prog_rejected=no
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 for as_dir in $PATH
2420 IFS=$as_save_IFS
2421 test -z "$as_dir" && as_dir=.
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2425 ac_prog_rejected=yes
2426 continue
2428 ac_cv_prog_CC="cc"
2429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 break 2
2432 done
2433 done
2434 IFS=$as_save_IFS
2436 if test $ac_prog_rejected = yes; then
2437 # We found a bogon in the path, so make sure we never use it.
2438 set dummy $ac_cv_prog_CC
2439 shift
2440 if test $# != 0; then
2441 # We chose a different compiler from the bogus one.
2442 # However, it has the same basename, so the bogon will be chosen
2443 # first if we set CC to just the basename; use the full file name.
2444 shift
2445 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2450 CC=$ac_cv_prog_CC
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2454 else
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$CC"; then
2462 if test -n "$ac_tool_prefix"; then
2463 for ac_prog in cl.exe
2465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2469 if test "${ac_cv_prog_CC+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC="$CC" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2478 IFS=$as_save_IFS
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2482 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 break 2
2486 done
2487 done
2488 IFS=$as_save_IFS
2492 CC=$ac_cv_prog_CC
2493 if test -n "$CC"; then
2494 { echo "$as_me:$LINENO: result: $CC" >&5
2495 echo "${ECHO_T}$CC" >&6; }
2496 else
2497 { echo "$as_me:$LINENO: result: no" >&5
2498 echo "${ECHO_T}no" >&6; }
2502 test -n "$CC" && break
2503 done
2505 if test -z "$CC"; then
2506 ac_ct_CC=$CC
2507 for ac_prog in cl.exe
2509 # Extract the first word of "$ac_prog", so it can be a program name with args.
2510 set dummy $ac_prog; ac_word=$2
2511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2516 if test -n "$ac_ct_CC"; then
2517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2518 else
2519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520 for as_dir in $PATH
2522 IFS=$as_save_IFS
2523 test -z "$as_dir" && as_dir=.
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526 ac_cv_prog_ac_ct_CC="$ac_prog"
2527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 break 2
2530 done
2531 done
2532 IFS=$as_save_IFS
2536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2537 if test -n "$ac_ct_CC"; then
2538 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2539 echo "${ECHO_T}$ac_ct_CC" >&6; }
2540 else
2541 { echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6; }
2546 test -n "$ac_ct_CC" && break
2547 done
2549 if test "x$ac_ct_CC" = x; then
2550 CC=""
2551 else
2552 case $cross_compiling:$ac_tool_warned in
2553 yes:)
2554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&5
2557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2558 whose name does not start with the host triplet. If you think this
2559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2560 ac_tool_warned=yes ;;
2561 esac
2562 CC=$ac_ct_CC
2569 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2570 See \`config.log' for more details." >&5
2571 echo "$as_me: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&2;}
2573 { (exit 1); exit 1; }; }
2575 # Provide some information about the compiler.
2576 echo "$as_me:$LINENO: checking for C compiler version" >&5
2577 ac_compiler=`set X $ac_compile; echo $2`
2578 { (ac_try="$ac_compiler --version >&5"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compiler --version >&5") 2>&5
2585 ac_status=$?
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }
2588 { (ac_try="$ac_compiler -v >&5"
2589 case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592 esac
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_compiler -v >&5") 2>&5
2595 ac_status=$?
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }
2598 { (ac_try="$ac_compiler -V >&5"
2599 case "(($ac_try" in
2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2602 esac
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compiler -V >&5") 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }
2609 cat >conftest.$ac_ext <<_ACEOF
2610 /* confdefs.h. */
2611 _ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2617 main ()
2621 return 0;
2623 _ACEOF
2624 ac_clean_files_save=$ac_clean_files
2625 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2626 # Try to create an executable without -o first, disregard a.out.
2627 # It will help us diagnose broken compilers, and finding out an intuition
2628 # of exeext.
2629 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2630 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2631 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2633 # List of possible output files, starting from the most likely.
2634 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2635 # only as a last resort. b.out is created by i960 compilers.
2636 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2638 # The IRIX 6 linker writes into existing files which may not be
2639 # executable, retaining their permissions. Remove them first so a
2640 # subsequent execution test works.
2641 ac_rmfiles=
2642 for ac_file in $ac_files
2644 case $ac_file in
2645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2646 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2647 esac
2648 done
2649 rm -f $ac_rmfiles
2651 if { (ac_try="$ac_link_default"
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_link_default") 2>&5
2658 ac_status=$?
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2662 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2663 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2664 # so that the user can short-circuit this test for compilers unknown to
2665 # Autoconf.
2666 for ac_file in $ac_files ''
2668 test -f "$ac_file" || continue
2669 case $ac_file in
2670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2672 [ab].out )
2673 # We found the default executable, but exeext='' is most
2674 # certainly right.
2675 break;;
2676 *.* )
2677 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2678 then :; else
2679 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2681 # We set ac_cv_exeext here because the later test for it is not
2682 # safe: cross compilers may not add the suffix if given an `-o'
2683 # argument, so we may need to know it at that point already.
2684 # Even if this section looks crufty: it has the advantage of
2685 # actually working.
2686 break;;
2688 break;;
2689 esac
2690 done
2691 test "$ac_cv_exeext" = no && ac_cv_exeext=
2693 else
2694 ac_file=''
2697 { echo "$as_me:$LINENO: result: $ac_file" >&5
2698 echo "${ECHO_T}$ac_file" >&6; }
2699 if test -z "$ac_file"; then
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2704 See \`config.log' for more details." >&5
2705 echo "$as_me: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&2;}
2707 { (exit 77); exit 77; }; }
2710 ac_exeext=$ac_cv_exeext
2712 # Check that the compiler produces executables we can run. If not, either
2713 # the compiler is broken, or we cross compile.
2714 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2715 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2716 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2717 # If not cross compiling, check that we can run a simple program.
2718 if test "$cross_compiling" != yes; then
2719 if { ac_try='./$ac_file'
2720 { (case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2729 cross_compiling=no
2730 else
2731 if test "$cross_compiling" = maybe; then
2732 cross_compiling=yes
2733 else
2734 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2735 If you meant to cross compile, use \`--host'.
2736 See \`config.log' for more details." >&5
2737 echo "$as_me: error: cannot run C compiled programs.
2738 If you meant to cross compile, use \`--host'.
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2744 { echo "$as_me:$LINENO: result: yes" >&5
2745 echo "${ECHO_T}yes" >&6; }
2747 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2748 ac_clean_files=$ac_clean_files_save
2749 # Check that the compiler produces executables we can run. If not, either
2750 # the compiler is broken, or we cross compile.
2751 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2752 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2753 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2754 echo "${ECHO_T}$cross_compiling" >&6; }
2756 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2757 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2758 if { (ac_try="$ac_link"
2759 case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2762 esac
2763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_link") 2>&5
2765 ac_status=$?
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; then
2768 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2769 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2770 # work properly (i.e., refer to `conftest.exe'), while it won't with
2771 # `rm'.
2772 for ac_file in conftest.exe conftest conftest.*; do
2773 test -f "$ac_file" || continue
2774 case $ac_file in
2775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2776 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2777 break;;
2778 * ) break;;
2779 esac
2780 done
2781 else
2782 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2783 See \`config.log' for more details." >&5
2784 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&2;}
2786 { (exit 1); exit 1; }; }
2789 rm -f conftest$ac_cv_exeext
2790 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2791 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2793 rm -f conftest.$ac_ext
2794 EXEEXT=$ac_cv_exeext
2795 ac_exeext=$EXEEXT
2796 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2797 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2798 if test "${ac_cv_objext+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 else
2801 cat >conftest.$ac_ext <<_ACEOF
2802 /* confdefs.h. */
2803 _ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2809 main ()
2813 return 0;
2815 _ACEOF
2816 rm -f conftest.o conftest.obj
2817 if { (ac_try="$ac_compile"
2818 case "(($ac_try" in
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2821 esac
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>&5
2824 ac_status=$?
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; then
2827 for ac_file in conftest.o conftest.obj conftest.*; do
2828 test -f "$ac_file" || continue;
2829 case $ac_file in
2830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2831 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2832 break;;
2833 esac
2834 done
2835 else
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2839 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2840 See \`config.log' for more details." >&5
2841 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&2;}
2843 { (exit 1); exit 1; }; }
2846 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2848 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2849 echo "${ECHO_T}$ac_cv_objext" >&6; }
2850 OBJEXT=$ac_cv_objext
2851 ac_objext=$OBJEXT
2852 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2853 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2854 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 else
2857 cat >conftest.$ac_ext <<_ACEOF
2858 /* confdefs.h. */
2859 _ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2865 main ()
2867 #ifndef __GNUC__
2868 choke me
2869 #endif
2872 return 0;
2874 _ACEOF
2875 rm -f conftest.$ac_objext
2876 if { (ac_try="$ac_compile"
2877 case "(($ac_try" in
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2880 esac
2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_compile") 2>conftest.er1
2883 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } && {
2889 test -z "$ac_c_werror_flag" ||
2890 test ! -s conftest.err
2891 } && test -s conftest.$ac_objext; then
2892 ac_compiler_gnu=yes
2893 else
2894 echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.$ac_ext >&5
2897 ac_compiler_gnu=no
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2904 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2905 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2906 GCC=`test $ac_compiler_gnu = yes && echo yes`
2907 ac_test_CFLAGS=${CFLAGS+set}
2908 ac_save_CFLAGS=$CFLAGS
2909 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2910 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2911 if test "${ac_cv_prog_cc_g+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 else
2914 ac_save_c_werror_flag=$ac_c_werror_flag
2915 ac_c_werror_flag=yes
2916 ac_cv_prog_cc_g=no
2917 CFLAGS="-g"
2918 cat >conftest.$ac_ext <<_ACEOF
2919 /* confdefs.h. */
2920 _ACEOF
2921 cat confdefs.h >>conftest.$ac_ext
2922 cat >>conftest.$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2926 main ()
2930 return 0;
2932 _ACEOF
2933 rm -f conftest.$ac_objext
2934 if { (ac_try="$ac_compile"
2935 case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2940 (eval "$ac_compile") 2>conftest.er1
2941 ac_status=$?
2942 grep -v '^ *+' conftest.er1 >conftest.err
2943 rm -f conftest.er1
2944 cat conftest.err >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } && {
2947 test -z "$ac_c_werror_flag" ||
2948 test ! -s conftest.err
2949 } && test -s conftest.$ac_objext; then
2950 ac_cv_prog_cc_g=yes
2951 else
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2955 CFLAGS=""
2956 cat >conftest.$ac_ext <<_ACEOF
2957 /* confdefs.h. */
2958 _ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2964 main ()
2968 return 0;
2970 _ACEOF
2971 rm -f conftest.$ac_objext
2972 if { (ac_try="$ac_compile"
2973 case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2976 esac
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_compile") 2>conftest.er1
2979 ac_status=$?
2980 grep -v '^ *+' conftest.er1 >conftest.err
2981 rm -f conftest.er1
2982 cat conftest.err >&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } && {
2985 test -z "$ac_c_werror_flag" ||
2986 test ! -s conftest.err
2987 } && test -s conftest.$ac_objext; then
2989 else
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 ac_c_werror_flag=$ac_save_c_werror_flag
2994 CFLAGS="-g"
2995 cat >conftest.$ac_ext <<_ACEOF
2996 /* confdefs.h. */
2997 _ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3003 main ()
3007 return 0;
3009 _ACEOF
3010 rm -f conftest.$ac_objext
3011 if { (ac_try="$ac_compile"
3012 case "(($ac_try" in
3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014 *) ac_try_echo=$ac_try;;
3015 esac
3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017 (eval "$ac_compile") 2>conftest.er1
3018 ac_status=$?
3019 grep -v '^ *+' conftest.er1 >conftest.err
3020 rm -f conftest.er1
3021 cat conftest.err >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); } && {
3024 test -z "$ac_c_werror_flag" ||
3025 test ! -s conftest.err
3026 } && test -s conftest.$ac_objext; then
3027 ac_cv_prog_cc_g=yes
3028 else
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 ac_c_werror_flag=$ac_save_c_werror_flag
3044 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3045 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3046 if test "$ac_test_CFLAGS" = set; then
3047 CFLAGS=$ac_save_CFLAGS
3048 elif test $ac_cv_prog_cc_g = yes; then
3049 if test "$GCC" = yes; then
3050 CFLAGS="-g -O2"
3051 else
3052 CFLAGS="-g"
3054 else
3055 if test "$GCC" = yes; then
3056 CFLAGS="-O2"
3057 else
3058 CFLAGS=
3061 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3062 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3063 if test "${ac_cv_prog_cc_c89+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 else
3066 ac_cv_prog_cc_c89=no
3067 ac_save_CC=$CC
3068 cat >conftest.$ac_ext <<_ACEOF
3069 /* confdefs.h. */
3070 _ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3074 #include <stdarg.h>
3075 #include <stdio.h>
3076 #include <sys/types.h>
3077 #include <sys/stat.h>
3078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3079 struct buf { int x; };
3080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3081 static char *e (p, i)
3082 char **p;
3083 int i;
3085 return p[i];
3087 static char *f (char * (*g) (char **, int), char **p, ...)
3089 char *s;
3090 va_list v;
3091 va_start (v,p);
3092 s = g (p, va_arg (v,int));
3093 va_end (v);
3094 return s;
3097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3098 function prototypes and stuff, but not '\xHH' hex character constants.
3099 These don't provoke an error unfortunately, instead are silently treated
3100 as 'x'. The following induces an error, until -std is added to get
3101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3102 array size at least. It's necessary to write '\x00'==0 to get something
3103 that's true only with -std. */
3104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3107 inside strings and character constants. */
3108 #define FOO(x) 'x'
3109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3111 int test (int i, double x);
3112 struct s1 {int (*f) (int a);};
3113 struct s2 {int (*f) (double a);};
3114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3115 int argc;
3116 char **argv;
3118 main ()
3120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3122 return 0;
3124 _ACEOF
3125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3128 CC="$ac_save_CC $ac_arg"
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_c_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_cv_prog_cc_c89=$ac_arg
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3154 rm -f core conftest.err conftest.$ac_objext
3155 test "x$ac_cv_prog_cc_c89" != "xno" && break
3156 done
3157 rm -f conftest.$ac_ext
3158 CC=$ac_save_CC
3161 # AC_CACHE_VAL
3162 case "x$ac_cv_prog_cc_c89" in
3164 { echo "$as_me:$LINENO: result: none needed" >&5
3165 echo "${ECHO_T}none needed" >&6; } ;;
3166 xno)
3167 { echo "$as_me:$LINENO: result: unsupported" >&5
3168 echo "${ECHO_T}unsupported" >&6; } ;;
3170 CC="$CC $ac_cv_prog_cc_c89"
3171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3172 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3173 esac
3176 ac_ext=c
3177 ac_cpp='$CPP $CPPFLAGS'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3182 ac_ext=cpp
3183 ac_cpp='$CXXCPP $CPPFLAGS'
3184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3187 if test -z "$CXX"; then
3188 if test -n "$CCC"; then
3189 CXX=$CCC
3190 else
3191 if test -n "$ac_tool_prefix"; then
3192 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3198 if test "${ac_cv_prog_CXX+set}" = set; then
3199 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 else
3201 if test -n "$CXX"; then
3202 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3203 else
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3207 IFS=$as_save_IFS
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3213 break 2
3215 done
3216 done
3217 IFS=$as_save_IFS
3221 CXX=$ac_cv_prog_CXX
3222 if test -n "$CXX"; then
3223 { echo "$as_me:$LINENO: result: $CXX" >&5
3224 echo "${ECHO_T}$CXX" >&6; }
3225 else
3226 { echo "$as_me:$LINENO: result: no" >&5
3227 echo "${ECHO_T}no" >&6; }
3231 test -n "$CXX" && break
3232 done
3234 if test -z "$CXX"; then
3235 ac_ct_CXX=$CXX
3236 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3238 # Extract the first word of "$ac_prog", so it can be a program name with args.
3239 set dummy $ac_prog; ac_word=$2
3240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 else
3245 if test -n "$ac_ct_CXX"; then
3246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3247 else
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249 for as_dir in $PATH
3251 IFS=$as_save_IFS
3252 test -z "$as_dir" && as_dir=.
3253 for ac_exec_ext in '' $ac_executable_extensions; do
3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255 ac_cv_prog_ac_ct_CXX="$ac_prog"
3256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3257 break 2
3259 done
3260 done
3261 IFS=$as_save_IFS
3265 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3266 if test -n "$ac_ct_CXX"; then
3267 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3268 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3269 else
3270 { echo "$as_me:$LINENO: result: no" >&5
3271 echo "${ECHO_T}no" >&6; }
3275 test -n "$ac_ct_CXX" && break
3276 done
3278 if test "x$ac_ct_CXX" = x; then
3279 CXX="g++"
3280 else
3281 case $cross_compiling:$ac_tool_warned in
3282 yes:)
3283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3284 whose name does not start with the host triplet. If you think this
3285 configuration is useful to you, please write to autoconf@gnu.org." >&5
3286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3287 whose name does not start with the host triplet. If you think this
3288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3289 ac_tool_warned=yes ;;
3290 esac
3291 CXX=$ac_ct_CXX
3297 # Provide some information about the compiler.
3298 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3299 ac_compiler=`set X $ac_compile; echo $2`
3300 { (ac_try="$ac_compiler --version >&5"
3301 case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3304 esac
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_compiler --version >&5") 2>&5
3307 ac_status=$?
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }
3310 { (ac_try="$ac_compiler -v >&5"
3311 case "(($ac_try" in
3312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313 *) ac_try_echo=$ac_try;;
3314 esac
3315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3316 (eval "$ac_compiler -v >&5") 2>&5
3317 ac_status=$?
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); }
3320 { (ac_try="$ac_compiler -V >&5"
3321 case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3324 esac
3325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3326 (eval "$ac_compiler -V >&5") 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }
3331 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3332 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3333 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 else
3336 cat >conftest.$ac_ext <<_ACEOF
3337 /* confdefs.h. */
3338 _ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3344 main ()
3346 #ifndef __GNUC__
3347 choke me
3348 #endif
3351 return 0;
3353 _ACEOF
3354 rm -f conftest.$ac_objext
3355 if { (ac_try="$ac_compile"
3356 case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3359 esac
3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_compile") 2>conftest.er1
3362 ac_status=$?
3363 grep -v '^ *+' conftest.er1 >conftest.err
3364 rm -f conftest.er1
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } && {
3368 test -z "$ac_cxx_werror_flag" ||
3369 test ! -s conftest.err
3370 } && test -s conftest.$ac_objext; then
3371 ac_compiler_gnu=yes
3372 else
3373 echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.$ac_ext >&5
3376 ac_compiler_gnu=no
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3383 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3384 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3385 GXX=`test $ac_compiler_gnu = yes && echo yes`
3386 ac_test_CXXFLAGS=${CXXFLAGS+set}
3387 ac_save_CXXFLAGS=$CXXFLAGS
3388 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3390 if test "${ac_cv_prog_cxx_g+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 else
3393 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3394 ac_cxx_werror_flag=yes
3395 ac_cv_prog_cxx_g=no
3396 CXXFLAGS="-g"
3397 cat >conftest.$ac_ext <<_ACEOF
3398 /* confdefs.h. */
3399 _ACEOF
3400 cat confdefs.h >>conftest.$ac_ext
3401 cat >>conftest.$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3405 main ()
3409 return 0;
3411 _ACEOF
3412 rm -f conftest.$ac_objext
3413 if { (ac_try="$ac_compile"
3414 case "(($ac_try" in
3415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3417 esac
3418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3419 (eval "$ac_compile") 2>conftest.er1
3420 ac_status=$?
3421 grep -v '^ *+' conftest.er1 >conftest.err
3422 rm -f conftest.er1
3423 cat conftest.err >&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); } && {
3426 test -z "$ac_cxx_werror_flag" ||
3427 test ! -s conftest.err
3428 } && test -s conftest.$ac_objext; then
3429 ac_cv_prog_cxx_g=yes
3430 else
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3434 CXXFLAGS=""
3435 cat >conftest.$ac_ext <<_ACEOF
3436 /* confdefs.h. */
3437 _ACEOF
3438 cat confdefs.h >>conftest.$ac_ext
3439 cat >>conftest.$ac_ext <<_ACEOF
3440 /* end confdefs.h. */
3443 main ()
3447 return 0;
3449 _ACEOF
3450 rm -f conftest.$ac_objext
3451 if { (ac_try="$ac_compile"
3452 case "(($ac_try" in
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3455 esac
3456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3457 (eval "$ac_compile") 2>conftest.er1
3458 ac_status=$?
3459 grep -v '^ *+' conftest.er1 >conftest.err
3460 rm -f conftest.er1
3461 cat conftest.err >&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); } && {
3464 test -z "$ac_cxx_werror_flag" ||
3465 test ! -s conftest.err
3466 } && test -s conftest.$ac_objext; then
3468 else
3469 echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.$ac_ext >&5
3472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3473 CXXFLAGS="-g"
3474 cat >conftest.$ac_ext <<_ACEOF
3475 /* confdefs.h. */
3476 _ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3482 main ()
3486 return 0;
3488 _ACEOF
3489 rm -f conftest.$ac_objext
3490 if { (ac_try="$ac_compile"
3491 case "(($ac_try" in
3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3494 esac
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_compile") 2>conftest.er1
3497 ac_status=$?
3498 grep -v '^ *+' conftest.er1 >conftest.err
3499 rm -f conftest.er1
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } && {
3503 test -z "$ac_cxx_werror_flag" ||
3504 test ! -s conftest.err
3505 } && test -s conftest.$ac_objext; then
3506 ac_cv_prog_cxx_g=yes
3507 else
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3523 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3524 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3525 if test "$ac_test_CXXFLAGS" = set; then
3526 CXXFLAGS=$ac_save_CXXFLAGS
3527 elif test $ac_cv_prog_cxx_g = yes; then
3528 if test "$GXX" = yes; then
3529 CXXFLAGS="-g -O2"
3530 else
3531 CXXFLAGS="-g"
3533 else
3534 if test "$GXX" = yes; then
3535 CXXFLAGS="-O2"
3536 else
3537 CXXFLAGS=
3540 ac_ext=c
3541 ac_cpp='$CPP $CPPFLAGS'
3542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3546 if test -n "$ac_tool_prefix"; then
3547 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3548 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3551 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3552 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 else
3554 if test -n "$CPPBIN"; then
3555 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3556 else
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3560 IFS=$as_save_IFS
3561 test -z "$as_dir" && as_dir=.
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 break 2
3568 done
3569 done
3570 IFS=$as_save_IFS
3574 CPPBIN=$ac_cv_prog_CPPBIN
3575 if test -n "$CPPBIN"; then
3576 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3577 echo "${ECHO_T}$CPPBIN" >&6; }
3578 else
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3585 if test -z "$ac_cv_prog_CPPBIN"; then
3586 ac_ct_CPPBIN=$CPPBIN
3587 # Extract the first word of "cpp", so it can be a program name with args.
3588 set dummy cpp; ac_word=$2
3589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3591 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3593 else
3594 if test -n "$ac_ct_CPPBIN"; then
3595 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3596 else
3597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598 for as_dir in $PATH
3600 IFS=$as_save_IFS
3601 test -z "$as_dir" && as_dir=.
3602 for ac_exec_ext in '' $ac_executable_extensions; do
3603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3604 ac_cv_prog_ac_ct_CPPBIN="cpp"
3605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 break 2
3608 done
3609 done
3610 IFS=$as_save_IFS
3614 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3615 if test -n "$ac_ct_CPPBIN"; then
3616 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3617 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3618 else
3619 { echo "$as_me:$LINENO: result: no" >&5
3620 echo "${ECHO_T}no" >&6; }
3623 if test "x$ac_ct_CPPBIN" = x; then
3624 CPPBIN="cpp"
3625 else
3626 case $cross_compiling:$ac_tool_warned in
3627 yes:)
3628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3629 whose name does not start with the host triplet. If you think this
3630 configuration is useful to you, please write to autoconf@gnu.org." >&5
3631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3632 whose name does not start with the host triplet. If you think this
3633 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3634 ac_tool_warned=yes ;;
3635 esac
3636 CPPBIN=$ac_ct_CPPBIN
3638 else
3639 CPPBIN="$ac_cv_prog_CPPBIN"
3643 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3644 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3645 if test "${wine_cv_toolsdir+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 else
3648 if test -z "$with_wine_tools"; then
3649 if test "$cross_compiling" = "yes"; then
3650 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3651 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3652 { (exit 1); exit 1; }; }
3653 else
3654 wine_cv_toolsdir="\$(TOPOBJDIR)"
3656 elif test -d "$with_wine_tools/tools/winebuild"; then
3657 case $with_wine_tools in
3658 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3659 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3660 esac
3661 else
3662 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3663 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3664 { (exit 1); exit 1; }; }
3667 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3668 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3669 TOOLSDIR=$wine_cv_toolsdir
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3680 # On Suns, sometimes $CPP names a directory.
3681 if test -n "$CPP" && test -d "$CPP"; then
3682 CPP=
3684 if test -z "$CPP"; then
3685 if test "${ac_cv_prog_CPP+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 else
3688 # Double quotes because CPP needs to be expanded
3689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3691 ac_preproc_ok=false
3692 for ac_c_preproc_warn_flag in '' yes
3694 # Use a header file that comes with gcc, so configuring glibc
3695 # with a fresh cross-compiler works.
3696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3697 # <limits.h> exists even on freestanding compilers.
3698 # On the NeXT, cc -E runs the code through the compiler's parser,
3699 # not just through cpp. "Syntax error" is here to catch this case.
3700 cat >conftest.$ac_ext <<_ACEOF
3701 /* confdefs.h. */
3702 _ACEOF
3703 cat confdefs.h >>conftest.$ac_ext
3704 cat >>conftest.$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3706 #ifdef __STDC__
3707 # include <limits.h>
3708 #else
3709 # include <assert.h>
3710 #endif
3711 Syntax error
3712 _ACEOF
3713 if { (ac_try="$ac_cpp conftest.$ac_ext"
3714 case "(($ac_try" in
3715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 *) ac_try_echo=$ac_try;;
3717 esac
3718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3720 ac_status=$?
3721 grep -v '^ *+' conftest.er1 >conftest.err
3722 rm -f conftest.er1
3723 cat conftest.err >&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); } >/dev/null && {
3726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3727 test ! -s conftest.err
3728 }; then
3730 else
3731 echo "$as_me: failed program was:" >&5
3732 sed 's/^/| /' conftest.$ac_ext >&5
3734 # Broken: fails on valid input.
3735 continue
3738 rm -f conftest.err conftest.$ac_ext
3740 # OK, works on sane cases. Now check whether nonexistent headers
3741 # can be detected and how.
3742 cat >conftest.$ac_ext <<_ACEOF
3743 /* confdefs.h. */
3744 _ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3748 #include <ac_nonexistent.h>
3749 _ACEOF
3750 if { (ac_try="$ac_cpp conftest.$ac_ext"
3751 case "(($ac_try" in
3752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3753 *) ac_try_echo=$ac_try;;
3754 esac
3755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3757 ac_status=$?
3758 grep -v '^ *+' conftest.er1 >conftest.err
3759 rm -f conftest.er1
3760 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } >/dev/null && {
3763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3764 test ! -s conftest.err
3765 }; then
3766 # Broken: success on invalid input.
3767 continue
3768 else
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3772 # Passes both tests.
3773 ac_preproc_ok=:
3774 break
3777 rm -f conftest.err conftest.$ac_ext
3779 done
3780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3781 rm -f conftest.err conftest.$ac_ext
3782 if $ac_preproc_ok; then
3783 break
3786 done
3787 ac_cv_prog_CPP=$CPP
3790 CPP=$ac_cv_prog_CPP
3791 else
3792 ac_cv_prog_CPP=$CPP
3794 { echo "$as_me:$LINENO: result: $CPP" >&5
3795 echo "${ECHO_T}$CPP" >&6; }
3796 ac_preproc_ok=false
3797 for ac_c_preproc_warn_flag in '' yes
3799 # Use a header file that comes with gcc, so configuring glibc
3800 # with a fresh cross-compiler works.
3801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3802 # <limits.h> exists even on freestanding compilers.
3803 # On the NeXT, cc -E runs the code through the compiler's parser,
3804 # not just through cpp. "Syntax error" is here to catch this case.
3805 cat >conftest.$ac_ext <<_ACEOF
3806 /* confdefs.h. */
3807 _ACEOF
3808 cat confdefs.h >>conftest.$ac_ext
3809 cat >>conftest.$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3811 #ifdef __STDC__
3812 # include <limits.h>
3813 #else
3814 # include <assert.h>
3815 #endif
3816 Syntax error
3817 _ACEOF
3818 if { (ac_try="$ac_cpp conftest.$ac_ext"
3819 case "(($ac_try" in
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3822 esac
3823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3825 ac_status=$?
3826 grep -v '^ *+' conftest.er1 >conftest.err
3827 rm -f conftest.er1
3828 cat conftest.err >&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); } >/dev/null && {
3831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3832 test ! -s conftest.err
3833 }; then
3835 else
3836 echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.$ac_ext >&5
3839 # Broken: fails on valid input.
3840 continue
3843 rm -f conftest.err conftest.$ac_ext
3845 # OK, works on sane cases. Now check whether nonexistent headers
3846 # can be detected and how.
3847 cat >conftest.$ac_ext <<_ACEOF
3848 /* confdefs.h. */
3849 _ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 #include <ac_nonexistent.h>
3854 _ACEOF
3855 if { (ac_try="$ac_cpp conftest.$ac_ext"
3856 case "(($ac_try" in
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3859 esac
3860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3862 ac_status=$?
3863 grep -v '^ *+' conftest.er1 >conftest.err
3864 rm -f conftest.er1
3865 cat conftest.err >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } >/dev/null && {
3868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3869 test ! -s conftest.err
3870 }; then
3871 # Broken: success on invalid input.
3872 continue
3873 else
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.$ac_ext >&5
3877 # Passes both tests.
3878 ac_preproc_ok=:
3879 break
3882 rm -f conftest.err conftest.$ac_ext
3884 done
3885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3886 rm -f conftest.err conftest.$ac_ext
3887 if $ac_preproc_ok; then
3889 else
3890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3891 See \`config.log' for more details." >&5
3892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log' for more details." >&2;}
3894 { (exit 1); exit 1; }; }
3897 ac_ext=c
3898 ac_cpp='$CPP $CPPFLAGS'
3899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904 { echo "$as_me:$LINENO: checking for X" >&5
3905 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3908 # Check whether --with-x was given.
3909 if test "${with_x+set}" = set; then
3910 withval=$with_x;
3913 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3914 if test "x$with_x" = xno; then
3915 # The user explicitly disabled X.
3916 have_x=disabled
3917 else
3918 case $x_includes,$x_libraries in #(
3919 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3920 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3921 { (exit 1); exit 1; }; };; #(
3922 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 else
3925 # One or both of the vars are not set, and there is no cached value.
3926 ac_x_includes=no ac_x_libraries=no
3927 rm -f -r conftest.dir
3928 if mkdir conftest.dir; then
3929 cd conftest.dir
3930 cat >Imakefile <<'_ACEOF'
3931 incroot:
3932 @echo incroot='${INCROOT}'
3933 usrlibdir:
3934 @echo usrlibdir='${USRLIBDIR}'
3935 libdir:
3936 @echo libdir='${LIBDIR}'
3937 _ACEOF
3938 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3939 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3940 for ac_var in incroot usrlibdir libdir; do
3941 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3942 done
3943 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3944 for ac_extension in a so sl; do
3945 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3946 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3947 ac_im_usrlibdir=$ac_im_libdir; break
3949 done
3950 # Screen out bogus values from the imake configuration. They are
3951 # bogus both because they are the default anyway, and because
3952 # using them would break gcc on systems where it needs fixed includes.
3953 case $ac_im_incroot in
3954 /usr/include) ac_x_includes= ;;
3955 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3956 esac
3957 case $ac_im_usrlibdir in
3958 /usr/lib | /lib) ;;
3959 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3960 esac
3962 cd ..
3963 rm -f -r conftest.dir
3966 # Standard set of common directories for X headers.
3967 # Check X11 before X11Rn because it is often a symlink to the current release.
3968 ac_x_header_dirs='
3969 /usr/X11/include
3970 /usr/X11R6/include
3971 /usr/X11R5/include
3972 /usr/X11R4/include
3974 /usr/include/X11
3975 /usr/include/X11R6
3976 /usr/include/X11R5
3977 /usr/include/X11R4
3979 /usr/local/X11/include
3980 /usr/local/X11R6/include
3981 /usr/local/X11R5/include
3982 /usr/local/X11R4/include
3984 /usr/local/include/X11
3985 /usr/local/include/X11R6
3986 /usr/local/include/X11R5
3987 /usr/local/include/X11R4
3989 /usr/X386/include
3990 /usr/x386/include
3991 /usr/XFree86/include/X11
3993 /usr/include
3994 /usr/local/include
3995 /usr/unsupported/include
3996 /usr/athena/include
3997 /usr/local/x11r5/include
3998 /usr/lpp/Xamples/include
4000 /usr/openwin/include
4001 /usr/openwin/share/include'
4003 if test "$ac_x_includes" = no; then
4004 # Guess where to find include files, by looking for Xlib.h.
4005 # First, try using that file with no special directory specified.
4006 cat >conftest.$ac_ext <<_ACEOF
4007 /* confdefs.h. */
4008 _ACEOF
4009 cat confdefs.h >>conftest.$ac_ext
4010 cat >>conftest.$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4012 #include <X11/Xlib.h>
4013 _ACEOF
4014 if { (ac_try="$ac_cpp conftest.$ac_ext"
4015 case "(($ac_try" in
4016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017 *) ac_try_echo=$ac_try;;
4018 esac
4019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4021 ac_status=$?
4022 grep -v '^ *+' conftest.er1 >conftest.err
4023 rm -f conftest.er1
4024 cat conftest.err >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } >/dev/null && {
4027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4028 test ! -s conftest.err
4029 }; then
4030 # We can compile using X headers with no special include directory.
4031 ac_x_includes=
4032 else
4033 echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.$ac_ext >&5
4036 for ac_dir in $ac_x_header_dirs; do
4037 if test -r "$ac_dir/X11/Xlib.h"; then
4038 ac_x_includes=$ac_dir
4039 break
4041 done
4044 rm -f conftest.err conftest.$ac_ext
4045 fi # $ac_x_includes = no
4047 if test "$ac_x_libraries" = no; then
4048 # Check for the libraries.
4049 # See if we find them without any special options.
4050 # Don't add to $LIBS permanently.
4051 ac_save_LIBS=$LIBS
4052 LIBS="-lX11 $LIBS"
4053 cat >conftest.$ac_ext <<_ACEOF
4054 /* confdefs.h. */
4055 _ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <X11/Xlib.h>
4061 main ()
4063 XrmInitialize ()
4065 return 0;
4067 _ACEOF
4068 rm -f conftest.$ac_objext conftest$ac_exeext
4069 if { (ac_try="$ac_link"
4070 case "(($ac_try" in
4071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4073 esac
4074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4075 (eval "$ac_link") 2>conftest.er1
4076 ac_status=$?
4077 grep -v '^ *+' conftest.er1 >conftest.err
4078 rm -f conftest.er1
4079 cat conftest.err >&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); } && {
4082 test -z "$ac_c_werror_flag" ||
4083 test ! -s conftest.err
4084 } && test -s conftest$ac_exeext &&
4085 $as_test_x conftest$ac_exeext; then
4086 LIBS=$ac_save_LIBS
4087 # We can link X programs with no special library path.
4088 ac_x_libraries=
4089 else
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 LIBS=$ac_save_LIBS
4094 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4096 # Don't even attempt the hair of trying to link an X program!
4097 for ac_extension in a so sl; do
4098 if test -r "$ac_dir/libX11.$ac_extension"; then
4099 ac_x_libraries=$ac_dir
4100 break 2
4102 done
4103 done
4106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4107 conftest$ac_exeext conftest.$ac_ext
4108 fi # $ac_x_libraries = no
4110 case $ac_x_includes,$ac_x_libraries in #(
4111 no,* | *,no | *\'*)
4112 # Didn't find X, or a directory has "'" in its name.
4113 ac_cv_have_x="have_x=no";; #(
4115 # Record where we found X for the cache.
4116 ac_cv_have_x="have_x=yes\
4117 ac_x_includes='$ac_x_includes'\
4118 ac_x_libraries='$ac_x_libraries'"
4119 esac
4121 ;; #(
4122 *) have_x=yes;;
4123 esac
4124 eval "$ac_cv_have_x"
4125 fi # $with_x != no
4127 if test "$have_x" != yes; then
4128 { echo "$as_me:$LINENO: result: $have_x" >&5
4129 echo "${ECHO_T}$have_x" >&6; }
4130 no_x=yes
4131 else
4132 # If each of the values was on the command line, it overrides each guess.
4133 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4134 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4135 # Update the cache value to reflect the command line values.
4136 ac_cv_have_x="have_x=yes\
4137 ac_x_includes='$x_includes'\
4138 ac_x_libraries='$x_libraries'"
4139 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4140 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4143 if test "$no_x" = yes; then
4144 # Not all programs may use this symbol, but it does not hurt to define it.
4146 cat >>confdefs.h <<\_ACEOF
4147 #define X_DISPLAY_MISSING 1
4148 _ACEOF
4150 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4151 else
4152 if test -n "$x_includes"; then
4153 X_CFLAGS="$X_CFLAGS -I$x_includes"
4156 # It would also be nice to do this for all -L options, not just this one.
4157 if test -n "$x_libraries"; then
4158 X_LIBS="$X_LIBS -L$x_libraries"
4159 # For Solaris; some versions of Sun CC require a space after -R and
4160 # others require no space. Words are not sufficient . . . .
4161 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4162 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4163 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4164 ac_xsave_c_werror_flag=$ac_c_werror_flag
4165 ac_c_werror_flag=yes
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4174 main ()
4178 return 0;
4180 _ACEOF
4181 rm -f conftest.$ac_objext conftest$ac_exeext
4182 if { (ac_try="$ac_link"
4183 case "(($ac_try" in
4184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4186 esac
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188 (eval "$ac_link") 2>conftest.er1
4189 ac_status=$?
4190 grep -v '^ *+' conftest.er1 >conftest.err
4191 rm -f conftest.er1
4192 cat conftest.err >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest$ac_exeext &&
4198 $as_test_x conftest$ac_exeext; then
4199 { echo "$as_me:$LINENO: result: no" >&5
4200 echo "${ECHO_T}no" >&6; }
4201 X_LIBS="$X_LIBS -R$x_libraries"
4202 else
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.$ac_ext >&5
4206 LIBS="$ac_xsave_LIBS -R $x_libraries"
4207 cat >conftest.$ac_ext <<_ACEOF
4208 /* confdefs.h. */
4209 _ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4215 main ()
4219 return 0;
4221 _ACEOF
4222 rm -f conftest.$ac_objext conftest$ac_exeext
4223 if { (ac_try="$ac_link"
4224 case "(($ac_try" in
4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4227 esac
4228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4229 (eval "$ac_link") 2>conftest.er1
4230 ac_status=$?
4231 grep -v '^ *+' conftest.er1 >conftest.err
4232 rm -f conftest.er1
4233 cat conftest.err >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } && {
4236 test -z "$ac_c_werror_flag" ||
4237 test ! -s conftest.err
4238 } && test -s conftest$ac_exeext &&
4239 $as_test_x conftest$ac_exeext; then
4240 { echo "$as_me:$LINENO: result: yes" >&5
4241 echo "${ECHO_T}yes" >&6; }
4242 X_LIBS="$X_LIBS -R $x_libraries"
4243 else
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.$ac_ext >&5
4247 { echo "$as_me:$LINENO: result: neither works" >&5
4248 echo "${ECHO_T}neither works" >&6; }
4251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4252 conftest$ac_exeext conftest.$ac_ext
4255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4256 conftest$ac_exeext conftest.$ac_ext
4257 ac_c_werror_flag=$ac_xsave_c_werror_flag
4258 LIBS=$ac_xsave_LIBS
4261 # Check for system-dependent libraries X programs must link with.
4262 # Do this before checking for the system-independent R6 libraries
4263 # (-lICE), since we may need -lsocket or whatever for X linking.
4265 if test "$ISC" = yes; then
4266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4267 else
4268 # Martyn Johnson says this is needed for Ultrix, if the X
4269 # libraries were built with DECnet support. And Karl Berry says
4270 # the Alpha needs dnet_stub (dnet does not exist).
4271 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4272 cat >conftest.$ac_ext <<_ACEOF
4273 /* confdefs.h. */
4274 _ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4279 /* Override any GCC internal prototype to avoid an error.
4280 Use char because int might match the return type of a GCC
4281 builtin and then its argument prototype would still apply. */
4282 #ifdef __cplusplus
4283 extern "C"
4284 #endif
4285 char XOpenDisplay ();
4287 main ()
4289 return XOpenDisplay ();
4291 return 0;
4293 _ACEOF
4294 rm -f conftest.$ac_objext conftest$ac_exeext
4295 if { (ac_try="$ac_link"
4296 case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_link") 2>conftest.er1
4302 ac_status=$?
4303 grep -v '^ *+' conftest.er1 >conftest.err
4304 rm -f conftest.er1
4305 cat conftest.err >&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); } && {
4308 test -z "$ac_c_werror_flag" ||
4309 test ! -s conftest.err
4310 } && test -s conftest$ac_exeext &&
4311 $as_test_x conftest$ac_exeext; then
4313 else
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4317 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4318 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4319 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 else
4322 ac_check_lib_save_LIBS=$LIBS
4323 LIBS="-ldnet $LIBS"
4324 cat >conftest.$ac_ext <<_ACEOF
4325 /* confdefs.h. */
4326 _ACEOF
4327 cat confdefs.h >>conftest.$ac_ext
4328 cat >>conftest.$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4331 /* Override any GCC internal prototype to avoid an error.
4332 Use char because int might match the return type of a GCC
4333 builtin and then its argument prototype would still apply. */
4334 #ifdef __cplusplus
4335 extern "C"
4336 #endif
4337 char dnet_ntoa ();
4339 main ()
4341 return dnet_ntoa ();
4343 return 0;
4345 _ACEOF
4346 rm -f conftest.$ac_objext conftest$ac_exeext
4347 if { (ac_try="$ac_link"
4348 case "(($ac_try" in
4349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4350 *) ac_try_echo=$ac_try;;
4351 esac
4352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4353 (eval "$ac_link") 2>conftest.er1
4354 ac_status=$?
4355 grep -v '^ *+' conftest.er1 >conftest.err
4356 rm -f conftest.er1
4357 cat conftest.err >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } && {
4360 test -z "$ac_c_werror_flag" ||
4361 test ! -s conftest.err
4362 } && test -s conftest$ac_exeext &&
4363 $as_test_x conftest$ac_exeext; then
4364 ac_cv_lib_dnet_dnet_ntoa=yes
4365 else
4366 echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.$ac_ext >&5
4369 ac_cv_lib_dnet_dnet_ntoa=no
4372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4373 conftest$ac_exeext conftest.$ac_ext
4374 LIBS=$ac_check_lib_save_LIBS
4376 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4377 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4378 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4379 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4382 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4383 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4384 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4385 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4386 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 else
4388 ac_check_lib_save_LIBS=$LIBS
4389 LIBS="-ldnet_stub $LIBS"
4390 cat >conftest.$ac_ext <<_ACEOF
4391 /* confdefs.h. */
4392 _ACEOF
4393 cat confdefs.h >>conftest.$ac_ext
4394 cat >>conftest.$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4397 /* Override any GCC internal prototype to avoid an error.
4398 Use char because int might match the return type of a GCC
4399 builtin and then its argument prototype would still apply. */
4400 #ifdef __cplusplus
4401 extern "C"
4402 #endif
4403 char dnet_ntoa ();
4405 main ()
4407 return dnet_ntoa ();
4409 return 0;
4411 _ACEOF
4412 rm -f conftest.$ac_objext conftest$ac_exeext
4413 if { (ac_try="$ac_link"
4414 case "(($ac_try" in
4415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4417 esac
4418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4419 (eval "$ac_link") 2>conftest.er1
4420 ac_status=$?
4421 grep -v '^ *+' conftest.er1 >conftest.err
4422 rm -f conftest.er1
4423 cat conftest.err >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && {
4426 test -z "$ac_c_werror_flag" ||
4427 test ! -s conftest.err
4428 } && test -s conftest$ac_exeext &&
4429 $as_test_x conftest$ac_exeext; then
4430 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4431 else
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.$ac_ext >&5
4435 ac_cv_lib_dnet_stub_dnet_ntoa=no
4438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4439 conftest$ac_exeext conftest.$ac_ext
4440 LIBS=$ac_check_lib_save_LIBS
4442 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4443 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4444 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4445 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4452 conftest$ac_exeext conftest.$ac_ext
4453 LIBS="$ac_xsave_LIBS"
4455 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4456 # to get the SysV transport functions.
4457 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4458 # needs -lnsl.
4459 # The nsl library prevents programs from opening the X display
4460 # on Irix 5.2, according to T.E. Dickey.
4461 # The functions gethostbyname, getservbyname, and inet_addr are
4462 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4463 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4464 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_gethostbyname+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h. */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define gethostbyname innocuous_gethostbyname
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char gethostbyname (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4489 #undef gethostbyname
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char gethostbyname ();
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4502 choke me
4503 #endif
4506 main ()
4508 return gethostbyname ();
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_gethostbyname=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_gethostbyname=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4543 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4545 if test $ac_cv_func_gethostbyname = no; then
4546 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4547 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lnsl $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h. */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char gethostbyname ();
4568 main ()
4570 return gethostbyname ();
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_nsl_gethostbyname=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_nsl_gethostbyname=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4606 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4607 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4611 if test $ac_cv_lib_nsl_gethostbyname = no; then
4612 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4613 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4614 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 else
4617 ac_check_lib_save_LIBS=$LIBS
4618 LIBS="-lbsd $LIBS"
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4626 /* Override any GCC internal prototype to avoid an error.
4627 Use char because int might match the return type of a GCC
4628 builtin and then its argument prototype would still apply. */
4629 #ifdef __cplusplus
4630 extern "C"
4631 #endif
4632 char gethostbyname ();
4634 main ()
4636 return gethostbyname ();
4638 return 0;
4640 _ACEOF
4641 rm -f conftest.$ac_objext conftest$ac_exeext
4642 if { (ac_try="$ac_link"
4643 case "(($ac_try" in
4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4646 esac
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_link") 2>conftest.er1
4649 ac_status=$?
4650 grep -v '^ *+' conftest.er1 >conftest.err
4651 rm -f conftest.er1
4652 cat conftest.err >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest$ac_exeext &&
4658 $as_test_x conftest$ac_exeext; then
4659 ac_cv_lib_bsd_gethostbyname=yes
4660 else
4661 echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.$ac_ext >&5
4664 ac_cv_lib_bsd_gethostbyname=no
4667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4668 conftest$ac_exeext conftest.$ac_ext
4669 LIBS=$ac_check_lib_save_LIBS
4671 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4672 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4673 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4674 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4680 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4681 # socket/setsockopt and other routines are undefined under SCO ODT
4682 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4683 # on later versions), says Simon Leinen: it contains gethostby*
4684 # variants that don't use the name server (or something). -lsocket
4685 # must be given before -lnsl if both are needed. We assume that
4686 # if connect needs -lnsl, so does gethostbyname.
4687 { echo "$as_me:$LINENO: checking for connect" >&5
4688 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4689 if test "${ac_cv_func_connect+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 else
4692 cat >conftest.$ac_ext <<_ACEOF
4693 /* confdefs.h. */
4694 _ACEOF
4695 cat confdefs.h >>conftest.$ac_ext
4696 cat >>conftest.$ac_ext <<_ACEOF
4697 /* end confdefs.h. */
4698 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4700 #define connect innocuous_connect
4702 /* System header to define __stub macros and hopefully few prototypes,
4703 which can conflict with char connect (); below.
4704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4705 <limits.h> exists even on freestanding compilers. */
4707 #ifdef __STDC__
4708 # include <limits.h>
4709 #else
4710 # include <assert.h>
4711 #endif
4713 #undef connect
4715 /* Override any GCC internal prototype to avoid an error.
4716 Use char because int might match the return type of a GCC
4717 builtin and then its argument prototype would still apply. */
4718 #ifdef __cplusplus
4719 extern "C"
4720 #endif
4721 char connect ();
4722 /* The GNU C library defines this for functions which it implements
4723 to always fail with ENOSYS. Some functions are actually named
4724 something starting with __ and the normal name is an alias. */
4725 #if defined __stub_connect || defined __stub___connect
4726 choke me
4727 #endif
4730 main ()
4732 return connect ();
4734 return 0;
4736 _ACEOF
4737 rm -f conftest.$ac_objext conftest$ac_exeext
4738 if { (ac_try="$ac_link"
4739 case "(($ac_try" in
4740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4741 *) ac_try_echo=$ac_try;;
4742 esac
4743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4744 (eval "$ac_link") 2>conftest.er1
4745 ac_status=$?
4746 grep -v '^ *+' conftest.er1 >conftest.err
4747 rm -f conftest.er1
4748 cat conftest.err >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest$ac_exeext &&
4754 $as_test_x conftest$ac_exeext; then
4755 ac_cv_func_connect=yes
4756 else
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.$ac_ext >&5
4760 ac_cv_func_connect=no
4763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4764 conftest$ac_exeext conftest.$ac_ext
4766 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4767 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4769 if test $ac_cv_func_connect = no; then
4770 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4771 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4772 if test "${ac_cv_lib_socket_connect+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 else
4775 ac_check_lib_save_LIBS=$LIBS
4776 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4777 cat >conftest.$ac_ext <<_ACEOF
4778 /* confdefs.h. */
4779 _ACEOF
4780 cat confdefs.h >>conftest.$ac_ext
4781 cat >>conftest.$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4784 /* Override any GCC internal prototype to avoid an error.
4785 Use char because int might match the return type of a GCC
4786 builtin and then its argument prototype would still apply. */
4787 #ifdef __cplusplus
4788 extern "C"
4789 #endif
4790 char connect ();
4792 main ()
4794 return connect ();
4796 return 0;
4798 _ACEOF
4799 rm -f conftest.$ac_objext conftest$ac_exeext
4800 if { (ac_try="$ac_link"
4801 case "(($ac_try" in
4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803 *) ac_try_echo=$ac_try;;
4804 esac
4805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4806 (eval "$ac_link") 2>conftest.er1
4807 ac_status=$?
4808 grep -v '^ *+' conftest.er1 >conftest.err
4809 rm -f conftest.er1
4810 cat conftest.err >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); } && {
4813 test -z "$ac_c_werror_flag" ||
4814 test ! -s conftest.err
4815 } && test -s conftest$ac_exeext &&
4816 $as_test_x conftest$ac_exeext; then
4817 ac_cv_lib_socket_connect=yes
4818 else
4819 echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4822 ac_cv_lib_socket_connect=no
4825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4826 conftest$ac_exeext conftest.$ac_ext
4827 LIBS=$ac_check_lib_save_LIBS
4829 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4830 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4831 if test $ac_cv_lib_socket_connect = yes; then
4832 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4837 # Guillermo Gomez says -lposix is necessary on A/UX.
4838 { echo "$as_me:$LINENO: checking for remove" >&5
4839 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4840 if test "${ac_cv_func_remove+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 else
4843 cat >conftest.$ac_ext <<_ACEOF
4844 /* confdefs.h. */
4845 _ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4851 #define remove innocuous_remove
4853 /* System header to define __stub macros and hopefully few prototypes,
4854 which can conflict with char remove (); below.
4855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4856 <limits.h> exists even on freestanding compilers. */
4858 #ifdef __STDC__
4859 # include <limits.h>
4860 #else
4861 # include <assert.h>
4862 #endif
4864 #undef remove
4866 /* Override any GCC internal prototype to avoid an error.
4867 Use char because int might match the return type of a GCC
4868 builtin and then its argument prototype would still apply. */
4869 #ifdef __cplusplus
4870 extern "C"
4871 #endif
4872 char remove ();
4873 /* The GNU C library defines this for functions which it implements
4874 to always fail with ENOSYS. Some functions are actually named
4875 something starting with __ and the normal name is an alias. */
4876 #if defined __stub_remove || defined __stub___remove
4877 choke me
4878 #endif
4881 main ()
4883 return remove ();
4885 return 0;
4887 _ACEOF
4888 rm -f conftest.$ac_objext conftest$ac_exeext
4889 if { (ac_try="$ac_link"
4890 case "(($ac_try" in
4891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4892 *) ac_try_echo=$ac_try;;
4893 esac
4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4895 (eval "$ac_link") 2>conftest.er1
4896 ac_status=$?
4897 grep -v '^ *+' conftest.er1 >conftest.err
4898 rm -f conftest.er1
4899 cat conftest.err >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } && {
4902 test -z "$ac_c_werror_flag" ||
4903 test ! -s conftest.err
4904 } && test -s conftest$ac_exeext &&
4905 $as_test_x conftest$ac_exeext; then
4906 ac_cv_func_remove=yes
4907 else
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4911 ac_cv_func_remove=no
4914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4915 conftest$ac_exeext conftest.$ac_ext
4917 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4918 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4920 if test $ac_cv_func_remove = no; then
4921 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4922 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4923 if test "${ac_cv_lib_posix_remove+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 else
4926 ac_check_lib_save_LIBS=$LIBS
4927 LIBS="-lposix $LIBS"
4928 cat >conftest.$ac_ext <<_ACEOF
4929 /* confdefs.h. */
4930 _ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4935 /* Override any GCC internal prototype to avoid an error.
4936 Use char because int might match the return type of a GCC
4937 builtin and then its argument prototype would still apply. */
4938 #ifdef __cplusplus
4939 extern "C"
4940 #endif
4941 char remove ();
4943 main ()
4945 return remove ();
4947 return 0;
4949 _ACEOF
4950 rm -f conftest.$ac_objext conftest$ac_exeext
4951 if { (ac_try="$ac_link"
4952 case "(($ac_try" in
4953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954 *) ac_try_echo=$ac_try;;
4955 esac
4956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957 (eval "$ac_link") 2>conftest.er1
4958 ac_status=$?
4959 grep -v '^ *+' conftest.er1 >conftest.err
4960 rm -f conftest.er1
4961 cat conftest.err >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } && {
4964 test -z "$ac_c_werror_flag" ||
4965 test ! -s conftest.err
4966 } && test -s conftest$ac_exeext &&
4967 $as_test_x conftest$ac_exeext; then
4968 ac_cv_lib_posix_remove=yes
4969 else
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.$ac_ext >&5
4973 ac_cv_lib_posix_remove=no
4976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4977 conftest$ac_exeext conftest.$ac_ext
4978 LIBS=$ac_check_lib_save_LIBS
4980 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4981 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4982 if test $ac_cv_lib_posix_remove = yes; then
4983 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4988 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4989 { echo "$as_me:$LINENO: checking for shmat" >&5
4990 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4991 if test "${ac_cv_func_shmat+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4993 else
4994 cat >conftest.$ac_ext <<_ACEOF
4995 /* confdefs.h. */
4996 _ACEOF
4997 cat confdefs.h >>conftest.$ac_ext
4998 cat >>conftest.$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5000 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5002 #define shmat innocuous_shmat
5004 /* System header to define __stub macros and hopefully few prototypes,
5005 which can conflict with char shmat (); below.
5006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5007 <limits.h> exists even on freestanding compilers. */
5009 #ifdef __STDC__
5010 # include <limits.h>
5011 #else
5012 # include <assert.h>
5013 #endif
5015 #undef shmat
5017 /* Override any GCC internal prototype to avoid an error.
5018 Use char because int might match the return type of a GCC
5019 builtin and then its argument prototype would still apply. */
5020 #ifdef __cplusplus
5021 extern "C"
5022 #endif
5023 char shmat ();
5024 /* The GNU C library defines this for functions which it implements
5025 to always fail with ENOSYS. Some functions are actually named
5026 something starting with __ and the normal name is an alias. */
5027 #if defined __stub_shmat || defined __stub___shmat
5028 choke me
5029 #endif
5032 main ()
5034 return shmat ();
5036 return 0;
5038 _ACEOF
5039 rm -f conftest.$ac_objext conftest$ac_exeext
5040 if { (ac_try="$ac_link"
5041 case "(($ac_try" in
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5044 esac
5045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5046 (eval "$ac_link") 2>conftest.er1
5047 ac_status=$?
5048 grep -v '^ *+' conftest.er1 >conftest.err
5049 rm -f conftest.er1
5050 cat conftest.err >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } && {
5053 test -z "$ac_c_werror_flag" ||
5054 test ! -s conftest.err
5055 } && test -s conftest$ac_exeext &&
5056 $as_test_x conftest$ac_exeext; then
5057 ac_cv_func_shmat=yes
5058 else
5059 echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.$ac_ext >&5
5062 ac_cv_func_shmat=no
5065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5066 conftest$ac_exeext conftest.$ac_ext
5068 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5069 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5071 if test $ac_cv_func_shmat = no; then
5072 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5073 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5074 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 else
5077 ac_check_lib_save_LIBS=$LIBS
5078 LIBS="-lipc $LIBS"
5079 cat >conftest.$ac_ext <<_ACEOF
5080 /* confdefs.h. */
5081 _ACEOF
5082 cat confdefs.h >>conftest.$ac_ext
5083 cat >>conftest.$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5086 /* Override any GCC internal prototype to avoid an error.
5087 Use char because int might match the return type of a GCC
5088 builtin and then its argument prototype would still apply. */
5089 #ifdef __cplusplus
5090 extern "C"
5091 #endif
5092 char shmat ();
5094 main ()
5096 return shmat ();
5098 return 0;
5100 _ACEOF
5101 rm -f conftest.$ac_objext conftest$ac_exeext
5102 if { (ac_try="$ac_link"
5103 case "(($ac_try" in
5104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5106 esac
5107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5108 (eval "$ac_link") 2>conftest.er1
5109 ac_status=$?
5110 grep -v '^ *+' conftest.er1 >conftest.err
5111 rm -f conftest.er1
5112 cat conftest.err >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } && {
5115 test -z "$ac_c_werror_flag" ||
5116 test ! -s conftest.err
5117 } && test -s conftest$ac_exeext &&
5118 $as_test_x conftest$ac_exeext; then
5119 ac_cv_lib_ipc_shmat=yes
5120 else
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_cv_lib_ipc_shmat=no
5127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5128 conftest$ac_exeext conftest.$ac_ext
5129 LIBS=$ac_check_lib_save_LIBS
5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5132 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5133 if test $ac_cv_lib_ipc_shmat = yes; then
5134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5140 # Check for libraries that X11R6 Xt/Xaw programs need.
5141 ac_save_LDFLAGS=$LDFLAGS
5142 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5143 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5144 # check for ICE first), but we must link in the order -lSM -lICE or
5145 # we get undefined symbols. So assume we have SM if we have ICE.
5146 # These have to be linked with before -lX11, unlike the other
5147 # libraries we check for below, so use a different variable.
5148 # John Interrante, Karl Berry
5149 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5150 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5151 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 else
5154 ac_check_lib_save_LIBS=$LIBS
5155 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5156 cat >conftest.$ac_ext <<_ACEOF
5157 /* confdefs.h. */
5158 _ACEOF
5159 cat confdefs.h >>conftest.$ac_ext
5160 cat >>conftest.$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5163 /* Override any GCC internal prototype to avoid an error.
5164 Use char because int might match the return type of a GCC
5165 builtin and then its argument prototype would still apply. */
5166 #ifdef __cplusplus
5167 extern "C"
5168 #endif
5169 char IceConnectionNumber ();
5171 main ()
5173 return IceConnectionNumber ();
5175 return 0;
5177 _ACEOF
5178 rm -f conftest.$ac_objext conftest$ac_exeext
5179 if { (ac_try="$ac_link"
5180 case "(($ac_try" in
5181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5182 *) ac_try_echo=$ac_try;;
5183 esac
5184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5185 (eval "$ac_link") 2>conftest.er1
5186 ac_status=$?
5187 grep -v '^ *+' conftest.er1 >conftest.err
5188 rm -f conftest.er1
5189 cat conftest.err >&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); } && {
5192 test -z "$ac_c_werror_flag" ||
5193 test ! -s conftest.err
5194 } && test -s conftest$ac_exeext &&
5195 $as_test_x conftest$ac_exeext; then
5196 ac_cv_lib_ICE_IceConnectionNumber=yes
5197 else
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.$ac_ext >&5
5201 ac_cv_lib_ICE_IceConnectionNumber=no
5204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5205 conftest$ac_exeext conftest.$ac_ext
5206 LIBS=$ac_check_lib_save_LIBS
5208 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5209 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5210 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5211 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5214 LDFLAGS=$ac_save_LDFLAGS
5219 for ac_prog in flex
5221 # Extract the first word of "$ac_prog", so it can be a program name with args.
5222 set dummy $ac_prog; ac_word=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_FLEX+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 if test -n "$FLEX"; then
5229 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_FLEX="$ac_prog"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5244 IFS=$as_save_IFS
5248 FLEX=$ac_cv_prog_FLEX
5249 if test -n "$FLEX"; then
5250 { echo "$as_me:$LINENO: result: $FLEX" >&5
5251 echo "${ECHO_T}$FLEX" >&6; }
5252 else
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5258 test -n "$FLEX" && break
5259 done
5260 test -n "$FLEX" || FLEX="none"
5262 if test "$FLEX" = "none"
5263 then
5264 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5265 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5266 { (exit 1); exit 1; }; }
5269 for ac_prog in bison
5271 # Extract the first word of "$ac_prog", so it can be a program name with args.
5272 set dummy $ac_prog; ac_word=$2
5273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5275 if test "${ac_cv_prog_BISON+set}" = set; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5277 else
5278 if test -n "$BISON"; then
5279 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5280 else
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 for as_dir in $PATH
5284 IFS=$as_save_IFS
5285 test -z "$as_dir" && as_dir=.
5286 for ac_exec_ext in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_prog_BISON="$ac_prog"
5289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 break 2
5292 done
5293 done
5294 IFS=$as_save_IFS
5298 BISON=$ac_cv_prog_BISON
5299 if test -n "$BISON"; then
5300 { echo "$as_me:$LINENO: result: $BISON" >&5
5301 echo "${ECHO_T}$BISON" >&6; }
5302 else
5303 { echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6; }
5308 test -n "$BISON" && break
5309 done
5310 test -n "$BISON" || BISON="none"
5312 if test "$BISON" = "none"
5313 then
5314 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5315 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5316 { (exit 1); exit 1; }; }
5319 if test -n "$ac_tool_prefix"; then
5320 for ac_prog in gas as
5322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5326 if test "${ac_cv_prog_AS+set}" = set; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6
5328 else
5329 if test -n "$AS"; then
5330 ac_cv_prog_AS="$AS" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5339 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 AS=$ac_cv_prog_AS
5350 if test -n "$AS"; then
5351 { echo "$as_me:$LINENO: result: $AS" >&5
5352 echo "${ECHO_T}$AS" >&6; }
5353 else
5354 { echo "$as_me:$LINENO: result: no" >&5
5355 echo "${ECHO_T}no" >&6; }
5359 test -n "$AS" && break
5360 done
5362 if test -z "$AS"; then
5363 ac_ct_AS=$AS
5364 for ac_prog in gas as
5366 # Extract the first word of "$ac_prog", so it can be a program name with args.
5367 set dummy $ac_prog; ac_word=$2
5368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5370 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5372 else
5373 if test -n "$ac_ct_AS"; then
5374 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5375 else
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in $PATH
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383 ac_cv_prog_ac_ct_AS="$ac_prog"
5384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 break 2
5387 done
5388 done
5389 IFS=$as_save_IFS
5393 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5394 if test -n "$ac_ct_AS"; then
5395 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5396 echo "${ECHO_T}$ac_ct_AS" >&6; }
5397 else
5398 { echo "$as_me:$LINENO: result: no" >&5
5399 echo "${ECHO_T}no" >&6; }
5403 test -n "$ac_ct_AS" && break
5404 done
5406 if test "x$ac_ct_AS" = x; then
5407 AS="as"
5408 else
5409 case $cross_compiling:$ac_tool_warned in
5410 yes:)
5411 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5412 whose name does not start with the host triplet. If you think this
5413 configuration is useful to you, please write to autoconf@gnu.org." >&5
5414 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5415 whose name does not start with the host triplet. If you think this
5416 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5417 ac_tool_warned=yes ;;
5418 esac
5419 AS=$ac_ct_AS
5423 if test -n "$ac_tool_prefix"; then
5424 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5425 set dummy ${ac_tool_prefix}ld; ac_word=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_LD+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 else
5431 if test -n "$LD"; then
5432 ac_cv_prog_LD="$LD" # Let the user override the test.
5433 else
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_LD="${ac_tool_prefix}ld"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 break 2
5445 done
5446 done
5447 IFS=$as_save_IFS
5451 LD=$ac_cv_prog_LD
5452 if test -n "$LD"; then
5453 { echo "$as_me:$LINENO: result: $LD" >&5
5454 echo "${ECHO_T}$LD" >&6; }
5455 else
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5462 if test -z "$ac_cv_prog_LD"; then
5463 ac_ct_LD=$LD
5464 # Extract the first word of "ld", so it can be a program name with args.
5465 set dummy ld; ac_word=$2
5466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5468 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5471 if test -n "$ac_ct_LD"; then
5472 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5473 else
5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 for as_dir in $PATH
5477 IFS=$as_save_IFS
5478 test -z "$as_dir" && as_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5481 ac_cv_prog_ac_ct_LD="ld"
5482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 break 2
5485 done
5486 done
5487 IFS=$as_save_IFS
5491 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5492 if test -n "$ac_ct_LD"; then
5493 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5494 echo "${ECHO_T}$ac_ct_LD" >&6; }
5495 else
5496 { echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6; }
5500 if test "x$ac_ct_LD" = x; then
5501 LD="ld"
5502 else
5503 case $cross_compiling:$ac_tool_warned in
5504 yes:)
5505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5506 whose name does not start with the host triplet. If you think this
5507 configuration is useful to you, please write to autoconf@gnu.org." >&5
5508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5509 whose name does not start with the host triplet. If you think this
5510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5511 ac_tool_warned=yes ;;
5512 esac
5513 LD=$ac_ct_LD
5515 else
5516 LD="$ac_cv_prog_LD"
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}ar; ac_word=$2
5522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5524 if test "${ac_cv_prog_AR+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 else
5527 if test -n "$AR"; then
5528 ac_cv_prog_AR="$AR" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5537 ac_cv_prog_AR="${ac_tool_prefix}ar"
5538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 AR=$ac_cv_prog_AR
5548 if test -n "$AR"; then
5549 { echo "$as_me:$LINENO: result: $AR" >&5
5550 echo "${ECHO_T}$AR" >&6; }
5551 else
5552 { echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6; }
5558 if test -z "$ac_cv_prog_AR"; then
5559 ac_ct_AR=$AR
5560 # Extract the first word of "ar", so it can be a program name with args.
5561 set dummy ar; ac_word=$2
5562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5564 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 else
5567 if test -n "$ac_ct_AR"; then
5568 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_ac_ct_AR="ar"
5578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5588 if test -n "$ac_ct_AR"; then
5589 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5590 echo "${ECHO_T}$ac_ct_AR" >&6; }
5591 else
5592 { echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6; }
5596 if test "x$ac_ct_AR" = x; then
5597 AR="ar"
5598 else
5599 case $cross_compiling:$ac_tool_warned in
5600 yes:)
5601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5602 whose name does not start with the host triplet. If you think this
5603 configuration is useful to you, please write to autoconf@gnu.org." >&5
5604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5605 whose name does not start with the host triplet. If you think this
5606 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5607 ac_tool_warned=yes ;;
5608 esac
5609 AR=$ac_ct_AR
5611 else
5612 AR="$ac_cv_prog_AR"
5615 ARFLAGS=rc
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5619 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5622 if test "${ac_cv_prog_RANLIB+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 else
5625 if test -n "$RANLIB"; then
5626 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5627 else
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 break 2
5639 done
5640 done
5641 IFS=$as_save_IFS
5645 RANLIB=$ac_cv_prog_RANLIB
5646 if test -n "$RANLIB"; then
5647 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5648 echo "${ECHO_T}$RANLIB" >&6; }
5649 else
5650 { echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6; }
5656 if test -z "$ac_cv_prog_RANLIB"; then
5657 ac_ct_RANLIB=$RANLIB
5658 # Extract the first word of "ranlib", so it can be a program name with args.
5659 set dummy ranlib; ac_word=$2
5660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5662 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5663 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 else
5665 if test -n "$ac_ct_RANLIB"; then
5666 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5667 else
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 for as_dir in $PATH
5671 IFS=$as_save_IFS
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_ac_ct_RANLIB="ranlib"
5676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5686 if test -n "$ac_ct_RANLIB"; then
5687 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5688 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5689 else
5690 { echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6; }
5694 if test "x$ac_ct_RANLIB" = x; then
5695 RANLIB=":"
5696 else
5697 case $cross_compiling:$ac_tool_warned in
5698 yes:)
5699 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5700 whose name does not start with the host triplet. If you think this
5701 configuration is useful to you, please write to autoconf@gnu.org." >&5
5702 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5703 whose name does not start with the host triplet. If you think this
5704 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707 RANLIB=$ac_ct_RANLIB
5709 else
5710 RANLIB="$ac_cv_prog_RANLIB"
5713 if test -n "$ac_tool_prefix"; then
5714 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5715 set dummy ${ac_tool_prefix}strip; ac_word=$2
5716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5718 if test "${ac_cv_prog_STRIP+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 else
5721 if test -n "$STRIP"; then
5722 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5731 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 STRIP=$ac_cv_prog_STRIP
5742 if test -n "$STRIP"; then
5743 { echo "$as_me:$LINENO: result: $STRIP" >&5
5744 echo "${ECHO_T}$STRIP" >&6; }
5745 else
5746 { echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6; }
5752 if test -z "$ac_cv_prog_STRIP"; then
5753 ac_ct_STRIP=$STRIP
5754 # Extract the first word of "strip", so it can be a program name with args.
5755 set dummy strip; ac_word=$2
5756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5758 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5760 else
5761 if test -n "$ac_ct_STRIP"; then
5762 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5763 else
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5771 ac_cv_prog_ac_ct_STRIP="strip"
5772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 break 2
5775 done
5776 done
5777 IFS=$as_save_IFS
5781 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5782 if test -n "$ac_ct_STRIP"; then
5783 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5784 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5785 else
5786 { echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6; }
5790 if test "x$ac_ct_STRIP" = x; then
5791 STRIP="strip"
5792 else
5793 case $cross_compiling:$ac_tool_warned in
5794 yes:)
5795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5796 whose name does not start with the host triplet. If you think this
5797 configuration is useful to you, please write to autoconf@gnu.org." >&5
5798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5799 whose name does not start with the host triplet. If you think this
5800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5801 ac_tool_warned=yes ;;
5802 esac
5803 STRIP=$ac_ct_STRIP
5805 else
5806 STRIP="$ac_cv_prog_STRIP"
5809 if test -n "$ac_tool_prefix"; then
5810 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5811 set dummy ${ac_tool_prefix}windres; ac_word=$2
5812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5814 if test "${ac_cv_prog_WINDRES+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 else
5817 if test -n "$WINDRES"; then
5818 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5831 done
5832 done
5833 IFS=$as_save_IFS
5837 WINDRES=$ac_cv_prog_WINDRES
5838 if test -n "$WINDRES"; then
5839 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5840 echo "${ECHO_T}$WINDRES" >&6; }
5841 else
5842 { echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6; }
5848 if test -z "$ac_cv_prog_WINDRES"; then
5849 ac_ct_WINDRES=$WINDRES
5850 # Extract the first word of "windres", so it can be a program name with args.
5851 set dummy windres; ac_word=$2
5852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5854 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 else
5857 if test -n "$ac_ct_WINDRES"; then
5858 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_ac_ct_WINDRES="windres"
5868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5878 if test -n "$ac_ct_WINDRES"; then
5879 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5880 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5881 else
5882 { echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6; }
5886 if test "x$ac_ct_WINDRES" = x; then
5887 WINDRES="false"
5888 else
5889 case $cross_compiling:$ac_tool_warned in
5890 yes:)
5891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5892 whose name does not start with the host triplet. If you think this
5893 configuration is useful to you, please write to autoconf@gnu.org." >&5
5894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5895 whose name does not start with the host triplet. If you think this
5896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5897 ac_tool_warned=yes ;;
5898 esac
5899 WINDRES=$ac_ct_WINDRES
5901 else
5902 WINDRES="$ac_cv_prog_WINDRES"
5905 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5906 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5907 LN_S=$as_ln_s
5908 if test "$LN_S" = "ln -s"; then
5909 { echo "$as_me:$LINENO: result: yes" >&5
5910 echo "${ECHO_T}yes" >&6; }
5911 else
5912 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5913 echo "${ECHO_T}no, using $LN_S" >&6; }
5916 { echo "$as_me:$LINENO: checking whether ln works" >&5
5917 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5918 rm -f conf$$ conf$$.file
5919 echo >conf$$.file
5920 if ln conf$$.file conf$$ 2>/dev/null; then
5921 LN=ln
5923 { echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6; }
5925 else
5926 LN="cp -p"
5928 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5929 echo "${ECHO_T}no, using $LN" >&6; }
5931 rm -f conf$$ conf$$.file
5932 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5933 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5934 if test "${ac_cv_path_GREP+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 else
5937 # Extract the first word of "grep ggrep" to use in msg output
5938 if test -z "$GREP"; then
5939 set dummy grep ggrep; ac_prog_name=$2
5940 if test "${ac_cv_path_GREP+set}" = set; then
5941 echo $ECHO_N "(cached) $ECHO_C" >&6
5942 else
5943 ac_path_GREP_found=false
5944 # Loop through the user's path and test for each of PROGNAME-LIST
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5948 IFS=$as_save_IFS
5949 test -z "$as_dir" && as_dir=.
5950 for ac_prog in grep ggrep; do
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5953 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5954 # Check for GNU ac_path_GREP and select it if it is found.
5955 # Check for GNU $ac_path_GREP
5956 case `"$ac_path_GREP" --version 2>&1` in
5957 *GNU*)
5958 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5960 ac_count=0
5961 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5962 while :
5964 cat "conftest.in" "conftest.in" >"conftest.tmp"
5965 mv "conftest.tmp" "conftest.in"
5966 cp "conftest.in" "conftest.nl"
5967 echo 'GREP' >> "conftest.nl"
5968 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5969 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5970 ac_count=`expr $ac_count + 1`
5971 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5972 # Best one so far, save it but keep looking for a better one
5973 ac_cv_path_GREP="$ac_path_GREP"
5974 ac_path_GREP_max=$ac_count
5976 # 10*(2^10) chars as input seems more than enough
5977 test $ac_count -gt 10 && break
5978 done
5979 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5980 esac
5983 $ac_path_GREP_found && break 3
5984 done
5985 done
5987 done
5988 IFS=$as_save_IFS
5993 GREP="$ac_cv_path_GREP"
5994 if test -z "$GREP"; then
5995 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5996 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5997 { (exit 1); exit 1; }; }
6000 else
6001 ac_cv_path_GREP=$GREP
6006 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6007 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6008 GREP="$ac_cv_path_GREP"
6011 { echo "$as_me:$LINENO: checking for egrep" >&5
6012 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6013 if test "${ac_cv_path_EGREP+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 else
6016 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6017 then ac_cv_path_EGREP="$GREP -E"
6018 else
6019 # Extract the first word of "egrep" to use in msg output
6020 if test -z "$EGREP"; then
6021 set dummy egrep; ac_prog_name=$2
6022 if test "${ac_cv_path_EGREP+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 else
6025 ac_path_EGREP_found=false
6026 # Loop through the user's path and test for each of PROGNAME-LIST
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_prog in egrep; do
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6035 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6036 # Check for GNU ac_path_EGREP and select it if it is found.
6037 # Check for GNU $ac_path_EGREP
6038 case `"$ac_path_EGREP" --version 2>&1` in
6039 *GNU*)
6040 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6042 ac_count=0
6043 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6044 while :
6046 cat "conftest.in" "conftest.in" >"conftest.tmp"
6047 mv "conftest.tmp" "conftest.in"
6048 cp "conftest.in" "conftest.nl"
6049 echo 'EGREP' >> "conftest.nl"
6050 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6051 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6052 ac_count=`expr $ac_count + 1`
6053 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6054 # Best one so far, save it but keep looking for a better one
6055 ac_cv_path_EGREP="$ac_path_EGREP"
6056 ac_path_EGREP_max=$ac_count
6058 # 10*(2^10) chars as input seems more than enough
6059 test $ac_count -gt 10 && break
6060 done
6061 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6062 esac
6065 $ac_path_EGREP_found && break 3
6066 done
6067 done
6069 done
6070 IFS=$as_save_IFS
6075 EGREP="$ac_cv_path_EGREP"
6076 if test -z "$EGREP"; then
6077 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6078 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6079 { (exit 1); exit 1; }; }
6082 else
6083 ac_cv_path_EGREP=$EGREP
6089 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6090 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6091 EGREP="$ac_cv_path_EGREP"
6094 # Extract the first word of "ldconfig", so it can be a program name with args.
6095 set dummy ldconfig; ac_word=$2
6096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6098 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6099 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 else
6101 case $LDCONFIG in
6102 [\\/]* | ?:[\\/]*)
6103 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in /sbin /usr/sbin $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6113 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6121 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6123 esac
6125 LDCONFIG=$ac_cv_path_LDCONFIG
6126 if test -n "$LDCONFIG"; then
6127 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6128 echo "${ECHO_T}$LDCONFIG" >&6; }
6129 else
6130 { echo "$as_me:$LINENO: result: no" >&5
6131 echo "${ECHO_T}no" >&6; }
6135 # Find a good install program. We prefer a C program (faster),
6136 # so one script is as good as another. But avoid the broken or
6137 # incompatible versions:
6138 # SysV /etc/install, /usr/sbin/install
6139 # SunOS /usr/etc/install
6140 # IRIX /sbin/install
6141 # AIX /bin/install
6142 # AmigaOS /C/install, which installs bootblocks on floppy discs
6143 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6144 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6145 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6146 # OS/2's system install, which has a completely different semantic
6147 # ./install, which can be erroneously created by make from ./install.sh.
6148 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6149 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6150 if test -z "$INSTALL"; then
6151 if test "${ac_cv_path_install+set}" = set; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 # Account for people who put trailing slashes in PATH elements.
6160 case $as_dir/ in
6161 ./ | .// | /cC/* | \
6162 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6163 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6164 /usr/ucb/* ) ;;
6166 # OSF1 and SCO ODT 3.0 have their own names for install.
6167 # Don't use installbsd from OSF since it installs stuff as root
6168 # by default.
6169 for ac_prog in ginstall scoinst install; do
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6172 if test $ac_prog = install &&
6173 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6174 # AIX install. It has an incompatible calling convention.
6176 elif test $ac_prog = install &&
6177 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6178 # program-specific install script used by HP pwplus--don't use.
6180 else
6181 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6182 break 3
6185 done
6186 done
6188 esac
6189 done
6190 IFS=$as_save_IFS
6194 if test "${ac_cv_path_install+set}" = set; then
6195 INSTALL=$ac_cv_path_install
6196 else
6197 # As a last resort, use the slow shell script. Don't cache a
6198 # value for INSTALL within a source directory, because that will
6199 # break other packages using the cache if that directory is
6200 # removed, or if the value is a relative name.
6201 INSTALL=$ac_install_sh
6204 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6205 echo "${ECHO_T}$INSTALL" >&6; }
6207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6208 # It thinks the first close brace ends the variable substitution.
6209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6215 case "$INSTALL" in
6216 [\\/$]* | ?:[\\/]* ) ;;
6217 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6218 esac
6220 for ac_prog in lclint lint
6222 # Extract the first word of "$ac_prog", so it can be a program name with args.
6223 set dummy $ac_prog; ac_word=$2
6224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6226 if test "${ac_cv_prog_LINT+set}" = set; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 else
6229 if test -n "$LINT"; then
6230 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_LINT="$ac_prog"
6240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 LINT=$ac_cv_prog_LINT
6250 if test -n "$LINT"; then
6251 { echo "$as_me:$LINENO: result: $LINT" >&5
6252 echo "${ECHO_T}$LINT" >&6; }
6253 else
6254 { echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6; }
6259 test -n "$LINT" && break
6260 done
6262 if test "$LINT" = "lint"
6263 then
6264 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6269 for ac_prog in fontforge
6271 # Extract the first word of "$ac_prog", so it can be a program name with args.
6272 set dummy $ac_prog; ac_word=$2
6273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6275 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 else
6278 if test -n "$FONTFORGE"; then
6279 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6280 else
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 for as_dir in $PATH
6284 IFS=$as_save_IFS
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_FONTFORGE="$ac_prog"
6289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 break 2
6292 done
6293 done
6294 IFS=$as_save_IFS
6298 FONTFORGE=$ac_cv_prog_FONTFORGE
6299 if test -n "$FONTFORGE"; then
6300 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6301 echo "${ECHO_T}$FONTFORGE" >&6; }
6302 else
6303 { echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6; }
6308 test -n "$FONTFORGE" && break
6309 done
6310 test -n "$FONTFORGE" || FONTFORGE="false"
6312 for ac_prog in pkg-config
6314 # Extract the first word of "$ac_prog", so it can be a program name with args.
6315 set dummy $ac_prog; ac_word=$2
6316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6318 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6320 else
6321 if test -n "$PKG_CONFIG"; then
6322 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6323 else
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 for as_dir in $PATH
6327 IFS=$as_save_IFS
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 ac_cv_prog_PKG_CONFIG="$ac_prog"
6332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6333 break 2
6335 done
6336 done
6337 IFS=$as_save_IFS
6341 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6342 if test -n "$PKG_CONFIG"; then
6343 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6344 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6345 else
6346 { echo "$as_me:$LINENO: result: no" >&5
6347 echo "${ECHO_T}no" >&6; }
6351 test -n "$PKG_CONFIG" && break
6352 done
6353 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6356 case $host_cpu in
6357 *i[3456789]86*)
6358 # Extract the first word of "prelink", so it can be a program name with args.
6359 set dummy prelink; ac_word=$2
6360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6362 if test "${ac_cv_path_PRELINK+set}" = set; then
6363 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 else
6365 case $PRELINK in
6366 [\\/]* | ?:[\\/]*)
6367 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 for as_dir in /sbin /usr/sbin $PATH
6373 IFS=$as_save_IFS
6374 test -z "$as_dir" && as_dir=.
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6377 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 break 2
6381 done
6382 done
6383 IFS=$as_save_IFS
6385 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6387 esac
6389 PRELINK=$ac_cv_path_PRELINK
6390 if test -n "$PRELINK"; then
6391 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6392 echo "${ECHO_T}$PRELINK" >&6; }
6393 else
6394 { echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6; }
6400 esac
6404 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6405 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6406 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6408 else
6409 ac_check_lib_save_LIBS=$LIBS
6410 LIBS="-li386 $LIBS"
6411 cat >conftest.$ac_ext <<_ACEOF
6412 /* confdefs.h. */
6413 _ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6418 /* Override any GCC internal prototype to avoid an error.
6419 Use char because int might match the return type of a GCC
6420 builtin and then its argument prototype would still apply. */
6421 #ifdef __cplusplus
6422 extern "C"
6423 #endif
6424 char i386_set_ldt ();
6426 main ()
6428 return i386_set_ldt ();
6430 return 0;
6432 _ACEOF
6433 rm -f conftest.$ac_objext conftest$ac_exeext
6434 if { (ac_try="$ac_link"
6435 case "(($ac_try" in
6436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6437 *) ac_try_echo=$ac_try;;
6438 esac
6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440 (eval "$ac_link") 2>conftest.er1
6441 ac_status=$?
6442 grep -v '^ *+' conftest.er1 >conftest.err
6443 rm -f conftest.er1
6444 cat conftest.err >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } && {
6447 test -z "$ac_c_werror_flag" ||
6448 test ! -s conftest.err
6449 } && test -s conftest$ac_exeext &&
6450 $as_test_x conftest$ac_exeext; then
6451 ac_cv_lib_i386_i386_set_ldt=yes
6452 else
6453 echo "$as_me: failed program was:" >&5
6454 sed 's/^/| /' conftest.$ac_ext >&5
6456 ac_cv_lib_i386_i386_set_ldt=no
6459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6460 conftest$ac_exeext conftest.$ac_ext
6461 LIBS=$ac_check_lib_save_LIBS
6463 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6464 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6465 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6466 cat >>confdefs.h <<_ACEOF
6467 #define HAVE_LIBI386 1
6468 _ACEOF
6470 LIBS="-li386 $LIBS"
6475 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6476 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6477 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 else
6480 ac_check_lib_save_LIBS=$LIBS
6481 LIBS="-lossaudio $LIBS"
6482 cat >conftest.$ac_ext <<_ACEOF
6483 /* confdefs.h. */
6484 _ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6489 /* Override any GCC internal prototype to avoid an error.
6490 Use char because int might match the return type of a GCC
6491 builtin and then its argument prototype would still apply. */
6492 #ifdef __cplusplus
6493 extern "C"
6494 #endif
6495 char _oss_ioctl ();
6497 main ()
6499 return _oss_ioctl ();
6501 return 0;
6503 _ACEOF
6504 rm -f conftest.$ac_objext conftest$ac_exeext
6505 if { (ac_try="$ac_link"
6506 case "(($ac_try" in
6507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6508 *) ac_try_echo=$ac_try;;
6509 esac
6510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6511 (eval "$ac_link") 2>conftest.er1
6512 ac_status=$?
6513 grep -v '^ *+' conftest.er1 >conftest.err
6514 rm -f conftest.er1
6515 cat conftest.err >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } && {
6518 test -z "$ac_c_werror_flag" ||
6519 test ! -s conftest.err
6520 } && test -s conftest$ac_exeext &&
6521 $as_test_x conftest$ac_exeext; then
6522 ac_cv_lib_ossaudio__oss_ioctl=yes
6523 else
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6527 ac_cv_lib_ossaudio__oss_ioctl=no
6530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6531 conftest$ac_exeext conftest.$ac_ext
6532 LIBS=$ac_check_lib_save_LIBS
6534 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6535 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6536 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6537 cat >>confdefs.h <<_ACEOF
6538 #define HAVE_LIBOSSAUDIO 1
6539 _ACEOF
6541 LIBS="-lossaudio $LIBS"
6545 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6546 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6547 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 else
6550 ac_check_lib_save_LIBS=$LIBS
6551 LIBS="-lpthread $LIBS"
6552 cat >conftest.$ac_ext <<_ACEOF
6553 /* confdefs.h. */
6554 _ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6559 /* Override any GCC internal prototype to avoid an error.
6560 Use char because int might match the return type of a GCC
6561 builtin and then its argument prototype would still apply. */
6562 #ifdef __cplusplus
6563 extern "C"
6564 #endif
6565 char pthread_create ();
6567 main ()
6569 return pthread_create ();
6571 return 0;
6573 _ACEOF
6574 rm -f conftest.$ac_objext conftest$ac_exeext
6575 if { (ac_try="$ac_link"
6576 case "(($ac_try" in
6577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6578 *) ac_try_echo=$ac_try;;
6579 esac
6580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6581 (eval "$ac_link") 2>conftest.er1
6582 ac_status=$?
6583 grep -v '^ *+' conftest.er1 >conftest.err
6584 rm -f conftest.er1
6585 cat conftest.err >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } && {
6588 test -z "$ac_c_werror_flag" ||
6589 test ! -s conftest.err
6590 } && test -s conftest$ac_exeext &&
6591 $as_test_x conftest$ac_exeext; then
6592 ac_cv_lib_pthread_pthread_create=yes
6593 else
6594 echo "$as_me: failed program was:" >&5
6595 sed 's/^/| /' conftest.$ac_ext >&5
6597 ac_cv_lib_pthread_pthread_create=no
6600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6601 conftest$ac_exeext conftest.$ac_ext
6602 LIBS=$ac_check_lib_save_LIBS
6604 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6605 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6606 if test $ac_cv_lib_pthread_pthread_create = yes; then
6607 LIBPTHREAD="-lpthread"
6612 XLIB=""
6614 XFILES=""
6616 OPENGLFILES=""
6618 GLU32FILES=""
6620 OPENGL_LIBS=""
6622 QUARTZFILES=""
6626 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6628 if test "${ac_cv_header_stdc+set}" = set; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 else
6631 cat >conftest.$ac_ext <<_ACEOF
6632 /* confdefs.h. */
6633 _ACEOF
6634 cat confdefs.h >>conftest.$ac_ext
6635 cat >>conftest.$ac_ext <<_ACEOF
6636 /* end confdefs.h. */
6637 #include <stdlib.h>
6638 #include <stdarg.h>
6639 #include <string.h>
6640 #include <float.h>
6643 main ()
6647 return 0;
6649 _ACEOF
6650 rm -f conftest.$ac_objext
6651 if { (ac_try="$ac_compile"
6652 case "(($ac_try" in
6653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6654 *) ac_try_echo=$ac_try;;
6655 esac
6656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6657 (eval "$ac_compile") 2>conftest.er1
6658 ac_status=$?
6659 grep -v '^ *+' conftest.er1 >conftest.err
6660 rm -f conftest.er1
6661 cat conftest.err >&5
6662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663 (exit $ac_status); } && {
6664 test -z "$ac_c_werror_flag" ||
6665 test ! -s conftest.err
6666 } && test -s conftest.$ac_objext; then
6667 ac_cv_header_stdc=yes
6668 else
6669 echo "$as_me: failed program was:" >&5
6670 sed 's/^/| /' conftest.$ac_ext >&5
6672 ac_cv_header_stdc=no
6675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6677 if test $ac_cv_header_stdc = yes; then
6678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6679 cat >conftest.$ac_ext <<_ACEOF
6680 /* confdefs.h. */
6681 _ACEOF
6682 cat confdefs.h >>conftest.$ac_ext
6683 cat >>conftest.$ac_ext <<_ACEOF
6684 /* end confdefs.h. */
6685 #include <string.h>
6687 _ACEOF
6688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6689 $EGREP "memchr" >/dev/null 2>&1; then
6691 else
6692 ac_cv_header_stdc=no
6694 rm -f conftest*
6698 if test $ac_cv_header_stdc = yes; then
6699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6700 cat >conftest.$ac_ext <<_ACEOF
6701 /* confdefs.h. */
6702 _ACEOF
6703 cat confdefs.h >>conftest.$ac_ext
6704 cat >>conftest.$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6706 #include <stdlib.h>
6708 _ACEOF
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "free" >/dev/null 2>&1; then
6712 else
6713 ac_cv_header_stdc=no
6715 rm -f conftest*
6719 if test $ac_cv_header_stdc = yes; then
6720 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6721 if test "$cross_compiling" = yes; then
6723 else
6724 cat >conftest.$ac_ext <<_ACEOF
6725 /* confdefs.h. */
6726 _ACEOF
6727 cat confdefs.h >>conftest.$ac_ext
6728 cat >>conftest.$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6730 #include <ctype.h>
6731 #include <stdlib.h>
6732 #if ((' ' & 0x0FF) == 0x020)
6733 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6734 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6735 #else
6736 # define ISLOWER(c) \
6737 (('a' <= (c) && (c) <= 'i') \
6738 || ('j' <= (c) && (c) <= 'r') \
6739 || ('s' <= (c) && (c) <= 'z'))
6740 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6741 #endif
6743 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6745 main ()
6747 int i;
6748 for (i = 0; i < 256; i++)
6749 if (XOR (islower (i), ISLOWER (i))
6750 || toupper (i) != TOUPPER (i))
6751 return 2;
6752 return 0;
6754 _ACEOF
6755 rm -f conftest$ac_exeext
6756 if { (ac_try="$ac_link"
6757 case "(($ac_try" in
6758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6759 *) ac_try_echo=$ac_try;;
6760 esac
6761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6762 (eval "$ac_link") 2>&5
6763 ac_status=$?
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6766 { (case "(($ac_try" in
6767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6768 *) ac_try_echo=$ac_try;;
6769 esac
6770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6771 (eval "$ac_try") 2>&5
6772 ac_status=$?
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; }; then
6776 else
6777 echo "$as_me: program exited with status $ac_status" >&5
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ( exit $ac_status )
6782 ac_cv_header_stdc=no
6784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6790 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6791 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6792 if test $ac_cv_header_stdc = yes; then
6794 cat >>confdefs.h <<\_ACEOF
6795 #define STDC_HEADERS 1
6796 _ACEOF
6800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6810 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6811 inttypes.h stdint.h unistd.h
6813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6818 else
6819 cat >conftest.$ac_ext <<_ACEOF
6820 /* confdefs.h. */
6821 _ACEOF
6822 cat confdefs.h >>conftest.$ac_ext
6823 cat >>conftest.$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6825 $ac_includes_default
6827 #include <$ac_header>
6828 _ACEOF
6829 rm -f conftest.$ac_objext
6830 if { (ac_try="$ac_compile"
6831 case "(($ac_try" in
6832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6833 *) ac_try_echo=$ac_try;;
6834 esac
6835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6836 (eval "$ac_compile") 2>conftest.er1
6837 ac_status=$?
6838 grep -v '^ *+' conftest.er1 >conftest.err
6839 rm -f conftest.er1
6840 cat conftest.err >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } && {
6843 test -z "$ac_c_werror_flag" ||
6844 test ! -s conftest.err
6845 } && test -s conftest.$ac_objext; then
6846 eval "$as_ac_Header=yes"
6847 else
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.$ac_ext >&5
6851 eval "$as_ac_Header=no"
6854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6856 ac_res=`eval echo '${'$as_ac_Header'}'`
6857 { echo "$as_me:$LINENO: result: $ac_res" >&5
6858 echo "${ECHO_T}$ac_res" >&6; }
6859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6860 cat >>confdefs.h <<_ACEOF
6861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6862 _ACEOF
6866 done
6979 for ac_header in \
6980 AudioUnit/AudioUnit.h \
6981 Carbon/Carbon.h \
6982 CoreAudio/CoreAudio.h \
6983 DiskArbitration/DiskArbitration.h \
6984 IOKit/IOKitLib.h \
6985 alsa/asoundlib.h \
6986 arpa/inet.h \
6987 arpa/nameser.h \
6988 asm/types.h \
6989 capi20.h \
6990 cups/cups.h \
6991 curses.h \
6992 direct.h \
6993 dlfcn.h \
6994 elf.h \
6995 float.h \
6996 fontconfig/fontconfig.h \
6997 getopt.h \
6998 ieeefp.h \
6999 io.h \
7000 jack/jack.h \
7001 jpeglib.h \
7002 lber.h \
7003 lcms.h \
7004 lcms/lcms.h \
7005 ldap.h \
7006 libaudioio.h \
7007 link.h \
7008 linux/cdrom.h \
7009 linux/compiler.h \
7010 linux/hdreg.h \
7011 linux/input.h \
7012 linux/ioctl.h \
7013 linux/joystick.h \
7014 linux/major.h \
7015 linux/param.h \
7016 linux/serial.h \
7017 linux/ucdrom.h \
7018 mach/mach.h \
7019 mach/machine.h \
7020 machine/cpu.h \
7021 machine/limits.h \
7022 machine/soundcard.h \
7023 mntent.h \
7024 ncurses.h \
7025 netdb.h \
7026 netinet/in.h \
7027 netinet/in_systm.h \
7028 netinet/tcp.h \
7029 netinet/tcp_fsm.h \
7030 openssl/err.h \
7031 openssl/ssl.h \
7032 png.h \
7033 poll.h \
7034 process.h \
7035 pthread.h \
7036 pwd.h \
7037 regex.h \
7038 sched.h \
7039 scsi/scsi.h \
7040 scsi/scsi_ioctl.h \
7041 scsi/sg.h \
7042 soundcard.h \
7043 stdint.h \
7044 strings.h \
7045 sys/asoundlib.h \
7046 sys/cdio.h \
7047 sys/elf32.h \
7048 sys/epoll.h \
7049 sys/errno.h \
7050 sys/event.h \
7051 sys/exec_elf.h \
7052 sys/filio.h \
7053 sys/ioctl.h \
7054 sys/ipc.h \
7055 sys/limits.h \
7056 sys/link.h \
7057 sys/lwp.h \
7058 sys/mman.h \
7059 sys/modem.h \
7060 sys/msg.h \
7061 sys/mtio.h \
7062 sys/param.h \
7063 sys/poll.h \
7064 sys/prctl.h \
7065 sys/ptrace.h \
7066 sys/reg.h \
7067 sys/resource.h \
7068 sys/scsiio.h \
7069 sys/shm.h \
7070 sys/signal.h \
7071 sys/socket.h \
7072 sys/socketvar.h \
7073 sys/sockio.h \
7074 sys/soundcard.h \
7075 sys/statvfs.h \
7076 sys/strtio.h \
7077 sys/syscall.h \
7078 sys/sysctl.h \
7079 sys/time.h \
7080 sys/times.h \
7081 sys/uio.h \
7082 sys/un.h \
7083 sys/vm86.h \
7084 sys/wait.h \
7085 syscall.h \
7086 termios.h \
7087 unistd.h \
7088 utime.h \
7089 valgrind/memcheck.h
7092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7099 ac_res=`eval echo '${'$as_ac_Header'}'`
7100 { echo "$as_me:$LINENO: result: $ac_res" >&5
7101 echo "${ECHO_T}$ac_res" >&6; }
7102 else
7103 # Is the header compilable?
7104 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7106 cat >conftest.$ac_ext <<_ACEOF
7107 /* confdefs.h. */
7108 _ACEOF
7109 cat confdefs.h >>conftest.$ac_ext
7110 cat >>conftest.$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7112 $ac_includes_default
7113 #include <$ac_header>
7114 _ACEOF
7115 rm -f conftest.$ac_objext
7116 if { (ac_try="$ac_compile"
7117 case "(($ac_try" in
7118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7119 *) ac_try_echo=$ac_try;;
7120 esac
7121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7122 (eval "$ac_compile") 2>conftest.er1
7123 ac_status=$?
7124 grep -v '^ *+' conftest.er1 >conftest.err
7125 rm -f conftest.er1
7126 cat conftest.err >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); } && {
7129 test -z "$ac_c_werror_flag" ||
7130 test ! -s conftest.err
7131 } && test -s conftest.$ac_objext; then
7132 ac_header_compiler=yes
7133 else
7134 echo "$as_me: failed program was:" >&5
7135 sed 's/^/| /' conftest.$ac_ext >&5
7137 ac_header_compiler=no
7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7141 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7142 echo "${ECHO_T}$ac_header_compiler" >&6; }
7144 # Is the header present?
7145 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7146 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7147 cat >conftest.$ac_ext <<_ACEOF
7148 /* confdefs.h. */
7149 _ACEOF
7150 cat confdefs.h >>conftest.$ac_ext
7151 cat >>conftest.$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 #include <$ac_header>
7154 _ACEOF
7155 if { (ac_try="$ac_cpp conftest.$ac_ext"
7156 case "(($ac_try" in
7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7159 esac
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7162 ac_status=$?
7163 grep -v '^ *+' conftest.er1 >conftest.err
7164 rm -f conftest.er1
7165 cat conftest.err >&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } >/dev/null && {
7168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7169 test ! -s conftest.err
7170 }; then
7171 ac_header_preproc=yes
7172 else
7173 echo "$as_me: failed program was:" >&5
7174 sed 's/^/| /' conftest.$ac_ext >&5
7176 ac_header_preproc=no
7179 rm -f conftest.err conftest.$ac_ext
7180 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7181 echo "${ECHO_T}$ac_header_preproc" >&6; }
7183 # So? What about this header?
7184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7185 yes:no: )
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7190 ac_header_preproc=yes
7192 no:yes:* )
7193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7205 ( cat <<\_ASBOX
7206 ## ------------------------------------ ##
7207 ## Report this to wine-devel@winehq.org ##
7208 ## ------------------------------------ ##
7209 _ASBOX
7210 ) | sed "s/^/$as_me: WARNING: /" >&2
7212 esac
7213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7216 echo $ECHO_N "(cached) $ECHO_C" >&6
7217 else
7218 eval "$as_ac_Header=\$ac_header_preproc"
7220 ac_res=`eval echo '${'$as_ac_Header'}'`
7221 { echo "$as_me:$LINENO: result: $ac_res" >&5
7222 echo "${ECHO_T}$ac_res" >&6; }
7225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226 cat >>confdefs.h <<_ACEOF
7227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7228 _ACEOF
7232 done
7234 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7235 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7236 if test "${ac_cv_header_stat_broken+set}" = set; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7238 else
7239 cat >conftest.$ac_ext <<_ACEOF
7240 /* confdefs.h. */
7241 _ACEOF
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7245 #include <sys/types.h>
7246 #include <sys/stat.h>
7248 #if defined S_ISBLK && defined S_IFDIR
7249 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7250 #endif
7252 #if defined S_ISBLK && defined S_IFCHR
7253 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7254 #endif
7256 #if defined S_ISLNK && defined S_IFREG
7257 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7258 #endif
7260 #if defined S_ISSOCK && defined S_IFREG
7261 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7262 #endif
7264 _ACEOF
7265 rm -f conftest.$ac_objext
7266 if { (ac_try="$ac_compile"
7267 case "(($ac_try" in
7268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7269 *) ac_try_echo=$ac_try;;
7270 esac
7271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7272 (eval "$ac_compile") 2>conftest.er1
7273 ac_status=$?
7274 grep -v '^ *+' conftest.er1 >conftest.err
7275 rm -f conftest.er1
7276 cat conftest.err >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } && {
7279 test -z "$ac_c_werror_flag" ||
7280 test ! -s conftest.err
7281 } && test -s conftest.$ac_objext; then
7282 ac_cv_header_stat_broken=no
7283 else
7284 echo "$as_me: failed program was:" >&5
7285 sed 's/^/| /' conftest.$ac_ext >&5
7287 ac_cv_header_stat_broken=yes
7290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7292 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7293 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7294 if test $ac_cv_header_stat_broken = yes; then
7296 cat >>confdefs.h <<\_ACEOF
7297 #define STAT_MACROS_BROKEN 1
7298 _ACEOF
7308 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7311 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7314 echo $ECHO_N "(cached) $ECHO_C" >&6
7315 else
7316 cat >conftest.$ac_ext <<_ACEOF
7317 /* confdefs.h. */
7318 _ACEOF
7319 cat confdefs.h >>conftest.$ac_ext
7320 cat >>conftest.$ac_ext <<_ACEOF
7321 /* end confdefs.h. */
7322 #include <sys/types.h>
7323 #ifdef HAVE_SYS_PARAM_H
7324 # include <sys/param.h>
7325 #endif
7327 #include <$ac_header>
7328 _ACEOF
7329 rm -f conftest.$ac_objext
7330 if { (ac_try="$ac_compile"
7331 case "(($ac_try" in
7332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7334 esac
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_compile") 2>conftest.er1
7337 ac_status=$?
7338 grep -v '^ *+' conftest.er1 >conftest.err
7339 rm -f conftest.er1
7340 cat conftest.err >&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } && {
7343 test -z "$ac_c_werror_flag" ||
7344 test ! -s conftest.err
7345 } && test -s conftest.$ac_objext; then
7346 eval "$as_ac_Header=yes"
7347 else
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7351 eval "$as_ac_Header=no"
7354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7356 ac_res=`eval echo '${'$as_ac_Header'}'`
7357 { echo "$as_me:$LINENO: result: $ac_res" >&5
7358 echo "${ECHO_T}$ac_res" >&6; }
7359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7360 cat >>confdefs.h <<_ACEOF
7361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7362 _ACEOF
7366 done
7377 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
7379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 else
7385 cat >conftest.$ac_ext <<_ACEOF
7386 /* confdefs.h. */
7387 _ACEOF
7388 cat confdefs.h >>conftest.$ac_ext
7389 cat >>conftest.$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 #include <sys/types.h>
7392 #ifdef HAVE_SYS_SOCKET_H
7393 # include <sys/socket.h>
7394 #endif
7395 #ifdef HAVE_SYS_SOCKETVAR_H
7396 # include <sys/socketvar.h>
7397 #endif
7398 #ifdef HAVE_NETINET_IN_H
7399 # include <netinet/in.h>
7400 #endif
7402 #include <$ac_header>
7403 _ACEOF
7404 rm -f conftest.$ac_objext
7405 if { (ac_try="$ac_compile"
7406 case "(($ac_try" in
7407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7408 *) ac_try_echo=$ac_try;;
7409 esac
7410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7411 (eval "$ac_compile") 2>conftest.er1
7412 ac_status=$?
7413 grep -v '^ *+' conftest.er1 >conftest.err
7414 rm -f conftest.er1
7415 cat conftest.err >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); } && {
7418 test -z "$ac_c_werror_flag" ||
7419 test ! -s conftest.err
7420 } && test -s conftest.$ac_objext; then
7421 eval "$as_ac_Header=yes"
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 eval "$as_ac_Header=no"
7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7431 ac_res=`eval echo '${'$as_ac_Header'}'`
7432 { echo "$as_me:$LINENO: result: $ac_res" >&5
7433 echo "${ECHO_T}$ac_res" >&6; }
7434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7435 cat >>confdefs.h <<_ACEOF
7436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7437 _ACEOF
7441 done
7445 for ac_header in netinet/tcp_var.h
7447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 else
7453 cat >conftest.$ac_ext <<_ACEOF
7454 /* confdefs.h. */
7455 _ACEOF
7456 cat confdefs.h >>conftest.$ac_ext
7457 cat >>conftest.$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 #include <sys/types.h>
7460 #ifdef HAVE_SYS_SOCKET_H
7461 # include <sys/socket.h>
7462 #endif
7463 #ifdef HAVE_SYS_SOCKETVAR_H
7464 # include <sys/socketvar.h>
7465 #endif
7466 #ifdef HAVE_NETINET_IN_H
7467 # include <netinet/in.h>
7468 #endif
7469 #ifdef HAVE_NETINET_TCP_H
7470 # include <netinet/tcp.h>
7471 #endif
7473 #include <$ac_header>
7474 _ACEOF
7475 rm -f conftest.$ac_objext
7476 if { (ac_try="$ac_compile"
7477 case "(($ac_try" in
7478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7479 *) ac_try_echo=$ac_try;;
7480 esac
7481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7482 (eval "$ac_compile") 2>conftest.er1
7483 ac_status=$?
7484 grep -v '^ *+' conftest.er1 >conftest.err
7485 rm -f conftest.er1
7486 cat conftest.err >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); } && {
7489 test -z "$ac_c_werror_flag" ||
7490 test ! -s conftest.err
7491 } && test -s conftest.$ac_objext; then
7492 eval "$as_ac_Header=yes"
7493 else
7494 echo "$as_me: failed program was:" >&5
7495 sed 's/^/| /' conftest.$ac_ext >&5
7497 eval "$as_ac_Header=no"
7500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7502 ac_res=`eval echo '${'$as_ac_Header'}'`
7503 { echo "$as_me:$LINENO: result: $ac_res" >&5
7504 echo "${ECHO_T}$ac_res" >&6; }
7505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7506 cat >>confdefs.h <<_ACEOF
7507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7508 _ACEOF
7512 done
7516 for ac_header in linux/ipx.h
7518 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7519 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7523 else
7524 cat >conftest.$ac_ext <<_ACEOF
7525 /* confdefs.h. */
7526 _ACEOF
7527 cat confdefs.h >>conftest.$ac_ext
7528 cat >>conftest.$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 #include <sys/types.h>
7531 #ifdef HAVE_ASM_TYPES_H
7532 # include <asm/types.h>
7533 #endif
7534 #ifdef HAVE_SYS_SOCKET_H
7535 # include <sys/socket.h>
7536 #endif
7538 #include <$ac_header>
7539 _ACEOF
7540 rm -f conftest.$ac_objext
7541 if { (ac_try="$ac_compile"
7542 case "(($ac_try" in
7543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7544 *) ac_try_echo=$ac_try;;
7545 esac
7546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7547 (eval "$ac_compile") 2>conftest.er1
7548 ac_status=$?
7549 grep -v '^ *+' conftest.er1 >conftest.err
7550 rm -f conftest.er1
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } && {
7554 test -z "$ac_c_werror_flag" ||
7555 test ! -s conftest.err
7556 } && test -s conftest.$ac_objext; then
7557 eval "$as_ac_Header=yes"
7558 else
7559 echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7562 eval "$as_ac_Header=no"
7565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7567 ac_res=`eval echo '${'$as_ac_Header'}'`
7568 { echo "$as_me:$LINENO: result: $ac_res" >&5
7569 echo "${ECHO_T}$ac_res" >&6; }
7570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7571 cat >>confdefs.h <<_ACEOF
7572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7573 _ACEOF
7577 done
7581 for ac_header in resolv.h
7583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7588 else
7589 cat >conftest.$ac_ext <<_ACEOF
7590 /* confdefs.h. */
7591 _ACEOF
7592 cat confdefs.h >>conftest.$ac_ext
7593 cat >>conftest.$ac_ext <<_ACEOF
7594 /* end confdefs.h. */
7595 #include <sys/types.h>
7596 #ifdef HAVE_SYS_SOCKET_H
7597 # include <sys/socket.h>
7598 #endif
7599 #ifdef HAVE_NETINET_IN_H
7600 # include <netinet/in.h>
7601 #endif
7602 #ifdef HAVE_ARPA_NAMESER_H
7603 # include <arpa/nameser.h>
7604 #endif
7606 #include <$ac_header>
7607 _ACEOF
7608 rm -f conftest.$ac_objext
7609 if { (ac_try="$ac_compile"
7610 case "(($ac_try" in
7611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7612 *) ac_try_echo=$ac_try;;
7613 esac
7614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7615 (eval "$ac_compile") 2>conftest.er1
7616 ac_status=$?
7617 grep -v '^ *+' conftest.er1 >conftest.err
7618 rm -f conftest.er1
7619 cat conftest.err >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } && {
7622 test -z "$ac_c_werror_flag" ||
7623 test ! -s conftest.err
7624 } && test -s conftest.$ac_objext; then
7625 eval "$as_ac_Header=yes"
7626 else
7627 echo "$as_me: failed program was:" >&5
7628 sed 's/^/| /' conftest.$ac_ext >&5
7630 eval "$as_ac_Header=no"
7633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7635 ac_res=`eval echo '${'$as_ac_Header'}'`
7636 { echo "$as_me:$LINENO: result: $ac_res" >&5
7637 echo "${ECHO_T}$ac_res" >&6; }
7638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7639 cat >>confdefs.h <<_ACEOF
7640 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7641 _ACEOF
7645 done
7649 for ac_header in ucontext.h
7651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7652 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7656 else
7657 cat >conftest.$ac_ext <<_ACEOF
7658 /* confdefs.h. */
7659 _ACEOF
7660 cat confdefs.h >>conftest.$ac_ext
7661 cat >>conftest.$ac_ext <<_ACEOF
7662 /* end confdefs.h. */
7663 #include <signal.h>
7665 #include <$ac_header>
7666 _ACEOF
7667 rm -f conftest.$ac_objext
7668 if { (ac_try="$ac_compile"
7669 case "(($ac_try" in
7670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7671 *) ac_try_echo=$ac_try;;
7672 esac
7673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7674 (eval "$ac_compile") 2>conftest.er1
7675 ac_status=$?
7676 grep -v '^ *+' conftest.er1 >conftest.err
7677 rm -f conftest.er1
7678 cat conftest.err >&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); } && {
7681 test -z "$ac_c_werror_flag" ||
7682 test ! -s conftest.err
7683 } && test -s conftest.$ac_objext; then
7684 eval "$as_ac_Header=yes"
7685 else
7686 echo "$as_me: failed program was:" >&5
7687 sed 's/^/| /' conftest.$ac_ext >&5
7689 eval "$as_ac_Header=no"
7692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7694 ac_res=`eval echo '${'$as_ac_Header'}'`
7695 { echo "$as_me:$LINENO: result: $ac_res" >&5
7696 echo "${ECHO_T}$ac_res" >&6; }
7697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7698 cat >>confdefs.h <<_ACEOF
7699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7700 _ACEOF
7704 done
7708 for ac_header in sys/thr.h
7710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7715 else
7716 cat >conftest.$ac_ext <<_ACEOF
7717 /* confdefs.h. */
7718 _ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7722 #include <sys/types.h>
7723 #ifdef HAVE_UCONTEXT_H
7724 #include <ucontext.h>
7725 #endif
7727 #include <$ac_header>
7728 _ACEOF
7729 rm -f conftest.$ac_objext
7730 if { (ac_try="$ac_compile"
7731 case "(($ac_try" in
7732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7733 *) ac_try_echo=$ac_try;;
7734 esac
7735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7736 (eval "$ac_compile") 2>conftest.er1
7737 ac_status=$?
7738 grep -v '^ *+' conftest.er1 >conftest.err
7739 rm -f conftest.er1
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } && {
7743 test -z "$ac_c_werror_flag" ||
7744 test ! -s conftest.err
7745 } && test -s conftest.$ac_objext; then
7746 eval "$as_ac_Header=yes"
7747 else
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.$ac_ext >&5
7751 eval "$as_ac_Header=no"
7754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7756 ac_res=`eval echo '${'$as_ac_Header'}'`
7757 { echo "$as_me:$LINENO: result: $ac_res" >&5
7758 echo "${ECHO_T}$ac_res" >&6; }
7759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7760 cat >>confdefs.h <<_ACEOF
7761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7762 _ACEOF
7766 done
7770 for ac_header in pthread_np.h
7772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7773 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7776 echo $ECHO_N "(cached) $ECHO_C" >&6
7777 else
7778 cat >conftest.$ac_ext <<_ACEOF
7779 /* confdefs.h. */
7780 _ACEOF
7781 cat confdefs.h >>conftest.$ac_ext
7782 cat >>conftest.$ac_ext <<_ACEOF
7783 /* end confdefs.h. */
7784 #ifdef HAVE_PTHREAD_H
7785 #include <pthread.h>
7786 #endif
7788 #include <$ac_header>
7789 _ACEOF
7790 rm -f conftest.$ac_objext
7791 if { (ac_try="$ac_compile"
7792 case "(($ac_try" in
7793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7794 *) ac_try_echo=$ac_try;;
7795 esac
7796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7797 (eval "$ac_compile") 2>conftest.er1
7798 ac_status=$?
7799 grep -v '^ *+' conftest.er1 >conftest.err
7800 rm -f conftest.er1
7801 cat conftest.err >&5
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); } && {
7804 test -z "$ac_c_werror_flag" ||
7805 test ! -s conftest.err
7806 } && test -s conftest.$ac_objext; then
7807 eval "$as_ac_Header=yes"
7808 else
7809 echo "$as_me: failed program was:" >&5
7810 sed 's/^/| /' conftest.$ac_ext >&5
7812 eval "$as_ac_Header=no"
7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7817 ac_res=`eval echo '${'$as_ac_Header'}'`
7818 { echo "$as_me:$LINENO: result: $ac_res" >&5
7819 echo "${ECHO_T}$ac_res" >&6; }
7820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7821 cat >>confdefs.h <<_ACEOF
7822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7823 _ACEOF
7827 done
7831 for ac_header in linux/videodev.h
7833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7834 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 else
7839 cat >conftest.$ac_ext <<_ACEOF
7840 /* confdefs.h. */
7841 _ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7845 #ifdef HAVE_SYS_TIME_H
7846 #include <sys/time.h>
7847 #endif
7848 #include <sys/types.h>
7849 #ifdef HAVE_ASM_TYPES_H
7850 #include <asm/types.h>
7851 #endif
7853 #include <$ac_header>
7854 _ACEOF
7855 rm -f conftest.$ac_objext
7856 if { (ac_try="$ac_compile"
7857 case "(($ac_try" in
7858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7859 *) ac_try_echo=$ac_try;;
7860 esac
7861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7862 (eval "$ac_compile") 2>conftest.er1
7863 ac_status=$?
7864 grep -v '^ *+' conftest.er1 >conftest.err
7865 rm -f conftest.er1
7866 cat conftest.err >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); } && {
7869 test -z "$ac_c_werror_flag" ||
7870 test ! -s conftest.err
7871 } && test -s conftest.$ac_objext; then
7872 eval "$as_ac_Header=yes"
7873 else
7874 echo "$as_me: failed program was:" >&5
7875 sed 's/^/| /' conftest.$ac_ext >&5
7877 eval "$as_ac_Header=no"
7880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7882 ac_res=`eval echo '${'$as_ac_Header'}'`
7883 { echo "$as_me:$LINENO: result: $ac_res" >&5
7884 echo "${ECHO_T}$ac_res" >&6; }
7885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7886 cat >>confdefs.h <<_ACEOF
7887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7888 _ACEOF
7892 done
7896 for ac_header in linux/capi.h
7898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7903 else
7904 cat >conftest.$ac_ext <<_ACEOF
7905 /* confdefs.h. */
7906 _ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7910 #define __user
7912 #include <$ac_header>
7913 _ACEOF
7914 rm -f conftest.$ac_objext
7915 if { (ac_try="$ac_compile"
7916 case "(($ac_try" in
7917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7918 *) ac_try_echo=$ac_try;;
7919 esac
7920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7921 (eval "$ac_compile") 2>conftest.er1
7922 ac_status=$?
7923 grep -v '^ *+' conftest.er1 >conftest.err
7924 rm -f conftest.er1
7925 cat conftest.err >&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); } && {
7928 test -z "$ac_c_werror_flag" ||
7929 test ! -s conftest.err
7930 } && test -s conftest.$ac_objext; then
7931 eval "$as_ac_Header=yes"
7932 else
7933 echo "$as_me: failed program was:" >&5
7934 sed 's/^/| /' conftest.$ac_ext >&5
7936 eval "$as_ac_Header=no"
7939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7941 ac_res=`eval echo '${'$as_ac_Header'}'`
7942 { echo "$as_me:$LINENO: result: $ac_res" >&5
7943 echo "${ECHO_T}$ac_res" >&6; }
7944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7945 cat >>confdefs.h <<_ACEOF
7946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7947 _ACEOF
7951 done
7955 DLLEXT=""
7957 DLLFLAGS="-D_REENTRANT"
7959 LDSHARED=""
7961 LDDLLFLAGS=""
7963 LIBEXT="so"
7965 IMPLIBEXT="def"
7967 LDRPATH_INSTALL=""
7969 LDRPATH_LOCAL=""
7971 # Extract the first word of "ldd", so it can be a program name with args.
7972 set dummy ldd; ac_word=$2
7973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7975 if test "${ac_cv_path_LDD+set}" = set; then
7976 echo $ECHO_N "(cached) $ECHO_C" >&6
7977 else
7978 case $LDD in
7979 [\\/]* | ?:[\\/]*)
7980 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 as_dummy="/sbin:/usr/sbin:$PATH"
7985 for as_dir in $as_dummy
7987 IFS=$as_save_IFS
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7991 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 break 2
7995 done
7996 done
7997 IFS=$as_save_IFS
7999 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8001 esac
8003 LDD=$ac_cv_path_LDD
8004 if test -n "$LDD"; then
8005 { echo "$as_me:$LINENO: result: $LDD" >&5
8006 echo "${ECHO_T}$LDD" >&6; }
8007 else
8008 { echo "$as_me:$LINENO: result: no" >&5
8009 echo "${ECHO_T}no" >&6; }
8014 case $host_os in
8015 cygwin*|mingw32*)
8016 if test -n "$ac_tool_prefix"; then
8017 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8018 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8021 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8022 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 else
8024 if test -n "$DLLTOOL"; then
8025 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8026 else
8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028 for as_dir in $PATH
8030 IFS=$as_save_IFS
8031 test -z "$as_dir" && as_dir=.
8032 for ac_exec_ext in '' $ac_executable_extensions; do
8033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8034 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8036 break 2
8038 done
8039 done
8040 IFS=$as_save_IFS
8044 DLLTOOL=$ac_cv_prog_DLLTOOL
8045 if test -n "$DLLTOOL"; then
8046 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8047 echo "${ECHO_T}$DLLTOOL" >&6; }
8048 else
8049 { echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6; }
8055 if test -z "$ac_cv_prog_DLLTOOL"; then
8056 ac_ct_DLLTOOL=$DLLTOOL
8057 # Extract the first word of "dlltool", so it can be a program name with args.
8058 set dummy dlltool; ac_word=$2
8059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8061 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8062 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 else
8064 if test -n "$ac_ct_DLLTOOL"; then
8065 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8066 else
8067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068 for as_dir in $PATH
8070 IFS=$as_save_IFS
8071 test -z "$as_dir" && as_dir=.
8072 for ac_exec_ext in '' $ac_executable_extensions; do
8073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8074 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8076 break 2
8078 done
8079 done
8080 IFS=$as_save_IFS
8084 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8085 if test -n "$ac_ct_DLLTOOL"; then
8086 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8087 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8088 else
8089 { echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6; }
8093 if test "x$ac_ct_DLLTOOL" = x; then
8094 DLLTOOL="false"
8095 else
8096 case $cross_compiling:$ac_tool_warned in
8097 yes:)
8098 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8099 whose name does not start with the host triplet. If you think this
8100 configuration is useful to you, please write to autoconf@gnu.org." >&5
8101 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8102 whose name does not start with the host triplet. If you think this
8103 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8104 ac_tool_warned=yes ;;
8105 esac
8106 DLLTOOL=$ac_ct_DLLTOOL
8108 else
8109 DLLTOOL="$ac_cv_prog_DLLTOOL"
8112 if test -n "$ac_tool_prefix"; then
8113 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8114 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8117 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8118 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 else
8120 if test -n "$DLLWRAP"; then
8121 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8122 else
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8124 for as_dir in $PATH
8126 IFS=$as_save_IFS
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8132 break 2
8134 done
8135 done
8136 IFS=$as_save_IFS
8140 DLLWRAP=$ac_cv_prog_DLLWRAP
8141 if test -n "$DLLWRAP"; then
8142 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8143 echo "${ECHO_T}$DLLWRAP" >&6; }
8144 else
8145 { echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6; }
8151 if test -z "$ac_cv_prog_DLLWRAP"; then
8152 ac_ct_DLLWRAP=$DLLWRAP
8153 # Extract the first word of "dllwrap", so it can be a program name with args.
8154 set dummy dllwrap; ac_word=$2
8155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8157 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8159 else
8160 if test -n "$ac_ct_DLLWRAP"; then
8161 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8162 else
8163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8164 for as_dir in $PATH
8166 IFS=$as_save_IFS
8167 test -z "$as_dir" && as_dir=.
8168 for ac_exec_ext in '' $ac_executable_extensions; do
8169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8170 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8172 break 2
8174 done
8175 done
8176 IFS=$as_save_IFS
8180 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8181 if test -n "$ac_ct_DLLWRAP"; then
8182 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8183 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8184 else
8185 { echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6; }
8189 if test "x$ac_ct_DLLWRAP" = x; then
8190 DLLWRAP="false"
8191 else
8192 case $cross_compiling:$ac_tool_warned in
8193 yes:)
8194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8195 whose name does not start with the host triplet. If you think this
8196 configuration is useful to you, please write to autoconf@gnu.org." >&5
8197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8198 whose name does not start with the host triplet. If you think this
8199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8200 ac_tool_warned=yes ;;
8201 esac
8202 DLLWRAP=$ac_ct_DLLWRAP
8204 else
8205 DLLWRAP="$ac_cv_prog_DLLWRAP"
8208 if test -n "$ac_tool_prefix"; then
8209 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8210 set dummy ${ac_tool_prefix}ar; ac_word=$2
8211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8213 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8214 echo $ECHO_N "(cached) $ECHO_C" >&6
8215 else
8216 if test -n "$MINGWAR"; then
8217 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8218 else
8219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 for as_dir in $PATH
8222 IFS=$as_save_IFS
8223 test -z "$as_dir" && as_dir=.
8224 for ac_exec_ext in '' $ac_executable_extensions; do
8225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8226 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8228 break 2
8230 done
8231 done
8232 IFS=$as_save_IFS
8236 MINGWAR=$ac_cv_prog_MINGWAR
8237 if test -n "$MINGWAR"; then
8238 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8239 echo "${ECHO_T}$MINGWAR" >&6; }
8240 else
8241 { echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6; }
8247 if test -z "$ac_cv_prog_MINGWAR"; then
8248 ac_ct_MINGWAR=$MINGWAR
8249 # Extract the first word of "ar", so it can be a program name with args.
8250 set dummy ar; ac_word=$2
8251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8253 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8254 echo $ECHO_N "(cached) $ECHO_C" >&6
8255 else
8256 if test -n "$ac_ct_MINGWAR"; then
8257 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8258 else
8259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 for as_dir in $PATH
8262 IFS=$as_save_IFS
8263 test -z "$as_dir" && as_dir=.
8264 for ac_exec_ext in '' $ac_executable_extensions; do
8265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8266 ac_cv_prog_ac_ct_MINGWAR="ar"
8267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8268 break 2
8270 done
8271 done
8272 IFS=$as_save_IFS
8276 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8277 if test -n "$ac_ct_MINGWAR"; then
8278 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8279 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8280 else
8281 { echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6; }
8285 if test "x$ac_ct_MINGWAR" = x; then
8286 MINGWAR="false"
8287 else
8288 case $cross_compiling:$ac_tool_warned in
8289 yes:)
8290 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8291 whose name does not start with the host triplet. If you think this
8292 configuration is useful to you, please write to autoconf@gnu.org." >&5
8293 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8294 whose name does not start with the host triplet. If you think this
8295 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298 MINGWAR=$ac_ct_MINGWAR
8300 else
8301 MINGWAR="$ac_cv_prog_MINGWAR"
8304 if test "$DLLWRAP" = "false"; then
8305 LIBEXT="a"
8306 else
8307 LIBEXT="dll"
8309 IMPLIBEXT="a"
8310 WIN16_FILES=""
8311 WIN16_INSTALL=""
8313 darwin*|macosx*)
8314 DLLEXT=".so"
8315 LIBEXT="dylib"
8316 DLLFLAGS="$DLLFLAGS -fPIC"
8317 LDDLLFLAGS="-bundle -multiply_defined suppress"
8318 LIBWINE_LDFLAGS="-multiply_defined suppress"
8319 LDSHARED="\$(CC) -dynamiclib"
8320 STRIP="$STRIP -x"
8321 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8322 SECURITYLIB="-framework Security -framework CoreFoundation"
8324 COREFOUNDATIONLIB="-framework CoreFoundation"
8326 IOKITLIB="-framework IOKit -framework CoreFoundation"
8328 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8330 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8331 then
8332 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8335 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8336 then
8337 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8340 case $host_cpu in
8341 *powerpc*)
8342 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8343 esac
8344 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8345 then
8346 CARBONLIB="-framework Carbon"
8348 QUARTZFILES='$(QUARTZFILES)'
8352 DLLFLAGS="$DLLFLAGS -fPIC"
8353 DLLEXT=".so"
8354 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8355 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8356 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8361 cat >conftest.$ac_ext <<_ACEOF
8362 void myfunc() {}
8363 _ACEOF
8364 rm -f conftest.$ac_objext conftest$ac_exeext
8365 if { (ac_try="$ac_link"
8366 case "(($ac_try" in
8367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8368 *) ac_try_echo=$ac_try;;
8369 esac
8370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8371 (eval "$ac_link") 2>conftest.er1
8372 ac_status=$?
8373 grep -v '^ *+' conftest.er1 >conftest.err
8374 rm -f conftest.er1
8375 cat conftest.err >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest$ac_exeext &&
8381 $as_test_x conftest$ac_exeext; then
8382 ac_cv_c_dll_gnuelf="yes"
8383 else
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.$ac_ext >&5
8387 ac_cv_c_dll_gnuelf="no"
8390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8391 conftest$ac_exeext conftest.$ac_ext
8392 CFLAGS=$ac_wine_try_cflags_saved
8394 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8395 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8396 if test "$ac_cv_c_dll_gnuelf" = "yes"
8397 then
8398 LDSHARED="\$(CC) -shared"
8399 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8400 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8401 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8402 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8403 echo $ECHO_N "(cached) $ECHO_C" >&6
8404 else
8405 ac_wine_try_cflags_saved=$CFLAGS
8406 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8407 cat >conftest.$ac_ext <<_ACEOF
8408 /* confdefs.h. */
8409 _ACEOF
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8415 main ()
8419 return 0;
8421 _ACEOF
8422 rm -f conftest.$ac_objext conftest$ac_exeext
8423 if { (ac_try="$ac_link"
8424 case "(($ac_try" in
8425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8426 *) ac_try_echo=$ac_try;;
8427 esac
8428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8429 (eval "$ac_link") 2>conftest.er1
8430 ac_status=$?
8431 grep -v '^ *+' conftest.er1 >conftest.err
8432 rm -f conftest.er1
8433 cat conftest.err >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } && {
8436 test -z "$ac_c_werror_flag" ||
8437 test ! -s conftest.err
8438 } && test -s conftest$ac_exeext &&
8439 $as_test_x conftest$ac_exeext; then
8440 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8441 else
8442 echo "$as_me: failed program was:" >&5
8443 sed 's/^/| /' conftest.$ac_ext >&5
8445 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8453 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8454 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8455 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8456 else
8457 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8458 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8459 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8460 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8464 cat >conftest.$ac_ext <<_ACEOF
8465 /* confdefs.h. */
8466 _ACEOF
8467 cat confdefs.h >>conftest.$ac_ext
8468 cat >>conftest.$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8472 main ()
8476 return 0;
8478 _ACEOF
8479 rm -f conftest.$ac_objext conftest$ac_exeext
8480 if { (ac_try="$ac_link"
8481 case "(($ac_try" in
8482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8483 *) ac_try_echo=$ac_try;;
8484 esac
8485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8486 (eval "$ac_link") 2>conftest.er1
8487 ac_status=$?
8488 grep -v '^ *+' conftest.er1 >conftest.err
8489 rm -f conftest.er1
8490 cat conftest.err >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); } && {
8493 test -z "$ac_c_werror_flag" ||
8494 test ! -s conftest.err
8495 } && test -s conftest$ac_exeext &&
8496 $as_test_x conftest$ac_exeext; then
8497 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8498 else
8499 echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8510 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8511 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8512 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8518 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8519 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8520 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8522 else
8523 ac_wine_try_cflags_saved=$CFLAGS
8524 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8525 cat >conftest.$ac_ext <<_ACEOF
8526 /* confdefs.h. */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8533 main ()
8537 return 0;
8539 _ACEOF
8540 rm -f conftest.$ac_objext conftest$ac_exeext
8541 if { (ac_try="$ac_link"
8542 case "(($ac_try" in
8543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8544 *) ac_try_echo=$ac_try;;
8545 esac
8546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8547 (eval "$ac_link") 2>conftest.er1
8548 ac_status=$?
8549 grep -v '^ *+' conftest.er1 >conftest.err
8550 rm -f conftest.er1
8551 cat conftest.err >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } && {
8554 test -z "$ac_c_werror_flag" ||
8555 test ! -s conftest.err
8556 } && test -s conftest$ac_exeext &&
8557 $as_test_x conftest$ac_exeext; then
8558 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8559 else
8560 echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.$ac_ext >&5
8563 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8571 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8572 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8573 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8577 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8578 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8579 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8584 cat >conftest.$ac_ext <<_ACEOF
8585 /* confdefs.h. */
8586 _ACEOF
8587 cat confdefs.h >>conftest.$ac_ext
8588 cat >>conftest.$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8592 main ()
8596 return 0;
8598 _ACEOF
8599 rm -f conftest.$ac_objext conftest$ac_exeext
8600 if { (ac_try="$ac_link"
8601 case "(($ac_try" in
8602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8603 *) ac_try_echo=$ac_try;;
8604 esac
8605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8606 (eval "$ac_link") 2>conftest.er1
8607 ac_status=$?
8608 grep -v '^ *+' conftest.er1 >conftest.err
8609 rm -f conftest.er1
8610 cat conftest.err >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } && {
8613 test -z "$ac_c_werror_flag" ||
8614 test ! -s conftest.err
8615 } && test -s conftest$ac_exeext &&
8616 $as_test_x conftest$ac_exeext; then
8617 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8618 else
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8622 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8630 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8631 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8632 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8636 echo '{ global: *; };' >conftest.map
8637 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8638 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8639 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8640 echo $ECHO_N "(cached) $ECHO_C" >&6
8641 else
8642 ac_wine_try_cflags_saved=$CFLAGS
8643 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8644 cat >conftest.$ac_ext <<_ACEOF
8645 /* confdefs.h. */
8646 _ACEOF
8647 cat confdefs.h >>conftest.$ac_ext
8648 cat >>conftest.$ac_ext <<_ACEOF
8649 /* end confdefs.h. */
8652 main ()
8656 return 0;
8658 _ACEOF
8659 rm -f conftest.$ac_objext conftest$ac_exeext
8660 if { (ac_try="$ac_link"
8661 case "(($ac_try" in
8662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8664 esac
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_link") 2>conftest.er1
8667 ac_status=$?
8668 grep -v '^ *+' conftest.er1 >conftest.err
8669 rm -f conftest.er1
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } && {
8673 test -z "$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 } && test -s conftest$ac_exeext &&
8676 $as_test_x conftest$ac_exeext; then
8677 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8678 else
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.$ac_ext >&5
8682 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8690 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8691 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8692 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8695 rm -f conftest.map
8697 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8698 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8699 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8701 else
8702 ac_wine_try_cflags_saved=$CFLAGS
8703 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8704 cat >conftest.$ac_ext <<_ACEOF
8705 /* confdefs.h. */
8706 _ACEOF
8707 cat confdefs.h >>conftest.$ac_ext
8708 cat >>conftest.$ac_ext <<_ACEOF
8709 /* end confdefs.h. */
8712 main ()
8716 return 0;
8718 _ACEOF
8719 rm -f conftest.$ac_objext conftest$ac_exeext
8720 if { (ac_try="$ac_link"
8721 case "(($ac_try" in
8722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8723 *) ac_try_echo=$ac_try;;
8724 esac
8725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8726 (eval "$ac_link") 2>conftest.er1
8727 ac_status=$?
8728 grep -v '^ *+' conftest.er1 >conftest.err
8729 rm -f conftest.er1
8730 cat conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } && {
8733 test -z "$ac_c_werror_flag" ||
8734 test ! -s conftest.err
8735 } && test -s conftest$ac_exeext &&
8736 $as_test_x conftest$ac_exeext; then
8737 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8738 else
8739 echo "$as_me: failed program was:" >&5
8740 sed 's/^/| /' conftest.$ac_ext >&5
8742 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8746 conftest$ac_exeext conftest.$ac_ext
8747 CFLAGS=$ac_wine_try_cflags_saved
8749 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8750 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8751 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8752 LDEXECFLAGS="-Wl,--export-dynamic"
8757 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8758 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8759 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8762 else
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8765 cat >conftest.$ac_ext <<_ACEOF
8766 /* confdefs.h. */
8767 _ACEOF
8768 cat confdefs.h >>conftest.$ac_ext
8769 cat >>conftest.$ac_ext <<_ACEOF
8770 /* end confdefs.h. */
8773 main ()
8777 return 0;
8779 _ACEOF
8780 rm -f conftest.$ac_objext conftest$ac_exeext
8781 if { (ac_try="$ac_link"
8782 case "(($ac_try" in
8783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8784 *) ac_try_echo=$ac_try;;
8785 esac
8786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_link") 2>conftest.er1
8788 ac_status=$?
8789 grep -v '^ *+' conftest.er1 >conftest.err
8790 rm -f conftest.er1
8791 cat conftest.err >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } && {
8794 test -z "$ac_c_werror_flag" ||
8795 test ! -s conftest.err
8796 } && test -s conftest$ac_exeext &&
8797 $as_test_x conftest$ac_exeext; then
8798 eval "$as_ac_var=yes"
8799 else
8800 echo "$as_me: failed program was:" >&5
8801 sed 's/^/| /' conftest.$ac_ext >&5
8803 eval "$as_ac_var=no"
8806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8807 conftest$ac_exeext conftest.$ac_ext
8808 CFLAGS=$ac_wine_try_cflags_saved
8810 ac_res=`eval echo '${'$as_ac_var'}'`
8811 { echo "$as_me:$LINENO: result: $ac_res" >&5
8812 echo "${ECHO_T}$ac_res" >&6; }
8813 if test `eval echo '${'$as_ac_var'}'` = yes; then
8814 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8815 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8816 else
8817 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8818 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8819 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8821 echo $ECHO_N "(cached) $ECHO_C" >&6
8822 else
8823 ac_wine_try_cflags_saved=$CFLAGS
8824 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8825 cat >conftest.$ac_ext <<_ACEOF
8826 /* confdefs.h. */
8827 _ACEOF
8828 cat confdefs.h >>conftest.$ac_ext
8829 cat >>conftest.$ac_ext <<_ACEOF
8830 /* end confdefs.h. */
8833 main ()
8837 return 0;
8839 _ACEOF
8840 rm -f conftest.$ac_objext conftest$ac_exeext
8841 if { (ac_try="$ac_link"
8842 case "(($ac_try" in
8843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8844 *) ac_try_echo=$ac_try;;
8845 esac
8846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8847 (eval "$ac_link") 2>conftest.er1
8848 ac_status=$?
8849 grep -v '^ *+' conftest.er1 >conftest.err
8850 rm -f conftest.er1
8851 cat conftest.err >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); } && {
8854 test -z "$ac_c_werror_flag" ||
8855 test ! -s conftest.err
8856 } && test -s conftest$ac_exeext &&
8857 $as_test_x conftest$ac_exeext; then
8858 eval "$as_ac_var=yes"
8859 else
8860 echo "$as_me: failed program was:" >&5
8861 sed 's/^/| /' conftest.$ac_ext >&5
8863 eval "$as_ac_var=no"
8866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8867 conftest$ac_exeext conftest.$ac_ext
8868 CFLAGS=$ac_wine_try_cflags_saved
8870 ac_res=`eval echo '${'$as_ac_var'}'`
8871 { echo "$as_me:$LINENO: result: $ac_res" >&5
8872 echo "${ECHO_T}$ac_res" >&6; }
8873 if test `eval echo '${'$as_ac_var'}'` = yes; then
8874 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8875 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8881 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8882 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8883 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8884 echo $ECHO_N "(cached) $ECHO_C" >&6
8885 else
8886 ac_wine_try_cflags_saved=$CFLAGS
8887 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8888 cat >conftest.$ac_ext <<_ACEOF
8889 /* confdefs.h. */
8890 _ACEOF
8891 cat confdefs.h >>conftest.$ac_ext
8892 cat >>conftest.$ac_ext <<_ACEOF
8893 /* end confdefs.h. */
8896 main ()
8900 return 0;
8902 _ACEOF
8903 rm -f conftest.$ac_objext conftest$ac_exeext
8904 if { (ac_try="$ac_link"
8905 case "(($ac_try" in
8906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8907 *) ac_try_echo=$ac_try;;
8908 esac
8909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8910 (eval "$ac_link") 2>conftest.er1
8911 ac_status=$?
8912 grep -v '^ *+' conftest.er1 >conftest.err
8913 rm -f conftest.er1
8914 cat conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } && {
8917 test -z "$ac_c_werror_flag" ||
8918 test ! -s conftest.err
8919 } && test -s conftest$ac_exeext &&
8920 $as_test_x conftest$ac_exeext; then
8921 ac_cv_cflags__Wl___enable_new_dtags=yes
8922 else
8923 echo "$as_me: failed program was:" >&5
8924 sed 's/^/| /' conftest.$ac_ext >&5
8926 ac_cv_cflags__Wl___enable_new_dtags=no
8929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8930 conftest$ac_exeext conftest.$ac_ext
8931 CFLAGS=$ac_wine_try_cflags_saved
8933 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8934 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8935 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8936 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8940 case $host_cpu in
8941 *i[3456789]86* | x86_64)
8942 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8943 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8944 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 else
8947 ac_wine_try_cflags_saved=$CFLAGS
8948 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8949 cat >conftest.$ac_ext <<_ACEOF
8950 /* confdefs.h. */
8951 _ACEOF
8952 cat confdefs.h >>conftest.$ac_ext
8953 cat >>conftest.$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8957 main ()
8961 return 0;
8963 _ACEOF
8964 rm -f conftest.$ac_objext conftest$ac_exeext
8965 if { (ac_try="$ac_link"
8966 case "(($ac_try" in
8967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8968 *) ac_try_echo=$ac_try;;
8969 esac
8970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971 (eval "$ac_link") 2>conftest.er1
8972 ac_status=$?
8973 grep -v '^ *+' conftest.er1 >conftest.err
8974 rm -f conftest.er1
8975 cat conftest.err >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); } && {
8978 test -z "$ac_c_werror_flag" ||
8979 test ! -s conftest.err
8980 } && test -s conftest$ac_exeext &&
8981 $as_test_x conftest$ac_exeext; then
8982 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8983 else
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.$ac_ext >&5
8987 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8991 conftest$ac_exeext conftest.$ac_ext
8992 CFLAGS=$ac_wine_try_cflags_saved
8994 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8995 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8996 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8997 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9001 esac
9003 else
9004 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9005 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9006 if test "${ac_cv_c_dll_unixware+set}" = set; then
9007 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 else
9009 ac_wine_try_cflags_saved=$CFLAGS
9010 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9011 cat >conftest.$ac_ext <<_ACEOF
9012 void myfunc() {}
9013 _ACEOF
9014 rm -f conftest.$ac_objext conftest$ac_exeext
9015 if { (ac_try="$ac_link"
9016 case "(($ac_try" in
9017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9018 *) ac_try_echo=$ac_try;;
9019 esac
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021 (eval "$ac_link") 2>conftest.er1
9022 ac_status=$?
9023 grep -v '^ *+' conftest.er1 >conftest.err
9024 rm -f conftest.er1
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && {
9028 test -z "$ac_c_werror_flag" ||
9029 test ! -s conftest.err
9030 } && test -s conftest$ac_exeext &&
9031 $as_test_x conftest$ac_exeext; then
9032 ac_cv_c_dll_unixware="yes"
9033 else
9034 echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.$ac_ext >&5
9037 ac_cv_c_dll_unixware="no"
9040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9041 conftest$ac_exeext conftest.$ac_ext
9042 CFLAGS=$ac_wine_try_cflags_saved
9044 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9045 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9046 if test "$ac_cv_c_dll_unixware" = "yes"
9047 then
9048 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9049 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9051 else
9052 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9053 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9054 if test "${ac_cv_c_dll_hpux+set}" = set; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9056 else
9057 ac_wine_try_cflags_saved=$CFLAGS
9058 CFLAGS="$CFLAGS -shared"
9059 cat >conftest.$ac_ext <<_ACEOF
9060 void myfunc() {}
9061 _ACEOF
9062 rm -f conftest.$ac_objext conftest$ac_exeext
9063 if { (ac_try="$ac_link"
9064 case "(($ac_try" in
9065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9066 *) ac_try_echo=$ac_try;;
9067 esac
9068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9069 (eval "$ac_link") 2>conftest.er1
9070 ac_status=$?
9071 grep -v '^ *+' conftest.er1 >conftest.err
9072 rm -f conftest.er1
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } && {
9076 test -z "$ac_c_werror_flag" ||
9077 test ! -s conftest.err
9078 } && test -s conftest$ac_exeext &&
9079 $as_test_x conftest$ac_exeext; then
9080 ac_cv_c_dll_hpux="yes"
9081 else
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.$ac_ext >&5
9085 ac_cv_c_dll_hpux="no"
9088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9089 conftest$ac_exeext conftest.$ac_ext
9090 CFLAGS=$ac_wine_try_cflags_saved
9092 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9093 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9094 if test "$ac_cv_c_dll_hpux" = "yes"
9095 then
9096 LIBEXT="sl"
9097 DLLEXT=".sl"
9098 LDDLLFLAGS="-shared -fPIC"
9099 LDSHARED="\$(CC) -shared"
9104 CROSSTEST=""
9106 if test "$cross_compiling" = "no"
9107 then
9108 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9110 # Extract the first word of "$ac_prog", so it can be a program name with args.
9111 set dummy $ac_prog; ac_word=$2
9112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9114 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 else
9117 if test -n "$CROSSCC"; then
9118 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9119 else
9120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9121 for as_dir in $PATH
9123 IFS=$as_save_IFS
9124 test -z "$as_dir" && as_dir=.
9125 for ac_exec_ext in '' $ac_executable_extensions; do
9126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9127 ac_cv_prog_CROSSCC="$ac_prog"
9128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9129 break 2
9131 done
9132 done
9133 IFS=$as_save_IFS
9137 CROSSCC=$ac_cv_prog_CROSSCC
9138 if test -n "$CROSSCC"; then
9139 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9140 echo "${ECHO_T}$CROSSCC" >&6; }
9141 else
9142 { echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6; }
9147 test -n "$CROSSCC" && break
9148 done
9149 test -n "$CROSSCC" || CROSSCC="false"
9151 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9153 # Extract the first word of "$ac_prog", so it can be a program name with args.
9154 set dummy $ac_prog; ac_word=$2
9155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9157 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 else
9160 if test -n "$DLLTOOL"; then
9161 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9162 else
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164 for as_dir in $PATH
9166 IFS=$as_save_IFS
9167 test -z "$as_dir" && as_dir=.
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9170 ac_cv_prog_DLLTOOL="$ac_prog"
9171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9172 break 2
9174 done
9175 done
9176 IFS=$as_save_IFS
9180 DLLTOOL=$ac_cv_prog_DLLTOOL
9181 if test -n "$DLLTOOL"; then
9182 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9183 echo "${ECHO_T}$DLLTOOL" >&6; }
9184 else
9185 { echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6; }
9190 test -n "$DLLTOOL" && break
9191 done
9192 test -n "$DLLTOOL" || DLLTOOL="false"
9194 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9196 # Extract the first word of "$ac_prog", so it can be a program name with args.
9197 set dummy $ac_prog; ac_word=$2
9198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9200 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 else
9203 if test -n "$CROSSWINDRES"; then
9204 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9205 else
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9207 for as_dir in $PATH
9209 IFS=$as_save_IFS
9210 test -z "$as_dir" && as_dir=.
9211 for ac_exec_ext in '' $ac_executable_extensions; do
9212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9213 ac_cv_prog_CROSSWINDRES="$ac_prog"
9214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9215 break 2
9217 done
9218 done
9219 IFS=$as_save_IFS
9223 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9224 if test -n "$CROSSWINDRES"; then
9225 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9226 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9227 else
9228 { echo "$as_me:$LINENO: result: no" >&5
9229 echo "${ECHO_T}no" >&6; }
9233 test -n "$CROSSWINDRES" && break
9234 done
9235 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9237 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9239 # Extract the first word of "$ac_prog", so it can be a program name with args.
9240 set dummy $ac_prog; ac_word=$2
9241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9243 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9245 else
9246 if test -n "$MINGWAR"; then
9247 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9248 else
9249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9250 for as_dir in $PATH
9252 IFS=$as_save_IFS
9253 test -z "$as_dir" && as_dir=.
9254 for ac_exec_ext in '' $ac_executable_extensions; do
9255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9256 ac_cv_prog_MINGWAR="$ac_prog"
9257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9258 break 2
9260 done
9261 done
9262 IFS=$as_save_IFS
9266 MINGWAR=$ac_cv_prog_MINGWAR
9267 if test -n "$MINGWAR"; then
9268 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9269 echo "${ECHO_T}$MINGWAR" >&6; }
9270 else
9271 { echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6; }
9276 test -n "$MINGWAR" && break
9277 done
9278 test -n "$MINGWAR" || MINGWAR="false"
9280 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9283 esac
9285 if test "$LIBEXT" = "a"; then
9286 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9287 It is currently not possible to build Wine without shared library
9288 (.so) support to allow transparent switch between .so and .dll files.
9289 If you are using Linux, you will need a newer binutils.
9290 " >&5
9291 echo "$as_me: error: could not find a way to build shared libraries.
9292 It is currently not possible to build Wine without shared library
9293 (.so) support to allow transparent switch between .so and .dll files.
9294 If you are using Linux, you will need a newer binutils.
9295 " >&2;}
9296 { (exit 1); exit 1; }; }
9300 if test "$have_x" = "yes"
9301 then
9302 XLIB="-lXext -lX11"
9303 ac_save_CPPFLAGS="$CPPFLAGS"
9304 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9306 { echo "$as_me:$LINENO: checking for -lX11" >&5
9307 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9308 if test "${ac_cv_lib_soname_X11+set}" = set; then
9309 echo $ECHO_N "(cached) $ECHO_C" >&6
9310 else
9311 ac_check_soname_save_LIBS=$LIBS
9312 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9313 cat >conftest.$ac_ext <<_ACEOF
9314 /* confdefs.h. */
9315 _ACEOF
9316 cat confdefs.h >>conftest.$ac_ext
9317 cat >>conftest.$ac_ext <<_ACEOF
9318 /* end confdefs.h. */
9320 /* Override any GCC internal prototype to avoid an error.
9321 Use char because int might match the return type of a GCC
9322 builtin and then its argument prototype would still apply. */
9323 #ifdef __cplusplus
9324 extern "C"
9325 #endif
9326 char XCreateWindow ();
9328 main ()
9330 return XCreateWindow ();
9332 return 0;
9334 _ACEOF
9335 rm -f conftest.$ac_objext conftest$ac_exeext
9336 if { (ac_try="$ac_link"
9337 case "(($ac_try" in
9338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9339 *) ac_try_echo=$ac_try;;
9340 esac
9341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9342 (eval "$ac_link") 2>conftest.er1
9343 ac_status=$?
9344 grep -v '^ *+' conftest.er1 >conftest.err
9345 rm -f conftest.er1
9346 cat conftest.err >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); } && {
9349 test -z "$ac_c_werror_flag" ||
9350 test ! -s conftest.err
9351 } && test -s conftest$ac_exeext &&
9352 $as_test_x conftest$ac_exeext; then
9353 case "$LIBEXT" in
9354 dll) ;;
9355 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'` ;;
9356 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9357 esac
9358 else
9359 echo "$as_me: failed program was:" >&5
9360 sed 's/^/| /' conftest.$ac_ext >&5
9365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_soname_save_LIBS
9369 if test "x$ac_cv_lib_soname_X11" = "x"; then
9370 { echo "$as_me:$LINENO: result: not found" >&5
9371 echo "${ECHO_T}not found" >&6; }
9373 else
9374 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9375 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9377 cat >>confdefs.h <<_ACEOF
9378 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9379 _ACEOF
9384 { echo "$as_me:$LINENO: checking for -lXext" >&5
9385 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9386 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9388 else
9389 ac_check_soname_save_LIBS=$LIBS
9390 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9391 cat >conftest.$ac_ext <<_ACEOF
9392 /* confdefs.h. */
9393 _ACEOF
9394 cat confdefs.h >>conftest.$ac_ext
9395 cat >>conftest.$ac_ext <<_ACEOF
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9401 #ifdef __cplusplus
9402 extern "C"
9403 #endif
9404 char XextCreateExtension ();
9406 main ()
9408 return XextCreateExtension ();
9410 return 0;
9412 _ACEOF
9413 rm -f conftest.$ac_objext conftest$ac_exeext
9414 if { (ac_try="$ac_link"
9415 case "(($ac_try" in
9416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9417 *) ac_try_echo=$ac_try;;
9418 esac
9419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9420 (eval "$ac_link") 2>conftest.er1
9421 ac_status=$?
9422 grep -v '^ *+' conftest.er1 >conftest.err
9423 rm -f conftest.er1
9424 cat conftest.err >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); } && {
9427 test -z "$ac_c_werror_flag" ||
9428 test ! -s conftest.err
9429 } && test -s conftest$ac_exeext &&
9430 $as_test_x conftest$ac_exeext; then
9431 case "$LIBEXT" in
9432 dll) ;;
9433 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'` ;;
9434 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9435 esac
9436 else
9437 echo "$as_me: failed program was:" >&5
9438 sed 's/^/| /' conftest.$ac_ext >&5
9443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_soname_save_LIBS
9447 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9448 { echo "$as_me:$LINENO: result: not found" >&5
9449 echo "${ECHO_T}not found" >&6; }
9451 else
9452 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9453 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9455 cat >>confdefs.h <<_ACEOF
9456 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9457 _ACEOF
9475 for ac_header in X11/Xlib.h \
9476 X11/XKBlib.h \
9477 X11/Xutil.h \
9478 X11/Xcursor/Xcursor.h \
9479 X11/extensions/shape.h \
9480 X11/extensions/XInput.h \
9481 X11/extensions/XShm.h \
9482 X11/extensions/Xcomposite.h \
9483 X11/extensions/Xinerama.h \
9484 X11/extensions/Xrandr.h \
9485 X11/extensions/Xrender.h \
9486 X11/extensions/xf86vmode.h
9488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9492 echo $ECHO_N "(cached) $ECHO_C" >&6
9493 else
9494 cat >conftest.$ac_ext <<_ACEOF
9495 /* confdefs.h. */
9496 _ACEOF
9497 cat confdefs.h >>conftest.$ac_ext
9498 cat >>conftest.$ac_ext <<_ACEOF
9499 /* end confdefs.h. */
9500 #ifdef HAVE_X11_XLIB_H
9501 # include <X11/Xlib.h>
9502 #endif
9503 #ifdef HAVE_X11_XUTIL_H
9504 # include <X11/Xutil.h>
9505 #endif
9507 #include <$ac_header>
9508 _ACEOF
9509 rm -f conftest.$ac_objext
9510 if { (ac_try="$ac_compile"
9511 case "(($ac_try" in
9512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9513 *) ac_try_echo=$ac_try;;
9514 esac
9515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9516 (eval "$ac_compile") 2>conftest.er1
9517 ac_status=$?
9518 grep -v '^ *+' conftest.er1 >conftest.err
9519 rm -f conftest.er1
9520 cat conftest.err >&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); } && {
9523 test -z "$ac_c_werror_flag" ||
9524 test ! -s conftest.err
9525 } && test -s conftest.$ac_objext; then
9526 eval "$as_ac_Header=yes"
9527 else
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.$ac_ext >&5
9531 eval "$as_ac_Header=no"
9534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9536 ac_res=`eval echo '${'$as_ac_Header'}'`
9537 { echo "$as_me:$LINENO: result: $ac_res" >&5
9538 echo "${ECHO_T}$ac_res" >&6; }
9539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9540 cat >>confdefs.h <<_ACEOF
9541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9542 _ACEOF
9546 done
9549 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9550 then
9551 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9552 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9553 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9554 echo $ECHO_N "(cached) $ECHO_C" >&6
9555 else
9556 ac_check_lib_save_LIBS=$LIBS
9557 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9558 cat >conftest.$ac_ext <<_ACEOF
9559 /* confdefs.h. */
9560 _ACEOF
9561 cat confdefs.h >>conftest.$ac_ext
9562 cat >>conftest.$ac_ext <<_ACEOF
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9568 #ifdef __cplusplus
9569 extern "C"
9570 #endif
9571 char XkbQueryExtension ();
9573 main ()
9575 return XkbQueryExtension ();
9577 return 0;
9579 _ACEOF
9580 rm -f conftest.$ac_objext conftest$ac_exeext
9581 if { (ac_try="$ac_link"
9582 case "(($ac_try" in
9583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9584 *) ac_try_echo=$ac_try;;
9585 esac
9586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9587 (eval "$ac_link") 2>conftest.er1
9588 ac_status=$?
9589 grep -v '^ *+' conftest.er1 >conftest.err
9590 rm -f conftest.er1
9591 cat conftest.err >&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); } && {
9594 test -z "$ac_c_werror_flag" ||
9595 test ! -s conftest.err
9596 } && test -s conftest$ac_exeext &&
9597 $as_test_x conftest$ac_exeext; then
9598 ac_cv_lib_X11_XkbQueryExtension=yes
9599 else
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.$ac_ext >&5
9603 ac_cv_lib_X11_XkbQueryExtension=no
9606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LIBS=$ac_check_lib_save_LIBS
9610 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9611 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9612 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9614 cat >>confdefs.h <<\_ACEOF
9615 #define HAVE_XKB 1
9616 _ACEOF
9622 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9623 then
9624 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9625 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9626 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 else
9629 ac_check_soname_save_LIBS=$LIBS
9630 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9631 cat >conftest.$ac_ext <<_ACEOF
9632 /* confdefs.h. */
9633 _ACEOF
9634 cat confdefs.h >>conftest.$ac_ext
9635 cat >>conftest.$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9641 #ifdef __cplusplus
9642 extern "C"
9643 #endif
9644 char XcursorImageLoadCursor ();
9646 main ()
9648 return XcursorImageLoadCursor ();
9650 return 0;
9652 _ACEOF
9653 rm -f conftest.$ac_objext conftest$ac_exeext
9654 if { (ac_try="$ac_link"
9655 case "(($ac_try" in
9656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9657 *) ac_try_echo=$ac_try;;
9658 esac
9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9660 (eval "$ac_link") 2>conftest.er1
9661 ac_status=$?
9662 grep -v '^ *+' conftest.er1 >conftest.err
9663 rm -f conftest.er1
9664 cat conftest.err >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } && {
9667 test -z "$ac_c_werror_flag" ||
9668 test ! -s conftest.err
9669 } && test -s conftest$ac_exeext &&
9670 $as_test_x conftest$ac_exeext; then
9671 case "$LIBEXT" in
9672 dll) ;;
9673 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'` ;;
9674 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9675 esac
9676 else
9677 echo "$as_me: failed program was:" >&5
9678 sed 's/^/| /' conftest.$ac_ext >&5
9683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9684 conftest$ac_exeext conftest.$ac_ext
9685 LIBS=$ac_check_soname_save_LIBS
9687 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9688 { echo "$as_me:$LINENO: result: not found" >&5
9689 echo "${ECHO_T}not found" >&6; }
9691 else
9692 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9693 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9695 cat >>confdefs.h <<_ACEOF
9696 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9697 _ACEOF
9703 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9704 case "x$with_xcursor" in
9705 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9706 xno) ;;
9707 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9708 This is an error since --with-xcursor was requested." >&5
9709 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9710 This is an error since --with-xcursor was requested." >&2;}
9711 { (exit 1); exit 1; }; } ;;
9712 esac
9716 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9717 then
9718 { echo "$as_me:$LINENO: checking for -lXi" >&5
9719 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9720 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 else
9723 ac_check_soname_save_LIBS=$LIBS
9724 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9725 cat >conftest.$ac_ext <<_ACEOF
9726 /* confdefs.h. */
9727 _ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9735 #ifdef __cplusplus
9736 extern "C"
9737 #endif
9738 char XOpenDevice ();
9740 main ()
9742 return XOpenDevice ();
9744 return 0;
9746 _ACEOF
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (ac_try="$ac_link"
9749 case "(($ac_try" in
9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9752 esac
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_link") 2>conftest.er1
9755 ac_status=$?
9756 grep -v '^ *+' conftest.er1 >conftest.err
9757 rm -f conftest.er1
9758 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } && {
9761 test -z "$ac_c_werror_flag" ||
9762 test ! -s conftest.err
9763 } && test -s conftest$ac_exeext &&
9764 $as_test_x conftest$ac_exeext; then
9765 case "$LIBEXT" in
9766 dll) ;;
9767 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'` ;;
9768 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9769 esac
9770 else
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9782 { echo "$as_me:$LINENO: result: not found" >&5
9783 echo "${ECHO_T}not found" >&6; }
9785 else
9786 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9787 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9791 _ACEOF
9797 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9798 case "x$with_xinput" in
9799 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9800 xno) ;;
9801 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9802 This is an error since --with-xinput was requested." >&5
9803 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9804 This is an error since --with-xinput was requested." >&2;}
9805 { (exit 1); exit 1; }; } ;;
9806 esac
9810 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9811 then
9812 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9813 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9814 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 else
9817 ac_check_lib_save_LIBS=$LIBS
9818 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9819 cat >conftest.$ac_ext <<_ACEOF
9820 /* confdefs.h. */
9821 _ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9829 #ifdef __cplusplus
9830 extern "C"
9831 #endif
9832 char XShmQueryExtension ();
9834 main ()
9836 return XShmQueryExtension ();
9838 return 0;
9840 _ACEOF
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (ac_try="$ac_link"
9843 case "(($ac_try" in
9844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9845 *) ac_try_echo=$ac_try;;
9846 esac
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848 (eval "$ac_link") 2>conftest.er1
9849 ac_status=$?
9850 grep -v '^ *+' conftest.er1 >conftest.err
9851 rm -f conftest.er1
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } && {
9855 test -z "$ac_c_werror_flag" ||
9856 test ! -s conftest.err
9857 } && test -s conftest$ac_exeext &&
9858 $as_test_x conftest$ac_exeext; then
9859 ac_cv_lib_Xext_XShmQueryExtension=yes
9860 else
9861 echo "$as_me: failed program was:" >&5
9862 sed 's/^/| /' conftest.$ac_ext >&5
9864 ac_cv_lib_Xext_XShmQueryExtension=no
9867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_lib_save_LIBS
9871 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9872 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9873 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9875 cat >>confdefs.h <<\_ACEOF
9876 #define HAVE_LIBXXSHM 1
9877 _ACEOF
9882 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9883 case "x$with_xshm" in
9884 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9885 xno) ;;
9886 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9887 This is an error since --with-xshm was requested." >&5
9888 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9889 This is an error since --with-xshm was requested." >&2;}
9890 { (exit 1); exit 1; }; } ;;
9891 esac
9895 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9896 then
9897 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9898 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9899 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9901 else
9902 ac_check_lib_save_LIBS=$LIBS
9903 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9904 cat >conftest.$ac_ext <<_ACEOF
9905 /* confdefs.h. */
9906 _ACEOF
9907 cat confdefs.h >>conftest.$ac_ext
9908 cat >>conftest.$ac_ext <<_ACEOF
9909 /* end confdefs.h. */
9911 /* Override any GCC internal prototype to avoid an error.
9912 Use char because int might match the return type of a GCC
9913 builtin and then its argument prototype would still apply. */
9914 #ifdef __cplusplus
9915 extern "C"
9916 #endif
9917 char XShapeQueryExtension ();
9919 main ()
9921 return XShapeQueryExtension ();
9923 return 0;
9925 _ACEOF
9926 rm -f conftest.$ac_objext conftest$ac_exeext
9927 if { (ac_try="$ac_link"
9928 case "(($ac_try" in
9929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;;
9931 esac
9932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_link") 2>conftest.er1
9934 ac_status=$?
9935 grep -v '^ *+' conftest.er1 >conftest.err
9936 rm -f conftest.er1
9937 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && {
9940 test -z "$ac_c_werror_flag" ||
9941 test ! -s conftest.err
9942 } && test -s conftest$ac_exeext &&
9943 $as_test_x conftest$ac_exeext; then
9944 ac_cv_lib_Xext_XShapeQueryExtension=yes
9945 else
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.$ac_ext >&5
9949 ac_cv_lib_Xext_XShapeQueryExtension=no
9952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_lib_save_LIBS
9956 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9957 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9958 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9960 cat >>confdefs.h <<\_ACEOF
9961 #define HAVE_LIBXSHAPE 1
9962 _ACEOF
9967 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9968 case "x$with_xshape" in
9969 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9970 xno) ;;
9971 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9972 This is an error since --with-xshape was requested." >&5
9973 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9974 This is an error since --with-xshape was requested." >&2;}
9975 { (exit 1); exit 1; }; } ;;
9976 esac
9980 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9981 then
9982 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9983 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9984 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 else
9987 ac_check_lib_save_LIBS=$LIBS
9988 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9989 cat >conftest.$ac_ext <<_ACEOF
9990 /* confdefs.h. */
9991 _ACEOF
9992 cat confdefs.h >>conftest.$ac_ext
9993 cat >>conftest.$ac_ext <<_ACEOF
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
9999 #ifdef __cplusplus
10000 extern "C"
10001 #endif
10002 char XF86VidModeQueryExtension ();
10004 main ()
10006 return XF86VidModeQueryExtension ();
10008 return 0;
10010 _ACEOF
10011 rm -f conftest.$ac_objext conftest$ac_exeext
10012 if { (ac_try="$ac_link"
10013 case "(($ac_try" in
10014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10015 *) ac_try_echo=$ac_try;;
10016 esac
10017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10018 (eval "$ac_link") 2>conftest.er1
10019 ac_status=$?
10020 grep -v '^ *+' conftest.er1 >conftest.err
10021 rm -f conftest.er1
10022 cat conftest.err >&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } && {
10025 test -z "$ac_c_werror_flag" ||
10026 test ! -s conftest.err
10027 } && test -s conftest$ac_exeext &&
10028 $as_test_x conftest$ac_exeext; then
10029 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10030 else
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.$ac_ext >&5
10034 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_lib_save_LIBS
10041 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10042 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10043 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10045 cat >>confdefs.h <<\_ACEOF
10046 #define HAVE_LIBXXF86VM 1
10047 _ACEOF
10049 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10054 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10055 case "x$with_xvidmode" in
10056 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10057 xno) ;;
10058 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10059 This is an error since --with-xvidmode was requested." >&5
10060 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10061 This is an error since --with-xvidmode was requested." >&2;}
10062 { (exit 1); exit 1; }; } ;;
10063 esac
10067 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"
10068 then
10069 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10070 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10071 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10073 else
10074 ac_check_soname_save_LIBS=$LIBS
10075 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10076 cat >conftest.$ac_ext <<_ACEOF
10077 /* confdefs.h. */
10078 _ACEOF
10079 cat confdefs.h >>conftest.$ac_ext
10080 cat >>conftest.$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10086 #ifdef __cplusplus
10087 extern "C"
10088 #endif
10089 char XRenderQueryExtension ();
10091 main ()
10093 return XRenderQueryExtension ();
10095 return 0;
10097 _ACEOF
10098 rm -f conftest.$ac_objext conftest$ac_exeext
10099 if { (ac_try="$ac_link"
10100 case "(($ac_try" in
10101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10102 *) ac_try_echo=$ac_try;;
10103 esac
10104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10105 (eval "$ac_link") 2>conftest.er1
10106 ac_status=$?
10107 grep -v '^ *+' conftest.er1 >conftest.err
10108 rm -f conftest.er1
10109 cat conftest.err >&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); } && {
10112 test -z "$ac_c_werror_flag" ||
10113 test ! -s conftest.err
10114 } && test -s conftest$ac_exeext &&
10115 $as_test_x conftest$ac_exeext; then
10116 case "$LIBEXT" in
10117 dll) ;;
10118 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'` ;;
10119 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10120 esac
10121 else
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10129 conftest$ac_exeext conftest.$ac_ext
10130 LIBS=$ac_check_soname_save_LIBS
10132 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10133 { echo "$as_me:$LINENO: result: not found" >&5
10134 echo "${ECHO_T}not found" >&6; }
10136 else
10137 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10138 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10140 cat >>confdefs.h <<_ACEOF
10141 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10142 _ACEOF
10144 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10145 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10146 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10148 else
10149 ac_check_lib_save_LIBS=$LIBS
10150 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10151 cat >conftest.$ac_ext <<_ACEOF
10152 /* confdefs.h. */
10153 _ACEOF
10154 cat confdefs.h >>conftest.$ac_ext
10155 cat >>conftest.$ac_ext <<_ACEOF
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10161 #ifdef __cplusplus
10162 extern "C"
10163 #endif
10164 char XRenderSetPictureTransform ();
10166 main ()
10168 return XRenderSetPictureTransform ();
10170 return 0;
10172 _ACEOF
10173 rm -f conftest.$ac_objext conftest$ac_exeext
10174 if { (ac_try="$ac_link"
10175 case "(($ac_try" in
10176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10177 *) ac_try_echo=$ac_try;;
10178 esac
10179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10180 (eval "$ac_link") 2>conftest.er1
10181 ac_status=$?
10182 grep -v '^ *+' conftest.er1 >conftest.err
10183 rm -f conftest.er1
10184 cat conftest.err >&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } && {
10187 test -z "$ac_c_werror_flag" ||
10188 test ! -s conftest.err
10189 } && test -s conftest$ac_exeext &&
10190 $as_test_x conftest$ac_exeext; then
10191 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10192 else
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10196 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_lib_save_LIBS
10203 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10204 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10205 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10207 cat >>confdefs.h <<\_ACEOF
10208 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10209 _ACEOF
10217 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10218 case "x$with_xrender" in
10219 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10220 xno) ;;
10221 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10222 This is an error since --with-xrender was requested." >&5
10223 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10224 This is an error since --with-xrender was requested." >&2;}
10225 { (exit 1); exit 1; }; } ;;
10226 esac
10230 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10231 then
10232 cat >conftest.$ac_ext <<_ACEOF
10233 /* confdefs.h. */
10234 _ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10238 #include <X11/Xlib.h>
10239 #include <X11/extensions/Xrandr.h>
10241 main ()
10243 static typeof(XRRSetScreenConfigAndRate) * func;
10245 return 0;
10247 _ACEOF
10248 rm -f conftest.$ac_objext
10249 if { (ac_try="$ac_compile"
10250 case "(($ac_try" in
10251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10252 *) ac_try_echo=$ac_try;;
10253 esac
10254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10255 (eval "$ac_compile") 2>conftest.er1
10256 ac_status=$?
10257 grep -v '^ *+' conftest.er1 >conftest.err
10258 rm -f conftest.er1
10259 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } && {
10262 test -z "$ac_c_werror_flag" ||
10263 test ! -s conftest.err
10264 } && test -s conftest.$ac_objext; then
10265 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10266 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10267 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10268 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 else
10270 ac_check_soname_save_LIBS=$LIBS
10271 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10272 cat >conftest.$ac_ext <<_ACEOF
10273 /* confdefs.h. */
10274 _ACEOF
10275 cat confdefs.h >>conftest.$ac_ext
10276 cat >>conftest.$ac_ext <<_ACEOF
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10282 #ifdef __cplusplus
10283 extern "C"
10284 #endif
10285 char XRRQueryExtension ();
10287 main ()
10289 return XRRQueryExtension ();
10291 return 0;
10293 _ACEOF
10294 rm -f conftest.$ac_objext conftest$ac_exeext
10295 if { (ac_try="$ac_link"
10296 case "(($ac_try" in
10297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10298 *) ac_try_echo=$ac_try;;
10299 esac
10300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10301 (eval "$ac_link") 2>conftest.er1
10302 ac_status=$?
10303 grep -v '^ *+' conftest.er1 >conftest.err
10304 rm -f conftest.er1
10305 cat conftest.err >&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } && {
10308 test -z "$ac_c_werror_flag" ||
10309 test ! -s conftest.err
10310 } && test -s conftest$ac_exeext &&
10311 $as_test_x conftest$ac_exeext; then
10312 case "$LIBEXT" in
10313 dll) ;;
10314 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'` ;;
10315 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10316 esac
10317 else
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.$ac_ext >&5
10324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10325 conftest$ac_exeext conftest.$ac_ext
10326 LIBS=$ac_check_soname_save_LIBS
10328 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10329 { echo "$as_me:$LINENO: result: not found" >&5
10330 echo "${ECHO_T}not found" >&6; }
10332 else
10333 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10334 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10336 cat >>confdefs.h <<_ACEOF
10337 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10338 _ACEOF
10343 else
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.$ac_ext >&5
10350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10352 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10353 case "x$with_xrandr" in
10354 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10355 xno) ;;
10356 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10357 This is an error since --with-xrandr was requested." >&5
10358 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10359 This is an error since --with-xrandr was requested." >&2;}
10360 { (exit 1); exit 1; }; } ;;
10361 esac
10365 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10366 then
10367 cat >conftest.$ac_ext <<_ACEOF
10368 /* confdefs.h. */
10369 _ACEOF
10370 cat confdefs.h >>conftest.$ac_ext
10371 cat >>conftest.$ac_ext <<_ACEOF
10372 /* end confdefs.h. */
10373 #include <X11/Xlib.h>
10374 #include <X11/extensions/Xinerama.h>
10376 main ()
10378 static typeof(XineramaQueryScreens) * func;
10380 return 0;
10382 _ACEOF
10383 rm -f conftest.$ac_objext
10384 if { (ac_try="$ac_compile"
10385 case "(($ac_try" in
10386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10387 *) ac_try_echo=$ac_try;;
10388 esac
10389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10390 (eval "$ac_compile") 2>conftest.er1
10391 ac_status=$?
10392 grep -v '^ *+' conftest.er1 >conftest.err
10393 rm -f conftest.er1
10394 cat conftest.err >&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } && {
10397 test -z "$ac_c_werror_flag" ||
10398 test ! -s conftest.err
10399 } && test -s conftest.$ac_objext; then
10400 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10401 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10402 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10403 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 else
10405 ac_check_soname_save_LIBS=$LIBS
10406 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10407 cat >conftest.$ac_ext <<_ACEOF
10408 /* confdefs.h. */
10409 _ACEOF
10410 cat confdefs.h >>conftest.$ac_ext
10411 cat >>conftest.$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char XineramaQueryScreens ();
10422 main ()
10424 return XineramaQueryScreens ();
10426 return 0;
10428 _ACEOF
10429 rm -f conftest.$ac_objext conftest$ac_exeext
10430 if { (ac_try="$ac_link"
10431 case "(($ac_try" in
10432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10433 *) ac_try_echo=$ac_try;;
10434 esac
10435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10436 (eval "$ac_link") 2>conftest.er1
10437 ac_status=$?
10438 grep -v '^ *+' conftest.er1 >conftest.err
10439 rm -f conftest.er1
10440 cat conftest.err >&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } && {
10443 test -z "$ac_c_werror_flag" ||
10444 test ! -s conftest.err
10445 } && test -s conftest$ac_exeext &&
10446 $as_test_x conftest$ac_exeext; then
10447 case "$LIBEXT" in
10448 dll) ;;
10449 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'` ;;
10450 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10451 esac
10452 else
10453 echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.$ac_ext >&5
10459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10460 conftest$ac_exeext conftest.$ac_ext
10461 LIBS=$ac_check_soname_save_LIBS
10463 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10464 { echo "$as_me:$LINENO: result: not found" >&5
10465 echo "${ECHO_T}not found" >&6; }
10467 else
10468 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10469 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10471 cat >>confdefs.h <<_ACEOF
10472 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10473 _ACEOF
10478 else
10479 echo "$as_me: failed program was:" >&5
10480 sed 's/^/| /' conftest.$ac_ext >&5
10485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10487 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10488 case "x$with_xinerama" in
10489 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10490 xno) ;;
10491 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10492 This is an error since --with-xinerama was requested." >&5
10493 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10494 This is an error since --with-xinerama was requested." >&2;}
10495 { (exit 1); exit 1; }; } ;;
10496 esac
10500 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10501 then
10502 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10503 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10504 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 else
10507 ac_check_soname_save_LIBS=$LIBS
10508 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10509 cat >conftest.$ac_ext <<_ACEOF
10510 /* confdefs.h. */
10511 _ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 /* Override any GCC internal prototype to avoid an error.
10517 Use char because int might match the return type of a GCC
10518 builtin and then its argument prototype would still apply. */
10519 #ifdef __cplusplus
10520 extern "C"
10521 #endif
10522 char XCompositeRedirectWindow ();
10524 main ()
10526 return XCompositeRedirectWindow ();
10528 return 0;
10530 _ACEOF
10531 rm -f conftest.$ac_objext conftest$ac_exeext
10532 if { (ac_try="$ac_link"
10533 case "(($ac_try" in
10534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10535 *) ac_try_echo=$ac_try;;
10536 esac
10537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10538 (eval "$ac_link") 2>conftest.er1
10539 ac_status=$?
10540 grep -v '^ *+' conftest.er1 >conftest.err
10541 rm -f conftest.er1
10542 cat conftest.err >&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); } && {
10545 test -z "$ac_c_werror_flag" ||
10546 test ! -s conftest.err
10547 } && test -s conftest$ac_exeext &&
10548 $as_test_x conftest$ac_exeext; then
10549 case "$LIBEXT" in
10550 dll) ;;
10551 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10552 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10553 esac
10554 else
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10562 conftest$ac_exeext conftest.$ac_ext
10563 LIBS=$ac_check_soname_save_LIBS
10565 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10566 { echo "$as_me:$LINENO: result: not found" >&5
10567 echo "${ECHO_T}not found" >&6; }
10569 else
10570 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10571 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10573 cat >>confdefs.h <<_ACEOF
10574 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10575 _ACEOF
10581 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10582 case "x$with_xcomposite" in
10583 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10584 xno) ;;
10585 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10586 This is an error since --with-xcomposite was requested." >&5
10587 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10588 This is an error since --with-xcomposite was requested." >&2;}
10589 { (exit 1); exit 1; }; } ;;
10590 esac
10595 opengl_msg=""
10596 if test "x$with_opengl" != "xno"
10597 then
10602 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 else
10610 cat >conftest.$ac_ext <<_ACEOF
10611 /* confdefs.h. */
10612 _ACEOF
10613 cat confdefs.h >>conftest.$ac_ext
10614 cat >>conftest.$ac_ext <<_ACEOF
10615 /* end confdefs.h. */
10616 #ifdef HAVE_GL_GLX_H
10617 # include <GL/glx.h>
10618 #endif
10620 #include <$ac_header>
10621 _ACEOF
10622 rm -f conftest.$ac_objext
10623 if { (ac_try="$ac_compile"
10624 case "(($ac_try" in
10625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10626 *) ac_try_echo=$ac_try;;
10627 esac
10628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10629 (eval "$ac_compile") 2>conftest.er1
10630 ac_status=$?
10631 grep -v '^ *+' conftest.er1 >conftest.err
10632 rm -f conftest.er1
10633 cat conftest.err >&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); } && {
10636 test -z "$ac_c_werror_flag" ||
10637 test ! -s conftest.err
10638 } && test -s conftest.$ac_objext; then
10639 eval "$as_ac_Header=yes"
10640 else
10641 echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.$ac_ext >&5
10644 eval "$as_ac_Header=no"
10647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10649 ac_res=`eval echo '${'$as_ac_Header'}'`
10650 { echo "$as_me:$LINENO: result: $ac_res" >&5
10651 echo "${ECHO_T}$ac_res" >&6; }
10652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10653 cat >>confdefs.h <<_ACEOF
10654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10655 _ACEOF
10659 done
10661 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10662 then
10663 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10664 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10665 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 else
10668 cat >conftest.$ac_ext <<_ACEOF
10669 /* confdefs.h. */
10670 _ACEOF
10671 cat confdefs.h >>conftest.$ac_ext
10672 cat >>conftest.$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10674 #include <GL/gl.h>
10676 main ()
10678 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10680 return 0;
10682 _ACEOF
10683 rm -f conftest.$ac_objext
10684 if { (ac_try="$ac_compile"
10685 case "(($ac_try" in
10686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10687 *) ac_try_echo=$ac_try;;
10688 esac
10689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10690 (eval "$ac_compile") 2>conftest.er1
10691 ac_status=$?
10692 grep -v '^ *+' conftest.er1 >conftest.err
10693 rm -f conftest.er1
10694 cat conftest.err >&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } && {
10697 test -z "$ac_c_werror_flag" ||
10698 test ! -s conftest.err
10699 } && test -s conftest.$ac_objext; then
10700 wine_cv_opengl_header_version_OK="yes"
10701 else
10702 echo "$as_me: failed program was:" >&5
10703 sed 's/^/| /' conftest.$ac_ext >&5
10705 wine_cv_opengl_header_version_OK="no"
10708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10710 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10711 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10713 if test "$wine_cv_opengl_header_version_OK" = "yes"
10714 then
10715 { echo "$as_me:$LINENO: checking for -lGL" >&5
10716 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10717 if test "${ac_cv_lib_soname_GL+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else
10720 ac_check_soname_save_LIBS=$LIBS
10721 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10722 cat >conftest.$ac_ext <<_ACEOF
10723 /* confdefs.h. */
10724 _ACEOF
10725 cat confdefs.h >>conftest.$ac_ext
10726 cat >>conftest.$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10732 #ifdef __cplusplus
10733 extern "C"
10734 #endif
10735 char glXCreateContext ();
10737 main ()
10739 return glXCreateContext ();
10741 return 0;
10743 _ACEOF
10744 rm -f conftest.$ac_objext conftest$ac_exeext
10745 if { (ac_try="$ac_link"
10746 case "(($ac_try" in
10747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10748 *) ac_try_echo=$ac_try;;
10749 esac
10750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10751 (eval "$ac_link") 2>conftest.er1
10752 ac_status=$?
10753 grep -v '^ *+' conftest.er1 >conftest.err
10754 rm -f conftest.er1
10755 cat conftest.err >&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } && {
10758 test -z "$ac_c_werror_flag" ||
10759 test ! -s conftest.err
10760 } && test -s conftest$ac_exeext &&
10761 $as_test_x conftest$ac_exeext; then
10762 case "$LIBEXT" in
10763 dll) ;;
10764 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'` ;;
10765 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10766 esac
10767 else
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_soname_save_LIBS
10778 if test "x$ac_cv_lib_soname_GL" = "x"; then
10779 { echo "$as_me:$LINENO: result: not found" >&5
10780 echo "${ECHO_T}not found" >&6; }
10781 { echo "$as_me:$LINENO: checking for -lGL" >&5
10782 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10783 if test "${ac_cv_lib_soname_GL+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 else
10786 ac_check_soname_save_LIBS=$LIBS
10787 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10788 cat >conftest.$ac_ext <<_ACEOF
10789 /* confdefs.h. */
10790 _ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char glXCreateContext ();
10803 main ()
10805 return glXCreateContext ();
10807 return 0;
10809 _ACEOF
10810 rm -f conftest.$ac_objext conftest$ac_exeext
10811 if { (ac_try="$ac_link"
10812 case "(($ac_try" in
10813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10815 esac
10816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10817 (eval "$ac_link") 2>conftest.er1
10818 ac_status=$?
10819 grep -v '^ *+' conftest.er1 >conftest.err
10820 rm -f conftest.er1
10821 cat conftest.err >&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); } && {
10824 test -z "$ac_c_werror_flag" ||
10825 test ! -s conftest.err
10826 } && test -s conftest$ac_exeext &&
10827 $as_test_x conftest$ac_exeext; then
10828 case "$LIBEXT" in
10829 dll) ;;
10830 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'` ;;
10831 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10832 esac
10833 else
10834 echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_soname_save_LIBS
10844 if test "x$ac_cv_lib_soname_GL" = "x"; then
10845 { echo "$as_me:$LINENO: result: not found" >&5
10846 echo "${ECHO_T}not found" >&6; }
10847 if test -f /usr/X11R6/lib/libGL.a
10848 then
10849 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10850 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10851 else
10852 opengl_msg="No OpenGL library found on this system."
10854 else
10855 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10856 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10858 cat >>confdefs.h <<_ACEOF
10859 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10860 _ACEOF
10862 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10863 OPENGLFILES='$(OPENGLFILES)'
10865 cat >>confdefs.h <<\_ACEOF
10866 #define HAVE_OPENGL 1
10867 _ACEOF
10871 else
10872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10873 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10877 _ACEOF
10879 OPENGL_LIBS="-lGL"
10880 OPENGLFILES='$(OPENGLFILES)'
10882 cat >>confdefs.h <<\_ACEOF
10883 #define HAVE_OPENGL 1
10884 _ACEOF
10889 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10890 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10891 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10893 else
10894 ac_check_lib_save_LIBS=$LIBS
10895 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10896 cat >conftest.$ac_ext <<_ACEOF
10897 /* confdefs.h. */
10898 _ACEOF
10899 cat confdefs.h >>conftest.$ac_ext
10900 cat >>conftest.$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10906 #ifdef __cplusplus
10907 extern "C"
10908 #endif
10909 char gluLookAt ();
10911 main ()
10913 return gluLookAt ();
10915 return 0;
10917 _ACEOF
10918 rm -f conftest.$ac_objext conftest$ac_exeext
10919 if { (ac_try="$ac_link"
10920 case "(($ac_try" in
10921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10922 *) ac_try_echo=$ac_try;;
10923 esac
10924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10925 (eval "$ac_link") 2>conftest.er1
10926 ac_status=$?
10927 grep -v '^ *+' conftest.er1 >conftest.err
10928 rm -f conftest.er1
10929 cat conftest.err >&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && {
10932 test -z "$ac_c_werror_flag" ||
10933 test ! -s conftest.err
10934 } && test -s conftest$ac_exeext &&
10935 $as_test_x conftest$ac_exeext; then
10936 ac_cv_lib_GLU_gluLookAt=yes
10937 else
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.$ac_ext >&5
10941 ac_cv_lib_GLU_gluLookAt=no
10944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10949 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10950 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10951 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10952 GLU32FILES='$(GLU32FILES)'
10956 else
10957 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10959 else
10960 opengl_msg="OpenGL development headers not found."
10963 if test -n "$opengl_msg"; then
10964 case "x$with_opengl" in
10965 x) wine_warnings="$wine_warnings|$opengl_msg
10966 OpenGL and Direct3D won't be supported." ;;
10967 xno) ;;
10968 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10969 OpenGL and Direct3D won't be supported.
10970 This is an error since --with-opengl was requested." >&5
10971 echo "$as_me: error: $opengl_msg
10972 OpenGL and Direct3D won't be supported.
10973 This is an error since --with-opengl was requested." >&2;}
10974 { (exit 1); exit 1; }; } ;;
10975 esac
10979 NASLIBS=""
10982 for ac_header in audio/audiolib.h
10984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10986 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 ac_res=`eval echo '${'$as_ac_Header'}'`
10992 { echo "$as_me:$LINENO: result: $ac_res" >&5
10993 echo "${ECHO_T}$ac_res" >&6; }
10994 else
10995 # Is the header compilable?
10996 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10998 cat >conftest.$ac_ext <<_ACEOF
10999 /* confdefs.h. */
11000 _ACEOF
11001 cat confdefs.h >>conftest.$ac_ext
11002 cat >>conftest.$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11004 $ac_includes_default
11005 #include <$ac_header>
11006 _ACEOF
11007 rm -f conftest.$ac_objext
11008 if { (ac_try="$ac_compile"
11009 case "(($ac_try" in
11010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11011 *) ac_try_echo=$ac_try;;
11012 esac
11013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11014 (eval "$ac_compile") 2>conftest.er1
11015 ac_status=$?
11016 grep -v '^ *+' conftest.er1 >conftest.err
11017 rm -f conftest.er1
11018 cat conftest.err >&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } && {
11021 test -z "$ac_c_werror_flag" ||
11022 test ! -s conftest.err
11023 } && test -s conftest.$ac_objext; then
11024 ac_header_compiler=yes
11025 else
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.$ac_ext >&5
11029 ac_header_compiler=no
11032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11033 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11034 echo "${ECHO_T}$ac_header_compiler" >&6; }
11036 # Is the header present?
11037 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11039 cat >conftest.$ac_ext <<_ACEOF
11040 /* confdefs.h. */
11041 _ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11045 #include <$ac_header>
11046 _ACEOF
11047 if { (ac_try="$ac_cpp conftest.$ac_ext"
11048 case "(($ac_try" in
11049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11050 *) ac_try_echo=$ac_try;;
11051 esac
11052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11054 ac_status=$?
11055 grep -v '^ *+' conftest.er1 >conftest.err
11056 rm -f conftest.er1
11057 cat conftest.err >&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); } >/dev/null && {
11060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11061 test ! -s conftest.err
11062 }; then
11063 ac_header_preproc=yes
11064 else
11065 echo "$as_me: failed program was:" >&5
11066 sed 's/^/| /' conftest.$ac_ext >&5
11068 ac_header_preproc=no
11071 rm -f conftest.err conftest.$ac_ext
11072 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11073 echo "${ECHO_T}$ac_header_preproc" >&6; }
11075 # So? What about this header?
11076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11077 yes:no: )
11078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11082 ac_header_preproc=yes
11084 no:yes:* )
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11097 ( cat <<\_ASBOX
11098 ## ------------------------------------ ##
11099 ## Report this to wine-devel@winehq.org ##
11100 ## ------------------------------------ ##
11101 _ASBOX
11102 ) | sed "s/^/$as_me: WARNING: /" >&2
11104 esac
11105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 else
11110 eval "$as_ac_Header=\$ac_header_preproc"
11112 ac_res=`eval echo '${'$as_ac_Header'}'`
11113 { echo "$as_me:$LINENO: result: $ac_res" >&5
11114 echo "${ECHO_T}$ac_res" >&6; }
11117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11118 cat >>confdefs.h <<_ACEOF
11119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11120 _ACEOF
11122 for ac_header in audio/soundlib.h
11124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11128 echo $ECHO_N "(cached) $ECHO_C" >&6
11129 else
11130 cat >conftest.$ac_ext <<_ACEOF
11131 /* confdefs.h. */
11132 _ACEOF
11133 cat confdefs.h >>conftest.$ac_ext
11134 cat >>conftest.$ac_ext <<_ACEOF
11135 /* end confdefs.h. */
11136 #include <audio/audiolib.h>
11138 #include <$ac_header>
11139 _ACEOF
11140 rm -f conftest.$ac_objext
11141 if { (ac_try="$ac_compile"
11142 case "(($ac_try" in
11143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11145 esac
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_compile") 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest.$ac_objext; then
11157 eval "$as_ac_Header=yes"
11158 else
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 eval "$as_ac_Header=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11167 ac_res=`eval echo '${'$as_ac_Header'}'`
11168 { echo "$as_me:$LINENO: result: $ac_res" >&5
11169 echo "${ECHO_T}$ac_res" >&6; }
11170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11171 cat >>confdefs.h <<_ACEOF
11172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11173 _ACEOF
11177 done
11179 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11180 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11181 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11186 cat >conftest.$ac_ext <<_ACEOF
11187 /* confdefs.h. */
11188 _ACEOF
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11193 /* Override any GCC internal prototype to avoid an error.
11194 Use char because int might match the return type of a GCC
11195 builtin and then its argument prototype would still apply. */
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 char AuCreateFlow ();
11201 main ()
11203 return AuCreateFlow ();
11205 return 0;
11207 _ACEOF
11208 rm -f conftest.$ac_objext conftest$ac_exeext
11209 if { (ac_try="$ac_link"
11210 case "(($ac_try" in
11211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11212 *) ac_try_echo=$ac_try;;
11213 esac
11214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11215 (eval "$ac_link") 2>conftest.er1
11216 ac_status=$?
11217 grep -v '^ *+' conftest.er1 >conftest.err
11218 rm -f conftest.er1
11219 cat conftest.err >&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); } && {
11222 test -z "$ac_c_werror_flag" ||
11223 test ! -s conftest.err
11224 } && test -s conftest$ac_exeext &&
11225 $as_test_x conftest$ac_exeext; then
11226 ac_cv_lib_audio_AuCreateFlow=yes
11227 else
11228 echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.$ac_ext >&5
11231 ac_cv_lib_audio_AuCreateFlow=no
11234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11235 conftest$ac_exeext conftest.$ac_ext
11236 LIBS=$ac_check_lib_save_LIBS
11238 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11239 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11240 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11242 cat >>confdefs.h <<\_ACEOF
11243 #define HAVE_NAS 1
11244 _ACEOF
11246 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11247 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11248 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lXau $X_LIBS $LIBS"
11253 cat >conftest.$ac_ext <<_ACEOF
11254 /* confdefs.h. */
11255 _ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11260 /* Override any GCC internal prototype to avoid an error.
11261 Use char because int might match the return type of a GCC
11262 builtin and then its argument prototype would still apply. */
11263 #ifdef __cplusplus
11264 extern "C"
11265 #endif
11266 char XauGetBestAuthByAddr ();
11268 main ()
11270 return XauGetBestAuthByAddr ();
11272 return 0;
11274 _ACEOF
11275 rm -f conftest.$ac_objext conftest$ac_exeext
11276 if { (ac_try="$ac_link"
11277 case "(($ac_try" in
11278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11279 *) ac_try_echo=$ac_try;;
11280 esac
11281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11282 (eval "$ac_link") 2>conftest.er1
11283 ac_status=$?
11284 grep -v '^ *+' conftest.er1 >conftest.err
11285 rm -f conftest.er1
11286 cat conftest.err >&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); } && {
11289 test -z "$ac_c_werror_flag" ||
11290 test ! -s conftest.err
11291 } && test -s conftest$ac_exeext &&
11292 $as_test_x conftest$ac_exeext; then
11293 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11294 else
11295 echo "$as_me: failed program was:" >&5
11296 sed 's/^/| /' conftest.$ac_ext >&5
11298 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11306 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11307 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11308 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11309 else
11310 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11318 done
11321 CPPFLAGS="$ac_save_CPPFLAGS"
11322 XFILES='$(XFILES)'
11323 else
11324 XLIB=""
11325 X_CFLAGS=""
11326 X_LIBS=""
11328 if test "x$XLIB" = "x"; then
11329 case "x$with_x" in
11330 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11331 without X support, which probably isn't what you want. You will need to install
11332 development packages of Xlib/Xfree86 at the very least." ;;
11333 xno) ;;
11334 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11335 without X support, which probably isn't what you want. You will need to install
11336 development packages of Xlib/Xfree86 at the very least.
11337 This is an error since --with-x was requested." >&5
11338 echo "$as_me: error: X development files not found. Wine will be built
11339 without X support, which probably isn't what you want. You will need to install
11340 development packages of Xlib/Xfree86 at the very least.
11341 This is an error since --with-x was requested." >&2;}
11342 { (exit 1); exit 1; }; } ;;
11343 esac
11348 XML2LIBS=""
11350 XML2INCL=""
11352 XSLTLIBS=""
11354 XSLTINCL=""
11356 if test "x$with_xml" != "xno"
11357 then
11358 ac_save_CPPFLAGS="$CPPFLAGS"
11359 if test "$PKG_CONFIG" != "false"
11360 then
11361 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11362 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11363 else
11364 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11365 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11367 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11369 for ac_header in libxml/parser.h
11371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11373 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 ac_res=`eval echo '${'$as_ac_Header'}'`
11379 { echo "$as_me:$LINENO: result: $ac_res" >&5
11380 echo "${ECHO_T}$ac_res" >&6; }
11381 else
11382 # Is the header compilable?
11383 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11385 cat >conftest.$ac_ext <<_ACEOF
11386 /* confdefs.h. */
11387 _ACEOF
11388 cat confdefs.h >>conftest.$ac_ext
11389 cat >>conftest.$ac_ext <<_ACEOF
11390 /* end confdefs.h. */
11391 $ac_includes_default
11392 #include <$ac_header>
11393 _ACEOF
11394 rm -f conftest.$ac_objext
11395 if { (ac_try="$ac_compile"
11396 case "(($ac_try" in
11397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11398 *) ac_try_echo=$ac_try;;
11399 esac
11400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11401 (eval "$ac_compile") 2>conftest.er1
11402 ac_status=$?
11403 grep -v '^ *+' conftest.er1 >conftest.err
11404 rm -f conftest.er1
11405 cat conftest.err >&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); } && {
11408 test -z "$ac_c_werror_flag" ||
11409 test ! -s conftest.err
11410 } && test -s conftest.$ac_objext; then
11411 ac_header_compiler=yes
11412 else
11413 echo "$as_me: failed program was:" >&5
11414 sed 's/^/| /' conftest.$ac_ext >&5
11416 ac_header_compiler=no
11419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11420 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11421 echo "${ECHO_T}$ac_header_compiler" >&6; }
11423 # Is the header present?
11424 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11426 cat >conftest.$ac_ext <<_ACEOF
11427 /* confdefs.h. */
11428 _ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432 #include <$ac_header>
11433 _ACEOF
11434 if { (ac_try="$ac_cpp conftest.$ac_ext"
11435 case "(($ac_try" in
11436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11437 *) ac_try_echo=$ac_try;;
11438 esac
11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11441 ac_status=$?
11442 grep -v '^ *+' conftest.er1 >conftest.err
11443 rm -f conftest.er1
11444 cat conftest.err >&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } >/dev/null && {
11447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11448 test ! -s conftest.err
11449 }; then
11450 ac_header_preproc=yes
11451 else
11452 echo "$as_me: failed program was:" >&5
11453 sed 's/^/| /' conftest.$ac_ext >&5
11455 ac_header_preproc=no
11458 rm -f conftest.err conftest.$ac_ext
11459 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11460 echo "${ECHO_T}$ac_header_preproc" >&6; }
11462 # So? What about this header?
11463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11464 yes:no: )
11465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11469 ac_header_preproc=yes
11471 no:yes:* )
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11484 ( cat <<\_ASBOX
11485 ## ------------------------------------ ##
11486 ## Report this to wine-devel@winehq.org ##
11487 ## ------------------------------------ ##
11488 _ASBOX
11489 ) | sed "s/^/$as_me: WARNING: /" >&2
11491 esac
11492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 else
11497 eval "$as_ac_Header=\$ac_header_preproc"
11499 ac_res=`eval echo '${'$as_ac_Header'}'`
11500 { echo "$as_me:$LINENO: result: $ac_res" >&5
11501 echo "${ECHO_T}$ac_res" >&6; }
11504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11505 cat >>confdefs.h <<_ACEOF
11506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11507 _ACEOF
11508 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11509 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11510 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-lxml2 $ac_xml_libs $LIBS"
11515 cat >conftest.$ac_ext <<_ACEOF
11516 /* confdefs.h. */
11517 _ACEOF
11518 cat confdefs.h >>conftest.$ac_ext
11519 cat >>conftest.$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11525 #ifdef __cplusplus
11526 extern "C"
11527 #endif
11528 char xmlParseMemory ();
11530 main ()
11532 return xmlParseMemory ();
11534 return 0;
11536 _ACEOF
11537 rm -f conftest.$ac_objext conftest$ac_exeext
11538 if { (ac_try="$ac_link"
11539 case "(($ac_try" in
11540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11541 *) ac_try_echo=$ac_try;;
11542 esac
11543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11544 (eval "$ac_link") 2>conftest.er1
11545 ac_status=$?
11546 grep -v '^ *+' conftest.er1 >conftest.err
11547 rm -f conftest.er1
11548 cat conftest.err >&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } && {
11551 test -z "$ac_c_werror_flag" ||
11552 test ! -s conftest.err
11553 } && test -s conftest$ac_exeext &&
11554 $as_test_x conftest$ac_exeext; then
11555 ac_cv_lib_xml2_xmlParseMemory=yes
11556 else
11557 echo "$as_me: failed program was:" >&5
11558 sed 's/^/| /' conftest.$ac_ext >&5
11560 ac_cv_lib_xml2_xmlParseMemory=no
11563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_lib_save_LIBS
11567 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11568 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11569 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11571 cat >>confdefs.h <<\_ACEOF
11572 #define HAVE_LIBXML2 1
11573 _ACEOF
11575 XML2LIBS="$ac_xml_libs"
11576 XML2INCL="$ac_xml_cflags"
11579 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11580 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11581 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11582 echo $ECHO_N "(cached) $ECHO_C" >&6
11583 else
11584 ac_check_lib_save_LIBS=$LIBS
11585 LIBS="-lxml2 $ac_xml_libs $LIBS"
11586 cat >conftest.$ac_ext <<_ACEOF
11587 /* confdefs.h. */
11588 _ACEOF
11589 cat confdefs.h >>conftest.$ac_ext
11590 cat >>conftest.$ac_ext <<_ACEOF
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11596 #ifdef __cplusplus
11597 extern "C"
11598 #endif
11599 char xmlReadMemory ();
11601 main ()
11603 return xmlReadMemory ();
11605 return 0;
11607 _ACEOF
11608 rm -f conftest.$ac_objext conftest$ac_exeext
11609 if { (ac_try="$ac_link"
11610 case "(($ac_try" in
11611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11612 *) ac_try_echo=$ac_try;;
11613 esac
11614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11615 (eval "$ac_link") 2>conftest.er1
11616 ac_status=$?
11617 grep -v '^ *+' conftest.er1 >conftest.err
11618 rm -f conftest.er1
11619 cat conftest.err >&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); } && {
11622 test -z "$ac_c_werror_flag" ||
11623 test ! -s conftest.err
11624 } && test -s conftest$ac_exeext &&
11625 $as_test_x conftest$ac_exeext; then
11626 ac_cv_lib_xml2_xmlReadMemory=yes
11627 else
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11631 ac_cv_lib_xml2_xmlReadMemory=no
11634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_lib_save_LIBS
11638 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11639 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11640 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11642 cat >>confdefs.h <<\_ACEOF
11643 #define HAVE_XMLREADMEMORY 1
11644 _ACEOF
11648 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11649 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11650 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11651 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 else
11653 ac_check_lib_save_LIBS=$LIBS
11654 LIBS="-lxml2 $ac_xml_libs $LIBS"
11655 cat >conftest.$ac_ext <<_ACEOF
11656 /* confdefs.h. */
11657 _ACEOF
11658 cat confdefs.h >>conftest.$ac_ext
11659 cat >>conftest.$ac_ext <<_ACEOF
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11665 #ifdef __cplusplus
11666 extern "C"
11667 #endif
11668 char xmlNewDocPI ();
11670 main ()
11672 return xmlNewDocPI ();
11674 return 0;
11676 _ACEOF
11677 rm -f conftest.$ac_objext conftest$ac_exeext
11678 if { (ac_try="$ac_link"
11679 case "(($ac_try" in
11680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11681 *) ac_try_echo=$ac_try;;
11682 esac
11683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11684 (eval "$ac_link") 2>conftest.er1
11685 ac_status=$?
11686 grep -v '^ *+' conftest.er1 >conftest.err
11687 rm -f conftest.er1
11688 cat conftest.err >&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); } && {
11691 test -z "$ac_c_werror_flag" ||
11692 test ! -s conftest.err
11693 } && test -s conftest$ac_exeext &&
11694 $as_test_x conftest$ac_exeext; then
11695 ac_cv_lib_xml2_xmlNewDocPI=yes
11696 else
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.$ac_ext >&5
11700 ac_cv_lib_xml2_xmlNewDocPI=no
11703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11708 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11709 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11711 cat >>confdefs.h <<\_ACEOF
11712 #define HAVE_XMLNEWDOCPI 1
11713 _ACEOF
11720 done
11722 CPPFLAGS="$ac_save_CPPFLAGS"
11724 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11725 case "x$with_xml" in
11726 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11727 xno) ;;
11728 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11729 This is an error since --with-xml was requested." >&5
11730 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11731 This is an error since --with-xml was requested." >&2;}
11732 { (exit 1); exit 1; }; } ;;
11733 esac
11737 if test "x$with_xslt" != "xno"
11738 then
11739 if test "$PKG_CONFIG" != "false"
11740 then
11741 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11742 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11743 else
11744 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11745 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11747 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11750 for ac_header in libxslt/pattern.h libxslt/transform.h
11752 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 else
11758 cat >conftest.$ac_ext <<_ACEOF
11759 /* confdefs.h. */
11760 _ACEOF
11761 cat confdefs.h >>conftest.$ac_ext
11762 cat >>conftest.$ac_ext <<_ACEOF
11763 /* end confdefs.h. */
11764 #ifdef HAVE_LIBXSLT_PATTERN_H
11765 # include <libxslt/pattern.h>
11766 #endif
11768 #include <$ac_header>
11769 _ACEOF
11770 rm -f conftest.$ac_objext
11771 if { (ac_try="$ac_compile"
11772 case "(($ac_try" in
11773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11774 *) ac_try_echo=$ac_try;;
11775 esac
11776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11777 (eval "$ac_compile") 2>conftest.er1
11778 ac_status=$?
11779 grep -v '^ *+' conftest.er1 >conftest.err
11780 rm -f conftest.er1
11781 cat conftest.err >&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } && {
11784 test -z "$ac_c_werror_flag" ||
11785 test ! -s conftest.err
11786 } && test -s conftest.$ac_objext; then
11787 eval "$as_ac_Header=yes"
11788 else
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 eval "$as_ac_Header=no"
11795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11797 ac_res=`eval echo '${'$as_ac_Header'}'`
11798 { echo "$as_me:$LINENO: result: $ac_res" >&5
11799 echo "${ECHO_T}$ac_res" >&6; }
11800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11801 cat >>confdefs.h <<_ACEOF
11802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11803 _ACEOF
11804 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11805 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11806 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else
11809 ac_check_lib_save_LIBS=$LIBS
11810 LIBS="-lxslt $ac_xslt_libs $LIBS"
11811 cat >conftest.$ac_ext <<_ACEOF
11812 /* confdefs.h. */
11813 _ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char xsltCompilePattern ();
11826 main ()
11828 return xsltCompilePattern ();
11830 return 0;
11832 _ACEOF
11833 rm -f conftest.$ac_objext conftest$ac_exeext
11834 if { (ac_try="$ac_link"
11835 case "(($ac_try" in
11836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11837 *) ac_try_echo=$ac_try;;
11838 esac
11839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11840 (eval "$ac_link") 2>conftest.er1
11841 ac_status=$?
11842 grep -v '^ *+' conftest.er1 >conftest.err
11843 rm -f conftest.er1
11844 cat conftest.err >&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } && {
11847 test -z "$ac_c_werror_flag" ||
11848 test ! -s conftest.err
11849 } && test -s conftest$ac_exeext &&
11850 $as_test_x conftest$ac_exeext; then
11851 ac_cv_lib_xslt_xsltCompilePattern=yes
11852 else
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11856 ac_cv_lib_xslt_xsltCompilePattern=no
11859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_lib_save_LIBS
11863 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11864 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11865 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11867 cat >>confdefs.h <<\_ACEOF
11868 #define HAVE_LIBXSLT 1
11869 _ACEOF
11871 XSLTLIBS="$ac_xslt_libs"
11872 XSLTINCL="$ac_xslt_cflags"
11878 done
11880 CPPFLAGS="$ac_save_CPPFLAGS"
11882 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11883 case "x$with_xslt" in
11884 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11885 xno) ;;
11886 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11887 This is an error since --with-xslt was requested." >&5
11888 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11889 This is an error since --with-xslt was requested." >&2;}
11890 { (exit 1); exit 1; }; } ;;
11891 esac
11895 HALINCL=""
11897 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11898 then
11899 ac_save_CPPFLAGS="$CPPFLAGS"
11900 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11901 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11902 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11905 for ac_header in dbus/dbus.h hal/libhal.h
11907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11908 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 ac_res=`eval echo '${'$as_ac_Header'}'`
11915 { echo "$as_me:$LINENO: result: $ac_res" >&5
11916 echo "${ECHO_T}$ac_res" >&6; }
11917 else
11918 # Is the header compilable?
11919 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11921 cat >conftest.$ac_ext <<_ACEOF
11922 /* confdefs.h. */
11923 _ACEOF
11924 cat confdefs.h >>conftest.$ac_ext
11925 cat >>conftest.$ac_ext <<_ACEOF
11926 /* end confdefs.h. */
11927 $ac_includes_default
11928 #include <$ac_header>
11929 _ACEOF
11930 rm -f conftest.$ac_objext
11931 if { (ac_try="$ac_compile"
11932 case "(($ac_try" in
11933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11934 *) ac_try_echo=$ac_try;;
11935 esac
11936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11937 (eval "$ac_compile") 2>conftest.er1
11938 ac_status=$?
11939 grep -v '^ *+' conftest.er1 >conftest.err
11940 rm -f conftest.er1
11941 cat conftest.err >&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); } && {
11944 test -z "$ac_c_werror_flag" ||
11945 test ! -s conftest.err
11946 } && test -s conftest.$ac_objext; then
11947 ac_header_compiler=yes
11948 else
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11952 ac_header_compiler=no
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11956 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11957 echo "${ECHO_T}$ac_header_compiler" >&6; }
11959 # Is the header present?
11960 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11962 cat >conftest.$ac_ext <<_ACEOF
11963 /* confdefs.h. */
11964 _ACEOF
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 #include <$ac_header>
11969 _ACEOF
11970 if { (ac_try="$ac_cpp conftest.$ac_ext"
11971 case "(($ac_try" in
11972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11973 *) ac_try_echo=$ac_try;;
11974 esac
11975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11977 ac_status=$?
11978 grep -v '^ *+' conftest.er1 >conftest.err
11979 rm -f conftest.er1
11980 cat conftest.err >&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } >/dev/null && {
11983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11984 test ! -s conftest.err
11985 }; then
11986 ac_header_preproc=yes
11987 else
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11991 ac_header_preproc=no
11994 rm -f conftest.err conftest.$ac_ext
11995 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11996 echo "${ECHO_T}$ac_header_preproc" >&6; }
11998 # So? What about this header?
11999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12000 yes:no: )
12001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12005 ac_header_preproc=yes
12007 no:yes:* )
12008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12020 ( cat <<\_ASBOX
12021 ## ------------------------------------ ##
12022 ## Report this to wine-devel@winehq.org ##
12023 ## ------------------------------------ ##
12024 _ASBOX
12025 ) | sed "s/^/$as_me: WARNING: /" >&2
12027 esac
12028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12031 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 else
12033 eval "$as_ac_Header=\$ac_header_preproc"
12035 ac_res=`eval echo '${'$as_ac_Header'}'`
12036 { echo "$as_me:$LINENO: result: $ac_res" >&5
12037 echo "${ECHO_T}$ac_res" >&6; }
12040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12041 cat >>confdefs.h <<_ACEOF
12042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12043 _ACEOF
12047 done
12049 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12050 then
12051 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12052 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12053 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 else
12056 ac_check_lib_save_LIBS=$LIBS
12057 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12058 cat >conftest.$ac_ext <<_ACEOF
12059 /* confdefs.h. */
12060 _ACEOF
12061 cat confdefs.h >>conftest.$ac_ext
12062 cat >>conftest.$ac_ext <<_ACEOF
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12071 char dbus_connection_close ();
12073 main ()
12075 return dbus_connection_close ();
12077 return 0;
12079 _ACEOF
12080 rm -f conftest.$ac_objext conftest$ac_exeext
12081 if { (ac_try="$ac_link"
12082 case "(($ac_try" in
12083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12084 *) ac_try_echo=$ac_try;;
12085 esac
12086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087 (eval "$ac_link") 2>conftest.er1
12088 ac_status=$?
12089 grep -v '^ *+' conftest.er1 >conftest.err
12090 rm -f conftest.er1
12091 cat conftest.err >&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); } && {
12094 test -z "$ac_c_werror_flag" ||
12095 test ! -s conftest.err
12096 } && test -s conftest$ac_exeext &&
12097 $as_test_x conftest$ac_exeext; then
12098 ac_cv_lib_dbus_1_dbus_connection_close=yes
12099 else
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.$ac_ext >&5
12103 ac_cv_lib_dbus_1_dbus_connection_close=no
12106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_lib_save_LIBS
12110 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12111 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12112 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12113 { echo "$as_me:$LINENO: checking for -lhal" >&5
12114 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12115 if test "${ac_cv_lib_soname_hal+set}" = set; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 else
12118 ac_check_soname_save_LIBS=$LIBS
12119 LIBS="-lhal $ac_hal_libs $LIBS"
12120 cat >conftest.$ac_ext <<_ACEOF
12121 /* confdefs.h. */
12122 _ACEOF
12123 cat confdefs.h >>conftest.$ac_ext
12124 cat >>conftest.$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12130 #ifdef __cplusplus
12131 extern "C"
12132 #endif
12133 char libhal_ctx_new ();
12135 main ()
12137 return libhal_ctx_new ();
12139 return 0;
12141 _ACEOF
12142 rm -f conftest.$ac_objext conftest$ac_exeext
12143 if { (ac_try="$ac_link"
12144 case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12147 esac
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_link") 2>conftest.er1
12150 ac_status=$?
12151 grep -v '^ *+' conftest.er1 >conftest.err
12152 rm -f conftest.er1
12153 cat conftest.err >&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && {
12156 test -z "$ac_c_werror_flag" ||
12157 test ! -s conftest.err
12158 } && test -s conftest$ac_exeext &&
12159 $as_test_x conftest$ac_exeext; then
12160 case "$LIBEXT" in
12161 dll) ;;
12162 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'` ;;
12163 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12164 esac
12165 else
12166 echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.$ac_ext >&5
12172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_soname_save_LIBS
12176 if test "x$ac_cv_lib_soname_hal" = "x"; then
12177 { echo "$as_me:$LINENO: result: not found" >&5
12178 echo "${ECHO_T}not found" >&6; }
12180 else
12181 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12182 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12184 cat >>confdefs.h <<_ACEOF
12185 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12186 _ACEOF
12188 HALINCL="$ac_hal_cflags"
12194 CPPFLAGS="$ac_save_CPPFLAGS"
12196 if test "x$ac_cv_lib_soname_hal" = "x"; then
12197 case "x$with_hal" in
12198 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12199 xno) ;;
12200 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12201 This is an error since --with-hal was requested." >&5
12202 echo "$as_me: error: libhal development files not found, no dynamic device support.
12203 This is an error since --with-hal was requested." >&2;}
12204 { (exit 1); exit 1; }; } ;;
12205 esac
12209 CURSESLIBS=""
12210 if test "$ac_cv_header_ncurses_h" = "yes"
12211 then
12212 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12213 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12214 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 else
12217 ac_check_soname_save_LIBS=$LIBS
12218 LIBS="-lncurses $LIBS"
12219 cat >conftest.$ac_ext <<_ACEOF
12220 /* confdefs.h. */
12221 _ACEOF
12222 cat confdefs.h >>conftest.$ac_ext
12223 cat >>conftest.$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char waddch ();
12234 main ()
12236 return waddch ();
12238 return 0;
12240 _ACEOF
12241 rm -f conftest.$ac_objext conftest$ac_exeext
12242 if { (ac_try="$ac_link"
12243 case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12246 esac
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_link") 2>conftest.er1
12249 ac_status=$?
12250 grep -v '^ *+' conftest.er1 >conftest.err
12251 rm -f conftest.er1
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } && {
12255 test -z "$ac_c_werror_flag" ||
12256 test ! -s conftest.err
12257 } && test -s conftest$ac_exeext &&
12258 $as_test_x conftest$ac_exeext; then
12259 case "$LIBEXT" in
12260 dll) ;;
12261 dylib) ac_cv_lib_soname_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'` ;;
12262 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12263 esac
12264 else
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12276 { echo "$as_me:$LINENO: result: not found" >&5
12277 echo "${ECHO_T}not found" >&6; }
12279 else
12280 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12281 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12285 _ACEOF
12287 CURSESLIBS="-lncurses"
12290 elif test "$ac_cv_header_curses_h" = "yes"
12291 then
12292 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12293 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12294 if test "${ac_cv_lib_soname_curses+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 else
12297 ac_check_soname_save_LIBS=$LIBS
12298 LIBS="-lcurses $LIBS"
12299 cat >conftest.$ac_ext <<_ACEOF
12300 /* confdefs.h. */
12301 _ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12306 /* Override any GCC internal prototype to avoid an error.
12307 Use char because int might match the return type of a GCC
12308 builtin and then its argument prototype would still apply. */
12309 #ifdef __cplusplus
12310 extern "C"
12311 #endif
12312 char waddch ();
12314 main ()
12316 return waddch ();
12318 return 0;
12320 _ACEOF
12321 rm -f conftest.$ac_objext conftest$ac_exeext
12322 if { (ac_try="$ac_link"
12323 case "(($ac_try" in
12324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12325 *) ac_try_echo=$ac_try;;
12326 esac
12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12328 (eval "$ac_link") 2>conftest.er1
12329 ac_status=$?
12330 grep -v '^ *+' conftest.er1 >conftest.err
12331 rm -f conftest.er1
12332 cat conftest.err >&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } && {
12335 test -z "$ac_c_werror_flag" ||
12336 test ! -s conftest.err
12337 } && test -s conftest$ac_exeext &&
12338 $as_test_x conftest$ac_exeext; then
12339 case "$LIBEXT" in
12340 dll) ;;
12341 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'` ;;
12342 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12343 esac
12344 else
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.$ac_ext >&5
12351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_soname_save_LIBS
12355 if test "x$ac_cv_lib_soname_curses" = "x"; then
12356 { echo "$as_me:$LINENO: result: not found" >&5
12357 echo "${ECHO_T}not found" >&6; }
12359 else
12360 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12361 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12363 cat >>confdefs.h <<_ACEOF
12364 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12365 _ACEOF
12367 CURSESLIBS="-lcurses"
12371 ac_save_LIBS="$LIBS"
12372 LIBS="$LIBS $CURSESLIBS"
12374 for ac_func in mousemask
12376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12381 else
12382 cat >conftest.$ac_ext <<_ACEOF
12383 /* confdefs.h. */
12384 _ACEOF
12385 cat confdefs.h >>conftest.$ac_ext
12386 cat >>conftest.$ac_ext <<_ACEOF
12387 /* end confdefs.h. */
12388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12390 #define $ac_func innocuous_$ac_func
12392 /* System header to define __stub macros and hopefully few prototypes,
12393 which can conflict with char $ac_func (); below.
12394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12395 <limits.h> exists even on freestanding compilers. */
12397 #ifdef __STDC__
12398 # include <limits.h>
12399 #else
12400 # include <assert.h>
12401 #endif
12403 #undef $ac_func
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char $ac_func ();
12412 /* The GNU C library defines this for functions which it implements
12413 to always fail with ENOSYS. Some functions are actually named
12414 something starting with __ and the normal name is an alias. */
12415 #if defined __stub_$ac_func || defined __stub___$ac_func
12416 choke me
12417 #endif
12420 main ()
12422 return $ac_func ();
12424 return 0;
12426 _ACEOF
12427 rm -f conftest.$ac_objext conftest$ac_exeext
12428 if { (ac_try="$ac_link"
12429 case "(($ac_try" in
12430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12431 *) ac_try_echo=$ac_try;;
12432 esac
12433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12434 (eval "$ac_link") 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } && {
12441 test -z "$ac_c_werror_flag" ||
12442 test ! -s conftest.err
12443 } && test -s conftest$ac_exeext &&
12444 $as_test_x conftest$ac_exeext; then
12445 eval "$as_ac_var=yes"
12446 else
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.$ac_ext >&5
12450 eval "$as_ac_var=no"
12453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12454 conftest$ac_exeext conftest.$ac_ext
12456 ac_res=`eval echo '${'$as_ac_var'}'`
12457 { echo "$as_me:$LINENO: result: $ac_res" >&5
12458 echo "${ECHO_T}$ac_res" >&6; }
12459 if test `eval echo '${'$as_ac_var'}'` = yes; then
12460 cat >>confdefs.h <<_ACEOF
12461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12462 _ACEOF
12465 done
12467 LIBS="$ac_save_LIBS"
12468 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12469 case "x$with_curses" in
12470 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12471 xno) ;;
12472 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12473 This is an error since --with-curses was requested." >&5
12474 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12475 This is an error since --with-curses was requested." >&2;}
12476 { (exit 1); exit 1; }; } ;;
12477 esac
12481 # Extract the first word of "sane-config", so it can be a program name with args.
12482 set dummy sane-config; ac_word=$2
12483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12485 if test "${ac_cv_prog_sane_devel+set}" = set; then
12486 echo $ECHO_N "(cached) $ECHO_C" >&6
12487 else
12488 if test -n "$sane_devel"; then
12489 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12490 else
12491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12492 for as_dir in $PATH
12494 IFS=$as_save_IFS
12495 test -z "$as_dir" && as_dir=.
12496 for ac_exec_ext in '' $ac_executable_extensions; do
12497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12498 ac_cv_prog_sane_devel="sane-config"
12499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12500 break 2
12502 done
12503 done
12504 IFS=$as_save_IFS
12506 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12509 sane_devel=$ac_cv_prog_sane_devel
12510 if test -n "$sane_devel"; then
12511 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12512 echo "${ECHO_T}$sane_devel" >&6; }
12513 else
12514 { echo "$as_me:$LINENO: result: no" >&5
12515 echo "${ECHO_T}no" >&6; }
12519 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12520 then
12521 ac_sane_incl="`$sane_devel --cflags`"
12522 ac_save_CPPFLAGS="$CPPFLAGS"
12523 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12524 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12525 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12526 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12527 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12528 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12531 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12532 else
12533 # Is the header compilable?
12534 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12535 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12536 cat >conftest.$ac_ext <<_ACEOF
12537 /* confdefs.h. */
12538 _ACEOF
12539 cat confdefs.h >>conftest.$ac_ext
12540 cat >>conftest.$ac_ext <<_ACEOF
12541 /* end confdefs.h. */
12542 $ac_includes_default
12543 #include <sane/sane.h>
12544 _ACEOF
12545 rm -f conftest.$ac_objext
12546 if { (ac_try="$ac_compile"
12547 case "(($ac_try" in
12548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12549 *) ac_try_echo=$ac_try;;
12550 esac
12551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_compile") 2>conftest.er1
12553 ac_status=$?
12554 grep -v '^ *+' conftest.er1 >conftest.err
12555 rm -f conftest.er1
12556 cat conftest.err >&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } && {
12559 test -z "$ac_c_werror_flag" ||
12560 test ! -s conftest.err
12561 } && test -s conftest.$ac_objext; then
12562 ac_header_compiler=yes
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12567 ac_header_compiler=no
12570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12571 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12572 echo "${ECHO_T}$ac_header_compiler" >&6; }
12574 # Is the header present?
12575 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12576 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12577 cat >conftest.$ac_ext <<_ACEOF
12578 /* confdefs.h. */
12579 _ACEOF
12580 cat confdefs.h >>conftest.$ac_ext
12581 cat >>conftest.$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 #include <sane/sane.h>
12584 _ACEOF
12585 if { (ac_try="$ac_cpp conftest.$ac_ext"
12586 case "(($ac_try" in
12587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12588 *) ac_try_echo=$ac_try;;
12589 esac
12590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12592 ac_status=$?
12593 grep -v '^ *+' conftest.er1 >conftest.err
12594 rm -f conftest.er1
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } >/dev/null && {
12598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12599 test ! -s conftest.err
12600 }; then
12601 ac_header_preproc=yes
12602 else
12603 echo "$as_me: failed program was:" >&5
12604 sed 's/^/| /' conftest.$ac_ext >&5
12606 ac_header_preproc=no
12609 rm -f conftest.err conftest.$ac_ext
12610 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12611 echo "${ECHO_T}$ac_header_preproc" >&6; }
12613 # So? What about this header?
12614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12615 yes:no: )
12616 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12617 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12619 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12620 ac_header_preproc=yes
12622 no:yes:* )
12623 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12624 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12625 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12626 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12627 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12628 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12629 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12630 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12631 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12632 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12633 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12634 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12635 ( cat <<\_ASBOX
12636 ## ------------------------------------ ##
12637 ## Report this to wine-devel@winehq.org ##
12638 ## ------------------------------------ ##
12639 _ASBOX
12640 ) | sed "s/^/$as_me: WARNING: /" >&2
12642 esac
12643 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12644 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12645 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 else
12648 ac_cv_header_sane_sane_h=$ac_header_preproc
12650 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12651 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12654 if test $ac_cv_header_sane_sane_h = yes; then
12655 { echo "$as_me:$LINENO: checking for -lsane" >&5
12656 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12657 if test "${ac_cv_lib_soname_sane+set}" = set; then
12658 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 else
12660 ac_check_soname_save_LIBS=$LIBS
12661 LIBS="-lsane $LIBS"
12662 cat >conftest.$ac_ext <<_ACEOF
12663 /* confdefs.h. */
12664 _ACEOF
12665 cat confdefs.h >>conftest.$ac_ext
12666 cat >>conftest.$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12672 #ifdef __cplusplus
12673 extern "C"
12674 #endif
12675 char sane_init ();
12677 main ()
12679 return sane_init ();
12681 return 0;
12683 _ACEOF
12684 rm -f conftest.$ac_objext conftest$ac_exeext
12685 if { (ac_try="$ac_link"
12686 case "(($ac_try" in
12687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12688 *) ac_try_echo=$ac_try;;
12689 esac
12690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12691 (eval "$ac_link") 2>conftest.er1
12692 ac_status=$?
12693 grep -v '^ *+' conftest.er1 >conftest.err
12694 rm -f conftest.er1
12695 cat conftest.err >&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } && {
12698 test -z "$ac_c_werror_flag" ||
12699 test ! -s conftest.err
12700 } && test -s conftest$ac_exeext &&
12701 $as_test_x conftest$ac_exeext; then
12702 case "$LIBEXT" in
12703 dll) ;;
12704 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'` ;;
12705 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12706 esac
12707 else
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.$ac_ext >&5
12714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12715 conftest$ac_exeext conftest.$ac_ext
12716 LIBS=$ac_check_soname_save_LIBS
12718 if test "x$ac_cv_lib_soname_sane" = "x"; then
12719 { echo "$as_me:$LINENO: result: not found" >&5
12720 echo "${ECHO_T}not found" >&6; }
12722 else
12723 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12724 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12726 cat >>confdefs.h <<_ACEOF
12727 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12728 _ACEOF
12730 SANEINCL="$ac_sane_incl"
12737 CPPFLAGS="$ac_save_CPPFLAGS"
12739 if test "x$ac_cv_lib_soname_sane" = "x"; then
12740 case "x$with_sane" in
12741 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12742 xno) ;;
12743 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12744 This is an error since --with-sane was requested." >&5
12745 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12746 This is an error since --with-sane was requested." >&2;}
12747 { (exit 1); exit 1; }; } ;;
12748 esac
12752 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12753 set dummy gphoto2-config; ac_word=$2
12754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12756 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12757 echo $ECHO_N "(cached) $ECHO_C" >&6
12758 else
12759 if test -n "$gphoto2_devel"; then
12760 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12761 else
12762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763 for as_dir in $PATH
12765 IFS=$as_save_IFS
12766 test -z "$as_dir" && as_dir=.
12767 for ac_exec_ext in '' $ac_executable_extensions; do
12768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12769 ac_cv_prog_gphoto2_devel="gphoto2-config"
12770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12771 break 2
12773 done
12774 done
12775 IFS=$as_save_IFS
12777 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12780 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12781 if test -n "$gphoto2_devel"; then
12782 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12783 echo "${ECHO_T}$gphoto2_devel" >&6; }
12784 else
12785 { echo "$as_me:$LINENO: result: no" >&5
12786 echo "${ECHO_T}no" >&6; }
12790 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12791 set dummy gphoto2-port-config; ac_word=$2
12792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12794 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 else
12797 if test -n "$gphoto2port_devel"; then
12798 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12799 else
12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801 for as_dir in $PATH
12803 IFS=$as_save_IFS
12804 test -z "$as_dir" && as_dir=.
12805 for ac_exec_ext in '' $ac_executable_extensions; do
12806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12807 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12809 break 2
12811 done
12812 done
12813 IFS=$as_save_IFS
12815 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12818 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12819 if test -n "$gphoto2port_devel"; then
12820 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12821 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12822 else
12823 { echo "$as_me:$LINENO: result: no" >&5
12824 echo "${ECHO_T}no" >&6; }
12828 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12829 then
12830 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12831 ac_gphoto2_libs=""
12832 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12834 case "$i" in
12835 -L/usr/lib|-L/usr/lib64) ;;
12836 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12837 esac
12838 done
12839 ac_save_CPPFLAGS="$CPPFLAGS"
12840 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12841 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12842 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12843 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12844 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12845 echo $ECHO_N "(cached) $ECHO_C" >&6
12847 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12848 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12849 else
12850 # Is the header compilable?
12851 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12852 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12853 cat >conftest.$ac_ext <<_ACEOF
12854 /* confdefs.h. */
12855 _ACEOF
12856 cat confdefs.h >>conftest.$ac_ext
12857 cat >>conftest.$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 $ac_includes_default
12860 #include <gphoto2-camera.h>
12861 _ACEOF
12862 rm -f conftest.$ac_objext
12863 if { (ac_try="$ac_compile"
12864 case "(($ac_try" in
12865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12866 *) ac_try_echo=$ac_try;;
12867 esac
12868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12869 (eval "$ac_compile") 2>conftest.er1
12870 ac_status=$?
12871 grep -v '^ *+' conftest.er1 >conftest.err
12872 rm -f conftest.er1
12873 cat conftest.err >&5
12874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875 (exit $ac_status); } && {
12876 test -z "$ac_c_werror_flag" ||
12877 test ! -s conftest.err
12878 } && test -s conftest.$ac_objext; then
12879 ac_header_compiler=yes
12880 else
12881 echo "$as_me: failed program was:" >&5
12882 sed 's/^/| /' conftest.$ac_ext >&5
12884 ac_header_compiler=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12889 echo "${ECHO_T}$ac_header_compiler" >&6; }
12891 # Is the header present?
12892 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12893 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12894 cat >conftest.$ac_ext <<_ACEOF
12895 /* confdefs.h. */
12896 _ACEOF
12897 cat confdefs.h >>conftest.$ac_ext
12898 cat >>conftest.$ac_ext <<_ACEOF
12899 /* end confdefs.h. */
12900 #include <gphoto2-camera.h>
12901 _ACEOF
12902 if { (ac_try="$ac_cpp conftest.$ac_ext"
12903 case "(($ac_try" in
12904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12905 *) ac_try_echo=$ac_try;;
12906 esac
12907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12909 ac_status=$?
12910 grep -v '^ *+' conftest.er1 >conftest.err
12911 rm -f conftest.er1
12912 cat conftest.err >&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } >/dev/null && {
12915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12916 test ! -s conftest.err
12917 }; then
12918 ac_header_preproc=yes
12919 else
12920 echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.$ac_ext >&5
12923 ac_header_preproc=no
12926 rm -f conftest.err conftest.$ac_ext
12927 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12928 echo "${ECHO_T}$ac_header_preproc" >&6; }
12930 # So? What about this header?
12931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12932 yes:no: )
12933 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12934 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12935 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12936 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12937 ac_header_preproc=yes
12939 no:yes:* )
12940 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12941 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12943 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12945 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12946 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12947 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12948 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12949 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12950 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12951 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12952 ( cat <<\_ASBOX
12953 ## ------------------------------------ ##
12954 ## Report this to wine-devel@winehq.org ##
12955 ## ------------------------------------ ##
12956 _ASBOX
12957 ) | sed "s/^/$as_me: WARNING: /" >&2
12959 esac
12960 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12961 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12962 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 else
12965 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12967 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12968 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12971 if test $ac_cv_header_gphoto2_camera_h = yes; then
12972 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12973 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12974 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 else
12977 ac_check_lib_save_LIBS=$LIBS
12978 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12979 cat >conftest.$ac_ext <<_ACEOF
12980 /* confdefs.h. */
12981 _ACEOF
12982 cat confdefs.h >>conftest.$ac_ext
12983 cat >>conftest.$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char gp_camera_new ();
12994 main ()
12996 return gp_camera_new ();
12998 return 0;
13000 _ACEOF
13001 rm -f conftest.$ac_objext conftest$ac_exeext
13002 if { (ac_try="$ac_link"
13003 case "(($ac_try" in
13004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13005 *) ac_try_echo=$ac_try;;
13006 esac
13007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13008 (eval "$ac_link") 2>conftest.er1
13009 ac_status=$?
13010 grep -v '^ *+' conftest.er1 >conftest.err
13011 rm -f conftest.er1
13012 cat conftest.err >&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); } && {
13015 test -z "$ac_c_werror_flag" ||
13016 test ! -s conftest.err
13017 } && test -s conftest$ac_exeext &&
13018 $as_test_x conftest$ac_exeext; then
13019 ac_cv_lib_gphoto2_gp_camera_new=yes
13020 else
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.$ac_ext >&5
13024 ac_cv_lib_gphoto2_gp_camera_new=no
13027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13028 conftest$ac_exeext conftest.$ac_ext
13029 LIBS=$ac_check_lib_save_LIBS
13031 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13032 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13033 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13035 cat >>confdefs.h <<\_ACEOF
13036 #define HAVE_GPHOTO2 1
13037 _ACEOF
13039 GPHOTO2LIBS="$ac_gphoto2_libs"
13041 GPHOTO2INCL="$ac_gphoto2_incl"
13048 CPPFLAGS="$ac_save_CPPFLAGS"
13050 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13051 case "x$with_gphoto" in
13052 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13053 xno) ;;
13054 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13055 This is an error since --with-gphoto was requested." >&5
13056 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13057 This is an error since --with-gphoto was requested." >&2;}
13058 { (exit 1); exit 1; }; } ;;
13059 esac
13064 RESOLVLIBS=""
13066 if test "$ac_cv_header_resolv_h" = "yes"
13067 then
13068 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13069 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13070 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 else
13073 ac_check_lib_save_LIBS=$LIBS
13074 LIBS="-lresolv $LIBS"
13075 cat >conftest.$ac_ext <<_ACEOF
13076 /* confdefs.h. */
13077 _ACEOF
13078 cat confdefs.h >>conftest.$ac_ext
13079 cat >>conftest.$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13085 #ifdef __cplusplus
13086 extern "C"
13087 #endif
13088 char res_query ();
13090 main ()
13092 return res_query ();
13094 return 0;
13096 _ACEOF
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13102 esac
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext &&
13114 $as_test_x conftest$ac_exeext; then
13115 ac_cv_lib_resolv_res_query=yes
13116 else
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 ac_cv_lib_resolv_res_query=no
13123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13124 conftest$ac_exeext conftest.$ac_ext
13125 LIBS=$ac_check_lib_save_LIBS
13127 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13128 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13129 if test $ac_cv_lib_resolv_res_query = yes; then
13131 cat >>confdefs.h <<\_ACEOF
13132 #define HAVE_RESOLV 1
13133 _ACEOF
13135 RESOLVLIBS="-lresolv"
13140 LCMSLIBS=""
13142 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13143 then
13144 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13145 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13146 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 else
13149 ac_check_lib_save_LIBS=$LIBS
13150 LIBS="-llcms $LIBS"
13151 cat >conftest.$ac_ext <<_ACEOF
13152 /* confdefs.h. */
13153 _ACEOF
13154 cat confdefs.h >>conftest.$ac_ext
13155 cat >>conftest.$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13158 /* Override any GCC internal prototype to avoid an error.
13159 Use char because int might match the return type of a GCC
13160 builtin and then its argument prototype would still apply. */
13161 #ifdef __cplusplus
13162 extern "C"
13163 #endif
13164 char cmsOpenProfileFromFile ();
13166 main ()
13168 return cmsOpenProfileFromFile ();
13170 return 0;
13172 _ACEOF
13173 rm -f conftest.$ac_objext conftest$ac_exeext
13174 if { (ac_try="$ac_link"
13175 case "(($ac_try" in
13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13177 *) ac_try_echo=$ac_try;;
13178 esac
13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13180 (eval "$ac_link") 2>conftest.er1
13181 ac_status=$?
13182 grep -v '^ *+' conftest.er1 >conftest.err
13183 rm -f conftest.er1
13184 cat conftest.err >&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); } && {
13187 test -z "$ac_c_werror_flag" ||
13188 test ! -s conftest.err
13189 } && test -s conftest$ac_exeext &&
13190 $as_test_x conftest$ac_exeext; then
13191 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13192 else
13193 echo "$as_me: failed program was:" >&5
13194 sed 's/^/| /' conftest.$ac_ext >&5
13196 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13200 conftest$ac_exeext conftest.$ac_ext
13201 LIBS=$ac_check_lib_save_LIBS
13203 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13204 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13205 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13207 cat >>confdefs.h <<\_ACEOF
13208 #define HAVE_LCMS 1
13209 _ACEOF
13211 LCMSLIBS="-llcms"
13215 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13216 case "x$with_cms" in
13217 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13218 xno) ;;
13219 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13220 This is an error since --with-cms was requested." >&5
13221 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13222 This is an error since --with-cms was requested." >&2;}
13223 { (exit 1); exit 1; }; } ;;
13224 esac
13228 LDAPLIBS=""
13230 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13231 then
13232 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13233 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13234 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13235 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 else
13237 ac_check_lib_save_LIBS=$LIBS
13238 LIBS="-lldap_r $LIBPTHREAD $LIBS"
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. */
13246 /* Override any GCC internal prototype to avoid an error.
13247 Use char because int might match the return type of a GCC
13248 builtin and then its argument prototype would still apply. */
13249 #ifdef __cplusplus
13250 extern "C"
13251 #endif
13252 char ldap_initialize ();
13254 main ()
13256 return ldap_initialize ();
13258 return 0;
13260 _ACEOF
13261 rm -f conftest.$ac_objext conftest$ac_exeext
13262 if { (ac_try="$ac_link"
13263 case "(($ac_try" in
13264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13265 *) ac_try_echo=$ac_try;;
13266 esac
13267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 (eval "$ac_link") 2>conftest.er1
13269 ac_status=$?
13270 grep -v '^ *+' conftest.er1 >conftest.err
13271 rm -f conftest.er1
13272 cat conftest.err >&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } && {
13275 test -z "$ac_c_werror_flag" ||
13276 test ! -s conftest.err
13277 } && test -s conftest$ac_exeext &&
13278 $as_test_x conftest$ac_exeext; then
13279 ac_cv_lib_ldap_r_ldap_initialize=yes
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_cv_lib_ldap_r_ldap_initialize=no
13287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_lib_save_LIBS
13291 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13292 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13293 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13294 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13295 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13296 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13297 echo $ECHO_N "(cached) $ECHO_C" >&6
13298 else
13299 ac_check_lib_save_LIBS=$LIBS
13300 LIBS="-llber $LIBPTHREAD $LIBS"
13301 cat >conftest.$ac_ext <<_ACEOF
13302 /* confdefs.h. */
13303 _ACEOF
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13308 /* Override any GCC internal prototype to avoid an error.
13309 Use char because int might match the return type of a GCC
13310 builtin and then its argument prototype would still apply. */
13311 #ifdef __cplusplus
13312 extern "C"
13313 #endif
13314 char ber_init ();
13316 main ()
13318 return ber_init ();
13320 return 0;
13322 _ACEOF
13323 rm -f conftest.$ac_objext conftest$ac_exeext
13324 if { (ac_try="$ac_link"
13325 case "(($ac_try" in
13326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13327 *) ac_try_echo=$ac_try;;
13328 esac
13329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13330 (eval "$ac_link") 2>conftest.er1
13331 ac_status=$?
13332 grep -v '^ *+' conftest.er1 >conftest.err
13333 rm -f conftest.er1
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } && {
13337 test -z "$ac_c_werror_flag" ||
13338 test ! -s conftest.err
13339 } && test -s conftest$ac_exeext &&
13340 $as_test_x conftest$ac_exeext; then
13341 ac_cv_lib_lber_ber_init=yes
13342 else
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.$ac_ext >&5
13346 ac_cv_lib_lber_ber_init=no
13349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13354 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13355 if test $ac_cv_lib_lber_ber_init = yes; then
13357 cat >>confdefs.h <<\_ACEOF
13358 #define HAVE_LDAP 1
13359 _ACEOF
13361 LDAPLIBS="-lldap_r -llber"
13366 ac_wine_check_funcs_save_LIBS="$LIBS"
13367 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13376 for ac_func in \
13377 ldap_count_references \
13378 ldap_first_reference \
13379 ldap_next_reference \
13380 ldap_parse_reference \
13381 ldap_parse_sort_control \
13382 ldap_parse_sortresponse_control \
13383 ldap_parse_vlv_control \
13384 ldap_parse_vlvresponse_control
13386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13389 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13391 else
13392 cat >conftest.$ac_ext <<_ACEOF
13393 /* confdefs.h. */
13394 _ACEOF
13395 cat confdefs.h >>conftest.$ac_ext
13396 cat >>conftest.$ac_ext <<_ACEOF
13397 /* end confdefs.h. */
13398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13400 #define $ac_func innocuous_$ac_func
13402 /* System header to define __stub macros and hopefully few prototypes,
13403 which can conflict with char $ac_func (); below.
13404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13405 <limits.h> exists even on freestanding compilers. */
13407 #ifdef __STDC__
13408 # include <limits.h>
13409 #else
13410 # include <assert.h>
13411 #endif
13413 #undef $ac_func
13415 /* Override any GCC internal prototype to avoid an error.
13416 Use char because int might match the return type of a GCC
13417 builtin and then its argument prototype would still apply. */
13418 #ifdef __cplusplus
13419 extern "C"
13420 #endif
13421 char $ac_func ();
13422 /* The GNU C library defines this for functions which it implements
13423 to always fail with ENOSYS. Some functions are actually named
13424 something starting with __ and the normal name is an alias. */
13425 #if defined __stub_$ac_func || defined __stub___$ac_func
13426 choke me
13427 #endif
13430 main ()
13432 return $ac_func ();
13434 return 0;
13436 _ACEOF
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (ac_try="$ac_link"
13439 case "(($ac_try" in
13440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13441 *) ac_try_echo=$ac_try;;
13442 esac
13443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13444 (eval "$ac_link") 2>conftest.er1
13445 ac_status=$?
13446 grep -v '^ *+' conftest.er1 >conftest.err
13447 rm -f conftest.er1
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } && {
13451 test -z "$ac_c_werror_flag" ||
13452 test ! -s conftest.err
13453 } && test -s conftest$ac_exeext &&
13454 $as_test_x conftest$ac_exeext; then
13455 eval "$as_ac_var=yes"
13456 else
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.$ac_ext >&5
13460 eval "$as_ac_var=no"
13463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13464 conftest$ac_exeext conftest.$ac_ext
13466 ac_res=`eval echo '${'$as_ac_var'}'`
13467 { echo "$as_me:$LINENO: result: $ac_res" >&5
13468 echo "${ECHO_T}$ac_res" >&6; }
13469 if test `eval echo '${'$as_ac_var'}'` = yes; then
13470 cat >>confdefs.h <<_ACEOF
13471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13472 _ACEOF
13475 done
13477 LIBS="$ac_wine_check_funcs_save_LIBS"
13479 if test "x$LDAPLIBS" = "x"; then
13480 case "x$with_ldap" in
13481 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13482 xno) ;;
13483 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13484 This is an error since --with-ldap was requested." >&5
13485 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13486 This is an error since --with-ldap was requested." >&2;}
13487 { (exit 1); exit 1; }; } ;;
13488 esac
13492 for ac_prog in freetype-config freetype2-config
13494 # Extract the first word of "$ac_prog", so it can be a program name with args.
13495 set dummy $ac_prog; ac_word=$2
13496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13498 if test "${ac_cv_prog_ft_devel+set}" = set; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 else
13501 if test -n "$ft_devel"; then
13502 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13503 else
13504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13505 for as_dir in $PATH
13507 IFS=$as_save_IFS
13508 test -z "$as_dir" && as_dir=.
13509 for ac_exec_ext in '' $ac_executable_extensions; do
13510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13511 ac_cv_prog_ft_devel="$ac_prog"
13512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13513 break 2
13515 done
13516 done
13517 IFS=$as_save_IFS
13521 ft_devel=$ac_cv_prog_ft_devel
13522 if test -n "$ft_devel"; then
13523 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13524 echo "${ECHO_T}$ft_devel" >&6; }
13525 else
13526 { echo "$as_me:$LINENO: result: no" >&5
13527 echo "${ECHO_T}no" >&6; }
13531 test -n "$ft_devel" && break
13532 done
13533 test -n "$ft_devel" || ft_devel="false"
13535 if test "$ft_devel" != "false"
13536 then
13537 ac_freetype_libs=`$ft_devel --libs`
13538 ac_freetype_incl=`$ft_devel --cflags`
13539 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13540 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13541 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 else
13544 ac_check_soname_save_LIBS=$LIBS
13545 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13546 cat >conftest.$ac_ext <<_ACEOF
13547 /* confdefs.h. */
13548 _ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13553 /* Override any GCC internal prototype to avoid an error.
13554 Use char because int might match the return type of a GCC
13555 builtin and then its argument prototype would still apply. */
13556 #ifdef __cplusplus
13557 extern "C"
13558 #endif
13559 char FT_Init_FreeType ();
13561 main ()
13563 return FT_Init_FreeType ();
13565 return 0;
13567 _ACEOF
13568 rm -f conftest.$ac_objext conftest$ac_exeext
13569 if { (ac_try="$ac_link"
13570 case "(($ac_try" in
13571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13572 *) ac_try_echo=$ac_try;;
13573 esac
13574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13575 (eval "$ac_link") 2>conftest.er1
13576 ac_status=$?
13577 grep -v '^ *+' conftest.er1 >conftest.err
13578 rm -f conftest.er1
13579 cat conftest.err >&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); } && {
13582 test -z "$ac_c_werror_flag" ||
13583 test ! -s conftest.err
13584 } && test -s conftest$ac_exeext &&
13585 $as_test_x conftest$ac_exeext; then
13586 case "$LIBEXT" in
13587 dll) ;;
13588 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'` ;;
13589 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13590 esac
13591 else
13592 echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.$ac_ext >&5
13598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13599 conftest$ac_exeext conftest.$ac_ext
13600 LIBS=$ac_check_soname_save_LIBS
13602 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13603 { echo "$as_me:$LINENO: result: not found" >&5
13604 echo "${ECHO_T}not found" >&6; }
13605 ft_lib=no
13606 else
13607 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13608 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13610 cat >>confdefs.h <<_ACEOF
13611 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13612 _ACEOF
13614 ft_lib=yes
13617 if test "$ft_lib" = "yes"
13618 then
13619 ac_save_CPPFLAGS="$CPPFLAGS"
13620 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13633 for ac_header in ft2build.h \
13634 freetype/freetype.h \
13635 freetype/ftglyph.h \
13636 freetype/fttypes.h \
13637 freetype/tttables.h \
13638 freetype/ftnames.h \
13639 freetype/ftsnames.h \
13640 freetype/ttnameid.h \
13641 freetype/ftoutln.h \
13642 freetype/ftwinfnt.h \
13643 freetype/ftmodapi.h \
13644 freetype/internal/sfnt.h
13646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 else
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13658 #ifdef HAVE_FT2BUILD_H
13659 # include <ft2build.h>
13660 #endif
13662 #include <$ac_header>
13663 _ACEOF
13664 rm -f conftest.$ac_objext
13665 if { (ac_try="$ac_compile"
13666 case "(($ac_try" in
13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 *) ac_try_echo=$ac_try;;
13669 esac
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_compile") 2>conftest.er1
13672 ac_status=$?
13673 grep -v '^ *+' conftest.er1 >conftest.err
13674 rm -f conftest.er1
13675 cat conftest.err >&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } && {
13678 test -z "$ac_c_werror_flag" ||
13679 test ! -s conftest.err
13680 } && test -s conftest.$ac_objext; then
13681 eval "$as_ac_Header=yes"
13682 else
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13686 eval "$as_ac_Header=no"
13689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13691 ac_res=`eval echo '${'$as_ac_Header'}'`
13692 { echo "$as_me:$LINENO: result: $ac_res" >&5
13693 echo "${ECHO_T}$ac_res" >&6; }
13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13695 cat >>confdefs.h <<_ACEOF
13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13697 _ACEOF
13701 done
13703 cat >conftest.$ac_ext <<_ACEOF
13704 /* confdefs.h. */
13705 _ACEOF
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 #include <ft2build.h>
13710 #include <freetype/fttrigon.h>
13711 _ACEOF
13712 if { (ac_try="$ac_cpp conftest.$ac_ext"
13713 case "(($ac_try" in
13714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13715 *) ac_try_echo=$ac_try;;
13716 esac
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13719 ac_status=$?
13720 grep -v '^ *+' conftest.er1 >conftest.err
13721 rm -f conftest.er1
13722 cat conftest.err >&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } >/dev/null && {
13725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13726 test ! -s conftest.err
13727 }; then
13729 cat >>confdefs.h <<\_ACEOF
13730 #define HAVE_FREETYPE_FTTRIGON_H 1
13731 _ACEOF
13733 wine_cv_fttrigon=yes
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13738 wine_cv_fttrigon=no
13741 rm -f conftest.err conftest.$ac_ext
13742 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13743 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13744 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 else
13747 cat >conftest.$ac_ext <<_ACEOF
13748 /* confdefs.h. */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 #include <freetype/ftmodapi.h>
13755 typedef FT_TrueTypeEngineType ac__type_new_;
13757 main ()
13759 if ((ac__type_new_ *) 0)
13760 return 0;
13761 if (sizeof (ac__type_new_))
13762 return 0;
13764 return 0;
13766 _ACEOF
13767 rm -f conftest.$ac_objext
13768 if { (ac_try="$ac_compile"
13769 case "(($ac_try" in
13770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13771 *) ac_try_echo=$ac_try;;
13772 esac
13773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13774 (eval "$ac_compile") 2>conftest.er1
13775 ac_status=$?
13776 grep -v '^ *+' conftest.er1 >conftest.err
13777 rm -f conftest.er1
13778 cat conftest.err >&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } && {
13781 test -z "$ac_c_werror_flag" ||
13782 test ! -s conftest.err
13783 } && test -s conftest.$ac_objext; then
13784 ac_cv_type_FT_TrueTypeEngineType=yes
13785 else
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.$ac_ext >&5
13789 ac_cv_type_FT_TrueTypeEngineType=no
13792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13794 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13795 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13796 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13798 cat >>confdefs.h <<_ACEOF
13799 #define HAVE_FT_TRUETYPEENGINETYPE 1
13800 _ACEOF
13805 ac_save_CFLAGS="$CFLAGS"
13806 CFLAGS="$CFLAGS $ac_freetype_libs"
13808 for ac_func in FT_Load_Sfnt_Table
13810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13813 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 else
13816 cat >conftest.$ac_ext <<_ACEOF
13817 /* confdefs.h. */
13818 _ACEOF
13819 cat confdefs.h >>conftest.$ac_ext
13820 cat >>conftest.$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13824 #define $ac_func innocuous_$ac_func
13826 /* System header to define __stub macros and hopefully few prototypes,
13827 which can conflict with char $ac_func (); below.
13828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13829 <limits.h> exists even on freestanding compilers. */
13831 #ifdef __STDC__
13832 # include <limits.h>
13833 #else
13834 # include <assert.h>
13835 #endif
13837 #undef $ac_func
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13842 #ifdef __cplusplus
13843 extern "C"
13844 #endif
13845 char $ac_func ();
13846 /* The GNU C library defines this for functions which it implements
13847 to always fail with ENOSYS. Some functions are actually named
13848 something starting with __ and the normal name is an alias. */
13849 #if defined __stub_$ac_func || defined __stub___$ac_func
13850 choke me
13851 #endif
13854 main ()
13856 return $ac_func ();
13858 return 0;
13860 _ACEOF
13861 rm -f conftest.$ac_objext conftest$ac_exeext
13862 if { (ac_try="$ac_link"
13863 case "(($ac_try" in
13864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13865 *) ac_try_echo=$ac_try;;
13866 esac
13867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13868 (eval "$ac_link") 2>conftest.er1
13869 ac_status=$?
13870 grep -v '^ *+' conftest.er1 >conftest.err
13871 rm -f conftest.er1
13872 cat conftest.err >&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } && {
13875 test -z "$ac_c_werror_flag" ||
13876 test ! -s conftest.err
13877 } && test -s conftest$ac_exeext &&
13878 $as_test_x conftest$ac_exeext; then
13879 eval "$as_ac_var=yes"
13880 else
13881 echo "$as_me: failed program was:" >&5
13882 sed 's/^/| /' conftest.$ac_ext >&5
13884 eval "$as_ac_var=no"
13887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13888 conftest$ac_exeext conftest.$ac_ext
13890 ac_res=`eval echo '${'$as_ac_var'}'`
13891 { echo "$as_me:$LINENO: result: $ac_res" >&5
13892 echo "${ECHO_T}$ac_res" >&6; }
13893 if test `eval echo '${'$as_ac_var'}'` = yes; then
13894 cat >>confdefs.h <<_ACEOF
13895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13896 _ACEOF
13899 done
13901 CFLAGS="$ac_save_CFLAGS"
13902 CPPFLAGS="$ac_save_CPPFLAGS"
13903 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13904 then
13906 cat >>confdefs.h <<\_ACEOF
13907 #define HAVE_FREETYPE 1
13908 _ACEOF
13910 FREETYPELIBS="$ac_freetype_libs"
13912 FREETYPEINCL="$ac_freetype_incl"
13918 if test "$FONTFORGE" = "false"
13919 then
13920 wine_warnings="$wine_warnings|FontForge is missing.
13921 Fonts will not be built. Dialog text may be invisible or unaligned."
13922 elif test "x$FREETYPELIBS" = "x"
13923 then
13924 wine_warnings="$wine_warnings|FreeType development files not found.
13925 Fonts will not be built. Dialog text may be invisible or unaligned."
13926 else
13927 FONTSSUBDIRS="fonts"
13931 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13932 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13933 if test "${ac_cv_c_ppdev+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13935 else
13936 cat >conftest.$ac_ext <<_ACEOF
13937 /* confdefs.h. */
13938 _ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13942 #include <linux/ppdev.h>
13944 main ()
13946 ioctl (1,PPCLAIM,0)
13948 return 0;
13950 _ACEOF
13951 rm -f conftest.$ac_objext
13952 if { (ac_try="$ac_compile"
13953 case "(($ac_try" in
13954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13955 *) ac_try_echo=$ac_try;;
13956 esac
13957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13958 (eval "$ac_compile") 2>conftest.er1
13959 ac_status=$?
13960 grep -v '^ *+' conftest.er1 >conftest.err
13961 rm -f conftest.er1
13962 cat conftest.err >&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } && {
13965 test -z "$ac_c_werror_flag" ||
13966 test ! -s conftest.err
13967 } && test -s conftest.$ac_objext; then
13968 ac_cv_c_ppdev="yes"
13969 else
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.$ac_ext >&5
13973 ac_cv_c_ppdev="no"
13976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13978 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13979 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13980 if test "$ac_cv_c_ppdev" = "yes"
13981 then
13983 cat >>confdefs.h <<\_ACEOF
13984 #define HAVE_PPDEV 1
13985 _ACEOF
13989 { echo "$as_me:$LINENO: checking for va_copy" >&5
13990 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13991 if test "${ac_cv_c_va_copy+set}" = set; then
13992 echo $ECHO_N "(cached) $ECHO_C" >&6
13993 else
13994 cat >conftest.$ac_ext <<_ACEOF
13995 /* confdefs.h. */
13996 _ACEOF
13997 cat confdefs.h >>conftest.$ac_ext
13998 cat >>conftest.$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14000 #include <stdarg.h>
14002 main ()
14004 va_list ap1, ap2; va_copy(ap1,ap2);
14006 return 0;
14008 _ACEOF
14009 rm -f conftest.$ac_objext conftest$ac_exeext
14010 if { (ac_try="$ac_link"
14011 case "(($ac_try" in
14012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14013 *) ac_try_echo=$ac_try;;
14014 esac
14015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14016 (eval "$ac_link") 2>conftest.er1
14017 ac_status=$?
14018 grep -v '^ *+' conftest.er1 >conftest.err
14019 rm -f conftest.er1
14020 cat conftest.err >&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } && {
14023 test -z "$ac_c_werror_flag" ||
14024 test ! -s conftest.err
14025 } && test -s conftest$ac_exeext &&
14026 $as_test_x conftest$ac_exeext; then
14027 ac_cv_c_va_copy="yes"
14028 else
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.$ac_ext >&5
14032 ac_cv_c_va_copy="no"
14035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14036 conftest$ac_exeext conftest.$ac_ext
14039 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14040 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14041 if test "$ac_cv_c_va_copy" = "yes"
14042 then
14044 cat >>confdefs.h <<\_ACEOF
14045 #define HAVE_VA_COPY 1
14046 _ACEOF
14049 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14050 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14051 if test "${ac_cv_c___va_copy+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 else
14054 cat >conftest.$ac_ext <<_ACEOF
14055 /* confdefs.h. */
14056 _ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 #include <stdarg.h>
14062 main ()
14064 va_list ap1, ap2; __va_copy(ap1,ap2);
14066 return 0;
14068 _ACEOF
14069 rm -f conftest.$ac_objext conftest$ac_exeext
14070 if { (ac_try="$ac_link"
14071 case "(($ac_try" in
14072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14073 *) ac_try_echo=$ac_try;;
14074 esac
14075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14076 (eval "$ac_link") 2>conftest.er1
14077 ac_status=$?
14078 grep -v '^ *+' conftest.er1 >conftest.err
14079 rm -f conftest.er1
14080 cat conftest.err >&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } && {
14083 test -z "$ac_c_werror_flag" ||
14084 test ! -s conftest.err
14085 } && test -s conftest$ac_exeext &&
14086 $as_test_x conftest$ac_exeext; then
14087 ac_cv_c___va_copy="yes"
14088 else
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.$ac_ext >&5
14092 ac_cv_c___va_copy="no"
14095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14096 conftest$ac_exeext conftest.$ac_ext
14099 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14100 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14101 if test "$ac_cv_c___va_copy" = "yes"
14102 then
14104 cat >>confdefs.h <<\_ACEOF
14105 #define HAVE___VA_COPY 1
14106 _ACEOF
14110 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14111 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14112 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14113 echo $ECHO_N "(cached) $ECHO_C" >&6
14114 else
14115 cat >conftest.$ac_ext <<_ACEOF
14116 /* confdefs.h. */
14117 _ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 #include <setjmp.h>
14123 main ()
14125 sigjmp_buf buf;
14126 sigsetjmp( buf, 1 );
14127 siglongjmp( buf, 1 );
14129 return 0;
14131 _ACEOF
14132 rm -f conftest.$ac_objext conftest$ac_exeext
14133 if { (ac_try="$ac_link"
14134 case "(($ac_try" in
14135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14136 *) ac_try_echo=$ac_try;;
14137 esac
14138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14139 (eval "$ac_link") 2>conftest.er1
14140 ac_status=$?
14141 grep -v '^ *+' conftest.er1 >conftest.err
14142 rm -f conftest.er1
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } && {
14146 test -z "$ac_c_werror_flag" ||
14147 test ! -s conftest.err
14148 } && test -s conftest$ac_exeext &&
14149 $as_test_x conftest$ac_exeext; then
14150 ac_cv_c_sigsetjmp="yes"
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14155 ac_cv_c_sigsetjmp="no"
14158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14159 conftest$ac_exeext conftest.$ac_ext
14162 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14163 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14164 if test "$ac_cv_c_sigsetjmp" = "yes"
14165 then
14167 cat >>confdefs.h <<\_ACEOF
14168 #define HAVE_SIGSETJMP 1
14169 _ACEOF
14173 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14174 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14175 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178 cat >conftest.$ac_ext <<_ACEOF
14179 /* confdefs.h. */
14180 _ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14184 #define _GNU_SOURCE
14185 #include <pthread.h>
14187 typedef pthread_rwlock_t ac__type_new_;
14189 main ()
14191 if ((ac__type_new_ *) 0)
14192 return 0;
14193 if (sizeof (ac__type_new_))
14194 return 0;
14196 return 0;
14198 _ACEOF
14199 rm -f conftest.$ac_objext
14200 if { (ac_try="$ac_compile"
14201 case "(($ac_try" in
14202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14203 *) ac_try_echo=$ac_try;;
14204 esac
14205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14206 (eval "$ac_compile") 2>conftest.er1
14207 ac_status=$?
14208 grep -v '^ *+' conftest.er1 >conftest.err
14209 rm -f conftest.er1
14210 cat conftest.err >&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } && {
14213 test -z "$ac_c_werror_flag" ||
14214 test ! -s conftest.err
14215 } && test -s conftest.$ac_objext; then
14216 ac_cv_type_pthread_rwlock_t=yes
14217 else
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.$ac_ext >&5
14221 ac_cv_type_pthread_rwlock_t=no
14224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14226 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14227 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14228 if test $ac_cv_type_pthread_rwlock_t = yes; then
14230 cat >>confdefs.h <<_ACEOF
14231 #define HAVE_PTHREAD_RWLOCK_T 1
14232 _ACEOF
14236 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14237 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14238 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14239 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 else
14241 cat >conftest.$ac_ext <<_ACEOF
14242 /* confdefs.h. */
14243 _ACEOF
14244 cat confdefs.h >>conftest.$ac_ext
14245 cat >>conftest.$ac_ext <<_ACEOF
14246 /* end confdefs.h. */
14247 #define _GNU_SOURCE
14248 #include <pthread.h>
14250 typedef pthread_rwlockattr_t ac__type_new_;
14252 main ()
14254 if ((ac__type_new_ *) 0)
14255 return 0;
14256 if (sizeof (ac__type_new_))
14257 return 0;
14259 return 0;
14261 _ACEOF
14262 rm -f conftest.$ac_objext
14263 if { (ac_try="$ac_compile"
14264 case "(($ac_try" in
14265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14266 *) ac_try_echo=$ac_try;;
14267 esac
14268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14269 (eval "$ac_compile") 2>conftest.er1
14270 ac_status=$?
14271 grep -v '^ *+' conftest.er1 >conftest.err
14272 rm -f conftest.er1
14273 cat conftest.err >&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } && {
14276 test -z "$ac_c_werror_flag" ||
14277 test ! -s conftest.err
14278 } && test -s conftest.$ac_objext; then
14279 ac_cv_type_pthread_rwlockattr_t=yes
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_cv_type_pthread_rwlockattr_t=no
14287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14289 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14290 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14291 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14293 cat >>confdefs.h <<_ACEOF
14294 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14295 _ACEOF
14301 ac_wine_check_funcs_save_LIBS="$LIBS"
14302 LIBS="$LIBS $LIBPTHREAD"
14307 for ac_func in \
14308 pthread_attr_get_np \
14309 pthread_getattr_np \
14310 pthread_get_stackaddr_np \
14311 pthread_get_stacksize_np
14313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 else
14319 cat >conftest.$ac_ext <<_ACEOF
14320 /* confdefs.h. */
14321 _ACEOF
14322 cat confdefs.h >>conftest.$ac_ext
14323 cat >>conftest.$ac_ext <<_ACEOF
14324 /* end confdefs.h. */
14325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14327 #define $ac_func innocuous_$ac_func
14329 /* System header to define __stub macros and hopefully few prototypes,
14330 which can conflict with char $ac_func (); below.
14331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14332 <limits.h> exists even on freestanding compilers. */
14334 #ifdef __STDC__
14335 # include <limits.h>
14336 #else
14337 # include <assert.h>
14338 #endif
14340 #undef $ac_func
14342 /* Override any GCC internal prototype to avoid an error.
14343 Use char because int might match the return type of a GCC
14344 builtin and then its argument prototype would still apply. */
14345 #ifdef __cplusplus
14346 extern "C"
14347 #endif
14348 char $ac_func ();
14349 /* The GNU C library defines this for functions which it implements
14350 to always fail with ENOSYS. Some functions are actually named
14351 something starting with __ and the normal name is an alias. */
14352 #if defined __stub_$ac_func || defined __stub___$ac_func
14353 choke me
14354 #endif
14357 main ()
14359 return $ac_func ();
14361 return 0;
14363 _ACEOF
14364 rm -f conftest.$ac_objext conftest$ac_exeext
14365 if { (ac_try="$ac_link"
14366 case "(($ac_try" in
14367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14368 *) ac_try_echo=$ac_try;;
14369 esac
14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14371 (eval "$ac_link") 2>conftest.er1
14372 ac_status=$?
14373 grep -v '^ *+' conftest.er1 >conftest.err
14374 rm -f conftest.er1
14375 cat conftest.err >&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } && {
14378 test -z "$ac_c_werror_flag" ||
14379 test ! -s conftest.err
14380 } && test -s conftest$ac_exeext &&
14381 $as_test_x conftest$ac_exeext; then
14382 eval "$as_ac_var=yes"
14383 else
14384 echo "$as_me: failed program was:" >&5
14385 sed 's/^/| /' conftest.$ac_ext >&5
14387 eval "$as_ac_var=no"
14390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14391 conftest$ac_exeext conftest.$ac_ext
14393 ac_res=`eval echo '${'$as_ac_var'}'`
14394 { echo "$as_me:$LINENO: result: $ac_res" >&5
14395 echo "${ECHO_T}$ac_res" >&6; }
14396 if test `eval echo '${'$as_ac_var'}'` = yes; then
14397 cat >>confdefs.h <<_ACEOF
14398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14399 _ACEOF
14402 done
14404 LIBS="$ac_wine_check_funcs_save_LIBS"
14406 # Extract the first word of "esd-config", so it can be a program name with args.
14407 set dummy esd-config; ac_word=$2
14408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14410 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 else
14413 case $ESDCONFIG in
14414 [\\/]* | ?:[\\/]*)
14415 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14419 for as_dir in $PATH
14421 IFS=$as_save_IFS
14422 test -z "$as_dir" && as_dir=.
14423 for ac_exec_ext in '' $ac_executable_extensions; do
14424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14425 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14427 break 2
14429 done
14430 done
14431 IFS=$as_save_IFS
14434 esac
14436 ESDCONFIG=$ac_cv_path_ESDCONFIG
14437 if test -n "$ESDCONFIG"; then
14438 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14439 echo "${ECHO_T}$ESDCONFIG" >&6; }
14440 else
14441 { echo "$as_me:$LINENO: result: no" >&5
14442 echo "${ECHO_T}no" >&6; }
14446 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14447 then
14448 ESD_CFLAGS=""
14449 for i in `$ESDCONFIG --cflags`
14451 case "$i" in
14452 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14453 esac
14454 done
14455 ESD_LIBS=`$ESDCONFIG --libs`
14456 save_CFLAGS="$CFLAGS"
14457 CFLAGS="$CFLAGS $ESD_CFLAGS"
14458 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14459 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14460 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14462 else
14463 ac_check_lib_save_LIBS=$LIBS
14464 LIBS="-lesd $LIBS"
14465 cat >conftest.$ac_ext <<_ACEOF
14466 /* confdefs.h. */
14467 _ACEOF
14468 cat confdefs.h >>conftest.$ac_ext
14469 cat >>conftest.$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14475 #ifdef __cplusplus
14476 extern "C"
14477 #endif
14478 char esd_open_sound ();
14480 main ()
14482 return esd_open_sound ();
14484 return 0;
14486 _ACEOF
14487 rm -f conftest.$ac_objext conftest$ac_exeext
14488 if { (ac_try="$ac_link"
14489 case "(($ac_try" in
14490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14491 *) ac_try_echo=$ac_try;;
14492 esac
14493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14494 (eval "$ac_link") 2>conftest.er1
14495 ac_status=$?
14496 grep -v '^ *+' conftest.er1 >conftest.err
14497 rm -f conftest.er1
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } && {
14501 test -z "$ac_c_werror_flag" ||
14502 test ! -s conftest.err
14503 } && test -s conftest$ac_exeext &&
14504 $as_test_x conftest$ac_exeext; then
14505 ac_cv_lib_esd_esd_open_sound=yes
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14510 ac_cv_lib_esd_esd_open_sound=no
14513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14514 conftest$ac_exeext conftest.$ac_ext
14515 LIBS=$ac_check_lib_save_LIBS
14517 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14518 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14519 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14520 ESDLIBS=$ESD_LIBS
14522 ESDINCL=$ESD_CFLAGS
14525 cat >>confdefs.h <<\_ACEOF
14526 #define HAVE_ESD 1
14527 _ACEOF
14531 CFLAGS="$save_CFLAGS"
14534 ALSALIBS=""
14536 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14537 then
14538 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14539 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14540 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14542 else
14543 ac_check_lib_save_LIBS=$LIBS
14544 LIBS="-lasound $LIBS"
14545 cat >conftest.$ac_ext <<_ACEOF
14546 /* confdefs.h. */
14547 _ACEOF
14548 cat confdefs.h >>conftest.$ac_ext
14549 cat >>conftest.$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14555 #ifdef __cplusplus
14556 extern "C"
14557 #endif
14558 char snd_pcm_hw_params_get_access ();
14560 main ()
14562 return snd_pcm_hw_params_get_access ();
14564 return 0;
14566 _ACEOF
14567 rm -f conftest.$ac_objext conftest$ac_exeext
14568 if { (ac_try="$ac_link"
14569 case "(($ac_try" in
14570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14571 *) ac_try_echo=$ac_try;;
14572 esac
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_link") 2>conftest.er1
14575 ac_status=$?
14576 grep -v '^ *+' conftest.er1 >conftest.err
14577 rm -f conftest.er1
14578 cat conftest.err >&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } && {
14581 test -z "$ac_c_werror_flag" ||
14582 test ! -s conftest.err
14583 } && test -s conftest$ac_exeext &&
14584 $as_test_x conftest$ac_exeext; then
14585 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14586 else
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.$ac_ext >&5
14590 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14594 conftest$ac_exeext conftest.$ac_ext
14595 LIBS=$ac_check_lib_save_LIBS
14597 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14598 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14599 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14600 cat >conftest.$ac_ext <<_ACEOF
14601 /* confdefs.h. */
14602 _ACEOF
14603 cat confdefs.h >>conftest.$ac_ext
14604 cat >>conftest.$ac_ext <<_ACEOF
14605 /* end confdefs.h. */
14606 #ifdef HAVE_ALSA_ASOUNDLIB_H
14607 #include <alsa/asoundlib.h>
14608 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14609 #include <sys/asoundlib.h>
14610 #endif
14612 main ()
14614 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14616 return 0;
14618 _ACEOF
14619 rm -f conftest.$ac_objext
14620 if { (ac_try="$ac_compile"
14621 case "(($ac_try" in
14622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14623 *) ac_try_echo=$ac_try;;
14624 esac
14625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14626 (eval "$ac_compile") 2>conftest.er1
14627 ac_status=$?
14628 grep -v '^ *+' conftest.er1 >conftest.err
14629 rm -f conftest.er1
14630 cat conftest.err >&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); } && {
14633 test -z "$ac_c_werror_flag" ||
14634 test ! -s conftest.err
14635 } && test -s conftest.$ac_objext; then
14637 cat >>confdefs.h <<\_ACEOF
14638 #define HAVE_ALSA 1
14639 _ACEOF
14641 ALSALIBS="-lasound"
14642 else
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14654 AUDIOIOLIBS=""
14656 if test "$ac_cv_header_libaudioio_h" = "yes"
14657 then
14658 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14659 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14660 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14661 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 else
14663 ac_check_lib_save_LIBS=$LIBS
14664 LIBS="-laudioio $LIBS"
14665 cat >conftest.$ac_ext <<_ACEOF
14666 /* confdefs.h. */
14667 _ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14672 /* Override any GCC internal prototype to avoid an error.
14673 Use char because int might match the return type of a GCC
14674 builtin and then its argument prototype would still apply. */
14675 #ifdef __cplusplus
14676 extern "C"
14677 #endif
14678 char AudioIOGetVersion ();
14680 main ()
14682 return AudioIOGetVersion ();
14684 return 0;
14686 _ACEOF
14687 rm -f conftest.$ac_objext conftest$ac_exeext
14688 if { (ac_try="$ac_link"
14689 case "(($ac_try" in
14690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14691 *) ac_try_echo=$ac_try;;
14692 esac
14693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14694 (eval "$ac_link") 2>conftest.er1
14695 ac_status=$?
14696 grep -v '^ *+' conftest.er1 >conftest.err
14697 rm -f conftest.er1
14698 cat conftest.err >&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } && {
14701 test -z "$ac_c_werror_flag" ||
14702 test ! -s conftest.err
14703 } && test -s conftest$ac_exeext &&
14704 $as_test_x conftest$ac_exeext; then
14705 ac_cv_lib_audioio_AudioIOGetVersion=yes
14706 else
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14710 ac_cv_lib_audioio_AudioIOGetVersion=no
14713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14714 conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_check_lib_save_LIBS
14717 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14718 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14719 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14720 AUDIOIOLIBS="-laudioio"
14722 cat >>confdefs.h <<\_ACEOF
14723 #define HAVE_LIBAUDIOIO 1
14724 _ACEOF
14731 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14732 then
14733 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14734 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14735 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 else
14738 ac_check_soname_save_LIBS=$LIBS
14739 LIBS="-lcapi20 $LIBS"
14740 cat >conftest.$ac_ext <<_ACEOF
14741 /* confdefs.h. */
14742 _ACEOF
14743 cat confdefs.h >>conftest.$ac_ext
14744 cat >>conftest.$ac_ext <<_ACEOF
14745 /* end confdefs.h. */
14747 /* Override any GCC internal prototype to avoid an error.
14748 Use char because int might match the return type of a GCC
14749 builtin and then its argument prototype would still apply. */
14750 #ifdef __cplusplus
14751 extern "C"
14752 #endif
14753 char capi20_register ();
14755 main ()
14757 return capi20_register ();
14759 return 0;
14761 _ACEOF
14762 rm -f conftest.$ac_objext conftest$ac_exeext
14763 if { (ac_try="$ac_link"
14764 case "(($ac_try" in
14765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14766 *) ac_try_echo=$ac_try;;
14767 esac
14768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14769 (eval "$ac_link") 2>conftest.er1
14770 ac_status=$?
14771 grep -v '^ *+' conftest.er1 >conftest.err
14772 rm -f conftest.er1
14773 cat conftest.err >&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } && {
14776 test -z "$ac_c_werror_flag" ||
14777 test ! -s conftest.err
14778 } && test -s conftest$ac_exeext &&
14779 $as_test_x conftest$ac_exeext; then
14780 case "$LIBEXT" in
14781 dll) ;;
14782 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'` ;;
14783 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14784 esac
14785 else
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14793 conftest$ac_exeext conftest.$ac_ext
14794 LIBS=$ac_check_soname_save_LIBS
14796 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14797 { echo "$as_me:$LINENO: result: not found" >&5
14798 echo "${ECHO_T}not found" >&6; }
14800 else
14801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14802 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14804 cat >>confdefs.h <<_ACEOF
14805 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14806 _ACEOF
14812 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14813 case "x$with_capi" in
14814 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14815 xno) ;;
14816 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14817 This is an error since --with-capi was requested." >&5
14818 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14819 This is an error since --with-capi was requested." >&2;}
14820 { (exit 1); exit 1; }; } ;;
14821 esac
14825 if test "$ac_cv_header_cups_cups_h" = "yes"
14826 then
14827 { echo "$as_me:$LINENO: checking for -lcups" >&5
14828 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14829 if test "${ac_cv_lib_soname_cups+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 else
14832 ac_check_soname_save_LIBS=$LIBS
14833 LIBS="-lcups $LIBS"
14834 cat >conftest.$ac_ext <<_ACEOF
14835 /* confdefs.h. */
14836 _ACEOF
14837 cat confdefs.h >>conftest.$ac_ext
14838 cat >>conftest.$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14841 /* Override any GCC internal prototype to avoid an error.
14842 Use char because int might match the return type of a GCC
14843 builtin and then its argument prototype would still apply. */
14844 #ifdef __cplusplus
14845 extern "C"
14846 #endif
14847 char cupsGetDefault ();
14849 main ()
14851 return cupsGetDefault ();
14853 return 0;
14855 _ACEOF
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (ac_try="$ac_link"
14858 case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14861 esac
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_link") 2>conftest.er1
14864 ac_status=$?
14865 grep -v '^ *+' conftest.er1 >conftest.err
14866 rm -f conftest.er1
14867 cat conftest.err >&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } && {
14870 test -z "$ac_c_werror_flag" ||
14871 test ! -s conftest.err
14872 } && test -s conftest$ac_exeext &&
14873 $as_test_x conftest$ac_exeext; then
14874 case "$LIBEXT" in
14875 dll) ;;
14876 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'` ;;
14877 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14878 esac
14879 else
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14887 conftest$ac_exeext conftest.$ac_ext
14888 LIBS=$ac_check_soname_save_LIBS
14890 if test "x$ac_cv_lib_soname_cups" = "x"; then
14891 { echo "$as_me:$LINENO: result: not found" >&5
14892 echo "${ECHO_T}not found" >&6; }
14894 else
14895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14896 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14898 cat >>confdefs.h <<_ACEOF
14899 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14900 _ACEOF
14906 if test "x$ac_cv_lib_soname_cups" = "x"; then
14907 case "x$with_cups" in
14908 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14909 xno) ;;
14910 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14911 This is an error since --with-cups was requested." >&5
14912 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14913 This is an error since --with-cups was requested." >&2;}
14914 { (exit 1); exit 1; }; } ;;
14915 esac
14919 if test "$ac_cv_header_jack_jack_h" = "yes"
14920 then
14921 { echo "$as_me:$LINENO: checking for -ljack" >&5
14922 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14923 if test "${ac_cv_lib_soname_jack+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14925 else
14926 ac_check_soname_save_LIBS=$LIBS
14927 LIBS="-ljack $LIBS"
14928 cat >conftest.$ac_ext <<_ACEOF
14929 /* confdefs.h. */
14930 _ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14938 #ifdef __cplusplus
14939 extern "C"
14940 #endif
14941 char jack_client_new ();
14943 main ()
14945 return jack_client_new ();
14947 return 0;
14949 _ACEOF
14950 rm -f conftest.$ac_objext conftest$ac_exeext
14951 if { (ac_try="$ac_link"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14955 esac
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_link") 2>conftest.er1
14958 ac_status=$?
14959 grep -v '^ *+' conftest.er1 >conftest.err
14960 rm -f conftest.er1
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest$ac_exeext &&
14967 $as_test_x conftest$ac_exeext; then
14968 case "$LIBEXT" in
14969 dll) ;;
14970 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'` ;;
14971 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14972 esac
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_soname_save_LIBS
14984 if test "x$ac_cv_lib_soname_jack" = "x"; then
14985 { echo "$as_me:$LINENO: result: not found" >&5
14986 echo "${ECHO_T}not found" >&6; }
14988 else
14989 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14990 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14992 cat >>confdefs.h <<_ACEOF
14993 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14994 _ACEOF
15001 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15002 then
15003 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15004 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15005 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15007 else
15008 ac_check_soname_save_LIBS=$LIBS
15009 LIBS="-lfontconfig $LIBS"
15010 cat >conftest.$ac_ext <<_ACEOF
15011 /* confdefs.h. */
15012 _ACEOF
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15020 #ifdef __cplusplus
15021 extern "C"
15022 #endif
15023 char FcInit ();
15025 main ()
15027 return FcInit ();
15029 return 0;
15031 _ACEOF
15032 rm -f conftest.$ac_objext conftest$ac_exeext
15033 if { (ac_try="$ac_link"
15034 case "(($ac_try" in
15035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15036 *) ac_try_echo=$ac_try;;
15037 esac
15038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15039 (eval "$ac_link") 2>conftest.er1
15040 ac_status=$?
15041 grep -v '^ *+' conftest.er1 >conftest.err
15042 rm -f conftest.er1
15043 cat conftest.err >&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); } && {
15046 test -z "$ac_c_werror_flag" ||
15047 test ! -s conftest.err
15048 } && test -s conftest$ac_exeext &&
15049 $as_test_x conftest$ac_exeext; then
15050 case "$LIBEXT" in
15051 dll) ;;
15052 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'` ;;
15053 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15054 esac
15055 else
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15063 conftest$ac_exeext conftest.$ac_ext
15064 LIBS=$ac_check_soname_save_LIBS
15066 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15067 { echo "$as_me:$LINENO: result: not found" >&5
15068 echo "${ECHO_T}not found" >&6; }
15070 else
15071 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15072 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15074 cat >>confdefs.h <<_ACEOF
15075 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15076 _ACEOF
15081 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15082 then
15083 ac_save_CPPFLAGS="$CPPFLAGS"
15084 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15085 $as_unset ac_cv_header_fontconfig_fontconfig_h
15087 for ac_header in fontconfig/fontconfig.h
15089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 ac_res=`eval echo '${'$as_ac_Header'}'`
15097 { echo "$as_me:$LINENO: result: $ac_res" >&5
15098 echo "${ECHO_T}$ac_res" >&6; }
15099 else
15100 # Is the header compilable?
15101 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15102 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15103 cat >conftest.$ac_ext <<_ACEOF
15104 /* confdefs.h. */
15105 _ACEOF
15106 cat confdefs.h >>conftest.$ac_ext
15107 cat >>conftest.$ac_ext <<_ACEOF
15108 /* end confdefs.h. */
15109 $ac_includes_default
15110 #include <$ac_header>
15111 _ACEOF
15112 rm -f conftest.$ac_objext
15113 if { (ac_try="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15117 esac
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_compile") 2>conftest.er1
15120 ac_status=$?
15121 grep -v '^ *+' conftest.er1 >conftest.err
15122 rm -f conftest.er1
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest.$ac_objext; then
15129 ac_header_compiler=yes
15130 else
15131 echo "$as_me: failed program was:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15134 ac_header_compiler=no
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15138 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15139 echo "${ECHO_T}$ac_header_compiler" >&6; }
15141 # Is the header present?
15142 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15144 cat >conftest.$ac_ext <<_ACEOF
15145 /* confdefs.h. */
15146 _ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 #include <$ac_header>
15151 _ACEOF
15152 if { (ac_try="$ac_cpp conftest.$ac_ext"
15153 case "(($ac_try" in
15154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15155 *) ac_try_echo=$ac_try;;
15156 esac
15157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15159 ac_status=$?
15160 grep -v '^ *+' conftest.er1 >conftest.err
15161 rm -f conftest.er1
15162 cat conftest.err >&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } >/dev/null && {
15165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15166 test ! -s conftest.err
15167 }; then
15168 ac_header_preproc=yes
15169 else
15170 echo "$as_me: failed program was:" >&5
15171 sed 's/^/| /' conftest.$ac_ext >&5
15173 ac_header_preproc=no
15176 rm -f conftest.err conftest.$ac_ext
15177 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15178 echo "${ECHO_T}$ac_header_preproc" >&6; }
15180 # So? What about this header?
15181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15182 yes:no: )
15183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15187 ac_header_preproc=yes
15189 no:yes:* )
15190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15202 ( cat <<\_ASBOX
15203 ## ------------------------------------ ##
15204 ## Report this to wine-devel@winehq.org ##
15205 ## ------------------------------------ ##
15206 _ASBOX
15207 ) | sed "s/^/$as_me: WARNING: /" >&2
15209 esac
15210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 eval "$as_ac_Header=\$ac_header_preproc"
15217 ac_res=`eval echo '${'$as_ac_Header'}'`
15218 { echo "$as_me:$LINENO: result: $ac_res" >&5
15219 echo "${ECHO_T}$ac_res" >&6; }
15222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15223 cat >>confdefs.h <<_ACEOF
15224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15225 _ACEOF
15229 done
15231 CPPFLAGS="$ac_save_CPPFLAGS"
15232 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15233 then
15234 FONTCONFIGINCL="$X_CFLAGS"
15236 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15237 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15238 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15240 else
15241 ac_check_soname_save_LIBS=$LIBS
15242 LIBS="-lfontconfig $X_LIBS $LIBS"
15243 cat >conftest.$ac_ext <<_ACEOF
15244 /* confdefs.h. */
15245 _ACEOF
15246 cat confdefs.h >>conftest.$ac_ext
15247 cat >>conftest.$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15250 /* Override any GCC internal prototype to avoid an error.
15251 Use char because int might match the return type of a GCC
15252 builtin and then its argument prototype would still apply. */
15253 #ifdef __cplusplus
15254 extern "C"
15255 #endif
15256 char FcInit ();
15258 main ()
15260 return FcInit ();
15262 return 0;
15264 _ACEOF
15265 rm -f conftest.$ac_objext conftest$ac_exeext
15266 if { (ac_try="$ac_link"
15267 case "(($ac_try" in
15268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15269 *) ac_try_echo=$ac_try;;
15270 esac
15271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15272 (eval "$ac_link") 2>conftest.er1
15273 ac_status=$?
15274 grep -v '^ *+' conftest.er1 >conftest.err
15275 rm -f conftest.er1
15276 cat conftest.err >&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } && {
15279 test -z "$ac_c_werror_flag" ||
15280 test ! -s conftest.err
15281 } && test -s conftest$ac_exeext &&
15282 $as_test_x conftest$ac_exeext; then
15283 case "$LIBEXT" in
15284 dll) ;;
15285 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'` ;;
15286 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15287 esac
15288 else
15289 echo "$as_me: failed program was:" >&5
15290 sed 's/^/| /' conftest.$ac_ext >&5
15295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15296 conftest$ac_exeext conftest.$ac_ext
15297 LIBS=$ac_check_soname_save_LIBS
15299 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15300 { echo "$as_me:$LINENO: result: not found" >&5
15301 echo "${ECHO_T}not found" >&6; }
15303 else
15304 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15305 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15307 cat >>confdefs.h <<_ACEOF
15308 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15309 _ACEOF
15316 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15317 case "x$with_fontconfig" in
15318 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15319 xno) ;;
15320 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15321 This is an error since --with-fontconfig was requested." >&5
15322 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15323 This is an error since --with-fontconfig was requested." >&2;}
15324 { (exit 1); exit 1; }; } ;;
15325 esac
15329 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15330 then
15331 { echo "$as_me:$LINENO: checking for -lssl" >&5
15332 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15333 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 else
15336 ac_check_soname_save_LIBS=$LIBS
15337 LIBS="-lssl $LIBS"
15338 cat >conftest.$ac_ext <<_ACEOF
15339 /* confdefs.h. */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15345 /* Override any GCC internal prototype to avoid an error.
15346 Use char because int might match the return type of a GCC
15347 builtin and then its argument prototype would still apply. */
15348 #ifdef __cplusplus
15349 extern "C"
15350 #endif
15351 char SSL_library_init ();
15353 main ()
15355 return SSL_library_init ();
15357 return 0;
15359 _ACEOF
15360 rm -f conftest.$ac_objext conftest$ac_exeext
15361 if { (ac_try="$ac_link"
15362 case "(($ac_try" in
15363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15364 *) ac_try_echo=$ac_try;;
15365 esac
15366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15367 (eval "$ac_link") 2>conftest.er1
15368 ac_status=$?
15369 grep -v '^ *+' conftest.er1 >conftest.err
15370 rm -f conftest.er1
15371 cat conftest.err >&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } && {
15374 test -z "$ac_c_werror_flag" ||
15375 test ! -s conftest.err
15376 } && test -s conftest$ac_exeext &&
15377 $as_test_x conftest$ac_exeext; then
15378 case "$LIBEXT" in
15379 dll) ;;
15380 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'` ;;
15381 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15382 esac
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15391 conftest$ac_exeext conftest.$ac_ext
15392 LIBS=$ac_check_soname_save_LIBS
15394 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15395 { echo "$as_me:$LINENO: result: not found" >&5
15396 echo "${ECHO_T}not found" >&6; }
15398 else
15399 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15400 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15402 cat >>confdefs.h <<_ACEOF
15403 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15404 _ACEOF
15409 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15410 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15411 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 else
15414 ac_check_soname_save_LIBS=$LIBS
15415 LIBS="-lcrypto $LIBS"
15416 cat >conftest.$ac_ext <<_ACEOF
15417 /* confdefs.h. */
15418 _ACEOF
15419 cat confdefs.h >>conftest.$ac_ext
15420 cat >>conftest.$ac_ext <<_ACEOF
15421 /* end confdefs.h. */
15423 /* Override any GCC internal prototype to avoid an error.
15424 Use char because int might match the return type of a GCC
15425 builtin and then its argument prototype would still apply. */
15426 #ifdef __cplusplus
15427 extern "C"
15428 #endif
15429 char BIO_new_socket ();
15431 main ()
15433 return BIO_new_socket ();
15435 return 0;
15437 _ACEOF
15438 rm -f conftest.$ac_objext conftest$ac_exeext
15439 if { (ac_try="$ac_link"
15440 case "(($ac_try" in
15441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15442 *) ac_try_echo=$ac_try;;
15443 esac
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_link") 2>conftest.er1
15446 ac_status=$?
15447 grep -v '^ *+' conftest.er1 >conftest.err
15448 rm -f conftest.er1
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } && {
15452 test -z "$ac_c_werror_flag" ||
15453 test ! -s conftest.err
15454 } && test -s conftest$ac_exeext &&
15455 $as_test_x conftest$ac_exeext; then
15456 case "$LIBEXT" in
15457 dll) ;;
15458 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'` ;;
15459 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15460 esac
15461 else
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.$ac_ext >&5
15468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15469 conftest$ac_exeext conftest.$ac_ext
15470 LIBS=$ac_check_soname_save_LIBS
15472 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15473 { echo "$as_me:$LINENO: result: not found" >&5
15474 echo "${ECHO_T}not found" >&6; }
15476 else
15477 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15478 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15480 cat >>confdefs.h <<_ACEOF
15481 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15482 _ACEOF
15488 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15489 case "x$with_openssl" in
15490 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15491 xno) ;;
15492 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15493 This is an error since --with-openssl was requested." >&5
15494 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15495 This is an error since --with-openssl was requested." >&2;}
15496 { (exit 1); exit 1; }; } ;;
15497 esac
15501 if test "$ac_cv_header_jpeglib_h" = "yes"
15502 then
15503 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15504 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15505 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 else
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-ljpeg $LIBS"
15510 cat >conftest.$ac_ext <<_ACEOF
15511 /* confdefs.h. */
15512 _ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15517 /* Override any GCC internal prototype to avoid an error.
15518 Use char because int might match the return type of a GCC
15519 builtin and then its argument prototype would still apply. */
15520 #ifdef __cplusplus
15521 extern "C"
15522 #endif
15523 char jpeg_start_decompress ();
15525 main ()
15527 return jpeg_start_decompress ();
15529 return 0;
15531 _ACEOF
15532 rm -f conftest.$ac_objext conftest$ac_exeext
15533 if { (ac_try="$ac_link"
15534 case "(($ac_try" in
15535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15536 *) ac_try_echo=$ac_try;;
15537 esac
15538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15539 (eval "$ac_link") 2>conftest.er1
15540 ac_status=$?
15541 grep -v '^ *+' conftest.er1 >conftest.err
15542 rm -f conftest.er1
15543 cat conftest.err >&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } && {
15546 test -z "$ac_c_werror_flag" ||
15547 test ! -s conftest.err
15548 } && test -s conftest$ac_exeext &&
15549 $as_test_x conftest$ac_exeext; then
15550 case "$LIBEXT" in
15551 dll) ;;
15552 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'` ;;
15553 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15554 esac
15555 else
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.$ac_ext >&5
15562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15563 conftest$ac_exeext conftest.$ac_ext
15564 LIBS=$ac_check_soname_save_LIBS
15566 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15567 { echo "$as_me:$LINENO: result: not found" >&5
15568 echo "${ECHO_T}not found" >&6; }
15570 else
15571 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15572 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15574 cat >>confdefs.h <<_ACEOF
15575 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15576 _ACEOF
15582 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15583 case "x$with_jpeg" in
15584 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15585 xno) ;;
15586 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15587 This is an error since --with-jpeg was requested." >&5
15588 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15589 This is an error since --with-jpeg was requested." >&2;}
15590 { (exit 1); exit 1; }; } ;;
15591 esac
15595 if test "$ac_cv_header_png_h" = "yes"
15596 then
15597 { echo "$as_me:$LINENO: checking for -lpng" >&5
15598 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15599 if test "${ac_cv_lib_soname_png+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602 ac_check_soname_save_LIBS=$LIBS
15603 LIBS="-lpng $LIBS"
15604 cat >conftest.$ac_ext <<_ACEOF
15605 /* confdefs.h. */
15606 _ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15614 #ifdef __cplusplus
15615 extern "C"
15616 #endif
15617 char png_create_read_struct ();
15619 main ()
15621 return png_create_read_struct ();
15623 return 0;
15625 _ACEOF
15626 rm -f conftest.$ac_objext conftest$ac_exeext
15627 if { (ac_try="$ac_link"
15628 case "(($ac_try" in
15629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15630 *) ac_try_echo=$ac_try;;
15631 esac
15632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15633 (eval "$ac_link") 2>conftest.er1
15634 ac_status=$?
15635 grep -v '^ *+' conftest.er1 >conftest.err
15636 rm -f conftest.er1
15637 cat conftest.err >&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } && {
15640 test -z "$ac_c_werror_flag" ||
15641 test ! -s conftest.err
15642 } && test -s conftest$ac_exeext &&
15643 $as_test_x conftest$ac_exeext; then
15644 case "$LIBEXT" in
15645 dll) ;;
15646 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'` ;;
15647 *) 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'` ;;
15648 esac
15649 else
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15657 conftest$ac_exeext conftest.$ac_ext
15658 LIBS=$ac_check_soname_save_LIBS
15660 if test "x$ac_cv_lib_soname_png" = "x"; then
15661 { echo "$as_me:$LINENO: result: not found" >&5
15662 echo "${ECHO_T}not found" >&6; }
15664 else
15665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15666 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15668 cat >>confdefs.h <<_ACEOF
15669 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15670 _ACEOF
15676 if test "x$ac_cv_lib_soname_png" = "x"; then
15677 case "x$with_png" in
15678 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15679 xno) ;;
15680 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15681 This is an error since --with-png was requested." >&5
15682 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15683 This is an error since --with-png was requested." >&2;}
15684 { (exit 1); exit 1; }; } ;;
15685 esac
15689 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15690 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15691 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else
15694 ac_check_soname_save_LIBS=$LIBS
15695 LIBS="-lodbc $LIBS"
15696 cat >conftest.$ac_ext <<_ACEOF
15697 /* confdefs.h. */
15698 _ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15706 #ifdef __cplusplus
15707 extern "C"
15708 #endif
15709 char SQLConnect ();
15711 main ()
15713 return SQLConnect ();
15715 return 0;
15717 _ACEOF
15718 rm -f conftest.$ac_objext conftest$ac_exeext
15719 if { (ac_try="$ac_link"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15723 esac
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_link") 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest$ac_exeext &&
15735 $as_test_x conftest$ac_exeext; then
15736 case "$LIBEXT" in
15737 dll) ;;
15738 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15739 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15740 esac
15741 else
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_soname_save_LIBS
15752 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15753 { echo "$as_me:$LINENO: result: not found" >&5
15754 echo "${ECHO_T}not found" >&6; }
15755 cat >>confdefs.h <<_ACEOF
15756 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15757 _ACEOF
15759 else
15760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15761 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15763 cat >>confdefs.h <<_ACEOF
15764 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15765 _ACEOF
15771 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15772 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15773 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15774 "$ac_cv_header_soundcard_h" != "yes" -a \
15775 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15776 then
15777 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15781 EXTRACFLAGS=""
15783 if test "x${GCC}" = "xyes"
15784 then
15785 EXTRACFLAGS="-Wall -pipe"
15787 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15788 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15789 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15791 else
15792 if test "$cross_compiling" = yes; then
15793 ac_cv_c_gcc_strength_bug="yes"
15794 else
15795 cat >conftest.$ac_ext <<_ACEOF
15796 /* confdefs.h. */
15797 _ACEOF
15798 cat confdefs.h >>conftest.$ac_ext
15799 cat >>conftest.$ac_ext <<_ACEOF
15800 /* end confdefs.h. */
15801 int L[4] = {0,1,2,3};
15803 main ()
15805 static int Array[3];
15806 unsigned int B = 3;
15807 int i;
15808 for(i=0; i<B; i++) Array[i] = i - 3;
15809 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15810 L[i] = 4;
15811 exit( Array[1] != -2 || L[2] != 3)
15813 return 0;
15815 _ACEOF
15816 rm -f conftest$ac_exeext
15817 if { (ac_try="$ac_link"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15821 esac
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_link") 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15827 { (case "(($ac_try" in
15828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15829 *) ac_try_echo=$ac_try;;
15830 esac
15831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15832 (eval "$ac_try") 2>&5
15833 ac_status=$?
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); }; }; then
15836 ac_cv_c_gcc_strength_bug="no"
15837 else
15838 echo "$as_me: program exited with status $ac_status" >&5
15839 echo "$as_me: failed program was:" >&5
15840 sed 's/^/| /' conftest.$ac_ext >&5
15842 ( exit $ac_status )
15843 ac_cv_c_gcc_strength_bug="yes"
15845 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15850 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15851 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15852 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15853 then
15854 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15858 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15859 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15860 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 else
15863 ac_wine_try_cflags_saved=$CFLAGS
15864 CFLAGS="$CFLAGS -fshort-wchar"
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15873 main ()
15877 return 0;
15879 _ACEOF
15880 rm -f conftest.$ac_objext conftest$ac_exeext
15881 if { (ac_try="$ac_link"
15882 case "(($ac_try" in
15883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15885 esac
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_link") 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && {
15894 test -z "$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15896 } && test -s conftest$ac_exeext &&
15897 $as_test_x conftest$ac_exeext; then
15898 ac_cv_cflags__fshort_wchar=yes
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15903 ac_cv_cflags__fshort_wchar=no
15906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15907 conftest$ac_exeext conftest.$ac_ext
15908 CFLAGS=$ac_wine_try_cflags_saved
15910 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15911 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15912 if test $ac_cv_cflags__fshort_wchar = yes; then
15914 cat >>confdefs.h <<\_ACEOF
15915 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15916 _ACEOF
15920 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15921 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15922 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15923 echo $ECHO_N "(cached) $ECHO_C" >&6
15924 else
15925 ac_wine_try_cflags_saved=$CFLAGS
15926 CFLAGS="$CFLAGS -fno-strict-aliasing"
15927 cat >conftest.$ac_ext <<_ACEOF
15928 /* confdefs.h. */
15929 _ACEOF
15930 cat confdefs.h >>conftest.$ac_ext
15931 cat >>conftest.$ac_ext <<_ACEOF
15932 /* end confdefs.h. */
15935 main ()
15939 return 0;
15941 _ACEOF
15942 rm -f conftest.$ac_objext conftest$ac_exeext
15943 if { (ac_try="$ac_link"
15944 case "(($ac_try" in
15945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15946 *) ac_try_echo=$ac_try;;
15947 esac
15948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15949 (eval "$ac_link") 2>conftest.er1
15950 ac_status=$?
15951 grep -v '^ *+' conftest.er1 >conftest.err
15952 rm -f conftest.er1
15953 cat conftest.err >&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); } && {
15956 test -z "$ac_c_werror_flag" ||
15957 test ! -s conftest.err
15958 } && test -s conftest$ac_exeext &&
15959 $as_test_x conftest$ac_exeext; then
15960 ac_cv_cflags__fno_strict_aliasing=yes
15961 else
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15965 ac_cv_cflags__fno_strict_aliasing=no
15968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15969 conftest$ac_exeext conftest.$ac_ext
15970 CFLAGS=$ac_wine_try_cflags_saved
15972 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15973 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15974 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15975 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15978 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15979 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15980 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 else
15983 ac_wine_try_cflags_saved=$CFLAGS
15984 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15985 cat >conftest.$ac_ext <<_ACEOF
15986 /* confdefs.h. */
15987 _ACEOF
15988 cat confdefs.h >>conftest.$ac_ext
15989 cat >>conftest.$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15993 main ()
15997 return 0;
15999 _ACEOF
16000 rm -f conftest.$ac_objext conftest$ac_exeext
16001 if { (ac_try="$ac_link"
16002 case "(($ac_try" in
16003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16004 *) ac_try_echo=$ac_try;;
16005 esac
16006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16007 (eval "$ac_link") 2>conftest.er1
16008 ac_status=$?
16009 grep -v '^ *+' conftest.er1 >conftest.err
16010 rm -f conftest.er1
16011 cat conftest.err >&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } && {
16014 test -z "$ac_c_werror_flag" ||
16015 test ! -s conftest.err
16016 } && test -s conftest$ac_exeext &&
16017 $as_test_x conftest$ac_exeext; then
16018 ac_cv_cflags__Wdeclaration_after_statement=yes
16019 else
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16023 ac_cv_cflags__Wdeclaration_after_statement=no
16026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16027 conftest$ac_exeext conftest.$ac_ext
16028 CFLAGS=$ac_wine_try_cflags_saved
16030 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16031 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16032 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16033 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16036 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16037 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16038 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16039 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 else
16041 ac_wine_try_cflags_saved=$CFLAGS
16042 CFLAGS="$CFLAGS -Wwrite-strings"
16043 cat >conftest.$ac_ext <<_ACEOF
16044 /* confdefs.h. */
16045 _ACEOF
16046 cat confdefs.h >>conftest.$ac_ext
16047 cat >>conftest.$ac_ext <<_ACEOF
16048 /* end confdefs.h. */
16051 main ()
16055 return 0;
16057 _ACEOF
16058 rm -f conftest.$ac_objext conftest$ac_exeext
16059 if { (ac_try="$ac_link"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16063 esac
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_link") 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest$ac_exeext &&
16075 $as_test_x conftest$ac_exeext; then
16076 ac_cv_cflags__Wwrite_strings=yes
16077 else
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.$ac_ext >&5
16081 ac_cv_cflags__Wwrite_strings=no
16084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16085 conftest$ac_exeext conftest.$ac_ext
16086 CFLAGS=$ac_wine_try_cflags_saved
16088 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16089 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16090 if test $ac_cv_cflags__Wwrite_strings = yes; then
16091 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16094 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16095 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16096 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 else
16099 ac_wine_try_cflags_saved=$CFLAGS
16100 CFLAGS="$CFLAGS -Wtype-limits"
16101 cat >conftest.$ac_ext <<_ACEOF
16102 /* confdefs.h. */
16103 _ACEOF
16104 cat confdefs.h >>conftest.$ac_ext
16105 cat >>conftest.$ac_ext <<_ACEOF
16106 /* end confdefs.h. */
16109 main ()
16113 return 0;
16115 _ACEOF
16116 rm -f conftest.$ac_objext conftest$ac_exeext
16117 if { (ac_try="$ac_link"
16118 case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16121 esac
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_link") 2>conftest.er1
16124 ac_status=$?
16125 grep -v '^ *+' conftest.er1 >conftest.err
16126 rm -f conftest.er1
16127 cat conftest.err >&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } && {
16130 test -z "$ac_c_werror_flag" ||
16131 test ! -s conftest.err
16132 } && test -s conftest$ac_exeext &&
16133 $as_test_x conftest$ac_exeext; then
16134 ac_cv_cflags__Wtype_limits=yes
16135 else
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.$ac_ext >&5
16139 ac_cv_cflags__Wtype_limits=no
16142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16143 conftest$ac_exeext conftest.$ac_ext
16144 CFLAGS=$ac_wine_try_cflags_saved
16146 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16147 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16148 if test $ac_cv_cflags__Wtype_limits = yes; then
16149 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16153 saved_CFLAGS="$CFLAGS"
16154 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16155 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16156 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16157 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16158 echo $ECHO_N "(cached) $ECHO_C" >&6
16159 else
16160 cat >conftest.$ac_ext <<_ACEOF
16161 /* confdefs.h. */
16162 _ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 #include <string.h>
16168 main ()
16172 return 0;
16174 _ACEOF
16175 rm -f conftest.$ac_objext
16176 if { (ac_try="$ac_compile"
16177 case "(($ac_try" in
16178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16179 *) ac_try_echo=$ac_try;;
16180 esac
16181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16182 (eval "$ac_compile") 2>conftest.er1
16183 ac_status=$?
16184 grep -v '^ *+' conftest.er1 >conftest.err
16185 rm -f conftest.er1
16186 cat conftest.err >&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } && {
16189 test -z "$ac_c_werror_flag" ||
16190 test ! -s conftest.err
16191 } && test -s conftest.$ac_objext; then
16192 ac_cv_c_string_h_warnings=no
16193 else
16194 echo "$as_me: failed program was:" >&5
16195 sed 's/^/| /' conftest.$ac_ext >&5
16197 ac_cv_c_string_h_warnings=yes
16200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16202 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16203 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16204 CFLAGS="$saved_CFLAGS"
16205 if test "$ac_cv_c_string_h_warnings" = "no"
16206 then
16207 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16210 BUILTINFLAG=""
16212 saved_CFLAGS="$CFLAGS"
16213 CFLAGS="$CFLAGS -Werror"
16214 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16215 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16216 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 else
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16227 main ()
16229 int iswlower(unsigned short);
16231 return 0;
16233 _ACEOF
16234 rm -f conftest.$ac_objext
16235 if { (ac_try="$ac_compile"
16236 case "(($ac_try" in
16237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16238 *) ac_try_echo=$ac_try;;
16239 esac
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_compile") 2>conftest.er1
16242 ac_status=$?
16243 grep -v '^ *+' conftest.er1 >conftest.err
16244 rm -f conftest.er1
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } && {
16248 test -z "$ac_c_werror_flag" ||
16249 test ! -s conftest.err
16250 } && test -s conftest.$ac_objext; then
16251 ac_cv_c_builtin_wchar_ctype=no
16252 else
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16256 ac_cv_c_builtin_wchar_ctype=yes
16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16261 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16262 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16263 CFLAGS="$saved_CFLAGS"
16264 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16265 then
16266 BUILTINFLAG="-fno-builtin"
16271 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16272 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16273 if test "${ac_cv_asm_func_def+set}" = set; then
16274 echo $ECHO_N "(cached) $ECHO_C" >&6
16275 else
16276 cat >conftest.$ac_ext <<_ACEOF
16277 /* confdefs.h. */
16278 _ACEOF
16279 cat confdefs.h >>conftest.$ac_ext
16280 cat >>conftest.$ac_ext <<_ACEOF
16281 /* end confdefs.h. */
16284 main ()
16286 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16288 return 0;
16290 _ACEOF
16291 rm -f conftest.$ac_objext conftest$ac_exeext
16292 if { (ac_try="$ac_link"
16293 case "(($ac_try" in
16294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16295 *) ac_try_echo=$ac_try;;
16296 esac
16297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16298 (eval "$ac_link") 2>conftest.er1
16299 ac_status=$?
16300 grep -v '^ *+' conftest.er1 >conftest.err
16301 rm -f conftest.er1
16302 cat conftest.err >&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } && {
16305 test -z "$ac_c_werror_flag" ||
16306 test ! -s conftest.err
16307 } && test -s conftest$ac_exeext &&
16308 $as_test_x conftest$ac_exeext; then
16309 ac_cv_asm_func_def=".def"
16310 else
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16314 cat >conftest.$ac_ext <<_ACEOF
16315 /* confdefs.h. */
16316 _ACEOF
16317 cat confdefs.h >>conftest.$ac_ext
16318 cat >>conftest.$ac_ext <<_ACEOF
16319 /* end confdefs.h. */
16322 main ()
16324 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16326 return 0;
16328 _ACEOF
16329 rm -f conftest.$ac_objext conftest$ac_exeext
16330 if { (ac_try="$ac_link"
16331 case "(($ac_try" in
16332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16333 *) ac_try_echo=$ac_try;;
16334 esac
16335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16336 (eval "$ac_link") 2>conftest.er1
16337 ac_status=$?
16338 grep -v '^ *+' conftest.er1 >conftest.err
16339 rm -f conftest.er1
16340 cat conftest.err >&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } && {
16343 test -z "$ac_c_werror_flag" ||
16344 test ! -s conftest.err
16345 } && test -s conftest$ac_exeext &&
16346 $as_test_x conftest$ac_exeext; then
16347 ac_cv_asm_func_def=".type @function"
16348 else
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.$ac_ext >&5
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16360 main ()
16362 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16364 return 0;
16366 _ACEOF
16367 rm -f conftest.$ac_objext conftest$ac_exeext
16368 if { (ac_try="$ac_link"
16369 case "(($ac_try" in
16370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16372 esac
16373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16374 (eval "$ac_link") 2>conftest.er1
16375 ac_status=$?
16376 grep -v '^ *+' conftest.er1 >conftest.err
16377 rm -f conftest.er1
16378 cat conftest.err >&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && {
16381 test -z "$ac_c_werror_flag" ||
16382 test ! -s conftest.err
16383 } && test -s conftest$ac_exeext &&
16384 $as_test_x conftest$ac_exeext; then
16385 ac_cv_asm_func_def=".type 2"
16386 else
16387 echo "$as_me: failed program was:" >&5
16388 sed 's/^/| /' conftest.$ac_ext >&5
16390 ac_cv_asm_func_def="unknown"
16393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16394 conftest$ac_exeext conftest.$ac_ext
16397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16398 conftest$ac_exeext conftest.$ac_ext
16401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16402 conftest$ac_exeext conftest.$ac_ext
16404 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16405 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16409 case "$ac_cv_asm_func_def" in
16410 ".def")
16411 cat >>confdefs.h <<\_ACEOF
16412 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16413 _ACEOF
16415 ".type @function")
16416 cat >>confdefs.h <<\_ACEOF
16417 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16418 _ACEOF
16420 ".type 2")
16421 cat >>confdefs.h <<\_ACEOF
16422 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16423 _ACEOF
16426 cat >>confdefs.h <<\_ACEOF
16427 #define __ASM_FUNC(name) ""
16428 _ACEOF
16430 esac
16433 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16434 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16435 if test "${ac_cv_c_extern_prefix+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 else
16438 cat >conftest.$ac_ext <<_ACEOF
16439 /* confdefs.h. */
16440 _ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444 extern int ac_test;
16446 main ()
16448 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16450 return 0;
16452 _ACEOF
16453 rm -f conftest.$ac_objext conftest$ac_exeext
16454 if { (ac_try="$ac_link"
16455 case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16458 esac
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_link") 2>conftest.er1
16461 ac_status=$?
16462 grep -v '^ *+' conftest.er1 >conftest.err
16463 rm -f conftest.er1
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } && {
16467 test -z "$ac_c_werror_flag" ||
16468 test ! -s conftest.err
16469 } && test -s conftest$ac_exeext &&
16470 $as_test_x conftest$ac_exeext; then
16471 ac_cv_c_extern_prefix="yes"
16472 else
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16476 ac_cv_c_extern_prefix="no"
16479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16480 conftest$ac_exeext conftest.$ac_ext
16482 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16483 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16487 if test "$ac_cv_c_extern_prefix" = "yes"
16488 then
16489 cat >>confdefs.h <<\_ACEOF
16490 #define __ASM_NAME(name) "_" name
16491 _ACEOF
16493 else
16494 cat >>confdefs.h <<\_ACEOF
16495 #define __ASM_NAME(name) name
16496 _ACEOF
16501 LDPATH=""
16503 case $build_os in
16504 cygwin*|mingw32*)
16505 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16507 darwin*|macosx*)
16509 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16510 then
16511 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16515 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16517 esac
16519 case $host_os in
16520 mingw32*)
16521 CRTLIBS="-lmsvcrt"
16523 SOCKETLIBS="-lws2_32"
16526 esac
16528 MAIN_BINARY="wine-pthread"
16529 case $host_cpu in
16530 *i[3456789]86*)
16531 case $host_os in
16532 linux* | k*bsd*-gnu)
16533 MAIN_BINARY="wine-glibc"
16535 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16537 freebsd*)
16538 MAIN_BINARY="wine-freebsd"
16540 EXTRA_BINARIES="wine-pthread"
16542 esac
16544 esac
16616 for ac_func in \
16617 _pclose \
16618 _popen \
16619 _snprintf \
16620 _spawnvp \
16621 _strdup \
16622 _stricmp \
16623 _strnicmp \
16624 _strtoi64 \
16625 _strtoui64 \
16626 _vsnprintf \
16627 asctime_r \
16628 chsize \
16629 clone \
16630 dlopen \
16631 epoll_create \
16632 ffs \
16633 finite \
16634 fork \
16635 fpclass \
16636 fstatfs \
16637 fstatvfs \
16638 ftruncate \
16639 futimes \
16640 futimesat \
16641 getdirentries \
16642 getopt_long \
16643 getpagesize \
16644 getpwuid \
16645 gettid \
16646 gettimeofday \
16647 getuid \
16648 inet_pton \
16649 kqueue \
16650 lstat \
16651 memmove \
16652 mmap \
16653 pclose \
16654 poll \
16655 popen \
16656 prctl \
16657 pread \
16658 pwrite \
16659 readlink \
16660 rfork \
16661 sched_yield \
16662 select \
16663 setproctitle \
16664 setrlimit \
16665 settimeofday \
16666 sigaltstack \
16667 sigprocmask \
16668 snprintf \
16669 spawnvp \
16670 statfs \
16671 statvfs \
16672 strcasecmp \
16673 strdup \
16674 strerror \
16675 strncasecmp \
16676 strtold \
16677 strtoll \
16678 strtoull \
16679 tcgetattr \
16680 thr_kill2 \
16681 timegm \
16682 usleep \
16683 vsnprintf \
16684 wait4 \
16685 waitpid \
16688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 else
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16702 #define $ac_func innocuous_$ac_func
16704 /* System header to define __stub macros and hopefully few prototypes,
16705 which can conflict with char $ac_func (); below.
16706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16707 <limits.h> exists even on freestanding compilers. */
16709 #ifdef __STDC__
16710 # include <limits.h>
16711 #else
16712 # include <assert.h>
16713 #endif
16715 #undef $ac_func
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16720 #ifdef __cplusplus
16721 extern "C"
16722 #endif
16723 char $ac_func ();
16724 /* The GNU C library defines this for functions which it implements
16725 to always fail with ENOSYS. Some functions are actually named
16726 something starting with __ and the normal name is an alias. */
16727 #if defined __stub_$ac_func || defined __stub___$ac_func
16728 choke me
16729 #endif
16732 main ()
16734 return $ac_func ();
16736 return 0;
16738 _ACEOF
16739 rm -f conftest.$ac_objext conftest$ac_exeext
16740 if { (ac_try="$ac_link"
16741 case "(($ac_try" in
16742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16743 *) ac_try_echo=$ac_try;;
16744 esac
16745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16746 (eval "$ac_link") 2>conftest.er1
16747 ac_status=$?
16748 grep -v '^ *+' conftest.er1 >conftest.err
16749 rm -f conftest.er1
16750 cat conftest.err >&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } && {
16753 test -z "$ac_c_werror_flag" ||
16754 test ! -s conftest.err
16755 } && test -s conftest$ac_exeext &&
16756 $as_test_x conftest$ac_exeext; then
16757 eval "$as_ac_var=yes"
16758 else
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16762 eval "$as_ac_var=no"
16765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16766 conftest$ac_exeext conftest.$ac_ext
16768 ac_res=`eval echo '${'$as_ac_var'}'`
16769 { echo "$as_me:$LINENO: result: $ac_res" >&5
16770 echo "${ECHO_T}$ac_res" >&6; }
16771 if test `eval echo '${'$as_ac_var'}'` = yes; then
16772 cat >>confdefs.h <<_ACEOF
16773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16774 _ACEOF
16777 done
16780 if test "$ac_cv_func_dlopen" = no
16781 then
16782 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16783 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16784 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 ac_check_lib_save_LIBS=$LIBS
16788 LIBS="-ldl $LIBS"
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16796 /* Override any GCC internal prototype to avoid an error.
16797 Use char because int might match the return type of a GCC
16798 builtin and then its argument prototype would still apply. */
16799 #ifdef __cplusplus
16800 extern "C"
16801 #endif
16802 char dlopen ();
16804 main ()
16806 return dlopen ();
16808 return 0;
16810 _ACEOF
16811 rm -f conftest.$ac_objext conftest$ac_exeext
16812 if { (ac_try="$ac_link"
16813 case "(($ac_try" in
16814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16815 *) ac_try_echo=$ac_try;;
16816 esac
16817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16818 (eval "$ac_link") 2>conftest.er1
16819 ac_status=$?
16820 grep -v '^ *+' conftest.er1 >conftest.err
16821 rm -f conftest.er1
16822 cat conftest.err >&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } && {
16825 test -z "$ac_c_werror_flag" ||
16826 test ! -s conftest.err
16827 } && test -s conftest$ac_exeext &&
16828 $as_test_x conftest$ac_exeext; then
16829 ac_cv_lib_dl_dlopen=yes
16830 else
16831 echo "$as_me: failed program was:" >&5
16832 sed 's/^/| /' conftest.$ac_ext >&5
16834 ac_cv_lib_dl_dlopen=no
16837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16838 conftest$ac_exeext conftest.$ac_ext
16839 LIBS=$ac_check_lib_save_LIBS
16841 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16842 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16843 if test $ac_cv_lib_dl_dlopen = yes; then
16844 cat >>confdefs.h <<\_ACEOF
16845 #define HAVE_DLOPEN 1
16846 _ACEOF
16847 LIBDL="-ldl"
16852 ac_wine_check_funcs_save_LIBS="$LIBS"
16853 LIBS="$LIBS $LIBDL"
16855 for ac_func in dladdr
16857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16858 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16860 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 else
16863 cat >conftest.$ac_ext <<_ACEOF
16864 /* confdefs.h. */
16865 _ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16871 #define $ac_func innocuous_$ac_func
16873 /* System header to define __stub macros and hopefully few prototypes,
16874 which can conflict with char $ac_func (); below.
16875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16876 <limits.h> exists even on freestanding compilers. */
16878 #ifdef __STDC__
16879 # include <limits.h>
16880 #else
16881 # include <assert.h>
16882 #endif
16884 #undef $ac_func
16886 /* Override any GCC internal prototype to avoid an error.
16887 Use char because int might match the return type of a GCC
16888 builtin and then its argument prototype would still apply. */
16889 #ifdef __cplusplus
16890 extern "C"
16891 #endif
16892 char $ac_func ();
16893 /* The GNU C library defines this for functions which it implements
16894 to always fail with ENOSYS. Some functions are actually named
16895 something starting with __ and the normal name is an alias. */
16896 #if defined __stub_$ac_func || defined __stub___$ac_func
16897 choke me
16898 #endif
16901 main ()
16903 return $ac_func ();
16905 return 0;
16907 _ACEOF
16908 rm -f conftest.$ac_objext conftest$ac_exeext
16909 if { (ac_try="$ac_link"
16910 case "(($ac_try" in
16911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16912 *) ac_try_echo=$ac_try;;
16913 esac
16914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16915 (eval "$ac_link") 2>conftest.er1
16916 ac_status=$?
16917 grep -v '^ *+' conftest.er1 >conftest.err
16918 rm -f conftest.er1
16919 cat conftest.err >&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } && {
16922 test -z "$ac_c_werror_flag" ||
16923 test ! -s conftest.err
16924 } && test -s conftest$ac_exeext &&
16925 $as_test_x conftest$ac_exeext; then
16926 eval "$as_ac_var=yes"
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 eval "$as_ac_var=no"
16934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16935 conftest$ac_exeext conftest.$ac_ext
16937 ac_res=`eval echo '${'$as_ac_var'}'`
16938 { echo "$as_me:$LINENO: result: $ac_res" >&5
16939 echo "${ECHO_T}$ac_res" >&6; }
16940 if test `eval echo '${'$as_ac_var'}'` = yes; then
16941 cat >>confdefs.h <<_ACEOF
16942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16943 _ACEOF
16946 done
16948 LIBS="$ac_wine_check_funcs_save_LIBS"
16950 if test "$ac_cv_func_poll" = no
16951 then
16952 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16953 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16954 if test "${ac_cv_lib_poll_poll+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 else
16957 ac_check_lib_save_LIBS=$LIBS
16958 LIBS="-lpoll $LIBS"
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16969 #ifdef __cplusplus
16970 extern "C"
16971 #endif
16972 char poll ();
16974 main ()
16976 return poll ();
16978 return 0;
16980 _ACEOF
16981 rm -f conftest.$ac_objext conftest$ac_exeext
16982 if { (ac_try="$ac_link"
16983 case "(($ac_try" in
16984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16985 *) ac_try_echo=$ac_try;;
16986 esac
16987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16988 (eval "$ac_link") 2>conftest.er1
16989 ac_status=$?
16990 grep -v '^ *+' conftest.er1 >conftest.err
16991 rm -f conftest.er1
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } && {
16995 test -z "$ac_c_werror_flag" ||
16996 test ! -s conftest.err
16997 } && test -s conftest$ac_exeext &&
16998 $as_test_x conftest$ac_exeext; then
16999 ac_cv_lib_poll_poll=yes
17000 else
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17004 ac_cv_lib_poll_poll=no
17007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17008 conftest$ac_exeext conftest.$ac_ext
17009 LIBS=$ac_check_lib_save_LIBS
17011 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17012 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17013 if test $ac_cv_lib_poll_poll = yes; then
17014 cat >>confdefs.h <<\_ACEOF
17015 #define HAVE_POLL 1
17016 _ACEOF
17017 LIBPOLL="-lpoll"
17023 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17024 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17025 if test "${ac_cv_search_gethostbyname+set}" = set; then
17026 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 else
17028 ac_func_search_save_LIBS=$LIBS
17029 cat >conftest.$ac_ext <<_ACEOF
17030 /* confdefs.h. */
17031 _ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17039 #ifdef __cplusplus
17040 extern "C"
17041 #endif
17042 char gethostbyname ();
17044 main ()
17046 return gethostbyname ();
17048 return 0;
17050 _ACEOF
17051 for ac_lib in '' nsl; do
17052 if test -z "$ac_lib"; then
17053 ac_res="none required"
17054 else
17055 ac_res=-l$ac_lib
17056 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17058 rm -f conftest.$ac_objext conftest$ac_exeext
17059 if { (ac_try="$ac_link"
17060 case "(($ac_try" in
17061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17062 *) ac_try_echo=$ac_try;;
17063 esac
17064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17065 (eval "$ac_link") 2>conftest.er1
17066 ac_status=$?
17067 grep -v '^ *+' conftest.er1 >conftest.err
17068 rm -f conftest.er1
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } && {
17072 test -z "$ac_c_werror_flag" ||
17073 test ! -s conftest.err
17074 } && test -s conftest$ac_exeext &&
17075 $as_test_x conftest$ac_exeext; then
17076 ac_cv_search_gethostbyname=$ac_res
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17085 conftest$ac_exeext
17086 if test "${ac_cv_search_gethostbyname+set}" = set; then
17087 break
17089 done
17090 if test "${ac_cv_search_gethostbyname+set}" = set; then
17092 else
17093 ac_cv_search_gethostbyname=no
17095 rm conftest.$ac_ext
17096 LIBS=$ac_func_search_save_LIBS
17098 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17099 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17100 ac_res=$ac_cv_search_gethostbyname
17101 if test "$ac_res" != no; then
17102 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17107 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17108 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17109 if test "${ac_cv_search_connect+set}" = set; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 else
17112 ac_func_search_save_LIBS=$LIBS
17113 cat >conftest.$ac_ext <<_ACEOF
17114 /* confdefs.h. */
17115 _ACEOF
17116 cat confdefs.h >>conftest.$ac_ext
17117 cat >>conftest.$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17120 /* Override any GCC internal prototype to avoid an error.
17121 Use char because int might match the return type of a GCC
17122 builtin and then its argument prototype would still apply. */
17123 #ifdef __cplusplus
17124 extern "C"
17125 #endif
17126 char connect ();
17128 main ()
17130 return connect ();
17132 return 0;
17134 _ACEOF
17135 for ac_lib in '' socket; do
17136 if test -z "$ac_lib"; then
17137 ac_res="none required"
17138 else
17139 ac_res=-l$ac_lib
17140 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17142 rm -f conftest.$ac_objext conftest$ac_exeext
17143 if { (ac_try="$ac_link"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17147 esac
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_link") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest$ac_exeext &&
17159 $as_test_x conftest$ac_exeext; then
17160 ac_cv_search_connect=$ac_res
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17169 conftest$ac_exeext
17170 if test "${ac_cv_search_connect+set}" = set; then
17171 break
17173 done
17174 if test "${ac_cv_search_connect+set}" = set; then
17176 else
17177 ac_cv_search_connect=no
17179 rm conftest.$ac_ext
17180 LIBS=$ac_func_search_save_LIBS
17182 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17183 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17184 ac_res=$ac_cv_search_connect
17185 if test "$ac_res" != no; then
17186 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17191 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17192 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17193 if test "${ac_cv_search_inet_aton+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 else
17196 ac_func_search_save_LIBS=$LIBS
17197 cat >conftest.$ac_ext <<_ACEOF
17198 /* confdefs.h. */
17199 _ACEOF
17200 cat confdefs.h >>conftest.$ac_ext
17201 cat >>conftest.$ac_ext <<_ACEOF
17202 /* end confdefs.h. */
17204 /* Override any GCC internal prototype to avoid an error.
17205 Use char because int might match the return type of a GCC
17206 builtin and then its argument prototype would still apply. */
17207 #ifdef __cplusplus
17208 extern "C"
17209 #endif
17210 char inet_aton ();
17212 main ()
17214 return inet_aton ();
17216 return 0;
17218 _ACEOF
17219 for ac_lib in '' resolv; do
17220 if test -z "$ac_lib"; then
17221 ac_res="none required"
17222 else
17223 ac_res=-l$ac_lib
17224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17226 rm -f conftest.$ac_objext conftest$ac_exeext
17227 if { (ac_try="$ac_link"
17228 case "(($ac_try" in
17229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17231 esac
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_link") 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_c_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest$ac_exeext &&
17243 $as_test_x conftest$ac_exeext; then
17244 ac_cv_search_inet_aton=$ac_res
17245 else
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17253 conftest$ac_exeext
17254 if test "${ac_cv_search_inet_aton+set}" = set; then
17255 break
17257 done
17258 if test "${ac_cv_search_inet_aton+set}" = set; then
17260 else
17261 ac_cv_search_inet_aton=no
17263 rm conftest.$ac_ext
17264 LIBS=$ac_func_search_save_LIBS
17266 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17267 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17268 ac_res=$ac_cv_search_inet_aton
17269 if test "$ac_res" != no; then
17270 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17283 for ac_func in \
17284 getaddrinfo \
17285 getnameinfo \
17286 getnetbyname \
17287 getprotobyname \
17288 getprotobynumber \
17289 getservbyport \
17290 inet_network \
17291 sendmsg \
17294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17297 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17308 #define $ac_func innocuous_$ac_func
17310 /* System header to define __stub macros and hopefully few prototypes,
17311 which can conflict with char $ac_func (); below.
17312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17313 <limits.h> exists even on freestanding compilers. */
17315 #ifdef __STDC__
17316 # include <limits.h>
17317 #else
17318 # include <assert.h>
17319 #endif
17321 #undef $ac_func
17323 /* Override any GCC internal prototype to avoid an error.
17324 Use char because int might match the return type of a GCC
17325 builtin and then its argument prototype would still apply. */
17326 #ifdef __cplusplus
17327 extern "C"
17328 #endif
17329 char $ac_func ();
17330 /* The GNU C library defines this for functions which it implements
17331 to always fail with ENOSYS. Some functions are actually named
17332 something starting with __ and the normal name is an alias. */
17333 #if defined __stub_$ac_func || defined __stub___$ac_func
17334 choke me
17335 #endif
17338 main ()
17340 return $ac_func ();
17342 return 0;
17344 _ACEOF
17345 rm -f conftest.$ac_objext conftest$ac_exeext
17346 if { (ac_try="$ac_link"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17350 esac
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_link") 2>conftest.er1
17353 ac_status=$?
17354 grep -v '^ *+' conftest.er1 >conftest.err
17355 rm -f conftest.er1
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest$ac_exeext &&
17362 $as_test_x conftest$ac_exeext; then
17363 eval "$as_ac_var=yes"
17364 else
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 eval "$as_ac_var=no"
17371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17372 conftest$ac_exeext conftest.$ac_ext
17374 ac_res=`eval echo '${'$as_ac_var'}'`
17375 { echo "$as_me:$LINENO: result: $ac_res" >&5
17376 echo "${ECHO_T}$ac_res" >&6; }
17377 if test `eval echo '${'$as_ac_var'}'` = yes; then
17378 cat >>confdefs.h <<_ACEOF
17379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17380 _ACEOF
17383 done
17387 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17388 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17389 if test "${ac_cv_c_const+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 else
17392 cat >conftest.$ac_ext <<_ACEOF
17393 /* confdefs.h. */
17394 _ACEOF
17395 cat confdefs.h >>conftest.$ac_ext
17396 cat >>conftest.$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17400 main ()
17402 /* FIXME: Include the comments suggested by Paul. */
17403 #ifndef __cplusplus
17404 /* Ultrix mips cc rejects this. */
17405 typedef int charset[2];
17406 const charset cs;
17407 /* SunOS 4.1.1 cc rejects this. */
17408 char const *const *pcpcc;
17409 char **ppc;
17410 /* NEC SVR4.0.2 mips cc rejects this. */
17411 struct point {int x, y;};
17412 static struct point const zero = {0,0};
17413 /* AIX XL C 1.02.0.0 rejects this.
17414 It does not let you subtract one const X* pointer from another in
17415 an arm of an if-expression whose if-part is not a constant
17416 expression */
17417 const char *g = "string";
17418 pcpcc = &g + (g ? g-g : 0);
17419 /* HPUX 7.0 cc rejects these. */
17420 ++pcpcc;
17421 ppc = (char**) pcpcc;
17422 pcpcc = (char const *const *) ppc;
17423 { /* SCO 3.2v4 cc rejects this. */
17424 char *t;
17425 char const *s = 0 ? (char *) 0 : (char const *) 0;
17427 *t++ = 0;
17428 if (s) return 0;
17430 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17431 int x[] = {25, 17};
17432 const int *foo = &x[0];
17433 ++foo;
17435 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17436 typedef const int *iptr;
17437 iptr p = 0;
17438 ++p;
17440 { /* AIX XL C 1.02.0.0 rejects this saying
17441 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17442 struct s { int j; const int *ap[3]; };
17443 struct s *b; b->j = 5;
17445 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17446 const int foo = 10;
17447 if (!foo) return 0;
17449 return !cs[0] && !zero.x;
17450 #endif
17453 return 0;
17455 _ACEOF
17456 rm -f conftest.$ac_objext
17457 if { (ac_try="$ac_compile"
17458 case "(($ac_try" in
17459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17460 *) ac_try_echo=$ac_try;;
17461 esac
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_compile") 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } && {
17470 test -z "$ac_c_werror_flag" ||
17471 test ! -s conftest.err
17472 } && test -s conftest.$ac_objext; then
17473 ac_cv_c_const=yes
17474 else
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 ac_cv_c_const=no
17481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17483 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17484 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17485 if test $ac_cv_c_const = no; then
17487 cat >>confdefs.h <<\_ACEOF
17488 #define const
17489 _ACEOF
17493 { echo "$as_me:$LINENO: checking for inline" >&5
17494 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17495 if test "${ac_cv_c_inline+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498 ac_cv_c_inline=no
17499 for ac_kw in inline __inline__ __inline; do
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506 #ifndef __cplusplus
17507 typedef int foo_t;
17508 static $ac_kw foo_t static_foo () {return 0; }
17509 $ac_kw foo_t foo () {return 0; }
17510 #endif
17512 _ACEOF
17513 rm -f conftest.$ac_objext
17514 if { (ac_try="$ac_compile"
17515 case "(($ac_try" in
17516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17517 *) ac_try_echo=$ac_try;;
17518 esac
17519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17520 (eval "$ac_compile") 2>conftest.er1
17521 ac_status=$?
17522 grep -v '^ *+' conftest.er1 >conftest.err
17523 rm -f conftest.er1
17524 cat conftest.err >&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } && {
17527 test -z "$ac_c_werror_flag" ||
17528 test ! -s conftest.err
17529 } && test -s conftest.$ac_objext; then
17530 ac_cv_c_inline=$ac_kw
17531 else
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17539 test "$ac_cv_c_inline" != no && break
17540 done
17543 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17544 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17547 case $ac_cv_c_inline in
17548 inline | yes) ;;
17550 case $ac_cv_c_inline in
17551 no) ac_val=;;
17552 *) ac_val=$ac_cv_c_inline;;
17553 esac
17554 cat >>confdefs.h <<_ACEOF
17555 #ifndef __cplusplus
17556 #define inline $ac_val
17557 #endif
17558 _ACEOF
17560 esac
17562 { echo "$as_me:$LINENO: checking for mode_t" >&5
17563 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17564 if test "${ac_cv_type_mode_t+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 else
17567 cat >conftest.$ac_ext <<_ACEOF
17568 /* confdefs.h. */
17569 _ACEOF
17570 cat confdefs.h >>conftest.$ac_ext
17571 cat >>conftest.$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17573 $ac_includes_default
17574 typedef mode_t ac__type_new_;
17576 main ()
17578 if ((ac__type_new_ *) 0)
17579 return 0;
17580 if (sizeof (ac__type_new_))
17581 return 0;
17583 return 0;
17585 _ACEOF
17586 rm -f conftest.$ac_objext
17587 if { (ac_try="$ac_compile"
17588 case "(($ac_try" in
17589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17591 esac
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_compile") 2>conftest.er1
17594 ac_status=$?
17595 grep -v '^ *+' conftest.er1 >conftest.err
17596 rm -f conftest.er1
17597 cat conftest.err >&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); } && {
17600 test -z "$ac_c_werror_flag" ||
17601 test ! -s conftest.err
17602 } && test -s conftest.$ac_objext; then
17603 ac_cv_type_mode_t=yes
17604 else
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17608 ac_cv_type_mode_t=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17614 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17615 if test $ac_cv_type_mode_t = yes; then
17617 cat >>confdefs.h <<_ACEOF
17618 #define HAVE_MODE_T 1
17619 _ACEOF
17623 { echo "$as_me:$LINENO: checking for off_t" >&5
17624 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17625 if test "${ac_cv_type_off_t+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 else
17628 cat >conftest.$ac_ext <<_ACEOF
17629 /* confdefs.h. */
17630 _ACEOF
17631 cat confdefs.h >>conftest.$ac_ext
17632 cat >>conftest.$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17634 $ac_includes_default
17635 typedef off_t ac__type_new_;
17637 main ()
17639 if ((ac__type_new_ *) 0)
17640 return 0;
17641 if (sizeof (ac__type_new_))
17642 return 0;
17644 return 0;
17646 _ACEOF
17647 rm -f conftest.$ac_objext
17648 if { (ac_try="$ac_compile"
17649 case "(($ac_try" in
17650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17652 esac
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_compile") 2>conftest.er1
17655 ac_status=$?
17656 grep -v '^ *+' conftest.er1 >conftest.err
17657 rm -f conftest.er1
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } && {
17661 test -z "$ac_c_werror_flag" ||
17662 test ! -s conftest.err
17663 } && test -s conftest.$ac_objext; then
17664 ac_cv_type_off_t=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 ac_cv_type_off_t=no
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17674 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17675 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17676 if test $ac_cv_type_off_t = yes; then
17678 cat >>confdefs.h <<_ACEOF
17679 #define HAVE_OFF_T 1
17680 _ACEOF
17684 { echo "$as_me:$LINENO: checking for pid_t" >&5
17685 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17686 if test "${ac_cv_type_pid_t+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689 cat >conftest.$ac_ext <<_ACEOF
17690 /* confdefs.h. */
17691 _ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17695 $ac_includes_default
17696 typedef pid_t ac__type_new_;
17698 main ()
17700 if ((ac__type_new_ *) 0)
17701 return 0;
17702 if (sizeof (ac__type_new_))
17703 return 0;
17705 return 0;
17707 _ACEOF
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17712 *) ac_try_echo=$ac_try;;
17713 esac
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17716 ac_status=$?
17717 grep -v '^ *+' conftest.er1 >conftest.err
17718 rm -f conftest.er1
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_c_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.$ac_objext; then
17725 ac_cv_type_pid_t=yes
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17730 ac_cv_type_pid_t=no
17733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17736 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17737 if test $ac_cv_type_pid_t = yes; then
17739 cat >>confdefs.h <<_ACEOF
17740 #define HAVE_PID_T 1
17741 _ACEOF
17745 { echo "$as_me:$LINENO: checking for size_t" >&5
17746 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17747 if test "${ac_cv_type_size_t+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750 cat >conftest.$ac_ext <<_ACEOF
17751 /* confdefs.h. */
17752 _ACEOF
17753 cat confdefs.h >>conftest.$ac_ext
17754 cat >>conftest.$ac_ext <<_ACEOF
17755 /* end confdefs.h. */
17756 $ac_includes_default
17757 typedef size_t ac__type_new_;
17759 main ()
17761 if ((ac__type_new_ *) 0)
17762 return 0;
17763 if (sizeof (ac__type_new_))
17764 return 0;
17766 return 0;
17768 _ACEOF
17769 rm -f conftest.$ac_objext
17770 if { (ac_try="$ac_compile"
17771 case "(($ac_try" in
17772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17773 *) ac_try_echo=$ac_try;;
17774 esac
17775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17776 (eval "$ac_compile") 2>conftest.er1
17777 ac_status=$?
17778 grep -v '^ *+' conftest.er1 >conftest.err
17779 rm -f conftest.er1
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } && {
17783 test -z "$ac_c_werror_flag" ||
17784 test ! -s conftest.err
17785 } && test -s conftest.$ac_objext; then
17786 ac_cv_type_size_t=yes
17787 else
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 ac_cv_type_size_t=no
17794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17796 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17797 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17798 if test $ac_cv_type_size_t = yes; then
17800 cat >>confdefs.h <<_ACEOF
17801 #define HAVE_SIZE_T 1
17802 _ACEOF
17806 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17807 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17808 if test "${ac_cv_type_ssize_t+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 else
17811 cat >conftest.$ac_ext <<_ACEOF
17812 /* confdefs.h. */
17813 _ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17817 $ac_includes_default
17818 typedef ssize_t ac__type_new_;
17820 main ()
17822 if ((ac__type_new_ *) 0)
17823 return 0;
17824 if (sizeof (ac__type_new_))
17825 return 0;
17827 return 0;
17829 _ACEOF
17830 rm -f conftest.$ac_objext
17831 if { (ac_try="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17834 *) ac_try_echo=$ac_try;;
17835 esac
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17838 ac_status=$?
17839 grep -v '^ *+' conftest.er1 >conftest.err
17840 rm -f conftest.er1
17841 cat conftest.err >&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.$ac_objext; then
17847 ac_cv_type_ssize_t=yes
17848 else
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17852 ac_cv_type_ssize_t=no
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17858 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17859 if test $ac_cv_type_ssize_t = yes; then
17861 cat >>confdefs.h <<_ACEOF
17862 #define HAVE_SSIZE_T 1
17863 _ACEOF
17867 { echo "$as_me:$LINENO: checking for long long" >&5
17868 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17869 if test "${ac_cv_type_long_long+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 $ac_includes_default
17879 typedef long long ac__type_new_;
17881 main ()
17883 if ((ac__type_new_ *) 0)
17884 return 0;
17885 if (sizeof (ac__type_new_))
17886 return 0;
17888 return 0;
17890 _ACEOF
17891 rm -f conftest.$ac_objext
17892 if { (ac_try="$ac_compile"
17893 case "(($ac_try" in
17894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17895 *) ac_try_echo=$ac_try;;
17896 esac
17897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17898 (eval "$ac_compile") 2>conftest.er1
17899 ac_status=$?
17900 grep -v '^ *+' conftest.er1 >conftest.err
17901 rm -f conftest.er1
17902 cat conftest.err >&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); } && {
17905 test -z "$ac_c_werror_flag" ||
17906 test ! -s conftest.err
17907 } && test -s conftest.$ac_objext; then
17908 ac_cv_type_long_long=yes
17909 else
17910 echo "$as_me: failed program was:" >&5
17911 sed 's/^/| /' conftest.$ac_ext >&5
17913 ac_cv_type_long_long=no
17916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17919 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17920 if test $ac_cv_type_long_long = yes; then
17922 cat >>confdefs.h <<_ACEOF
17923 #define HAVE_LONG_LONG 1
17924 _ACEOF
17928 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17929 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17930 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17932 else
17933 cat >conftest.$ac_ext <<_ACEOF
17934 /* confdefs.h. */
17935 _ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 $ac_includes_default
17940 typedef fsblkcnt_t ac__type_new_;
17942 main ()
17944 if ((ac__type_new_ *) 0)
17945 return 0;
17946 if (sizeof (ac__type_new_))
17947 return 0;
17949 return 0;
17951 _ACEOF
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17957 esac
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 ac_cv_type_fsblkcnt_t=yes
17970 else
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17974 ac_cv_type_fsblkcnt_t=no
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17980 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17981 if test $ac_cv_type_fsblkcnt_t = yes; then
17983 cat >>confdefs.h <<_ACEOF
17984 #define HAVE_FSBLKCNT_T 1
17985 _ACEOF
17989 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17990 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17991 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17993 else
17994 cat >conftest.$ac_ext <<_ACEOF
17995 /* confdefs.h. */
17996 _ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 $ac_includes_default
18001 typedef fsfilcnt_t ac__type_new_;
18003 main ()
18005 if ((ac__type_new_ *) 0)
18006 return 0;
18007 if (sizeof (ac__type_new_))
18008 return 0;
18010 return 0;
18012 _ACEOF
18013 rm -f conftest.$ac_objext
18014 if { (ac_try="$ac_compile"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18018 esac
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_compile") 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest.$ac_objext; then
18030 ac_cv_type_fsfilcnt_t=yes
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18035 ac_cv_type_fsfilcnt_t=no
18038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18040 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18041 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18042 if test $ac_cv_type_fsfilcnt_t = yes; then
18044 cat >>confdefs.h <<_ACEOF
18045 #define HAVE_FSFILCNT_T 1
18046 _ACEOF
18051 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18052 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18053 if test "${ac_cv_type_sigset_t+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 else
18056 cat >conftest.$ac_ext <<_ACEOF
18057 /* confdefs.h. */
18058 _ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 #include <signal.h>
18064 typedef sigset_t ac__type_new_;
18066 main ()
18068 if ((ac__type_new_ *) 0)
18069 return 0;
18070 if (sizeof (ac__type_new_))
18071 return 0;
18073 return 0;
18075 _ACEOF
18076 rm -f conftest.$ac_objext
18077 if { (ac_try="$ac_compile"
18078 case "(($ac_try" in
18079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18080 *) ac_try_echo=$ac_try;;
18081 esac
18082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18083 (eval "$ac_compile") 2>conftest.er1
18084 ac_status=$?
18085 grep -v '^ *+' conftest.er1 >conftest.err
18086 rm -f conftest.er1
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } && {
18090 test -z "$ac_c_werror_flag" ||
18091 test ! -s conftest.err
18092 } && test -s conftest.$ac_objext; then
18093 ac_cv_type_sigset_t=yes
18094 else
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18098 ac_cv_type_sigset_t=no
18101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18103 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18104 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18105 if test $ac_cv_type_sigset_t = yes; then
18107 cat >>confdefs.h <<_ACEOF
18108 #define HAVE_SIGSET_T 1
18109 _ACEOF
18114 { echo "$as_me:$LINENO: checking for request_sense" >&5
18115 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18116 if test "${ac_cv_type_request_sense+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18118 else
18119 cat >conftest.$ac_ext <<_ACEOF
18120 /* confdefs.h. */
18121 _ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #include <linux/cdrom.h>
18127 typedef request_sense ac__type_new_;
18129 main ()
18131 if ((ac__type_new_ *) 0)
18132 return 0;
18133 if (sizeof (ac__type_new_))
18134 return 0;
18136 return 0;
18138 _ACEOF
18139 rm -f conftest.$ac_objext
18140 if { (ac_try="$ac_compile"
18141 case "(($ac_try" in
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18143 *) ac_try_echo=$ac_try;;
18144 esac
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18146 (eval "$ac_compile") 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } && {
18153 test -z "$ac_c_werror_flag" ||
18154 test ! -s conftest.err
18155 } && test -s conftest.$ac_objext; then
18156 ac_cv_type_request_sense=yes
18157 else
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18161 ac_cv_type_request_sense=no
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18166 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18167 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18168 if test $ac_cv_type_request_sense = yes; then
18170 cat >>confdefs.h <<_ACEOF
18171 #define HAVE_REQUEST_SENSE 1
18172 _ACEOF
18178 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18179 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18180 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18181 echo $ECHO_N "(cached) $ECHO_C" >&6
18182 else
18183 cat >conftest.$ac_ext <<_ACEOF
18184 /* confdefs.h. */
18185 _ACEOF
18186 cat confdefs.h >>conftest.$ac_ext
18187 cat >>conftest.$ac_ext <<_ACEOF
18188 /* end confdefs.h. */
18189 #ifdef HAVE_LINUX_INPUT_H
18190 #include <linux/input.h>
18191 #endif
18194 main ()
18196 static struct ff_effect ac_aggr;
18197 if (ac_aggr.direction)
18198 return 0;
18200 return 0;
18202 _ACEOF
18203 rm -f conftest.$ac_objext
18204 if { (ac_try="$ac_compile"
18205 case "(($ac_try" in
18206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18208 esac
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_compile") 2>conftest.er1
18211 ac_status=$?
18212 grep -v '^ *+' conftest.er1 >conftest.err
18213 rm -f conftest.er1
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } && {
18217 test -z "$ac_c_werror_flag" ||
18218 test ! -s conftest.err
18219 } && test -s conftest.$ac_objext; then
18220 ac_cv_member_struct_ff_effect_direction=yes
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 cat >conftest.$ac_ext <<_ACEOF
18226 /* confdefs.h. */
18227 _ACEOF
18228 cat confdefs.h >>conftest.$ac_ext
18229 cat >>conftest.$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 #ifdef HAVE_LINUX_INPUT_H
18232 #include <linux/input.h>
18233 #endif
18236 main ()
18238 static struct ff_effect ac_aggr;
18239 if (sizeof ac_aggr.direction)
18240 return 0;
18242 return 0;
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18250 esac
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18253 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18262 ac_cv_member_struct_ff_effect_direction=yes
18263 else
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.$ac_ext >&5
18267 ac_cv_member_struct_ff_effect_direction=no
18270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18276 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18277 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18279 cat >>confdefs.h <<_ACEOF
18280 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18281 _ACEOF
18287 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18288 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18289 if test "${wine_cv_have_sigaddset+set}" = set; then
18290 echo $ECHO_N "(cached) $ECHO_C" >&6
18291 else
18292 cat >conftest.$ac_ext <<_ACEOF
18293 /* confdefs.h. */
18294 _ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 #include <signal.h>
18300 main ()
18302 sigset_t set; sigaddset(&set,SIGTERM);
18304 return 0;
18306 _ACEOF
18307 rm -f conftest.$ac_objext conftest$ac_exeext
18308 if { (ac_try="$ac_link"
18309 case "(($ac_try" in
18310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18311 *) ac_try_echo=$ac_try;;
18312 esac
18313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18314 (eval "$ac_link") 2>conftest.er1
18315 ac_status=$?
18316 grep -v '^ *+' conftest.er1 >conftest.err
18317 rm -f conftest.er1
18318 cat conftest.err >&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } && {
18321 test -z "$ac_c_werror_flag" ||
18322 test ! -s conftest.err
18323 } && test -s conftest$ac_exeext &&
18324 $as_test_x conftest$ac_exeext; then
18325 wine_cv_have_sigaddset=yes
18326 else
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18330 wine_cv_have_sigaddset=no
18333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18334 conftest$ac_exeext conftest.$ac_ext
18336 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18337 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18338 if test "$wine_cv_have_sigaddset" = "yes"
18339 then
18341 cat >>confdefs.h <<\_ACEOF
18342 #define HAVE_SIGADDSET 1
18343 _ACEOF
18348 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18349 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18350 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 else
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #include <netdb.h>
18361 main ()
18364 char *name=0;
18365 struct hostent he;
18366 struct hostent *result;
18367 char *buf=0;
18368 int bufsize=0;
18369 int res,errnr;
18370 char *addr=0;
18371 int addrlen=0;
18372 int addrtype=0;
18373 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18374 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18377 return 0;
18379 _ACEOF
18380 rm -f conftest.$ac_objext conftest$ac_exeext
18381 if { (ac_try="$ac_link"
18382 case "(($ac_try" in
18383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18384 *) ac_try_echo=$ac_try;;
18385 esac
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_link") 2>conftest.er1
18388 ac_status=$?
18389 grep -v '^ *+' conftest.er1 >conftest.err
18390 rm -f conftest.er1
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && {
18394 test -z "$ac_c_werror_flag" ||
18395 test ! -s conftest.err
18396 } && test -s conftest$ac_exeext &&
18397 $as_test_x conftest$ac_exeext; then
18398 wine_cv_linux_gethostbyname_r_6=yes
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 wine_cv_linux_gethostbyname_r_6=no
18407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18408 conftest$ac_exeext conftest.$ac_ext
18411 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18412 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18413 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18414 then
18416 cat >>confdefs.h <<\_ACEOF
18417 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18418 _ACEOF
18422 if test "$ac_cv_header_linux_joystick_h" = "yes"
18423 then
18424 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18425 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18426 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 else
18429 cat >conftest.$ac_ext <<_ACEOF
18430 /* confdefs.h. */
18431 _ACEOF
18432 cat confdefs.h >>conftest.$ac_ext
18433 cat >>conftest.$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18436 #include <sys/ioctl.h>
18437 #include <sys/types.h>
18438 #include <linux/joystick.h>
18440 struct js_event blub;
18441 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18442 #error "no 2.2 header"
18443 #endif
18446 main ()
18448 /*empty*/
18450 return 0;
18452 _ACEOF
18453 rm -f conftest.$ac_objext
18454 if { (ac_try="$ac_compile"
18455 case "(($ac_try" in
18456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18457 *) ac_try_echo=$ac_try;;
18458 esac
18459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18460 (eval "$ac_compile") 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } && {
18467 test -z "$ac_c_werror_flag" ||
18468 test ! -s conftest.err
18469 } && test -s conftest.$ac_objext; then
18470 wine_cv_linux_joystick_22_api=yes
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18475 wine_cv_linux_joystick_22_api=no
18478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18482 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18483 if test "$wine_cv_linux_joystick_22_api" = "yes"
18484 then
18486 cat >>confdefs.h <<\_ACEOF
18487 #define HAVE_LINUX_22_JOYSTICK_API 1
18488 _ACEOF
18494 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18495 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18496 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #include <sys/types.h>
18506 #ifdef HAVE_SYS_PARAM_H
18507 # include <sys/param.h>
18508 #endif
18509 #ifdef HAVE_SYS_MOUNT_H
18510 # include <sys/mount.h>
18511 #endif
18512 #ifdef HAVE_SYS_VFS_H
18513 # include <sys/vfs.h>
18514 #endif
18515 #ifdef HAVE_SYS_STATFS_H
18516 # include <sys/statfs.h>
18517 #endif
18520 main ()
18522 static struct statfs ac_aggr;
18523 if (ac_aggr.f_bfree)
18524 return 0;
18526 return 0;
18528 _ACEOF
18529 rm -f conftest.$ac_objext
18530 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18534 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 ac_cv_member_struct_statfs_f_bfree=yes
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 cat >conftest.$ac_ext <<_ACEOF
18552 /* confdefs.h. */
18553 _ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557 #include <sys/types.h>
18558 #ifdef HAVE_SYS_PARAM_H
18559 # include <sys/param.h>
18560 #endif
18561 #ifdef HAVE_SYS_MOUNT_H
18562 # include <sys/mount.h>
18563 #endif
18564 #ifdef HAVE_SYS_VFS_H
18565 # include <sys/vfs.h>
18566 #endif
18567 #ifdef HAVE_SYS_STATFS_H
18568 # include <sys/statfs.h>
18569 #endif
18572 main ()
18574 static struct statfs ac_aggr;
18575 if (sizeof ac_aggr.f_bfree)
18576 return 0;
18578 return 0;
18580 _ACEOF
18581 rm -f conftest.$ac_objext
18582 if { (ac_try="$ac_compile"
18583 case "(($ac_try" in
18584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18585 *) ac_try_echo=$ac_try;;
18586 esac
18587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18588 (eval "$ac_compile") 2>conftest.er1
18589 ac_status=$?
18590 grep -v '^ *+' conftest.er1 >conftest.err
18591 rm -f conftest.er1
18592 cat conftest.err >&5
18593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594 (exit $ac_status); } && {
18595 test -z "$ac_c_werror_flag" ||
18596 test ! -s conftest.err
18597 } && test -s conftest.$ac_objext; then
18598 ac_cv_member_struct_statfs_f_bfree=yes
18599 else
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18603 ac_cv_member_struct_statfs_f_bfree=no
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18611 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18612 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18613 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18615 cat >>confdefs.h <<_ACEOF
18616 #define HAVE_STRUCT_STATFS_F_BFREE 1
18617 _ACEOF
18621 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18622 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18623 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 else
18626 cat >conftest.$ac_ext <<_ACEOF
18627 /* confdefs.h. */
18628 _ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <sys/types.h>
18633 #ifdef HAVE_SYS_PARAM_H
18634 # include <sys/param.h>
18635 #endif
18636 #ifdef HAVE_SYS_MOUNT_H
18637 # include <sys/mount.h>
18638 #endif
18639 #ifdef HAVE_SYS_VFS_H
18640 # include <sys/vfs.h>
18641 #endif
18642 #ifdef HAVE_SYS_STATFS_H
18643 # include <sys/statfs.h>
18644 #endif
18647 main ()
18649 static struct statfs ac_aggr;
18650 if (ac_aggr.f_bavail)
18651 return 0;
18653 return 0;
18655 _ACEOF
18656 rm -f conftest.$ac_objext
18657 if { (ac_try="$ac_compile"
18658 case "(($ac_try" in
18659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18660 *) ac_try_echo=$ac_try;;
18661 esac
18662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_compile") 2>conftest.er1
18664 ac_status=$?
18665 grep -v '^ *+' conftest.er1 >conftest.err
18666 rm -f conftest.er1
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && {
18670 test -z "$ac_c_werror_flag" ||
18671 test ! -s conftest.err
18672 } && test -s conftest.$ac_objext; then
18673 ac_cv_member_struct_statfs_f_bavail=yes
18674 else
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.$ac_ext >&5
18678 cat >conftest.$ac_ext <<_ACEOF
18679 /* confdefs.h. */
18680 _ACEOF
18681 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18684 #include <sys/types.h>
18685 #ifdef HAVE_SYS_PARAM_H
18686 # include <sys/param.h>
18687 #endif
18688 #ifdef HAVE_SYS_MOUNT_H
18689 # include <sys/mount.h>
18690 #endif
18691 #ifdef HAVE_SYS_VFS_H
18692 # include <sys/vfs.h>
18693 #endif
18694 #ifdef HAVE_SYS_STATFS_H
18695 # include <sys/statfs.h>
18696 #endif
18699 main ()
18701 static struct statfs ac_aggr;
18702 if (sizeof ac_aggr.f_bavail)
18703 return 0;
18705 return 0;
18707 _ACEOF
18708 rm -f conftest.$ac_objext
18709 if { (ac_try="$ac_compile"
18710 case "(($ac_try" in
18711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712 *) ac_try_echo=$ac_try;;
18713 esac
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_compile") 2>conftest.er1
18716 ac_status=$?
18717 grep -v '^ *+' conftest.er1 >conftest.err
18718 rm -f conftest.er1
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && {
18722 test -z "$ac_c_werror_flag" ||
18723 test ! -s conftest.err
18724 } && test -s conftest.$ac_objext; then
18725 ac_cv_member_struct_statfs_f_bavail=yes
18726 else
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18730 ac_cv_member_struct_statfs_f_bavail=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18738 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18739 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18740 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18742 cat >>confdefs.h <<_ACEOF
18743 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18744 _ACEOF
18748 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18749 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18750 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 else
18753 cat >conftest.$ac_ext <<_ACEOF
18754 /* confdefs.h. */
18755 _ACEOF
18756 cat confdefs.h >>conftest.$ac_ext
18757 cat >>conftest.$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 #include <sys/types.h>
18760 #ifdef HAVE_SYS_PARAM_H
18761 # include <sys/param.h>
18762 #endif
18763 #ifdef HAVE_SYS_MOUNT_H
18764 # include <sys/mount.h>
18765 #endif
18766 #ifdef HAVE_SYS_VFS_H
18767 # include <sys/vfs.h>
18768 #endif
18769 #ifdef HAVE_SYS_STATFS_H
18770 # include <sys/statfs.h>
18771 #endif
18774 main ()
18776 static struct statfs ac_aggr;
18777 if (ac_aggr.f_frsize)
18778 return 0;
18780 return 0;
18782 _ACEOF
18783 rm -f conftest.$ac_objext
18784 if { (ac_try="$ac_compile"
18785 case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18788 esac
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_compile") 2>conftest.er1
18791 ac_status=$?
18792 grep -v '^ *+' conftest.er1 >conftest.err
18793 rm -f conftest.er1
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_c_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest.$ac_objext; then
18800 ac_cv_member_struct_statfs_f_frsize=yes
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18805 cat >conftest.$ac_ext <<_ACEOF
18806 /* confdefs.h. */
18807 _ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 #include <sys/types.h>
18812 #ifdef HAVE_SYS_PARAM_H
18813 # include <sys/param.h>
18814 #endif
18815 #ifdef HAVE_SYS_MOUNT_H
18816 # include <sys/mount.h>
18817 #endif
18818 #ifdef HAVE_SYS_VFS_H
18819 # include <sys/vfs.h>
18820 #endif
18821 #ifdef HAVE_SYS_STATFS_H
18822 # include <sys/statfs.h>
18823 #endif
18826 main ()
18828 static struct statfs ac_aggr;
18829 if (sizeof ac_aggr.f_frsize)
18830 return 0;
18832 return 0;
18834 _ACEOF
18835 rm -f conftest.$ac_objext
18836 if { (ac_try="$ac_compile"
18837 case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18840 esac
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_compile") 2>conftest.er1
18843 ac_status=$?
18844 grep -v '^ *+' conftest.er1 >conftest.err
18845 rm -f conftest.er1
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } && {
18849 test -z "$ac_c_werror_flag" ||
18850 test ! -s conftest.err
18851 } && test -s conftest.$ac_objext; then
18852 ac_cv_member_struct_statfs_f_frsize=yes
18853 else
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.$ac_ext >&5
18857 ac_cv_member_struct_statfs_f_frsize=no
18860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18865 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18866 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18867 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18869 cat >>confdefs.h <<_ACEOF
18870 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18871 _ACEOF
18875 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18876 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18877 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18880 cat >conftest.$ac_ext <<_ACEOF
18881 /* confdefs.h. */
18882 _ACEOF
18883 cat confdefs.h >>conftest.$ac_ext
18884 cat >>conftest.$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 #include <sys/types.h>
18887 #ifdef HAVE_SYS_PARAM_H
18888 # include <sys/param.h>
18889 #endif
18890 #ifdef HAVE_SYS_MOUNT_H
18891 # include <sys/mount.h>
18892 #endif
18893 #ifdef HAVE_SYS_VFS_H
18894 # include <sys/vfs.h>
18895 #endif
18896 #ifdef HAVE_SYS_STATFS_H
18897 # include <sys/statfs.h>
18898 #endif
18901 main ()
18903 static struct statfs ac_aggr;
18904 if (ac_aggr.f_ffree)
18905 return 0;
18907 return 0;
18909 _ACEOF
18910 rm -f conftest.$ac_objext
18911 if { (ac_try="$ac_compile"
18912 case "(($ac_try" in
18913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18914 *) ac_try_echo=$ac_try;;
18915 esac
18916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18917 (eval "$ac_compile") 2>conftest.er1
18918 ac_status=$?
18919 grep -v '^ *+' conftest.er1 >conftest.err
18920 rm -f conftest.er1
18921 cat conftest.err >&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } && {
18924 test -z "$ac_c_werror_flag" ||
18925 test ! -s conftest.err
18926 } && test -s conftest.$ac_objext; then
18927 ac_cv_member_struct_statfs_f_ffree=yes
18928 else
18929 echo "$as_me: failed program was:" >&5
18930 sed 's/^/| /' conftest.$ac_ext >&5
18932 cat >conftest.$ac_ext <<_ACEOF
18933 /* confdefs.h. */
18934 _ACEOF
18935 cat confdefs.h >>conftest.$ac_ext
18936 cat >>conftest.$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938 #include <sys/types.h>
18939 #ifdef HAVE_SYS_PARAM_H
18940 # include <sys/param.h>
18941 #endif
18942 #ifdef HAVE_SYS_MOUNT_H
18943 # include <sys/mount.h>
18944 #endif
18945 #ifdef HAVE_SYS_VFS_H
18946 # include <sys/vfs.h>
18947 #endif
18948 #ifdef HAVE_SYS_STATFS_H
18949 # include <sys/statfs.h>
18950 #endif
18953 main ()
18955 static struct statfs ac_aggr;
18956 if (sizeof ac_aggr.f_ffree)
18957 return 0;
18959 return 0;
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18967 esac
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18970 ac_status=$?
18971 grep -v '^ *+' conftest.er1 >conftest.err
18972 rm -f conftest.er1
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.$ac_objext; then
18979 ac_cv_member_struct_statfs_f_ffree=yes
18980 else
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18984 ac_cv_member_struct_statfs_f_ffree=no
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18992 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18993 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18994 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_STATFS_F_FFREE 1
18998 _ACEOF
19002 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19003 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19004 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19005 echo $ECHO_N "(cached) $ECHO_C" >&6
19006 else
19007 cat >conftest.$ac_ext <<_ACEOF
19008 /* confdefs.h. */
19009 _ACEOF
19010 cat confdefs.h >>conftest.$ac_ext
19011 cat >>conftest.$ac_ext <<_ACEOF
19012 /* end confdefs.h. */
19013 #include <sys/types.h>
19014 #ifdef HAVE_SYS_PARAM_H
19015 # include <sys/param.h>
19016 #endif
19017 #ifdef HAVE_SYS_MOUNT_H
19018 # include <sys/mount.h>
19019 #endif
19020 #ifdef HAVE_SYS_VFS_H
19021 # include <sys/vfs.h>
19022 #endif
19023 #ifdef HAVE_SYS_STATFS_H
19024 # include <sys/statfs.h>
19025 #endif
19028 main ()
19030 static struct statfs ac_aggr;
19031 if (ac_aggr.f_favail)
19032 return 0;
19034 return 0;
19036 _ACEOF
19037 rm -f conftest.$ac_objext
19038 if { (ac_try="$ac_compile"
19039 case "(($ac_try" in
19040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19042 esac
19043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compile") 2>conftest.er1
19045 ac_status=$?
19046 grep -v '^ *+' conftest.er1 >conftest.err
19047 rm -f conftest.er1
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } && {
19051 test -z "$ac_c_werror_flag" ||
19052 test ! -s conftest.err
19053 } && test -s conftest.$ac_objext; then
19054 ac_cv_member_struct_statfs_f_favail=yes
19055 else
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19059 cat >conftest.$ac_ext <<_ACEOF
19060 /* confdefs.h. */
19061 _ACEOF
19062 cat confdefs.h >>conftest.$ac_ext
19063 cat >>conftest.$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 #include <sys/types.h>
19066 #ifdef HAVE_SYS_PARAM_H
19067 # include <sys/param.h>
19068 #endif
19069 #ifdef HAVE_SYS_MOUNT_H
19070 # include <sys/mount.h>
19071 #endif
19072 #ifdef HAVE_SYS_VFS_H
19073 # include <sys/vfs.h>
19074 #endif
19075 #ifdef HAVE_SYS_STATFS_H
19076 # include <sys/statfs.h>
19077 #endif
19080 main ()
19082 static struct statfs ac_aggr;
19083 if (sizeof ac_aggr.f_favail)
19084 return 0;
19086 return 0;
19088 _ACEOF
19089 rm -f conftest.$ac_objext
19090 if { (ac_try="$ac_compile"
19091 case "(($ac_try" in
19092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19093 *) ac_try_echo=$ac_try;;
19094 esac
19095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19096 (eval "$ac_compile") 2>conftest.er1
19097 ac_status=$?
19098 grep -v '^ *+' conftest.er1 >conftest.err
19099 rm -f conftest.er1
19100 cat conftest.err >&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } && {
19103 test -z "$ac_c_werror_flag" ||
19104 test ! -s conftest.err
19105 } && test -s conftest.$ac_objext; then
19106 ac_cv_member_struct_statfs_f_favail=yes
19107 else
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19111 ac_cv_member_struct_statfs_f_favail=no
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19119 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19120 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19121 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19125 _ACEOF
19129 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19130 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19131 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19132 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 else
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <sys/types.h>
19141 #ifdef HAVE_SYS_PARAM_H
19142 # include <sys/param.h>
19143 #endif
19144 #ifdef HAVE_SYS_MOUNT_H
19145 # include <sys/mount.h>
19146 #endif
19147 #ifdef HAVE_SYS_VFS_H
19148 # include <sys/vfs.h>
19149 #endif
19150 #ifdef HAVE_SYS_STATFS_H
19151 # include <sys/statfs.h>
19152 #endif
19155 main ()
19157 static struct statfs ac_aggr;
19158 if (ac_aggr.f_namelen)
19159 return 0;
19161 return 0;
19163 _ACEOF
19164 rm -f conftest.$ac_objext
19165 if { (ac_try="$ac_compile"
19166 case "(($ac_try" in
19167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19168 *) ac_try_echo=$ac_try;;
19169 esac
19170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19171 (eval "$ac_compile") 2>conftest.er1
19172 ac_status=$?
19173 grep -v '^ *+' conftest.er1 >conftest.err
19174 rm -f conftest.er1
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } && {
19178 test -z "$ac_c_werror_flag" ||
19179 test ! -s conftest.err
19180 } && test -s conftest.$ac_objext; then
19181 ac_cv_member_struct_statfs_f_namelen=yes
19182 else
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19186 cat >conftest.$ac_ext <<_ACEOF
19187 /* confdefs.h. */
19188 _ACEOF
19189 cat confdefs.h >>conftest.$ac_ext
19190 cat >>conftest.$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 #include <sys/types.h>
19193 #ifdef HAVE_SYS_PARAM_H
19194 # include <sys/param.h>
19195 #endif
19196 #ifdef HAVE_SYS_MOUNT_H
19197 # include <sys/mount.h>
19198 #endif
19199 #ifdef HAVE_SYS_VFS_H
19200 # include <sys/vfs.h>
19201 #endif
19202 #ifdef HAVE_SYS_STATFS_H
19203 # include <sys/statfs.h>
19204 #endif
19207 main ()
19209 static struct statfs ac_aggr;
19210 if (sizeof ac_aggr.f_namelen)
19211 return 0;
19213 return 0;
19215 _ACEOF
19216 rm -f conftest.$ac_objext
19217 if { (ac_try="$ac_compile"
19218 case "(($ac_try" in
19219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19220 *) ac_try_echo=$ac_try;;
19221 esac
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_compile") 2>conftest.er1
19224 ac_status=$?
19225 grep -v '^ *+' conftest.er1 >conftest.err
19226 rm -f conftest.er1
19227 cat conftest.err >&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } && {
19230 test -z "$ac_c_werror_flag" ||
19231 test ! -s conftest.err
19232 } && test -s conftest.$ac_objext; then
19233 ac_cv_member_struct_statfs_f_namelen=yes
19234 else
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19238 ac_cv_member_struct_statfs_f_namelen=no
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19247 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19248 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19250 cat >>confdefs.h <<_ACEOF
19251 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19252 _ACEOF
19258 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19259 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19260 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19261 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 else
19263 cat >conftest.$ac_ext <<_ACEOF
19264 /* confdefs.h. */
19265 _ACEOF
19266 cat confdefs.h >>conftest.$ac_ext
19267 cat >>conftest.$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269 #ifdef HAVE_SYS_STATVFS_H
19270 #include <sys/statvfs.h>
19271 #endif
19274 main ()
19276 static struct statvfs ac_aggr;
19277 if (ac_aggr.f_blocks)
19278 return 0;
19280 return 0;
19282 _ACEOF
19283 rm -f conftest.$ac_objext
19284 if { (ac_try="$ac_compile"
19285 case "(($ac_try" in
19286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19288 esac
19289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19290 (eval "$ac_compile") 2>conftest.er1
19291 ac_status=$?
19292 grep -v '^ *+' conftest.er1 >conftest.err
19293 rm -f conftest.er1
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && {
19297 test -z "$ac_c_werror_flag" ||
19298 test ! -s conftest.err
19299 } && test -s conftest.$ac_objext; then
19300 ac_cv_member_struct_statvfs_f_blocks=yes
19301 else
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.$ac_ext >&5
19305 cat >conftest.$ac_ext <<_ACEOF
19306 /* confdefs.h. */
19307 _ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 #ifdef HAVE_SYS_STATVFS_H
19312 #include <sys/statvfs.h>
19313 #endif
19316 main ()
19318 static struct statvfs ac_aggr;
19319 if (sizeof ac_aggr.f_blocks)
19320 return 0;
19322 return 0;
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (ac_try="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19329 *) ac_try_echo=$ac_try;;
19330 esac
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19333 ac_status=$?
19334 grep -v '^ *+' conftest.er1 >conftest.err
19335 rm -f conftest.er1
19336 cat conftest.err >&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_c_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.$ac_objext; then
19342 ac_cv_member_struct_statvfs_f_blocks=yes
19343 else
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19347 ac_cv_member_struct_statvfs_f_blocks=no
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19355 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19356 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19357 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19359 cat >>confdefs.h <<_ACEOF
19360 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19361 _ACEOF
19367 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19368 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19369 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 else
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <sys/types.h>
19379 #ifdef HAVE_SYS_SOCKET_H
19380 # include <sys/socket.h>
19381 #endif
19382 #ifdef HAVE_SYS_UN_H
19383 # include <sys/un.h>
19384 #endif
19387 main ()
19389 static struct msghdr ac_aggr;
19390 if (ac_aggr.msg_accrights)
19391 return 0;
19393 return 0;
19395 _ACEOF
19396 rm -f conftest.$ac_objext
19397 if { (ac_try="$ac_compile"
19398 case "(($ac_try" in
19399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19400 *) ac_try_echo=$ac_try;;
19401 esac
19402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19403 (eval "$ac_compile") 2>conftest.er1
19404 ac_status=$?
19405 grep -v '^ *+' conftest.er1 >conftest.err
19406 rm -f conftest.er1
19407 cat conftest.err >&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); } && {
19410 test -z "$ac_c_werror_flag" ||
19411 test ! -s conftest.err
19412 } && test -s conftest.$ac_objext; then
19413 ac_cv_member_struct_msghdr_msg_accrights=yes
19414 else
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 cat >conftest.$ac_ext <<_ACEOF
19419 /* confdefs.h. */
19420 _ACEOF
19421 cat confdefs.h >>conftest.$ac_ext
19422 cat >>conftest.$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19424 #include <sys/types.h>
19425 #ifdef HAVE_SYS_SOCKET_H
19426 # include <sys/socket.h>
19427 #endif
19428 #ifdef HAVE_SYS_UN_H
19429 # include <sys/un.h>
19430 #endif
19433 main ()
19435 static struct msghdr ac_aggr;
19436 if (sizeof ac_aggr.msg_accrights)
19437 return 0;
19439 return 0;
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19446 *) ac_try_echo=$ac_try;;
19447 esac
19448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19450 ac_status=$?
19451 grep -v '^ *+' conftest.er1 >conftest.err
19452 rm -f conftest.er1
19453 cat conftest.err >&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.$ac_objext; then
19459 ac_cv_member_struct_msghdr_msg_accrights=yes
19460 else
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 ac_cv_member_struct_msghdr_msg_accrights=no
19467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19473 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19474 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19476 cat >>confdefs.h <<_ACEOF
19477 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19478 _ACEOF
19482 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19483 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19484 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 else
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_SOCKET_H
19495 # include <sys/socket.h>
19496 #endif
19497 #ifdef HAVE_SYS_UN_H
19498 # include <sys/un.h>
19499 #endif
19502 main ()
19504 static struct sockaddr ac_aggr;
19505 if (ac_aggr.sa_len)
19506 return 0;
19508 return 0;
19510 _ACEOF
19511 rm -f conftest.$ac_objext
19512 if { (ac_try="$ac_compile"
19513 case "(($ac_try" in
19514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19516 esac
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_compile") 2>conftest.er1
19519 ac_status=$?
19520 grep -v '^ *+' conftest.er1 >conftest.err
19521 rm -f conftest.er1
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } && {
19525 test -z "$ac_c_werror_flag" ||
19526 test ! -s conftest.err
19527 } && test -s conftest.$ac_objext; then
19528 ac_cv_member_struct_sockaddr_sa_len=yes
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 cat >conftest.$ac_ext <<_ACEOF
19534 /* confdefs.h. */
19535 _ACEOF
19536 cat confdefs.h >>conftest.$ac_ext
19537 cat >>conftest.$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 #include <sys/types.h>
19540 #ifdef HAVE_SYS_SOCKET_H
19541 # include <sys/socket.h>
19542 #endif
19543 #ifdef HAVE_SYS_UN_H
19544 # include <sys/un.h>
19545 #endif
19548 main ()
19550 static struct sockaddr ac_aggr;
19551 if (sizeof ac_aggr.sa_len)
19552 return 0;
19554 return 0;
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_cv_member_struct_sockaddr_sa_len=yes
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19579 ac_cv_member_struct_sockaddr_sa_len=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19588 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19589 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19591 cat >>confdefs.h <<_ACEOF
19592 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19593 _ACEOF
19597 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19598 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19599 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 else
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #include <sys/types.h>
19609 #ifdef HAVE_SYS_SOCKET_H
19610 # include <sys/socket.h>
19611 #endif
19612 #ifdef HAVE_SYS_UN_H
19613 # include <sys/un.h>
19614 #endif
19617 main ()
19619 static struct sockaddr_un ac_aggr;
19620 if (ac_aggr.sun_len)
19621 return 0;
19623 return 0;
19625 _ACEOF
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19631 esac
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19634 ac_status=$?
19635 grep -v '^ *+' conftest.er1 >conftest.err
19636 rm -f conftest.er1
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_sockaddr_un_sun_len=yes
19644 else
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 cat >conftest.$ac_ext <<_ACEOF
19649 /* confdefs.h. */
19650 _ACEOF
19651 cat confdefs.h >>conftest.$ac_ext
19652 cat >>conftest.$ac_ext <<_ACEOF
19653 /* end confdefs.h. */
19654 #include <sys/types.h>
19655 #ifdef HAVE_SYS_SOCKET_H
19656 # include <sys/socket.h>
19657 #endif
19658 #ifdef HAVE_SYS_UN_H
19659 # include <sys/un.h>
19660 #endif
19663 main ()
19665 static struct sockaddr_un ac_aggr;
19666 if (sizeof ac_aggr.sun_len)
19667 return 0;
19669 return 0;
19671 _ACEOF
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19677 esac
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19680 ac_status=$?
19681 grep -v '^ *+' conftest.er1 >conftest.err
19682 rm -f conftest.er1
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.$ac_objext; then
19689 ac_cv_member_struct_sockaddr_un_sun_len=yes
19690 else
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 ac_cv_member_struct_sockaddr_un_sun_len=no
19697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19703 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19704 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19706 cat >>confdefs.h <<_ACEOF
19707 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19708 _ACEOF
19714 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19715 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19716 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 else
19719 cat >conftest.$ac_ext <<_ACEOF
19720 /* confdefs.h. */
19721 _ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #include <sys/types.h>
19726 #ifdef HAVE_SCSI_SG_H
19727 #include <scsi/sg.h>
19728 #endif
19731 main ()
19733 static scsireq_t ac_aggr;
19734 if (ac_aggr.cmd)
19735 return 0;
19737 return 0;
19739 _ACEOF
19740 rm -f conftest.$ac_objext
19741 if { (ac_try="$ac_compile"
19742 case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19745 esac
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_compile") 2>conftest.er1
19748 ac_status=$?
19749 grep -v '^ *+' conftest.er1 >conftest.err
19750 rm -f conftest.er1
19751 cat conftest.err >&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } && {
19754 test -z "$ac_c_werror_flag" ||
19755 test ! -s conftest.err
19756 } && test -s conftest.$ac_objext; then
19757 ac_cv_member_scsireq_t_cmd=yes
19758 else
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19762 cat >conftest.$ac_ext <<_ACEOF
19763 /* confdefs.h. */
19764 _ACEOF
19765 cat confdefs.h >>conftest.$ac_ext
19766 cat >>conftest.$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 #include <sys/types.h>
19769 #ifdef HAVE_SCSI_SG_H
19770 #include <scsi/sg.h>
19771 #endif
19774 main ()
19776 static scsireq_t ac_aggr;
19777 if (sizeof ac_aggr.cmd)
19778 return 0;
19780 return 0;
19782 _ACEOF
19783 rm -f conftest.$ac_objext
19784 if { (ac_try="$ac_compile"
19785 case "(($ac_try" in
19786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19787 *) ac_try_echo=$ac_try;;
19788 esac
19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19790 (eval "$ac_compile") 2>conftest.er1
19791 ac_status=$?
19792 grep -v '^ *+' conftest.er1 >conftest.err
19793 rm -f conftest.er1
19794 cat conftest.err >&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); } && {
19797 test -z "$ac_c_werror_flag" ||
19798 test ! -s conftest.err
19799 } && test -s conftest.$ac_objext; then
19800 ac_cv_member_scsireq_t_cmd=yes
19801 else
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.$ac_ext >&5
19805 ac_cv_member_scsireq_t_cmd=no
19808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19814 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19815 if test $ac_cv_member_scsireq_t_cmd = yes; then
19817 cat >>confdefs.h <<_ACEOF
19818 #define HAVE_SCSIREQ_T_CMD 1
19819 _ACEOF
19823 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19824 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19825 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 else
19828 cat >conftest.$ac_ext <<_ACEOF
19829 /* confdefs.h. */
19830 _ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 #include <sys/types.h>
19835 #ifdef HAVE_SCSI_SG_H
19836 #include <scsi/sg.h>
19837 #endif
19840 main ()
19842 static sg_io_hdr_t ac_aggr;
19843 if (ac_aggr.interface_id)
19844 return 0;
19846 return 0;
19848 _ACEOF
19849 rm -f conftest.$ac_objext
19850 if { (ac_try="$ac_compile"
19851 case "(($ac_try" in
19852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19853 *) ac_try_echo=$ac_try;;
19854 esac
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_compile") 2>conftest.er1
19857 ac_status=$?
19858 grep -v '^ *+' conftest.er1 >conftest.err
19859 rm -f conftest.er1
19860 cat conftest.err >&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && {
19863 test -z "$ac_c_werror_flag" ||
19864 test ! -s conftest.err
19865 } && test -s conftest.$ac_objext; then
19866 ac_cv_member_sg_io_hdr_t_interface_id=yes
19867 else
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 cat >conftest.$ac_ext <<_ACEOF
19872 /* confdefs.h. */
19873 _ACEOF
19874 cat confdefs.h >>conftest.$ac_ext
19875 cat >>conftest.$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 #include <sys/types.h>
19878 #ifdef HAVE_SCSI_SG_H
19879 #include <scsi/sg.h>
19880 #endif
19883 main ()
19885 static sg_io_hdr_t ac_aggr;
19886 if (sizeof ac_aggr.interface_id)
19887 return 0;
19889 return 0;
19891 _ACEOF
19892 rm -f conftest.$ac_objext
19893 if { (ac_try="$ac_compile"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19897 esac
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_compile") 2>conftest.er1
19900 ac_status=$?
19901 grep -v '^ *+' conftest.er1 >conftest.err
19902 rm -f conftest.er1
19903 cat conftest.err >&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } && {
19906 test -z "$ac_c_werror_flag" ||
19907 test ! -s conftest.err
19908 } && test -s conftest.$ac_objext; then
19909 ac_cv_member_sg_io_hdr_t_interface_id=yes
19910 else
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19914 ac_cv_member_sg_io_hdr_t_interface_id=no
19917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19922 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19923 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19924 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19926 cat >>confdefs.h <<_ACEOF
19927 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19928 _ACEOF
19934 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19935 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19936 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <signal.h>
19948 main ()
19950 static siginfo_t ac_aggr;
19951 if (ac_aggr.si_fd)
19952 return 0;
19954 return 0;
19956 _ACEOF
19957 rm -f conftest.$ac_objext
19958 if { (ac_try="$ac_compile"
19959 case "(($ac_try" in
19960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19962 esac
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_compile") 2>conftest.er1
19965 ac_status=$?
19966 grep -v '^ *+' conftest.er1 >conftest.err
19967 rm -f conftest.er1
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } && {
19971 test -z "$ac_c_werror_flag" ||
19972 test ! -s conftest.err
19973 } && test -s conftest.$ac_objext; then
19974 ac_cv_member_siginfo_t_si_fd=yes
19975 else
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19979 cat >conftest.$ac_ext <<_ACEOF
19980 /* confdefs.h. */
19981 _ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 #include <signal.h>
19988 main ()
19990 static siginfo_t ac_aggr;
19991 if (sizeof ac_aggr.si_fd)
19992 return 0;
19994 return 0;
19996 _ACEOF
19997 rm -f conftest.$ac_objext
19998 if { (ac_try="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20002 esac
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20005 ac_status=$?
20006 grep -v '^ *+' conftest.er1 >conftest.err
20007 rm -f conftest.er1
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } && {
20011 test -z "$ac_c_werror_flag" ||
20012 test ! -s conftest.err
20013 } && test -s conftest.$ac_objext; then
20014 ac_cv_member_siginfo_t_si_fd=yes
20015 else
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.$ac_ext >&5
20019 ac_cv_member_siginfo_t_si_fd=no
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20028 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20029 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20031 cat >>confdefs.h <<_ACEOF
20032 #define HAVE_SIGINFO_T_SI_FD 1
20033 _ACEOF
20039 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20040 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20041 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20043 else
20044 cat >conftest.$ac_ext <<_ACEOF
20045 /* confdefs.h. */
20046 _ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h. */
20050 #include <sys/types.h>
20051 #ifdef HAVE_SYS_MTIO_H
20052 #include <sys/mtio.h>
20053 #endif
20056 main ()
20058 static struct mtget ac_aggr;
20059 if (ac_aggr.mt_blksiz)
20060 return 0;
20062 return 0;
20064 _ACEOF
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 ac_cv_member_struct_mtget_mt_blksiz=yes
20083 else
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20087 cat >conftest.$ac_ext <<_ACEOF
20088 /* confdefs.h. */
20089 _ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 #include <sys/types.h>
20094 #ifdef HAVE_SYS_MTIO_H
20095 #include <sys/mtio.h>
20096 #endif
20099 main ()
20101 static struct mtget ac_aggr;
20102 if (sizeof ac_aggr.mt_blksiz)
20103 return 0;
20105 return 0;
20107 _ACEOF
20108 rm -f conftest.$ac_objext
20109 if { (ac_try="$ac_compile"
20110 case "(($ac_try" in
20111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20112 *) ac_try_echo=$ac_try;;
20113 esac
20114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20115 (eval "$ac_compile") 2>conftest.er1
20116 ac_status=$?
20117 grep -v '^ *+' conftest.er1 >conftest.err
20118 rm -f conftest.er1
20119 cat conftest.err >&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); } && {
20122 test -z "$ac_c_werror_flag" ||
20123 test ! -s conftest.err
20124 } && test -s conftest.$ac_objext; then
20125 ac_cv_member_struct_mtget_mt_blksiz=yes
20126 else
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 ac_cv_member_struct_mtget_mt_blksiz=no
20133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20138 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20139 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20140 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20142 cat >>confdefs.h <<_ACEOF
20143 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20144 _ACEOF
20148 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20149 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20150 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20152 else
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #include <sys/types.h>
20160 #ifdef HAVE_SYS_MTIO_H
20161 #include <sys/mtio.h>
20162 #endif
20165 main ()
20167 static struct mtget ac_aggr;
20168 if (ac_aggr.mt_gstat)
20169 return 0;
20171 return 0;
20173 _ACEOF
20174 rm -f conftest.$ac_objext
20175 if { (ac_try="$ac_compile"
20176 case "(($ac_try" in
20177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20178 *) ac_try_echo=$ac_try;;
20179 esac
20180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20181 (eval "$ac_compile") 2>conftest.er1
20182 ac_status=$?
20183 grep -v '^ *+' conftest.er1 >conftest.err
20184 rm -f conftest.er1
20185 cat conftest.err >&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } && {
20188 test -z "$ac_c_werror_flag" ||
20189 test ! -s conftest.err
20190 } && test -s conftest.$ac_objext; then
20191 ac_cv_member_struct_mtget_mt_gstat=yes
20192 else
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.$ac_ext >&5
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 #include <sys/types.h>
20203 #ifdef HAVE_SYS_MTIO_H
20204 #include <sys/mtio.h>
20205 #endif
20208 main ()
20210 static struct mtget ac_aggr;
20211 if (sizeof ac_aggr.mt_gstat)
20212 return 0;
20214 return 0;
20216 _ACEOF
20217 rm -f conftest.$ac_objext
20218 if { (ac_try="$ac_compile"
20219 case "(($ac_try" in
20220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20221 *) ac_try_echo=$ac_try;;
20222 esac
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_compile") 2>conftest.er1
20225 ac_status=$?
20226 grep -v '^ *+' conftest.er1 >conftest.err
20227 rm -f conftest.er1
20228 cat conftest.err >&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } && {
20231 test -z "$ac_c_werror_flag" ||
20232 test ! -s conftest.err
20233 } && test -s conftest.$ac_objext; then
20234 ac_cv_member_struct_mtget_mt_gstat=yes
20235 else
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20239 ac_cv_member_struct_mtget_mt_gstat=no
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20248 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20249 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20251 cat >>confdefs.h <<_ACEOF
20252 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20253 _ACEOF
20257 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20258 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20259 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 else
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 #include <sys/types.h>
20269 #ifdef HAVE_SYS_MTIO_H
20270 #include <sys/mtio.h>
20271 #endif
20274 main ()
20276 static struct mtget ac_aggr;
20277 if (ac_aggr.mt_blkno)
20278 return 0;
20280 return 0;
20282 _ACEOF
20283 rm -f conftest.$ac_objext
20284 if { (ac_try="$ac_compile"
20285 case "(($ac_try" in
20286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20288 esac
20289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20290 (eval "$ac_compile") 2>conftest.er1
20291 ac_status=$?
20292 grep -v '^ *+' conftest.er1 >conftest.err
20293 rm -f conftest.er1
20294 cat conftest.err >&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } && {
20297 test -z "$ac_c_werror_flag" ||
20298 test ! -s conftest.err
20299 } && test -s conftest.$ac_objext; then
20300 ac_cv_member_struct_mtget_mt_blkno=yes
20301 else
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20305 cat >conftest.$ac_ext <<_ACEOF
20306 /* confdefs.h. */
20307 _ACEOF
20308 cat confdefs.h >>conftest.$ac_ext
20309 cat >>conftest.$ac_ext <<_ACEOF
20310 /* end confdefs.h. */
20311 #include <sys/types.h>
20312 #ifdef HAVE_SYS_MTIO_H
20313 #include <sys/mtio.h>
20314 #endif
20317 main ()
20319 static struct mtget ac_aggr;
20320 if (sizeof ac_aggr.mt_blkno)
20321 return 0;
20323 return 0;
20325 _ACEOF
20326 rm -f conftest.$ac_objext
20327 if { (ac_try="$ac_compile"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331 esac
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_compile") 2>conftest.er1
20334 ac_status=$?
20335 grep -v '^ *+' conftest.er1 >conftest.err
20336 rm -f conftest.er1
20337 cat conftest.err >&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && {
20340 test -z "$ac_c_werror_flag" ||
20341 test ! -s conftest.err
20342 } && test -s conftest.$ac_objext; then
20343 ac_cv_member_struct_mtget_mt_blkno=yes
20344 else
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20348 ac_cv_member_struct_mtget_mt_blkno=no
20351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20356 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20357 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20358 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20360 cat >>confdefs.h <<_ACEOF
20361 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20362 _ACEOF
20368 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20369 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20370 if test "${ac_cv_member_struct_option_name+set}" = set; then
20371 echo $ECHO_N "(cached) $ECHO_C" >&6
20372 else
20373 cat >conftest.$ac_ext <<_ACEOF
20374 /* confdefs.h. */
20375 _ACEOF
20376 cat confdefs.h >>conftest.$ac_ext
20377 cat >>conftest.$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20379 #ifdef HAVE_GETOPT_H
20380 #include <getopt.h>
20381 #endif
20384 main ()
20386 static struct option ac_aggr;
20387 if (ac_aggr.name)
20388 return 0;
20390 return 0;
20392 _ACEOF
20393 rm -f conftest.$ac_objext
20394 if { (ac_try="$ac_compile"
20395 case "(($ac_try" in
20396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20397 *) ac_try_echo=$ac_try;;
20398 esac
20399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20400 (eval "$ac_compile") 2>conftest.er1
20401 ac_status=$?
20402 grep -v '^ *+' conftest.er1 >conftest.err
20403 rm -f conftest.er1
20404 cat conftest.err >&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } && {
20407 test -z "$ac_c_werror_flag" ||
20408 test ! -s conftest.err
20409 } && test -s conftest.$ac_objext; then
20410 ac_cv_member_struct_option_name=yes
20411 else
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.$ac_ext >&5
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 #ifdef HAVE_GETOPT_H
20422 #include <getopt.h>
20423 #endif
20426 main ()
20428 static struct option ac_aggr;
20429 if (sizeof ac_aggr.name)
20430 return 0;
20432 return 0;
20434 _ACEOF
20435 rm -f conftest.$ac_objext
20436 if { (ac_try="$ac_compile"
20437 case "(($ac_try" in
20438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20439 *) ac_try_echo=$ac_try;;
20440 esac
20441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20442 (eval "$ac_compile") 2>conftest.er1
20443 ac_status=$?
20444 grep -v '^ *+' conftest.er1 >conftest.err
20445 rm -f conftest.er1
20446 cat conftest.err >&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); } && {
20449 test -z "$ac_c_werror_flag" ||
20450 test ! -s conftest.err
20451 } && test -s conftest.$ac_objext; then
20452 ac_cv_member_struct_option_name=yes
20453 else
20454 echo "$as_me: failed program was:" >&5
20455 sed 's/^/| /' conftest.$ac_ext >&5
20457 ac_cv_member_struct_option_name=no
20460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20465 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20466 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20467 if test $ac_cv_member_struct_option_name = yes; then
20469 cat >>confdefs.h <<_ACEOF
20470 #define HAVE_STRUCT_OPTION_NAME 1
20471 _ACEOF
20477 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20478 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20479 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20480 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 else
20482 cat >conftest.$ac_ext <<_ACEOF
20483 /* confdefs.h. */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h. */
20488 $ac_includes_default
20490 main ()
20492 static struct stat ac_aggr;
20493 if (ac_aggr.st_blocks)
20494 return 0;
20496 return 0;
20498 _ACEOF
20499 rm -f conftest.$ac_objext
20500 if { (ac_try="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20504 esac
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20507 ac_status=$?
20508 grep -v '^ *+' conftest.er1 >conftest.err
20509 rm -f conftest.er1
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_member_struct_stat_st_blocks=yes
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20521 cat >conftest.$ac_ext <<_ACEOF
20522 /* confdefs.h. */
20523 _ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20529 main ()
20531 static struct stat ac_aggr;
20532 if (sizeof ac_aggr.st_blocks)
20533 return 0;
20535 return 0;
20537 _ACEOF
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542 *) ac_try_echo=$ac_try;;
20543 esac
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20546 ac_status=$?
20547 grep -v '^ *+' conftest.er1 >conftest.err
20548 rm -f conftest.er1
20549 cat conftest.err >&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.$ac_objext; then
20555 ac_cv_member_struct_stat_st_blocks=yes
20556 else
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20560 ac_cv_member_struct_stat_st_blocks=no
20563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20568 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20569 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20570 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20572 cat >>confdefs.h <<_ACEOF
20573 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20574 _ACEOF
20580 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20581 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20582 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 else
20585 cat >conftest.$ac_ext <<_ACEOF
20586 /* confdefs.h. */
20587 _ACEOF
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 #ifdef HAVE_SYS_TYPES_H
20592 #include <sys/types.h>
20593 #endif
20594 #ifdef HAVE_NETINET_IN_H
20595 #include <netinet/in.h>
20596 #endif
20599 main ()
20601 static struct sockaddr_in6 ac_aggr;
20602 if (ac_aggr.sin6_scope_id)
20603 return 0;
20605 return 0;
20607 _ACEOF
20608 rm -f conftest.$ac_objext
20609 if { (ac_try="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20613 esac
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20616 ac_status=$?
20617 grep -v '^ *+' conftest.er1 >conftest.err
20618 rm -f conftest.er1
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } && {
20622 test -z "$ac_c_werror_flag" ||
20623 test ! -s conftest.err
20624 } && test -s conftest.$ac_objext; then
20625 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20626 else
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20630 cat >conftest.$ac_ext <<_ACEOF
20631 /* confdefs.h. */
20632 _ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 #ifdef HAVE_SYS_TYPES_H
20637 #include <sys/types.h>
20638 #endif
20639 #ifdef HAVE_NETINET_IN_H
20640 #include <netinet/in.h>
20641 #endif
20644 main ()
20646 static struct sockaddr_in6 ac_aggr;
20647 if (sizeof ac_aggr.sin6_scope_id)
20648 return 0;
20650 return 0;
20652 _ACEOF
20653 rm -f conftest.$ac_objext
20654 if { (ac_try="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20658 esac
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20661 ac_status=$?
20662 grep -v '^ *+' conftest.er1 >conftest.err
20663 rm -f conftest.er1
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.$ac_objext; then
20670 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20671 else
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20675 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20684 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20685 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20687 cat >>confdefs.h <<_ACEOF
20688 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20689 _ACEOF
20695 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20696 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20697 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 else
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 #ifdef HAVE_SYS_TYPES_H
20707 #include <sys/types.h>
20708 #endif
20709 #ifdef HAVE_NETINET_IN_H
20710 # include <netinet/in.h>
20711 #endif
20712 #ifdef HAVE_ARPA_NAMESER_H
20713 # include <arpa/nameser.h>
20714 #endif
20717 main ()
20719 static ns_msg ac_aggr;
20720 if (ac_aggr._msg_ptr)
20721 return 0;
20723 return 0;
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20731 esac
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_cv_member_ns_msg__msg_ptr=yes
20744 else
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h. */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #ifdef HAVE_SYS_TYPES_H
20755 #include <sys/types.h>
20756 #endif
20757 #ifdef HAVE_NETINET_IN_H
20758 # include <netinet/in.h>
20759 #endif
20760 #ifdef HAVE_ARPA_NAMESER_H
20761 # include <arpa/nameser.h>
20762 #endif
20765 main ()
20767 static ns_msg ac_aggr;
20768 if (sizeof ac_aggr._msg_ptr)
20769 return 0;
20771 return 0;
20773 _ACEOF
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20779 esac
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20782 ac_status=$?
20783 grep -v '^ *+' conftest.er1 >conftest.err
20784 rm -f conftest.er1
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.$ac_objext; then
20791 ac_cv_member_ns_msg__msg_ptr=yes
20792 else
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.$ac_ext >&5
20796 ac_cv_member_ns_msg__msg_ptr=no
20799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20804 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20805 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20806 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20808 cat >>confdefs.h <<_ACEOF
20809 #define HAVE_NS_MSG__MSG_PTR 1
20810 _ACEOF
20816 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20817 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20818 if test "${ac_cv_have_timezone+set}" = set; then
20819 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 else
20821 cat >conftest.$ac_ext <<_ACEOF
20822 /* confdefs.h. */
20823 _ACEOF
20824 cat confdefs.h >>conftest.$ac_ext
20825 cat >>conftest.$ac_ext <<_ACEOF
20826 /* end confdefs.h. */
20827 #include <time.h>
20829 main ()
20831 timezone = 1
20833 return 0;
20835 _ACEOF
20836 rm -f conftest.$ac_objext conftest$ac_exeext
20837 if { (ac_try="$ac_link"
20838 case "(($ac_try" in
20839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20840 *) ac_try_echo=$ac_try;;
20841 esac
20842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20843 (eval "$ac_link") 2>conftest.er1
20844 ac_status=$?
20845 grep -v '^ *+' conftest.er1 >conftest.err
20846 rm -f conftest.er1
20847 cat conftest.err >&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } && {
20850 test -z "$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20852 } && test -s conftest$ac_exeext &&
20853 $as_test_x conftest$ac_exeext; then
20854 ac_cv_have_timezone="yes"
20855 else
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20859 ac_cv_have_timezone="no"
20862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20863 conftest$ac_exeext conftest.$ac_ext
20865 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20866 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20867 if test "$ac_cv_have_timezone" = "yes"
20868 then
20870 cat >>confdefs.h <<\_ACEOF
20871 #define HAVE_TIMEZONE 1
20872 _ACEOF
20875 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20876 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20877 if test "${ac_cv_have_daylight+set}" = set; then
20878 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 else
20880 cat >conftest.$ac_ext <<_ACEOF
20881 /* confdefs.h. */
20882 _ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 #include <time.h>
20888 main ()
20890 daylight = 1
20892 return 0;
20894 _ACEOF
20895 rm -f conftest.$ac_objext conftest$ac_exeext
20896 if { (ac_try="$ac_link"
20897 case "(($ac_try" in
20898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 *) ac_try_echo=$ac_try;;
20900 esac
20901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 (eval "$ac_link") 2>conftest.er1
20903 ac_status=$?
20904 grep -v '^ *+' conftest.er1 >conftest.err
20905 rm -f conftest.er1
20906 cat conftest.err >&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); } && {
20909 test -z "$ac_c_werror_flag" ||
20910 test ! -s conftest.err
20911 } && test -s conftest$ac_exeext &&
20912 $as_test_x conftest$ac_exeext; then
20913 ac_cv_have_daylight="yes"
20914 else
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.$ac_ext >&5
20918 ac_cv_have_daylight="no"
20921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20922 conftest$ac_exeext conftest.$ac_ext
20924 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20925 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20926 if test "$ac_cv_have_daylight" = "yes"
20927 then
20929 cat >>confdefs.h <<\_ACEOF
20930 #define HAVE_DAYLIGHT 1
20931 _ACEOF
20936 case $host_cpu in
20937 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20938 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20939 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 else
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 #ifndef __i386__
20950 #endif
20951 _ACEOF
20952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20953 $EGREP "yes" >/dev/null 2>&1; then
20954 ac_cv_cpp_def___i386__=yes
20955 else
20956 ac_cv_cpp_def___i386__=no
20958 rm -f conftest*
20961 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20962 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20963 if test $ac_cv_cpp_def___i386__ = yes; then
20964 CFLAGS="$CFLAGS -D__i386__"
20965 LINTFLAGS="$LINTFLAGS -D__i386__"
20968 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20969 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20970 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 else
20973 cat >conftest.$ac_ext <<_ACEOF
20974 /* confdefs.h. */
20975 _ACEOF
20976 cat confdefs.h >>conftest.$ac_ext
20977 cat >>conftest.$ac_ext <<_ACEOF
20978 /* end confdefs.h. */
20979 #ifndef __x86_64__
20981 #endif
20982 _ACEOF
20983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20984 $EGREP "yes" >/dev/null 2>&1; then
20985 ac_cv_cpp_def___x86_64__=yes
20986 else
20987 ac_cv_cpp_def___x86_64__=no
20989 rm -f conftest*
20992 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20993 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20994 if test $ac_cv_cpp_def___x86_64__ = yes; then
20995 CFLAGS="$CFLAGS -D__x86_64__"
20996 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20999 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21000 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21001 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21002 echo $ECHO_N "(cached) $ECHO_C" >&6
21003 else
21004 cat >conftest.$ac_ext <<_ACEOF
21005 /* confdefs.h. */
21006 _ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010 #ifndef __ALPHA__
21012 #endif
21013 _ACEOF
21014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21015 $EGREP "yes" >/dev/null 2>&1; then
21016 ac_cv_cpp_def___ALPHA__=yes
21017 else
21018 ac_cv_cpp_def___ALPHA__=no
21020 rm -f conftest*
21023 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21024 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21025 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21026 CFLAGS="$CFLAGS -D__ALPHA__"
21027 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21030 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21031 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21032 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 else
21035 cat >conftest.$ac_ext <<_ACEOF
21036 /* confdefs.h. */
21037 _ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041 #ifndef __sparc__
21043 #endif
21044 _ACEOF
21045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21046 $EGREP "yes" >/dev/null 2>&1; then
21047 ac_cv_cpp_def___sparc__=yes
21048 else
21049 ac_cv_cpp_def___sparc__=no
21051 rm -f conftest*
21054 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21055 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21056 if test $ac_cv_cpp_def___sparc__ = yes; then
21057 CFLAGS="$CFLAGS -D__sparc__"
21058 LINTFLAGS="$LINTFLAGS -D__sparc__"
21061 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21062 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21063 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 else
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 #ifndef __powerpc__
21074 #endif
21075 _ACEOF
21076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21077 $EGREP "yes" >/dev/null 2>&1; then
21078 ac_cv_cpp_def___powerpc__=yes
21079 else
21080 ac_cv_cpp_def___powerpc__=no
21082 rm -f conftest*
21085 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21086 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21087 if test $ac_cv_cpp_def___powerpc__ = yes; then
21088 CFLAGS="$CFLAGS -D__powerpc__"
21089 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21092 esac
21094 case $host_vendor in
21095 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21096 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21097 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21098 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 else
21100 cat >conftest.$ac_ext <<_ACEOF
21101 /* confdefs.h. */
21102 _ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 #ifndef __sun__
21108 #endif
21109 _ACEOF
21110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21111 $EGREP "yes" >/dev/null 2>&1; then
21112 ac_cv_cpp_def___sun__=yes
21113 else
21114 ac_cv_cpp_def___sun__=no
21116 rm -f conftest*
21119 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21120 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21121 if test $ac_cv_cpp_def___sun__ = yes; then
21122 CFLAGS="$CFLAGS -D__sun__"
21123 LINTFLAGS="$LINTFLAGS -D__sun__"
21126 esac
21129 DEPENDENCIES="### Dependencies:
21131 .INIT: Makefile
21132 .BEGIN: Makefile
21133 Makefile: dummy
21134 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21136 \$(OBJS): \$(IDL_GEN_HEADERS)
21137 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21138 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21139 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21145 ac_config_commands="$ac_config_commands include/stamp-h"
21148 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21150 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21152 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21154 ac_config_commands="$ac_config_commands dlls/user32/resources"
21156 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21158 ac_config_commands="$ac_config_commands include/wine"
21161 MAKE_RULES=Make.rules
21164 MAKE_DLL_RULES=dlls/Makedll.rules
21167 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21170 MAKE_TEST_RULES=dlls/Maketest.rules
21173 MAKE_PROG_RULES=programs/Makeprog.rules
21176 ac_config_files="$ac_config_files Make.rules"
21178 ac_config_files="$ac_config_files dlls/Makedll.rules"
21180 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21182 ac_config_files="$ac_config_files dlls/Maketest.rules"
21184 ac_config_files="$ac_config_files programs/Makeprog.rules"
21186 ac_config_files="$ac_config_files Makefile"
21188 ac_config_files="$ac_config_files dlls/Makefile"
21190 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21192 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21194 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21196 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21198 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21200 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21202 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21204 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21206 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21208 ac_config_files="$ac_config_files dlls/atl/Makefile"
21210 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21212 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21214 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21216 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21218 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21220 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21222 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21224 ac_config_files="$ac_config_files dlls/cards/Makefile"
21226 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21228 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21230 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21232 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21234 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21236 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21238 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21240 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21242 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21244 ac_config_files="$ac_config_files dlls/credui/Makefile"
21246 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21248 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21250 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21252 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21254 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21256 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21258 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21260 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21262 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21264 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21266 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21268 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21270 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21272 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21274 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21276 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21278 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21280 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21282 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21284 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21286 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21288 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21290 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21292 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21294 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21296 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21298 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21300 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21302 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21304 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21306 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21308 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21310 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21312 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21314 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21316 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21318 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21320 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21322 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21324 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21326 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21328 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21330 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21332 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21334 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21336 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21338 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21340 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21342 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21344 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21346 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21348 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21350 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21352 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21354 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21356 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21358 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21360 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21362 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21364 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21366 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21368 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21370 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21372 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21374 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21376 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21378 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21380 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21382 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21384 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21386 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21388 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21390 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21392 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21394 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21396 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21398 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21400 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21402 ac_config_files="$ac_config_files dlls/hal/Makefile"
21404 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21406 ac_config_files="$ac_config_files dlls/hid/Makefile"
21408 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21410 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21412 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21414 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21416 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21418 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21420 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21422 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21424 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21426 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21428 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21430 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21432 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21434 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21436 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21438 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21440 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21442 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21444 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21446 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21448 ac_config_files="$ac_config_files dlls/itss/Makefile"
21450 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21452 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21454 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21456 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21458 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21460 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21462 ac_config_files="$ac_config_files dlls/localui/Makefile"
21464 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21466 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21468 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21470 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21472 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21474 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21476 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21478 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21480 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21482 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21484 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21486 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21488 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21490 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21492 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21494 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21496 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21498 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21500 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21502 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21504 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21506 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21508 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21510 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21512 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21514 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21516 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21518 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21520 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21522 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21524 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21526 ac_config_files="$ac_config_files dlls/msi/Makefile"
21528 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21530 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21532 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21534 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21536 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21538 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21540 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21542 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21544 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21546 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21548 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21550 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21552 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21554 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21556 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21558 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21560 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21562 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21564 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21566 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21568 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21570 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21572 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21574 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21576 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21578 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21580 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21582 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21584 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21586 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21588 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21590 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21592 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21594 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21596 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21598 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21600 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21602 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21604 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21606 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21608 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21610 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21612 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21614 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21616 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21618 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21620 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21622 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21624 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21626 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21628 ac_config_files="$ac_config_files dlls/printui/Makefile"
21630 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21632 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21634 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21636 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21638 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21640 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21642 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21644 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21646 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21648 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21650 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21652 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21654 ac_config_files="$ac_config_files dlls/query/Makefile"
21656 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21658 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21660 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21662 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21664 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21666 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21668 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21670 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21672 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21674 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21676 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21678 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21680 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21682 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21684 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21686 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21688 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21690 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21692 ac_config_files="$ac_config_files dlls/security/Makefile"
21694 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21696 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21698 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21700 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21702 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21704 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21706 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21708 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21710 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21712 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21714 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21716 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21718 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21720 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21722 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21724 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21726 ac_config_files="$ac_config_files dlls/slc/Makefile"
21728 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21730 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21732 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21734 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21736 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21738 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21740 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21742 ac_config_files="$ac_config_files dlls/sti/Makefile"
21744 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21746 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21748 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21750 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21752 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21754 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21756 ac_config_files="$ac_config_files dlls/url/Makefile"
21758 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21760 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21762 ac_config_files="$ac_config_files dlls/user32/Makefile"
21764 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21766 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21768 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21770 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21772 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21774 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21776 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21778 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21780 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21782 ac_config_files="$ac_config_files dlls/version/Makefile"
21784 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21786 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21788 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21790 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21792 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21794 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21796 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21798 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21800 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21802 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21804 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21806 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21808 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21810 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21812 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21814 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21816 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21818 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21820 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21822 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21824 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21826 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21828 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21830 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21832 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21834 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21836 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21838 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21840 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21842 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21844 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21846 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21848 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21850 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21852 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21854 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21856 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21858 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21860 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21862 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21864 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21866 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21868 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21870 ac_config_files="$ac_config_files documentation/Makefile"
21872 ac_config_files="$ac_config_files fonts/Makefile"
21874 ac_config_files="$ac_config_files include/Makefile"
21876 ac_config_files="$ac_config_files libs/Makefile"
21878 ac_config_files="$ac_config_files libs/port/Makefile"
21880 ac_config_files="$ac_config_files libs/wine/Makefile"
21882 ac_config_files="$ac_config_files libs/wpp/Makefile"
21884 ac_config_files="$ac_config_files loader/Makefile"
21886 ac_config_files="$ac_config_files programs/Makefile"
21888 ac_config_files="$ac_config_files programs/clock/Makefile"
21890 ac_config_files="$ac_config_files programs/cmd/Makefile"
21892 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21894 ac_config_files="$ac_config_files programs/control/Makefile"
21896 ac_config_files="$ac_config_files programs/eject/Makefile"
21898 ac_config_files="$ac_config_files programs/expand/Makefile"
21900 ac_config_files="$ac_config_files programs/explorer/Makefile"
21902 ac_config_files="$ac_config_files programs/hh/Makefile"
21904 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21906 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21908 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21910 ac_config_files="$ac_config_files programs/net/Makefile"
21912 ac_config_files="$ac_config_files programs/notepad/Makefile"
21914 ac_config_files="$ac_config_files programs/oleview/Makefile"
21916 ac_config_files="$ac_config_files programs/progman/Makefile"
21918 ac_config_files="$ac_config_files programs/reg/Makefile"
21920 ac_config_files="$ac_config_files programs/regedit/Makefile"
21922 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21924 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21926 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21928 ac_config_files="$ac_config_files programs/secedit/Makefile"
21930 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21932 ac_config_files="$ac_config_files programs/start/Makefile"
21934 ac_config_files="$ac_config_files programs/svchost/Makefile"
21936 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21938 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21940 ac_config_files="$ac_config_files programs/view/Makefile"
21942 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21944 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21946 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21948 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21950 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21952 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21954 ac_config_files="$ac_config_files programs/winefile/Makefile"
21956 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21958 ac_config_files="$ac_config_files programs/winemine/Makefile"
21960 ac_config_files="$ac_config_files programs/winepath/Makefile"
21962 ac_config_files="$ac_config_files programs/winetest/Makefile"
21964 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21966 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21968 ac_config_files="$ac_config_files programs/winver/Makefile"
21970 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21972 ac_config_files="$ac_config_files programs/write/Makefile"
21974 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21976 ac_config_files="$ac_config_files server/Makefile"
21978 ac_config_files="$ac_config_files tools/Makefile"
21980 ac_config_files="$ac_config_files tools/widl/Makefile"
21982 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21984 ac_config_files="$ac_config_files tools/winedump/Makefile"
21986 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21988 ac_config_files="$ac_config_files tools/wmc/Makefile"
21990 ac_config_files="$ac_config_files tools/wrc/Makefile"
21993 cat >confcache <<\_ACEOF
21994 # This file is a shell script that caches the results of configure
21995 # tests run on this system so they can be shared between configure
21996 # scripts and configure runs, see configure's option --config-cache.
21997 # It is not useful on other systems. If it contains results you don't
21998 # want to keep, you may remove or edit it.
22000 # config.status only pays attention to the cache file if you give it
22001 # the --recheck option to rerun configure.
22003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22005 # following values.
22007 _ACEOF
22009 # The following way of writing the cache mishandles newlines in values,
22010 # but we know of no workaround that is simple, portable, and efficient.
22011 # So, we kill variables containing newlines.
22012 # Ultrix sh set writes to stderr and can't be redirected directly,
22013 # and sets the high bit in the cache file unless we assign to the vars.
22015 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22016 eval ac_val=\$$ac_var
22017 case $ac_val in #(
22018 *${as_nl}*)
22019 case $ac_var in #(
22020 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22021 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22022 esac
22023 case $ac_var in #(
22024 _ | IFS | as_nl) ;; #(
22025 *) $as_unset $ac_var ;;
22026 esac ;;
22027 esac
22028 done
22030 (set) 2>&1 |
22031 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22032 *${as_nl}ac_space=\ *)
22033 # `set' does not quote correctly, so add quotes (double-quote
22034 # substitution turns \\\\ into \\, and sed turns \\ into \).
22035 sed -n \
22036 "s/'/'\\\\''/g;
22037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22038 ;; #(
22040 # `set' quotes correctly as required by POSIX, so do not add quotes.
22041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22043 esac |
22044 sort
22046 sed '
22047 /^ac_cv_env_/b end
22048 t clear
22049 :clear
22050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22051 t end
22052 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22053 :end' >>confcache
22054 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22055 if test -w "$cache_file"; then
22056 test "x$cache_file" != "x/dev/null" &&
22057 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22058 echo "$as_me: updating cache $cache_file" >&6;}
22059 cat confcache >$cache_file
22060 else
22061 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22062 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22065 rm -f confcache
22067 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22068 # Let make expand exec_prefix.
22069 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22071 DEFS=-DHAVE_CONFIG_H
22073 ac_libobjs=
22074 ac_ltlibobjs=
22075 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22076 # 1. Remove the extension, and $U if already installed.
22077 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22078 ac_i=`echo "$ac_i" | sed "$ac_script"`
22079 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22080 # will be set to the directory where LIBOBJS objects are built.
22081 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22082 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22083 done
22084 LIBOBJS=$ac_libobjs
22086 LTLIBOBJS=$ac_ltlibobjs
22090 : ${CONFIG_STATUS=./config.status}
22091 ac_clean_files_save=$ac_clean_files
22092 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22093 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22094 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22095 cat >$CONFIG_STATUS <<_ACEOF
22096 #! $SHELL
22097 # Generated by $as_me.
22098 # Run this file to recreate the current configuration.
22099 # Compiler output produced by configure, useful for debugging
22100 # configure, is in config.log if it exists.
22102 debug=false
22103 ac_cs_recheck=false
22104 ac_cs_silent=false
22105 SHELL=\${CONFIG_SHELL-$SHELL}
22106 _ACEOF
22108 cat >>$CONFIG_STATUS <<\_ACEOF
22109 ## --------------------- ##
22110 ## M4sh Initialization. ##
22111 ## --------------------- ##
22113 # Be more Bourne compatible
22114 DUALCASE=1; export DUALCASE # for MKS sh
22115 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22116 emulate sh
22117 NULLCMD=:
22118 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22119 # is contrary to our usage. Disable this feature.
22120 alias -g '${1+"$@"}'='"$@"'
22121 setopt NO_GLOB_SUBST
22122 else
22123 case `(set -o) 2>/dev/null` in
22124 *posix*) set -o posix ;;
22125 esac
22132 # PATH needs CR
22133 # Avoid depending upon Character Ranges.
22134 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22135 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22136 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22137 as_cr_digits='0123456789'
22138 as_cr_alnum=$as_cr_Letters$as_cr_digits
22140 # The user is always right.
22141 if test "${PATH_SEPARATOR+set}" != set; then
22142 echo "#! /bin/sh" >conf$$.sh
22143 echo "exit 0" >>conf$$.sh
22144 chmod +x conf$$.sh
22145 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22146 PATH_SEPARATOR=';'
22147 else
22148 PATH_SEPARATOR=:
22150 rm -f conf$$.sh
22153 # Support unset when possible.
22154 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22155 as_unset=unset
22156 else
22157 as_unset=false
22161 # IFS
22162 # We need space, tab and new line, in precisely that order. Quoting is
22163 # there to prevent editors from complaining about space-tab.
22164 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22165 # splitting by setting IFS to empty value.)
22166 as_nl='
22168 IFS=" "" $as_nl"
22170 # Find who we are. Look in the path if we contain no directory separator.
22171 case $0 in
22172 *[\\/]* ) as_myself=$0 ;;
22173 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22174 for as_dir in $PATH
22176 IFS=$as_save_IFS
22177 test -z "$as_dir" && as_dir=.
22178 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22179 done
22180 IFS=$as_save_IFS
22183 esac
22184 # We did not find ourselves, most probably we were run as `sh COMMAND'
22185 # in which case we are not to be found in the path.
22186 if test "x$as_myself" = x; then
22187 as_myself=$0
22189 if test ! -f "$as_myself"; then
22190 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22191 { (exit 1); exit 1; }
22194 # Work around bugs in pre-3.0 UWIN ksh.
22195 for as_var in ENV MAIL MAILPATH
22196 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22197 done
22198 PS1='$ '
22199 PS2='> '
22200 PS4='+ '
22202 # NLS nuisances.
22203 for as_var in \
22204 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22205 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22206 LC_TELEPHONE LC_TIME
22208 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22209 eval $as_var=C; export $as_var
22210 else
22211 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22213 done
22215 # Required to use basename.
22216 if expr a : '\(a\)' >/dev/null 2>&1 &&
22217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22218 as_expr=expr
22219 else
22220 as_expr=false
22223 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22224 as_basename=basename
22225 else
22226 as_basename=false
22230 # Name of the executable.
22231 as_me=`$as_basename -- "$0" ||
22232 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22233 X"$0" : 'X\(//\)$' \| \
22234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22235 echo X/"$0" |
22236 sed '/^.*\/\([^/][^/]*\)\/*$/{
22237 s//\1/
22240 /^X\/\(\/\/\)$/{
22241 s//\1/
22244 /^X\/\(\/\).*/{
22245 s//\1/
22248 s/.*/./; q'`
22250 # CDPATH.
22251 $as_unset CDPATH
22255 as_lineno_1=$LINENO
22256 as_lineno_2=$LINENO
22257 test "x$as_lineno_1" != "x$as_lineno_2" &&
22258 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22260 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22261 # uniformly replaced by the line number. The first 'sed' inserts a
22262 # line-number line after each line using $LINENO; the second 'sed'
22263 # does the real work. The second script uses 'N' to pair each
22264 # line-number line with the line containing $LINENO, and appends
22265 # trailing '-' during substitution so that $LINENO is not a special
22266 # case at line end.
22267 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22268 # scripts with optimization help from Paolo Bonzini. Blame Lee
22269 # E. McMahon (1931-1989) for sed's syntax. :-)
22270 sed -n '
22272 /[$]LINENO/=
22273 ' <$as_myself |
22274 sed '
22275 s/[$]LINENO.*/&-/
22276 t lineno
22278 :lineno
22280 :loop
22281 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22282 t loop
22283 s/-\n.*//
22284 ' >$as_me.lineno &&
22285 chmod +x "$as_me.lineno" ||
22286 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22287 { (exit 1); exit 1; }; }
22289 # Don't try to exec as it changes $[0], causing all sort of problems
22290 # (the dirname of $[0] is not the place where we might find the
22291 # original and so on. Autoconf is especially sensitive to this).
22292 . "./$as_me.lineno"
22293 # Exit status is that of the last command.
22294 exit
22298 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22299 as_dirname=dirname
22300 else
22301 as_dirname=false
22304 ECHO_C= ECHO_N= ECHO_T=
22305 case `echo -n x` in
22306 -n*)
22307 case `echo 'x\c'` in
22308 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22309 *) ECHO_C='\c';;
22310 esac;;
22312 ECHO_N='-n';;
22313 esac
22315 if expr a : '\(a\)' >/dev/null 2>&1 &&
22316 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22317 as_expr=expr
22318 else
22319 as_expr=false
22322 rm -f conf$$ conf$$.exe conf$$.file
22323 if test -d conf$$.dir; then
22324 rm -f conf$$.dir/conf$$.file
22325 else
22326 rm -f conf$$.dir
22327 mkdir conf$$.dir
22329 echo >conf$$.file
22330 if ln -s conf$$.file conf$$ 2>/dev/null; then
22331 as_ln_s='ln -s'
22332 # ... but there are two gotchas:
22333 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22334 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22335 # In both cases, we have to default to `cp -p'.
22336 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22337 as_ln_s='cp -p'
22338 elif ln conf$$.file conf$$ 2>/dev/null; then
22339 as_ln_s=ln
22340 else
22341 as_ln_s='cp -p'
22343 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22344 rmdir conf$$.dir 2>/dev/null
22346 if mkdir -p . 2>/dev/null; then
22347 as_mkdir_p=:
22348 else
22349 test -d ./-p && rmdir ./-p
22350 as_mkdir_p=false
22353 if test -x / >/dev/null 2>&1; then
22354 as_test_x='test -x'
22355 else
22356 if ls -dL / >/dev/null 2>&1; then
22357 as_ls_L_option=L
22358 else
22359 as_ls_L_option=
22361 as_test_x='
22362 eval sh -c '\''
22363 if test -d "$1"; then
22364 test -d "$1/.";
22365 else
22366 case $1 in
22367 -*)set "./$1";;
22368 esac;
22369 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22370 ???[sx]*):;;*)false;;esac;fi
22371 '\'' sh
22374 as_executable_p=$as_test_x
22376 # Sed expression to map a string onto a valid CPP name.
22377 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22379 # Sed expression to map a string onto a valid variable name.
22380 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22383 exec 6>&1
22385 # Save the log message, to keep $[0] and so on meaningful, and to
22386 # report actual input values of CONFIG_FILES etc. instead of their
22387 # values after options handling.
22388 ac_log="
22389 This file was extended by Wine $as_me 0.9.57, which was
22390 generated by GNU Autoconf 2.61. Invocation command line was
22392 CONFIG_FILES = $CONFIG_FILES
22393 CONFIG_HEADERS = $CONFIG_HEADERS
22394 CONFIG_LINKS = $CONFIG_LINKS
22395 CONFIG_COMMANDS = $CONFIG_COMMANDS
22396 $ $0 $@
22398 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22401 _ACEOF
22403 cat >>$CONFIG_STATUS <<_ACEOF
22404 # Files that config.status was made for.
22405 config_files="$ac_config_files"
22406 config_headers="$ac_config_headers"
22407 config_commands="$ac_config_commands"
22409 _ACEOF
22411 cat >>$CONFIG_STATUS <<\_ACEOF
22412 ac_cs_usage="\
22413 \`$as_me' instantiates files from templates according to the
22414 current configuration.
22416 Usage: $0 [OPTIONS] [FILE]...
22418 -h, --help print this help, then exit
22419 -V, --version print version number and configuration settings, then exit
22420 -q, --quiet do not print progress messages
22421 -d, --debug don't remove temporary files
22422 --recheck update $as_me by reconfiguring in the same conditions
22423 --file=FILE[:TEMPLATE]
22424 instantiate the configuration file FILE
22425 --header=FILE[:TEMPLATE]
22426 instantiate the configuration header FILE
22428 Configuration files:
22429 $config_files
22431 Configuration headers:
22432 $config_headers
22434 Configuration commands:
22435 $config_commands
22437 Report bugs to <bug-autoconf@gnu.org>."
22439 _ACEOF
22440 cat >>$CONFIG_STATUS <<_ACEOF
22441 ac_cs_version="\\
22442 Wine config.status 0.9.57
22443 configured by $0, generated by GNU Autoconf 2.61,
22444 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22446 Copyright (C) 2006 Free Software Foundation, Inc.
22447 This config.status script is free software; the Free Software Foundation
22448 gives unlimited permission to copy, distribute and modify it."
22450 ac_pwd='$ac_pwd'
22451 srcdir='$srcdir'
22452 INSTALL='$INSTALL'
22453 _ACEOF
22455 cat >>$CONFIG_STATUS <<\_ACEOF
22456 # If no file are specified by the user, then we need to provide default
22457 # value. By we need to know if files were specified by the user.
22458 ac_need_defaults=:
22459 while test $# != 0
22461 case $1 in
22462 --*=*)
22463 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22464 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22465 ac_shift=:
22468 ac_option=$1
22469 ac_optarg=$2
22470 ac_shift=shift
22472 esac
22474 case $ac_option in
22475 # Handling of the options.
22476 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22477 ac_cs_recheck=: ;;
22478 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22479 echo "$ac_cs_version"; exit ;;
22480 --debug | --debu | --deb | --de | --d | -d )
22481 debug=: ;;
22482 --file | --fil | --fi | --f )
22483 $ac_shift
22484 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22485 ac_need_defaults=false;;
22486 --header | --heade | --head | --hea )
22487 $ac_shift
22488 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22489 ac_need_defaults=false;;
22490 --he | --h)
22491 # Conflict between --help and --header
22492 { echo "$as_me: error: ambiguous option: $1
22493 Try \`$0 --help' for more information." >&2
22494 { (exit 1); exit 1; }; };;
22495 --help | --hel | -h )
22496 echo "$ac_cs_usage"; exit ;;
22497 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22498 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22499 ac_cs_silent=: ;;
22501 # This is an error.
22502 -*) { echo "$as_me: error: unrecognized option: $1
22503 Try \`$0 --help' for more information." >&2
22504 { (exit 1); exit 1; }; } ;;
22506 *) ac_config_targets="$ac_config_targets $1"
22507 ac_need_defaults=false ;;
22509 esac
22510 shift
22511 done
22513 ac_configure_extra_args=
22515 if $ac_cs_silent; then
22516 exec 6>/dev/null
22517 ac_configure_extra_args="$ac_configure_extra_args --silent"
22520 _ACEOF
22521 cat >>$CONFIG_STATUS <<_ACEOF
22522 if \$ac_cs_recheck; then
22523 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22524 CONFIG_SHELL=$SHELL
22525 export CONFIG_SHELL
22526 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22529 _ACEOF
22530 cat >>$CONFIG_STATUS <<\_ACEOF
22531 exec 5>>config.log
22533 echo
22534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22535 ## Running $as_me. ##
22536 _ASBOX
22537 echo "$ac_log"
22538 } >&5
22540 _ACEOF
22541 cat >>$CONFIG_STATUS <<_ACEOF
22542 _ACEOF
22544 cat >>$CONFIG_STATUS <<\_ACEOF
22546 # Handling of arguments.
22547 for ac_config_target in $ac_config_targets
22549 case $ac_config_target in
22550 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22551 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22552 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22553 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22554 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22555 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22556 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22557 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22558 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22559 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22560 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22561 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22562 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22563 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22564 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22565 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22566 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22567 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22568 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22569 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22570 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22571 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22572 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22573 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22574 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22575 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22576 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22577 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22578 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22579 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22580 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22581 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22582 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22583 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22584 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22585 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22586 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22587 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22588 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22589 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22590 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22591 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22592 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22593 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22594 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22595 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22596 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22597 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22598 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22599 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22600 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22601 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22602 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22603 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22604 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22605 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22606 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22607 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22608 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22609 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22610 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22611 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22612 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22613 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22614 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22615 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22616 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22617 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22618 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22619 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22620 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22621 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22622 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22623 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22624 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22625 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22626 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22627 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22628 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22629 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22630 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22631 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22632 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22633 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22634 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22635 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22636 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22637 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22638 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22639 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22640 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22641 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22642 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22643 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22644 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22645 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22646 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22647 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22648 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22649 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22650 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22651 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22652 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22653 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22654 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22655 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22656 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22657 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22658 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22659 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22660 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22661 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22662 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22663 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22664 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22665 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22666 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22667 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22668 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22669 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22670 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22671 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22672 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22673 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22674 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22675 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22676 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22677 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22678 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22679 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22680 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22681 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22682 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22683 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22684 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22685 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22686 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22687 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22688 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22689 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22690 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22691 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22692 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22693 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22694 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22695 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22696 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22697 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22698 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22699 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22700 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22701 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22702 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22703 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22704 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22705 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22706 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22707 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22708 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22709 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22710 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22711 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22712 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22713 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22714 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22715 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22716 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22717 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22718 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22719 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22720 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22721 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22722 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22723 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22724 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22725 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22726 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22727 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22728 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22729 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22730 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22731 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22732 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22733 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22734 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22735 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22736 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22737 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22738 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22739 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22740 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22741 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22742 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22743 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22744 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22745 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22746 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22747 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22748 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22749 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22750 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22751 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22752 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22753 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22754 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22755 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22756 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22757 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22758 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22759 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22760 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22761 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22762 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22763 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22764 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22765 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22766 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22767 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22768 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22769 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22770 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22771 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22772 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22773 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22774 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22775 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22776 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22777 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22778 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22779 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22780 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22781 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22782 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22783 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22784 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22785 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22786 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22787 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22788 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22789 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22790 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22791 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22792 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22793 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22794 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22795 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22796 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22797 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22798 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22799 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22800 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22801 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22802 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22803 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22804 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22805 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22806 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22807 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22808 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22809 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22810 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22811 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22812 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22813 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22814 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22815 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22816 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22817 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22818 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22819 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22820 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22821 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22822 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22823 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22824 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22825 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22826 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22827 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22828 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22829 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22830 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22831 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22832 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22833 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22834 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22835 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22836 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22837 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22838 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22839 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22840 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22841 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22842 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22843 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22844 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22845 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22846 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22847 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22848 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22849 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22850 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22851 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22852 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22853 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22854 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22855 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22856 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22857 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22858 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22859 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22860 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22861 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22862 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22863 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22864 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22865 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22866 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22867 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22868 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22869 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22870 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22871 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22872 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22873 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22874 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22875 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22876 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22877 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22878 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22879 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22880 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22881 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22882 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22883 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22884 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22885 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22886 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22887 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22888 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22889 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22890 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22891 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22892 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22893 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22894 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22895 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22896 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22897 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22898 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22899 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22900 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22901 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22902 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22903 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22904 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22905 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22906 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22907 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22908 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22909 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22910 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22911 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22912 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22913 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22914 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22915 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22916 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22917 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22918 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22919 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22920 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22921 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22922 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22923 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22924 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22925 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22926 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22927 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22928 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22929 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
22930 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22931 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22932 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22933 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22934 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
22935 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22936 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22937 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22938 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22939 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22940 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22941 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22942 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22943 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22944 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22945 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22946 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22947 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22948 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22949 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22950 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22951 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22952 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22953 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22954 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22955 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22956 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22957 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22958 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22959 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22960 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22961 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22962 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22963 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22964 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22965 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22967 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22968 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22969 { (exit 1); exit 1; }; };;
22970 esac
22971 done
22974 # If the user did not use the arguments to specify the items to instantiate,
22975 # then the envvar interface is used. Set only those that are not.
22976 # We use the long form for the default assignment because of an extremely
22977 # bizarre bug on SunOS 4.1.3.
22978 if $ac_need_defaults; then
22979 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22980 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22981 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22984 # Have a temporary directory for convenience. Make it in the build tree
22985 # simply because there is no reason against having it here, and in addition,
22986 # creating and moving files from /tmp can sometimes cause problems.
22987 # Hook for its removal unless debugging.
22988 # Note that there is a small window in which the directory will not be cleaned:
22989 # after its creation but before its name has been assigned to `$tmp'.
22990 $debug ||
22992 tmp=
22993 trap 'exit_status=$?
22994 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22996 trap '{ (exit 1); exit 1; }' 1 2 13 15
22998 # Create a (secure) tmp directory for tmp files.
23001 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23002 test -n "$tmp" && test -d "$tmp"
23003 } ||
23005 tmp=./conf$$-$RANDOM
23006 (umask 077 && mkdir "$tmp")
23007 } ||
23009 echo "$me: cannot create a temporary directory in ." >&2
23010 { (exit 1); exit 1; }
23014 # Set up the sed scripts for CONFIG_FILES section.
23017 # No need to generate the scripts if there are no CONFIG_FILES.
23018 # This happens for instance when ./config.status config.h
23019 if test -n "$CONFIG_FILES"; then
23021 _ACEOF
23023 # Create sed commands to just substitute file output variables.
23025 # Remaining file output variables are in a fragment that also has non-file
23026 # output varibles.
23030 ac_delim='%!_!# '
23031 for ac_last_try in false false false false false :; do
23032 cat >conf$$subs.sed <<_ACEOF
23033 SHELL!$SHELL$ac_delim
23034 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23035 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23036 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23037 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23038 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23039 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23040 exec_prefix!$exec_prefix$ac_delim
23041 prefix!$prefix$ac_delim
23042 program_transform_name!$program_transform_name$ac_delim
23043 bindir!$bindir$ac_delim
23044 sbindir!$sbindir$ac_delim
23045 libexecdir!$libexecdir$ac_delim
23046 datarootdir!$datarootdir$ac_delim
23047 datadir!$datadir$ac_delim
23048 sysconfdir!$sysconfdir$ac_delim
23049 sharedstatedir!$sharedstatedir$ac_delim
23050 localstatedir!$localstatedir$ac_delim
23051 includedir!$includedir$ac_delim
23052 oldincludedir!$oldincludedir$ac_delim
23053 docdir!$docdir$ac_delim
23054 infodir!$infodir$ac_delim
23055 htmldir!$htmldir$ac_delim
23056 dvidir!$dvidir$ac_delim
23057 pdfdir!$pdfdir$ac_delim
23058 psdir!$psdir$ac_delim
23059 libdir!$libdir$ac_delim
23060 localedir!$localedir$ac_delim
23061 mandir!$mandir$ac_delim
23062 DEFS!$DEFS$ac_delim
23063 ECHO_C!$ECHO_C$ac_delim
23064 ECHO_N!$ECHO_N$ac_delim
23065 ECHO_T!$ECHO_T$ac_delim
23066 LIBS!$LIBS$ac_delim
23067 build_alias!$build_alias$ac_delim
23068 host_alias!$host_alias$ac_delim
23069 target_alias!$target_alias$ac_delim
23070 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23071 build!$build$ac_delim
23072 build_cpu!$build_cpu$ac_delim
23073 build_vendor!$build_vendor$ac_delim
23074 build_os!$build_os$ac_delim
23075 host!$host$ac_delim
23076 host_cpu!$host_cpu$ac_delim
23077 host_vendor!$host_vendor$ac_delim
23078 host_os!$host_os$ac_delim
23079 WIN16_FILES!$WIN16_FILES$ac_delim
23080 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23081 SET_MAKE!$SET_MAKE$ac_delim
23082 CC!$CC$ac_delim
23083 CFLAGS!$CFLAGS$ac_delim
23084 LDFLAGS!$LDFLAGS$ac_delim
23085 CPPFLAGS!$CPPFLAGS$ac_delim
23086 ac_ct_CC!$ac_ct_CC$ac_delim
23087 EXEEXT!$EXEEXT$ac_delim
23088 OBJEXT!$OBJEXT$ac_delim
23089 CXX!$CXX$ac_delim
23090 CXXFLAGS!$CXXFLAGS$ac_delim
23091 ac_ct_CXX!$ac_ct_CXX$ac_delim
23092 CPPBIN!$CPPBIN$ac_delim
23093 TOOLSDIR!$TOOLSDIR$ac_delim
23094 XMKMF!$XMKMF$ac_delim
23095 CPP!$CPP$ac_delim
23096 X_CFLAGS!$X_CFLAGS$ac_delim
23097 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23098 X_LIBS!$X_LIBS$ac_delim
23099 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23100 FLEX!$FLEX$ac_delim
23101 BISON!$BISON$ac_delim
23102 AS!$AS$ac_delim
23103 ac_ct_AS!$ac_ct_AS$ac_delim
23104 LD!$LD$ac_delim
23105 AR!$AR$ac_delim
23106 ARFLAGS!$ARFLAGS$ac_delim
23107 RANLIB!$RANLIB$ac_delim
23108 STRIP!$STRIP$ac_delim
23109 WINDRES!$WINDRES$ac_delim
23110 LN_S!$LN_S$ac_delim
23111 LN!$LN$ac_delim
23112 GREP!$GREP$ac_delim
23113 EGREP!$EGREP$ac_delim
23114 LDCONFIG!$LDCONFIG$ac_delim
23115 _ACEOF
23117 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23118 break
23119 elif $ac_last_try; then
23120 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23121 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23122 { (exit 1); exit 1; }; }
23123 else
23124 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23126 done
23128 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23129 if test -n "$ac_eof"; then
23130 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23131 ac_eof=`expr $ac_eof + 1`
23134 cat >>$CONFIG_STATUS <<_ACEOF
23135 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23136 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23137 /^[ ]*@MAKE_RULES@[ ]*$/{
23138 r $MAKE_RULES
23141 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23142 r $MAKE_DLL_RULES
23145 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23146 r $MAKE_IMPLIB_RULES
23149 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23150 r $MAKE_TEST_RULES
23153 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23154 r $MAKE_PROG_RULES
23157 _ACEOF
23158 sed '
23159 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23160 s/^/s,@/; s/!/@,|#_!!_#|/
23163 s/'"$ac_delim"'$/,g/; t
23164 s/$/\\/; p
23165 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23166 ' >>$CONFIG_STATUS <conf$$subs.sed
23167 rm -f conf$$subs.sed
23168 cat >>$CONFIG_STATUS <<_ACEOF
23169 CEOF$ac_eof
23170 _ACEOF
23173 ac_delim='%!_!# '
23174 for ac_last_try in false false false false false :; do
23175 cat >conf$$subs.sed <<_ACEOF
23176 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23177 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23178 INSTALL_DATA!$INSTALL_DATA$ac_delim
23179 LINT!$LINT$ac_delim
23180 LINTFLAGS!$LINTFLAGS$ac_delim
23181 FONTFORGE!$FONTFORGE$ac_delim
23182 PKG_CONFIG!$PKG_CONFIG$ac_delim
23183 PRELINK!$PRELINK$ac_delim
23184 LIBPTHREAD!$LIBPTHREAD$ac_delim
23185 XLIB!$XLIB$ac_delim
23186 XFILES!$XFILES$ac_delim
23187 OPENGLFILES!$OPENGLFILES$ac_delim
23188 GLU32FILES!$GLU32FILES$ac_delim
23189 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23190 QUARTZFILES!$QUARTZFILES$ac_delim
23191 DLLEXT!$DLLEXT$ac_delim
23192 DLLFLAGS!$DLLFLAGS$ac_delim
23193 LDSHARED!$LDSHARED$ac_delim
23194 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23195 LIBEXT!$LIBEXT$ac_delim
23196 IMPLIBEXT!$IMPLIBEXT$ac_delim
23197 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23198 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23199 LDD!$LDD$ac_delim
23200 DLLTOOL!$DLLTOOL$ac_delim
23201 DLLWRAP!$DLLWRAP$ac_delim
23202 MINGWAR!$MINGWAR$ac_delim
23203 SECURITYLIB!$SECURITYLIB$ac_delim
23204 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23205 IOKITLIB!$IOKITLIB$ac_delim
23206 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23207 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23208 COREAUDIO!$COREAUDIO$ac_delim
23209 CARBONLIB!$CARBONLIB$ac_delim
23210 CROSSTEST!$CROSSTEST$ac_delim
23211 CROSSCC!$CROSSCC$ac_delim
23212 CROSSWINDRES!$CROSSWINDRES$ac_delim
23213 NASLIBS!$NASLIBS$ac_delim
23214 XML2LIBS!$XML2LIBS$ac_delim
23215 XML2INCL!$XML2INCL$ac_delim
23216 XSLTLIBS!$XSLTLIBS$ac_delim
23217 XSLTINCL!$XSLTINCL$ac_delim
23218 HALINCL!$HALINCL$ac_delim
23219 sane_devel!$sane_devel$ac_delim
23220 SANEINCL!$SANEINCL$ac_delim
23221 gphoto2_devel!$gphoto2_devel$ac_delim
23222 gphoto2port_devel!$gphoto2port_devel$ac_delim
23223 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23224 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23225 RESOLVLIBS!$RESOLVLIBS$ac_delim
23226 LCMSLIBS!$LCMSLIBS$ac_delim
23227 LDAPLIBS!$LDAPLIBS$ac_delim
23228 ft_devel!$ft_devel$ac_delim
23229 FREETYPELIBS!$FREETYPELIBS$ac_delim
23230 FREETYPEINCL!$FREETYPEINCL$ac_delim
23231 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23232 ESDCONFIG!$ESDCONFIG$ac_delim
23233 ESDLIBS!$ESDLIBS$ac_delim
23234 ESDINCL!$ESDINCL$ac_delim
23235 ALSALIBS!$ALSALIBS$ac_delim
23236 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23237 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23238 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23239 BUILTINFLAG!$BUILTINFLAG$ac_delim
23240 LDPATH!$LDPATH$ac_delim
23241 CRTLIBS!$CRTLIBS$ac_delim
23242 SOCKETLIBS!$SOCKETLIBS$ac_delim
23243 MAIN_BINARY!$MAIN_BINARY$ac_delim
23244 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23245 LIBDL!$LIBDL$ac_delim
23246 LIBPOLL!$LIBPOLL$ac_delim
23247 DEPENDENCIES!$DEPENDENCIES$ac_delim
23248 LIBOBJS!$LIBOBJS$ac_delim
23249 LTLIBOBJS!$LTLIBOBJS$ac_delim
23250 _ACEOF
23252 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
23253 break
23254 elif $ac_last_try; then
23255 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23256 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23257 { (exit 1); exit 1; }; }
23258 else
23259 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23261 done
23263 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23264 if test -n "$ac_eof"; then
23265 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23266 ac_eof=`expr $ac_eof + 1`
23269 cat >>$CONFIG_STATUS <<_ACEOF
23270 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23271 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23272 _ACEOF
23273 sed '
23274 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23275 s/^/s,@/; s/!/@,|#_!!_#|/
23278 s/'"$ac_delim"'$/,g/; t
23279 s/$/\\/; p
23280 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23281 ' >>$CONFIG_STATUS <conf$$subs.sed
23282 rm -f conf$$subs.sed
23283 cat >>$CONFIG_STATUS <<_ACEOF
23284 :end
23285 s/|#_!!_#|//g
23286 CEOF$ac_eof
23287 _ACEOF
23290 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23291 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23292 # trailing colons and then remove the whole line if VPATH becomes empty
23293 # (actually we leave an empty line to preserve line numbers).
23294 if test "x$srcdir" = x.; then
23295 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23296 s/:*\$(srcdir):*/:/
23297 s/:*\${srcdir}:*/:/
23298 s/:*@srcdir@:*/:/
23299 s/^\([^=]*=[ ]*\):*/\1/
23300 s/:*$//
23301 s/^[^=]*=[ ]*$//
23305 cat >>$CONFIG_STATUS <<\_ACEOF
23306 fi # test -n "$CONFIG_FILES"
23309 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23311 case $ac_tag in
23312 :[FHLC]) ac_mode=$ac_tag; continue;;
23313 esac
23314 case $ac_mode$ac_tag in
23315 :[FHL]*:*);;
23316 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23317 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23318 { (exit 1); exit 1; }; };;
23319 :[FH]-) ac_tag=-:-;;
23320 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23321 esac
23322 ac_save_IFS=$IFS
23323 IFS=:
23324 set x $ac_tag
23325 IFS=$ac_save_IFS
23326 shift
23327 ac_file=$1
23328 shift
23330 case $ac_mode in
23331 :L) ac_source=$1;;
23332 :[FH])
23333 ac_file_inputs=
23334 for ac_f
23336 case $ac_f in
23337 -) ac_f="$tmp/stdin";;
23338 *) # Look for the file first in the build tree, then in the source tree
23339 # (if the path is not absolute). The absolute path cannot be DOS-style,
23340 # because $ac_f cannot contain `:'.
23341 test -f "$ac_f" ||
23342 case $ac_f in
23343 [\\/$]*) false;;
23344 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23345 esac ||
23346 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23347 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23348 { (exit 1); exit 1; }; };;
23349 esac
23350 ac_file_inputs="$ac_file_inputs $ac_f"
23351 done
23353 # Let's still pretend it is `configure' which instantiates (i.e., don't
23354 # use $as_me), people would be surprised to read:
23355 # /* config.h. Generated by config.status. */
23356 configure_input="Generated from "`IFS=:
23357 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23358 if test x"$ac_file" != x-; then
23359 configure_input="$ac_file. $configure_input"
23360 { echo "$as_me:$LINENO: creating $ac_file" >&5
23361 echo "$as_me: creating $ac_file" >&6;}
23364 case $ac_tag in
23365 *:-:* | *:-) cat >"$tmp/stdin";;
23366 esac
23368 esac
23370 ac_dir=`$as_dirname -- "$ac_file" ||
23371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23372 X"$ac_file" : 'X\(//\)[^/]' \| \
23373 X"$ac_file" : 'X\(//\)$' \| \
23374 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23375 echo X"$ac_file" |
23376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23377 s//\1/
23380 /^X\(\/\/\)[^/].*/{
23381 s//\1/
23384 /^X\(\/\/\)$/{
23385 s//\1/
23388 /^X\(\/\).*/{
23389 s//\1/
23392 s/.*/./; q'`
23393 { as_dir="$ac_dir"
23394 case $as_dir in #(
23395 -*) as_dir=./$as_dir;;
23396 esac
23397 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23398 as_dirs=
23399 while :; do
23400 case $as_dir in #(
23401 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23402 *) as_qdir=$as_dir;;
23403 esac
23404 as_dirs="'$as_qdir' $as_dirs"
23405 as_dir=`$as_dirname -- "$as_dir" ||
23406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23407 X"$as_dir" : 'X\(//\)[^/]' \| \
23408 X"$as_dir" : 'X\(//\)$' \| \
23409 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23410 echo X"$as_dir" |
23411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23412 s//\1/
23415 /^X\(\/\/\)[^/].*/{
23416 s//\1/
23419 /^X\(\/\/\)$/{
23420 s//\1/
23423 /^X\(\/\).*/{
23424 s//\1/
23427 s/.*/./; q'`
23428 test -d "$as_dir" && break
23429 done
23430 test -z "$as_dirs" || eval "mkdir $as_dirs"
23431 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23432 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23433 { (exit 1); exit 1; }; }; }
23434 ac_builddir=.
23436 case "$ac_dir" in
23437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23439 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23440 # A ".." for each directory in $ac_dir_suffix.
23441 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23442 case $ac_top_builddir_sub in
23443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23445 esac ;;
23446 esac
23447 ac_abs_top_builddir=$ac_pwd
23448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23449 # for backward compatibility:
23450 ac_top_builddir=$ac_top_build_prefix
23452 case $srcdir in
23453 .) # We are building in place.
23454 ac_srcdir=.
23455 ac_top_srcdir=$ac_top_builddir_sub
23456 ac_abs_top_srcdir=$ac_pwd ;;
23457 [\\/]* | ?:[\\/]* ) # Absolute name.
23458 ac_srcdir=$srcdir$ac_dir_suffix;
23459 ac_top_srcdir=$srcdir
23460 ac_abs_top_srcdir=$srcdir ;;
23461 *) # Relative name.
23462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23463 ac_top_srcdir=$ac_top_build_prefix$srcdir
23464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23465 esac
23466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23469 case $ac_mode in
23472 # CONFIG_FILE
23475 case $INSTALL in
23476 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23477 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23478 esac
23479 _ACEOF
23481 cat >>$CONFIG_STATUS <<\_ACEOF
23482 # If the template does not know about datarootdir, expand it.
23483 # FIXME: This hack should be removed a few years after 2.60.
23484 ac_datarootdir_hack=; ac_datarootdir_seen=
23486 case `sed -n '/datarootdir/ {
23490 /@datadir@/p
23491 /@docdir@/p
23492 /@infodir@/p
23493 /@localedir@/p
23494 /@mandir@/p
23495 ' $ac_file_inputs` in
23496 *datarootdir*) ac_datarootdir_seen=yes;;
23497 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23498 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23499 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23500 _ACEOF
23501 cat >>$CONFIG_STATUS <<_ACEOF
23502 ac_datarootdir_hack='
23503 s&@datadir@&$datadir&g
23504 s&@docdir@&$docdir&g
23505 s&@infodir@&$infodir&g
23506 s&@localedir@&$localedir&g
23507 s&@mandir@&$mandir&g
23508 s&\\\${datarootdir}&$datarootdir&g' ;;
23509 esac
23510 _ACEOF
23512 # Neutralize VPATH when `$srcdir' = `.'.
23513 # Shell code in configure.ac might set extrasub.
23514 # FIXME: do we really want to maintain this feature?
23515 cat >>$CONFIG_STATUS <<_ACEOF
23516 sed "$ac_vpsub
23517 $extrasub
23518 _ACEOF
23519 cat >>$CONFIG_STATUS <<\_ACEOF
23521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23522 s&@configure_input@&$configure_input&;t t
23523 s&@top_builddir@&$ac_top_builddir_sub&;t t
23524 s&@srcdir@&$ac_srcdir&;t t
23525 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23526 s&@top_srcdir@&$ac_top_srcdir&;t t
23527 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23528 s&@builddir@&$ac_builddir&;t t
23529 s&@abs_builddir@&$ac_abs_builddir&;t t
23530 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23531 s&@INSTALL@&$ac_INSTALL&;t t
23532 $ac_datarootdir_hack
23533 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23535 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23536 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23537 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23538 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23539 which seems to be undefined. Please make sure it is defined." >&5
23540 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23541 which seems to be undefined. Please make sure it is defined." >&2;}
23543 rm -f "$tmp/stdin"
23544 case $ac_file in
23545 -) cat "$tmp/out"; rm -f "$tmp/out";;
23546 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23547 esac
23551 # CONFIG_HEADER
23553 _ACEOF
23555 # Transform confdefs.h into a sed script `conftest.defines', that
23556 # substitutes the proper values into config.h.in to produce config.h.
23557 rm -f conftest.defines conftest.tail
23558 # First, append a space to every undef/define line, to ease matching.
23559 echo 's/$/ /' >conftest.defines
23560 # Then, protect against being on the right side of a sed subst, or in
23561 # an unquoted here document, in config.status. If some macros were
23562 # called several times there might be several #defines for the same
23563 # symbol, which is useless. But do not sort them, since the last
23564 # AC_DEFINE must be honored.
23565 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23566 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23567 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23568 # PARAMS is the parameter list in the macro definition--in most cases, it's
23569 # just an empty string.
23570 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23571 ac_dB='\\)[ (].*,\\1define\\2'
23572 ac_dC=' '
23573 ac_dD=' ,'
23575 uniq confdefs.h |
23576 sed -n '
23577 t rset
23578 :rset
23579 s/^[ ]*#[ ]*define[ ][ ]*//
23580 t ok
23583 s/[\\&,]/\\&/g
23584 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23585 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23586 ' >>conftest.defines
23588 # Remove the space that was appended to ease matching.
23589 # Then replace #undef with comments. This is necessary, for
23590 # example, in the case of _POSIX_SOURCE, which is predefined and required
23591 # on some systems where configure will not decide to define it.
23592 # (The regexp can be short, since the line contains either #define or #undef.)
23593 echo 's/ $//
23594 s,^[ #]*u.*,/* & */,' >>conftest.defines
23596 # Break up conftest.defines:
23597 ac_max_sed_lines=50
23599 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23600 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23601 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23602 # et cetera.
23603 ac_in='$ac_file_inputs'
23604 ac_out='"$tmp/out1"'
23605 ac_nxt='"$tmp/out2"'
23607 while :
23609 # Write a here document:
23610 cat >>$CONFIG_STATUS <<_ACEOF
23611 # First, check the format of the line:
23612 cat >"\$tmp/defines.sed" <<\\CEOF
23613 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23614 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23616 :def
23617 _ACEOF
23618 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23619 echo 'CEOF
23620 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23621 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23622 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23623 grep . conftest.tail >/dev/null || break
23624 rm -f conftest.defines
23625 mv conftest.tail conftest.defines
23626 done
23627 rm -f conftest.defines conftest.tail
23629 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23630 cat >>$CONFIG_STATUS <<\_ACEOF
23631 if test x"$ac_file" != x-; then
23632 echo "/* $configure_input */" >"$tmp/config.h"
23633 cat "$ac_result" >>"$tmp/config.h"
23634 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23635 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23636 echo "$as_me: $ac_file is unchanged" >&6;}
23637 else
23638 rm -f $ac_file
23639 mv "$tmp/config.h" $ac_file
23641 else
23642 echo "/* $configure_input */"
23643 cat "$ac_result"
23645 rm -f "$tmp/out12"
23648 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23649 echo "$as_me: executing $ac_file commands" >&6;}
23651 esac
23654 case $ac_file$ac_mode in
23655 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23656 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23657 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23658 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23659 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23660 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23661 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23662 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23663 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23664 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23665 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23666 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23667 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23669 esac
23670 done # for ac_tag
23673 { (exit 0); exit 0; }
23674 _ACEOF
23675 chmod +x $CONFIG_STATUS
23676 ac_clean_files=$ac_clean_files_save
23679 # configure is writing to config.log, and then calls config.status.
23680 # config.status does its own redirection, appending to config.log.
23681 # Unfortunately, on DOS this fails, as config.log is still kept open
23682 # by configure, so config.status won't be able to write to it; its
23683 # output is simply discarded. So we exec the FD to /dev/null,
23684 # effectively closing config.log, so it can be properly (re)opened and
23685 # appended to by config.status. When coming back to configure, we
23686 # need to make the FD available again.
23687 if test "$no_create" != yes; then
23688 ac_cs_success=:
23689 ac_config_status_args=
23690 test "$silent" = yes &&
23691 ac_config_status_args="$ac_config_status_args --quiet"
23692 exec 5>/dev/null
23693 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23694 exec 5>>config.log
23695 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23696 # would make configure fail if this is the last instruction.
23697 $ac_cs_success || { (exit 1); exit 1; }
23701 if test "$no_create" = "yes"
23702 then
23703 exit 0
23706 ac_save_IFS="$IFS"
23707 IFS="|"
23708 if test "x$wine_notices != "x; then
23709 echo >&6
23710 for msg in $wine_notices; do
23711 if test -n "$msg"; then
23712 { echo "$as_me:$LINENO: $msg" >&5
23713 echo "$as_me: $msg" >&6;}
23715 done
23717 for msg in $wine_warnings; do
23718 if test -n "$msg"; then
23719 echo >&2
23720 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23721 echo "$as_me: WARNING: $msg" >&2;}
23723 done
23724 IFS="$ac_save_IFS"
23726 echo "
23727 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23728 " >&6