gdi32: Add loading and processing of GSUB table vert/vrt2 functions for proper tatega...
[wine.git] / configure
blob32a85c3ba8ad94f81240eb8364d84e71febaae28
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 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 ARFLAGS
691 RANLIB
692 STRIP
693 WINDRES
694 LN_S
696 GREP
697 EGREP
698 LDCONFIG
699 INSTALL_PROGRAM
700 INSTALL_SCRIPT
701 INSTALL_DATA
702 LINT
703 LINTFLAGS
704 FONTFORGE
705 PKG_CONFIG
706 PRELINK
707 LIBPTHREAD
708 XLIB
709 XFILES
710 OPENGLFILES
711 GLU32FILES
712 OPENGL_LIBS
713 QUARTZFILES
714 DLLEXT
715 DLLFLAGS
716 LDSHARED
717 LDDLLFLAGS
718 LIBEXT
719 IMPLIBEXT
720 LDRPATH_INSTALL
721 LDRPATH_LOCAL
723 DLLTOOL
724 DLLWRAP
725 MINGWAR
726 SECURITYLIB
727 COREFOUNDATIONLIB
728 IOKITLIB
729 LDEXECFLAGS
730 DISKARBITRATIONLIB
731 COREAUDIO
732 CARBONLIB
733 CROSSTEST
734 CROSSCC
735 CROSSWINDRES
736 NASLIBS
737 XML2LIBS
738 XML2INCL
739 XSLTLIBS
740 XSLTINCL
741 HALINCL
742 sane_devel
743 SANEINCL
744 gphoto2_devel
745 gphoto2port_devel
746 GPHOTO2LIBS
747 GPHOTO2INCL
748 RESOLVLIBS
749 LCMSLIBS
750 LDAPLIBS
751 ft_devel
752 FREETYPELIBS
753 FREETYPEINCL
754 FONTSSUBDIRS
755 ESDCONFIG
756 ESDLIBS
757 ESDINCL
758 ALSALIBS
759 AUDIOIOLIBS
760 FONTCONFIGINCL
761 EXTRACFLAGS
762 BUILTINFLAG
763 LDPATH
764 CRTLIBS
765 SOCKETLIBS
766 MAIN_BINARY
767 EXTRA_BINARIES
768 LIBDL
769 LIBPOLL
770 DEPENDENCIES
771 LIBOBJS
772 LTLIBOBJS'
773 ac_subst_files='MAKE_RULES
774 MAKE_DLL_RULES
775 MAKE_IMPLIB_RULES
776 MAKE_TEST_RULES
777 MAKE_PROG_RULES'
778 ac_precious_vars='build_alias
779 host_alias
780 target_alias
782 CFLAGS
783 LDFLAGS
784 LIBS
785 CPPFLAGS
787 CXXFLAGS
789 XMKMF
790 CPP'
793 # Initialize some variables set by options.
794 ac_init_help=
795 ac_init_version=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
798 cache_file=/dev/null
799 exec_prefix=NONE
800 no_create=
801 no_recursion=
802 prefix=NONE
803 program_prefix=NONE
804 program_suffix=NONE
805 program_transform_name=s,x,x,
806 silent=
807 site=
808 srcdir=
809 verbose=
810 x_includes=NONE
811 x_libraries=NONE
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
831 htmldir='${docdir}'
832 dvidir='${docdir}'
833 pdfdir='${docdir}'
834 psdir='${docdir}'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
839 ac_prev=
840 ac_dashdash=
841 for ac_option
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
846 ac_prev=
847 continue
850 case $ac_option in
851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 *) ac_optarg=yes ;;
853 esac
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
859 ac_dashdash=yes ;;
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
878 --config-cache | -C)
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_$ac_feature=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
903 ac_prev=docdir ;;
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 docdir=$ac_optarg ;;
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 ac_prev=dvidir ;;
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 dvidir=$ac_optarg ;;
912 -enable-* | --enable-*)
913 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_$ac_feature=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
932 with_gas=yes ;;
934 -help | --help | --hel | --he | -h)
935 ac_init_help=long ;;
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 ac_prev=htmldir ;;
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 | --ht=*)
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 ac_prev=infodir ;;
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
965 ac_prev=libdir ;;
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 libdir=$ac_optarg ;;
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
977 ac_prev=localedir ;;
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 ac_prev=mandir ;;
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 mandir=$ac_optarg ;;
993 -nfp | --nfp | --nf)
994 # Obsolete; use --without-fp.
995 with_fp=no ;;
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
999 no_create=yes ;;
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 no_recursion=yes ;;
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 ac_prev=prefix ;;
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 ac_prev=pdfdir ;;
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1056 ac_prev=psdir ;;
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 psdir=$ac_optarg ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 silent=yes ;;
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065 ac_prev=sbindir ;;
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067 | --sbi=* | --sb=*)
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1073 | --sha | --sh)
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078 | --sha=* | --sh=*)
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1082 ac_prev=site ;;
1083 -site=* | --site=* | --sit=*)
1084 site=$ac_optarg ;;
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087 ac_prev=srcdir ;;
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104 verbose=yes ;;
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1109 -with-* | --with-*)
1110 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_$ac_package=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_$ac_package=no ;;
1127 --x)
1128 # Obsolete; use --with-x.
1129 with_x=yes ;;
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1150 *=*)
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 esac
1168 done
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1183 case $ac_val in
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 esac
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1189 done
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1194 build=$build_alias
1195 host=$host_alias
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1205 cross_compiling=yes
1209 ac_tool_prefix=
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 echo X"$0" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 s//\1/
1239 /^X\(\/\/\)[^/].*/{
1240 s//\1/
1243 /^X\(\/\/\)$/{
1244 s//\1/
1247 /^X\(\/\).*/{
1248 s//\1/
1251 s/.*/./; q'`
1252 srcdir=$ac_confdir
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 srcdir=..
1256 else
1257 ac_srcdir_defaulted=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1268 pwd)`
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 srcdir=.
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1276 case $srcdir in
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 esac
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1284 done
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1292 cat <<_ACEOF
1293 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1302 Configuration:
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 [PREFIX]
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1346 _ACEOF
1348 cat <<\_ACEOF
1350 X features:
1351 --x-includes=DIR X include files are in DIR
1352 --x-libraries=DIR X library files are in DIR
1354 System types:
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1357 _ACEOF
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1363 esac
1364 cat <<\_ACEOF
1366 Optional Features:
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1371 binaries)
1373 Optional Packages:
1374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1376 --without-alsa do not use the Alsa sound support
1377 --without-audioio do not use the AudioIO sound support
1378 --without-capi do not use CAPI (ISDN support)
1379 --without-cms do not use CMS (color management support)
1380 --without-coreaudio do not use the CoreAudio sound support
1381 --without-cups do not use CUPS
1382 --without-curses do not use (n)curses
1383 --without-esd do not use the EsounD sound support
1384 --without-fontconfig do not use fontconfig
1385 --without-gphoto do not use gphoto (Digital Camera support)
1386 --without-hal do not use HAL (dynamic device support)
1387 --without-jack do not use the Jack sound support
1388 --without-jpeg do not use JPEG
1389 --without-ldap do not use LDAP
1390 --without-nas do not use the NAS sound support
1391 --without-opengl do not use OpenGL
1392 --without-openssl do not use OpenSSL
1393 --without-oss do not use the OSS sound support
1394 --without-png do not use PNG
1395 --without-sane do not use SANE (scanner support)
1396 --without-xcomposite do not use the Xcomposite extension
1397 --without-xcursor do not use the Xcursor extension
1398 --without-xinerama do not use Xinerama (multi-monitor support)
1399 --without-xinput do not use the Xinput extension
1400 --without-xml do not use XML
1401 --without-xrandr do not use Xrandr (resolution changes)
1402 --without-xrender do not use the Xrender extension
1403 --without-xshape do not use the Xshape extension
1404 --without-xshm do not use XShm (shared memory extension)
1405 --without-xslt do not use XSLT
1406 --without-xvidmode do not use XFree video mode extension
1407 --with-wine-tools=DIR use Wine tools from directory DIR
1408 --with-x use the X Window System
1410 Some influential environment variables:
1411 CC C compiler command
1412 CFLAGS C compiler flags
1413 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1414 nonstandard directory <lib dir>
1415 LIBS libraries to pass to the linker, e.g. -l<library>
1416 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1417 you have headers in a nonstandard directory <include dir>
1418 CXX C++ compiler command
1419 CXXFLAGS C++ compiler flags
1420 XMKMF Path to xmkmf, Makefile generator for X Window System
1421 CPP C preprocessor
1423 Use these variables to override the choices made by `configure' or to help
1424 it to find libraries and programs with nonstandard names/locations.
1426 Report bugs to <wine-devel@winehq.org>.
1427 _ACEOF
1428 ac_status=$?
1431 if test "$ac_init_help" = "recursive"; then
1432 # If there are subdirs, report their specific --help.
1433 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1434 test -d "$ac_dir" || continue
1435 ac_builddir=.
1437 case "$ac_dir" in
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1441 # A ".." for each directory in $ac_dir_suffix.
1442 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1443 case $ac_top_builddir_sub in
1444 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1446 esac ;;
1447 esac
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1453 case $srcdir in
1454 .) # We are building in place.
1455 ac_srcdir=.
1456 ac_top_srcdir=$ac_top_builddir_sub
1457 ac_abs_top_srcdir=$ac_pwd ;;
1458 [\\/]* | ?:[\\/]* ) # Absolute name.
1459 ac_srcdir=$srcdir$ac_dir_suffix;
1460 ac_top_srcdir=$srcdir
1461 ac_abs_top_srcdir=$srcdir ;;
1462 *) # Relative name.
1463 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464 ac_top_srcdir=$ac_top_build_prefix$srcdir
1465 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 esac
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469 cd "$ac_dir" || { ac_status=$?; continue; }
1470 # Check for guested configure.
1471 if test -f "$ac_srcdir/configure.gnu"; then
1472 echo &&
1473 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474 elif test -f "$ac_srcdir/configure"; then
1475 echo &&
1476 $SHELL "$ac_srcdir/configure" --help=recursive
1477 else
1478 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 fi || ac_status=$?
1480 cd "$ac_pwd" || { ac_status=$?; break; }
1481 done
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1486 cat <<\_ACEOF
1487 Wine configure 0.9.57
1488 generated by GNU Autoconf 2.61
1490 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1491 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1492 This configure script is free software; the Free Software Foundation
1493 gives unlimited permission to copy, distribute and modify it.
1494 _ACEOF
1495 exit
1497 cat >config.log <<_ACEOF
1498 This file contains any messages produced by compilers while
1499 running configure, to aid debugging if configure makes a mistake.
1501 It was created by Wine $as_me 0.9.57, which was
1502 generated by GNU Autoconf 2.61. Invocation command line was
1504 $ $0 $@
1506 _ACEOF
1507 exec 5>>config.log
1509 cat <<_ASUNAME
1510 ## --------- ##
1511 ## Platform. ##
1512 ## --------- ##
1514 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1515 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1516 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1517 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1518 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1520 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1521 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1523 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1524 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1525 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1526 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1527 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1528 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1529 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1531 _ASUNAME
1533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 for as_dir in $PATH
1536 IFS=$as_save_IFS
1537 test -z "$as_dir" && as_dir=.
1538 echo "PATH: $as_dir"
1539 done
1540 IFS=$as_save_IFS
1542 } >&5
1544 cat >&5 <<_ACEOF
1547 ## ----------- ##
1548 ## Core tests. ##
1549 ## ----------- ##
1551 _ACEOF
1554 # Keep a trace of the command line.
1555 # Strip out --no-create and --no-recursion so they do not pile up.
1556 # Strip out --silent because we don't want to record it for future runs.
1557 # Also quote any args containing shell meta-characters.
1558 # Make two passes to allow for proper duplicate-argument suppression.
1559 ac_configure_args=
1560 ac_configure_args0=
1561 ac_configure_args1=
1562 ac_must_keep_next=false
1563 for ac_pass in 1 2
1565 for ac_arg
1567 case $ac_arg in
1568 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1569 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1570 | -silent | --silent | --silen | --sile | --sil)
1571 continue ;;
1572 *\'*)
1573 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1574 esac
1575 case $ac_pass in
1576 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1578 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1579 if test $ac_must_keep_next = true; then
1580 ac_must_keep_next=false # Got value, back to normal.
1581 else
1582 case $ac_arg in
1583 *=* | --config-cache | -C | -disable-* | --disable-* \
1584 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1585 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1586 | -with-* | --with-* | -without-* | --without-* | --x)
1587 case "$ac_configure_args0 " in
1588 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1589 esac
1591 -* ) ac_must_keep_next=true ;;
1592 esac
1594 ac_configure_args="$ac_configure_args '$ac_arg'"
1596 esac
1597 done
1598 done
1599 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1600 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1602 # When interrupted or exit'd, cleanup temporary files, and complete
1603 # config.log. We remove comments because anyway the quotes in there
1604 # would cause problems or look ugly.
1605 # WARNING: Use '\'' to represent an apostrophe within the trap.
1606 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1607 trap 'exit_status=$?
1608 # Save into config.log some information that might help in debugging.
1610 echo
1612 cat <<\_ASBOX
1613 ## ---------------- ##
1614 ## Cache variables. ##
1615 ## ---------------- ##
1616 _ASBOX
1617 echo
1618 # The following way of writing the cache mishandles newlines in values,
1620 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1621 eval ac_val=\$$ac_var
1622 case $ac_val in #(
1623 *${as_nl}*)
1624 case $ac_var in #(
1625 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1626 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1627 esac
1628 case $ac_var in #(
1629 _ | IFS | as_nl) ;; #(
1630 *) $as_unset $ac_var ;;
1631 esac ;;
1632 esac
1633 done
1634 (set) 2>&1 |
1635 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1636 *${as_nl}ac_space=\ *)
1637 sed -n \
1638 "s/'\''/'\''\\\\'\'''\''/g;
1639 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1640 ;; #(
1642 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1644 esac |
1645 sort
1647 echo
1649 cat <<\_ASBOX
1650 ## ----------------- ##
1651 ## Output variables. ##
1652 ## ----------------- ##
1653 _ASBOX
1654 echo
1655 for ac_var in $ac_subst_vars
1657 eval ac_val=\$$ac_var
1658 case $ac_val in
1659 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1660 esac
1661 echo "$ac_var='\''$ac_val'\''"
1662 done | sort
1663 echo
1665 if test -n "$ac_subst_files"; then
1666 cat <<\_ASBOX
1667 ## ------------------- ##
1668 ## File substitutions. ##
1669 ## ------------------- ##
1670 _ASBOX
1671 echo
1672 for ac_var in $ac_subst_files
1674 eval ac_val=\$$ac_var
1675 case $ac_val in
1676 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1677 esac
1678 echo "$ac_var='\''$ac_val'\''"
1679 done | sort
1680 echo
1683 if test -s confdefs.h; then
1684 cat <<\_ASBOX
1685 ## ----------- ##
1686 ## confdefs.h. ##
1687 ## ----------- ##
1688 _ASBOX
1689 echo
1690 cat confdefs.h
1691 echo
1693 test "$ac_signal" != 0 &&
1694 echo "$as_me: caught signal $ac_signal"
1695 echo "$as_me: exit $exit_status"
1696 } >&5
1697 rm -f core *.core core.conftest.* &&
1698 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1699 exit $exit_status
1701 for ac_signal in 1 2 13 15; do
1702 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1703 done
1704 ac_signal=0
1706 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1707 rm -f -r conftest* confdefs.h
1709 # Predefined preprocessor variables.
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_NAME "$PACKAGE_NAME"
1713 _ACEOF
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1718 _ACEOF
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1723 _ACEOF
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_STRING "$PACKAGE_STRING"
1728 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1733 _ACEOF
1736 # Let the site file select an alternate cache file if it wants to.
1737 # Prefer explicitly selected file to automatically selected ones.
1738 if test -n "$CONFIG_SITE"; then
1739 set x "$CONFIG_SITE"
1740 elif test "x$prefix" != xNONE; then
1741 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1742 else
1743 set x "$ac_default_prefix/share/config.site" \
1744 "$ac_default_prefix/etc/config.site"
1746 shift
1747 for ac_site_file
1749 if test -r "$ac_site_file"; then
1750 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1751 echo "$as_me: loading site script $ac_site_file" >&6;}
1752 sed 's/^/| /' "$ac_site_file" >&5
1753 . "$ac_site_file"
1755 done
1757 if test -r "$cache_file"; then
1758 # Some versions of bash will fail to source /dev/null (special
1759 # files actually), so we avoid doing that.
1760 if test -f "$cache_file"; then
1761 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1762 echo "$as_me: loading cache $cache_file" >&6;}
1763 case $cache_file in
1764 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1765 *) . "./$cache_file";;
1766 esac
1768 else
1769 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1770 echo "$as_me: creating cache $cache_file" >&6;}
1771 >$cache_file
1774 # Check that the precious variables saved in the cache have kept the same
1775 # value.
1776 ac_cache_corrupted=false
1777 for ac_var in $ac_precious_vars; do
1778 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1779 eval ac_new_set=\$ac_env_${ac_var}_set
1780 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1781 eval ac_new_val=\$ac_env_${ac_var}_value
1782 case $ac_old_set,$ac_new_set in
1783 set,)
1784 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1785 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1786 ac_cache_corrupted=: ;;
1787 ,set)
1788 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1789 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1790 ac_cache_corrupted=: ;;
1791 ,);;
1793 if test "x$ac_old_val" != "x$ac_new_val"; then
1794 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1795 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1796 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1797 echo "$as_me: former value: $ac_old_val" >&2;}
1798 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1799 echo "$as_me: current value: $ac_new_val" >&2;}
1800 ac_cache_corrupted=:
1801 fi;;
1802 esac
1803 # Pass precious variables to config.status.
1804 if test "$ac_new_set" = set; then
1805 case $ac_new_val in
1806 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1807 *) ac_arg=$ac_var=$ac_new_val ;;
1808 esac
1809 case " $ac_configure_args " in
1810 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1811 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1812 esac
1814 done
1815 if $ac_cache_corrupted; then
1816 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1817 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1820 { (exit 1); exit 1; }; }
1847 ac_ext=c
1848 ac_cpp='$CPP $CPPFLAGS'
1849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1855 ac_config_headers="$ac_config_headers include/config.h"
1857 ac_aux_dir=
1858 for ac_dir in tools "$srcdir"/tools; do
1859 if test -f "$ac_dir/install-sh"; then
1860 ac_aux_dir=$ac_dir
1861 ac_install_sh="$ac_aux_dir/install-sh -c"
1862 break
1863 elif test -f "$ac_dir/install.sh"; then
1864 ac_aux_dir=$ac_dir
1865 ac_install_sh="$ac_aux_dir/install.sh -c"
1866 break
1867 elif test -f "$ac_dir/shtool"; then
1868 ac_aux_dir=$ac_dir
1869 ac_install_sh="$ac_aux_dir/shtool install -c"
1870 break
1872 done
1873 if test -z "$ac_aux_dir"; then
1874 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1875 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1876 { (exit 1); exit 1; }; }
1879 # These three variables are undocumented and unsupported,
1880 # and are intended to be withdrawn in a future Autoconf release.
1881 # They can cause serious problems if a builder's source tree is in a directory
1882 # whose full name contains unusual characters.
1883 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1884 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1885 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1890 # Check whether --enable-win16 was given.
1891 if test "${enable_win16+set}" = set; then
1892 enableval=$enable_win16;
1895 # Check whether --enable-win64 was given.
1896 if test "${enable_win64+set}" = set; then
1897 enableval=$enable_win64;
1902 # Check whether --with-alsa was given.
1903 if test "${with_alsa+set}" = set; then
1904 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1908 # Check whether --with-audioio was given.
1909 if test "${with_audioio+set}" = set; then
1910 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1914 # Check whether --with-capi was given.
1915 if test "${with_capi+set}" = set; then
1916 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1920 # Check whether --with-cms was given.
1921 if test "${with_cms+set}" = set; then
1922 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1926 # Check whether --with-coreaudio was given.
1927 if test "${with_coreaudio+set}" = set; then
1928 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1932 # Check whether --with-cups was given.
1933 if test "${with_cups+set}" = set; then
1934 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1938 # Check whether --with-curses was given.
1939 if test "${with_curses+set}" = set; then
1940 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1944 # Check whether --with-esd was given.
1945 if test "${with_esd+set}" = set; then
1946 withval=$with_esd;
1950 # Check whether --with-fontconfig was given.
1951 if test "${with_fontconfig+set}" = set; then
1952 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1956 # Check whether --with-gphoto was given.
1957 if test "${with_gphoto+set}" = set; then
1958 withval=$with_gphoto;
1962 # Check whether --with-hal was given.
1963 if test "${with_hal+set}" = set; then
1964 withval=$with_hal;
1968 # Check whether --with-jack was given.
1969 if test "${with_jack+set}" = set; then
1970 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1974 # Check whether --with-jpeg was given.
1975 if test "${with_jpeg+set}" = set; then
1976 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1980 # Check whether --with-ldap was given.
1981 if test "${with_ldap+set}" = set; then
1982 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1986 # Check whether --with-nas was given.
1987 if test "${with_nas+set}" = set; then
1988 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
1992 # Check whether --with-opengl was given.
1993 if test "${with_opengl+set}" = set; then
1994 withval=$with_opengl;
1998 # Check whether --with-openssl was given.
1999 if test "${with_openssl+set}" = set; then
2000 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2004 # Check whether --with-oss was given.
2005 if test "${with_oss+set}" = set; then
2006 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
2010 # Check whether --with-png was given.
2011 if test "${with_png+set}" = set; then
2012 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2016 # Check whether --with-sane was given.
2017 if test "${with_sane+set}" = set; then
2018 withval=$with_sane;
2022 # Check whether --with-xcomposite was given.
2023 if test "${with_xcomposite+set}" = set; then
2024 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2028 # Check whether --with-xcursor was given.
2029 if test "${with_xcursor+set}" = set; then
2030 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2034 # Check whether --with-xinerama was given.
2035 if test "${with_xinerama+set}" = set; then
2036 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2040 # Check whether --with-xinput was given.
2041 if test "${with_xinput+set}" = set; then
2042 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2046 # Check whether --with-xml was given.
2047 if test "${with_xml+set}" = set; then
2048 withval=$with_xml;
2052 # Check whether --with-xrandr was given.
2053 if test "${with_xrandr+set}" = set; then
2054 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2058 # Check whether --with-xrender was given.
2059 if test "${with_xrender+set}" = set; then
2060 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2064 # Check whether --with-xshape was given.
2065 if test "${with_xshape+set}" = set; then
2066 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2070 # Check whether --with-xshm was given.
2071 if test "${with_xshm+set}" = set; then
2072 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2076 # Check whether --with-xslt was given.
2077 if test "${with_xslt+set}" = set; then
2078 withval=$with_xslt;
2082 # Check whether --with-xvidmode was given.
2083 if test "${with_xvidmode+set}" = set; then
2084 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2089 # Check whether --with-wine-tools was given.
2090 if test "${with_wine_tools+set}" = set; then
2091 withval=$with_wine_tools;
2095 # Make sure we can run config.sub.
2096 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2097 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2098 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2099 { (exit 1); exit 1; }; }
2101 { echo "$as_me:$LINENO: checking build system type" >&5
2102 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2103 if test "${ac_cv_build+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106 ac_build_alias=$build_alias
2107 test "x$ac_build_alias" = x &&
2108 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2109 test "x$ac_build_alias" = x &&
2110 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2111 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2112 { (exit 1); exit 1; }; }
2113 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2114 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2115 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2116 { (exit 1); exit 1; }; }
2119 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2120 echo "${ECHO_T}$ac_cv_build" >&6; }
2121 case $ac_cv_build in
2122 *-*-*) ;;
2123 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2124 echo "$as_me: error: invalid value of canonical build" >&2;}
2125 { (exit 1); exit 1; }; };;
2126 esac
2127 build=$ac_cv_build
2128 ac_save_IFS=$IFS; IFS='-'
2129 set x $ac_cv_build
2130 shift
2131 build_cpu=$1
2132 build_vendor=$2
2133 shift; shift
2134 # Remember, the first character of IFS is used to create $*,
2135 # except with old shells:
2136 build_os=$*
2137 IFS=$ac_save_IFS
2138 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2141 { echo "$as_me:$LINENO: checking host system type" >&5
2142 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2143 if test "${ac_cv_host+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 else
2146 if test "x$host_alias" = x; then
2147 ac_cv_host=$ac_cv_build
2148 else
2149 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2150 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2151 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2152 { (exit 1); exit 1; }; }
2156 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2157 echo "${ECHO_T}$ac_cv_host" >&6; }
2158 case $ac_cv_host in
2159 *-*-*) ;;
2160 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2161 echo "$as_me: error: invalid value of canonical host" >&2;}
2162 { (exit 1); exit 1; }; };;
2163 esac
2164 host=$ac_cv_host
2165 ac_save_IFS=$IFS; IFS='-'
2166 set x $ac_cv_host
2167 shift
2168 host_cpu=$1
2169 host_vendor=$2
2170 shift; shift
2171 # Remember, the first character of IFS is used to create $*,
2172 # except with old shells:
2173 host_os=$*
2174 IFS=$ac_save_IFS
2175 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2178 case $host in
2179 x86_64*linux*)
2180 if test "x$enable_win64" != "xyes"
2181 then
2182 test -n "$CC" || CC="gcc -m32"
2183 test -n "$CXX"|| CXX="g++ -m32"
2184 test -n "$LD" || LD="ld -m elf_i386"
2185 test -n "$AS" || AS="as --32"
2186 host_cpu="i386"
2189 esac
2191 case $host_cpu in
2192 *i[3456789]86*)
2193 if test "x$enable_win16" != "xno"
2194 then
2195 enable_win16="yes"
2198 esac
2200 WIN16_FILES="\$(WIN16_FILES)"
2202 WIN16_INSTALL="\$(WIN16_INSTALL)"
2204 if test "x$enable_win16" != "xyes"
2205 then
2206 WIN16_FILES=""
2207 WIN16_INSTALL=""
2210 case "$srcdir" in
2211 .) ;;
2212 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2213 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2214 You need to run 'make distclean' in the source tree first." >&5
2215 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2216 You need to run 'make distclean' in the source tree first." >&2;}
2217 { (exit 1); exit 1; }; }
2218 fi ;;
2219 esac
2222 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2223 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2224 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2225 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228 cat >conftest.make <<\_ACEOF
2229 SHELL = /bin/sh
2230 all:
2231 @echo '@@@%%%=$(MAKE)=@@@%%%'
2232 _ACEOF
2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2235 *@@@%%%=?*=@@@%%%*)
2236 eval ac_cv_prog_make_${ac_make}_set=yes;;
2238 eval ac_cv_prog_make_${ac_make}_set=no;;
2239 esac
2240 rm -f conftest.make
2242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2243 { echo "$as_me:$LINENO: result: yes" >&5
2244 echo "${ECHO_T}yes" >&6; }
2245 SET_MAKE=
2246 else
2247 { echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6; }
2249 SET_MAKE="MAKE=${MAKE-make}"
2252 ac_ext=c
2253 ac_cpp='$CPP $CPPFLAGS'
2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2257 if test -n "$ac_tool_prefix"; then
2258 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2259 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2262 if test "${ac_cv_prog_CC+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 else
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2267 else
2268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 for as_dir in $PATH
2271 IFS=$as_save_IFS
2272 test -z "$as_dir" && as_dir=.
2273 for ac_exec_ext in '' $ac_executable_extensions; do
2274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2275 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2277 break 2
2279 done
2280 done
2281 IFS=$as_save_IFS
2285 CC=$ac_cv_prog_CC
2286 if test -n "$CC"; then
2287 { echo "$as_me:$LINENO: result: $CC" >&5
2288 echo "${ECHO_T}$CC" >&6; }
2289 else
2290 { echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6; }
2296 if test -z "$ac_cv_prog_CC"; then
2297 ac_ct_CC=$CC
2298 # Extract the first word of "gcc", so it can be a program name with args.
2299 set dummy gcc; ac_word=$2
2300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 else
2305 if test -n "$ac_ct_CC"; then
2306 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2307 else
2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 for as_dir in $PATH
2311 IFS=$as_save_IFS
2312 test -z "$as_dir" && as_dir=.
2313 for ac_exec_ext in '' $ac_executable_extensions; do
2314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2315 ac_cv_prog_ac_ct_CC="gcc"
2316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 break 2
2319 done
2320 done
2321 IFS=$as_save_IFS
2325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2326 if test -n "$ac_ct_CC"; then
2327 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2328 echo "${ECHO_T}$ac_ct_CC" >&6; }
2329 else
2330 { echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6; }
2334 if test "x$ac_ct_CC" = x; then
2335 CC=""
2336 else
2337 case $cross_compiling:$ac_tool_warned in
2338 yes:)
2339 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2340 whose name does not start with the host triplet. If you think this
2341 configuration is useful to you, please write to autoconf@gnu.org." >&5
2342 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2343 whose name does not start with the host triplet. If you think this
2344 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2345 ac_tool_warned=yes ;;
2346 esac
2347 CC=$ac_ct_CC
2349 else
2350 CC="$ac_cv_prog_CC"
2353 if test -z "$CC"; then
2354 if test -n "$ac_tool_prefix"; then
2355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2356 set dummy ${ac_tool_prefix}cc; ac_word=$2
2357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2359 if test "${ac_cv_prog_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 else
2362 if test -n "$CC"; then
2363 ac_cv_prog_CC="$CC" # Let the user override the test.
2364 else
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 for as_dir in $PATH
2368 IFS=$as_save_IFS
2369 test -z "$as_dir" && as_dir=.
2370 for ac_exec_ext in '' $ac_executable_extensions; do
2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372 ac_cv_prog_CC="${ac_tool_prefix}cc"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 break 2
2376 done
2377 done
2378 IFS=$as_save_IFS
2382 CC=$ac_cv_prog_CC
2383 if test -n "$CC"; then
2384 { echo "$as_me:$LINENO: result: $CC" >&5
2385 echo "${ECHO_T}$CC" >&6; }
2386 else
2387 { echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6; }
2394 if test -z "$CC"; then
2395 # Extract the first word of "cc", so it can be a program name with args.
2396 set dummy cc; ac_word=$2
2397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2399 if test "${ac_cv_prog_CC+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 else
2402 if test -n "$CC"; then
2403 ac_cv_prog_CC="$CC" # Let the user override the test.
2404 else
2405 ac_prog_rejected=no
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 for as_dir in $PATH
2409 IFS=$as_save_IFS
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2414 ac_prog_rejected=yes
2415 continue
2417 ac_cv_prog_CC="cc"
2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 break 2
2421 done
2422 done
2423 IFS=$as_save_IFS
2425 if test $ac_prog_rejected = yes; then
2426 # We found a bogon in the path, so make sure we never use it.
2427 set dummy $ac_cv_prog_CC
2428 shift
2429 if test $# != 0; then
2430 # We chose a different compiler from the bogus one.
2431 # However, it has the same basename, so the bogon will be chosen
2432 # first if we set CC to just the basename; use the full file name.
2433 shift
2434 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2439 CC=$ac_cv_prog_CC
2440 if test -n "$CC"; then
2441 { echo "$as_me:$LINENO: result: $CC" >&5
2442 echo "${ECHO_T}$CC" >&6; }
2443 else
2444 { echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6; }
2450 if test -z "$CC"; then
2451 if test -n "$ac_tool_prefix"; then
2452 for ac_prog in cl.exe
2454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2458 if test "${ac_cv_prog_CC+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 else
2461 if test -n "$CC"; then
2462 ac_cv_prog_CC="$CC" # Let the user override the test.
2463 else
2464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 for as_dir in $PATH
2467 IFS=$as_save_IFS
2468 test -z "$as_dir" && as_dir=.
2469 for ac_exec_ext in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 break 2
2475 done
2476 done
2477 IFS=$as_save_IFS
2481 CC=$ac_cv_prog_CC
2482 if test -n "$CC"; then
2483 { echo "$as_me:$LINENO: result: $CC" >&5
2484 echo "${ECHO_T}$CC" >&6; }
2485 else
2486 { echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6; }
2491 test -n "$CC" && break
2492 done
2494 if test -z "$CC"; then
2495 ac_ct_CC=$CC
2496 for ac_prog in cl.exe
2498 # Extract the first word of "$ac_prog", so it can be a program name with args.
2499 set dummy $ac_prog; ac_word=$2
2500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2502 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test -n "$ac_ct_CC"; then
2506 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2507 else
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 for as_dir in $PATH
2511 IFS=$as_save_IFS
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2515 ac_cv_prog_ac_ct_CC="$ac_prog"
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 break 2
2519 done
2520 done
2521 IFS=$as_save_IFS
2525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2526 if test -n "$ac_ct_CC"; then
2527 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2528 echo "${ECHO_T}$ac_ct_CC" >&6; }
2529 else
2530 { echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6; }
2535 test -n "$ac_ct_CC" && break
2536 done
2538 if test "x$ac_ct_CC" = x; then
2539 CC=""
2540 else
2541 case $cross_compiling:$ac_tool_warned in
2542 yes:)
2543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2544 whose name does not start with the host triplet. If you think this
2545 configuration is useful to you, please write to autoconf@gnu.org." >&5
2546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2547 whose name does not start with the host triplet. If you think this
2548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2549 ac_tool_warned=yes ;;
2550 esac
2551 CC=$ac_ct_CC
2558 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: no acceptable C compiler found in \$PATH
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2564 # Provide some information about the compiler.
2565 echo "$as_me:$LINENO: checking for C compiler version" >&5
2566 ac_compiler=`set X $ac_compile; echo $2`
2567 { (ac_try="$ac_compiler --version >&5"
2568 case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2573 (eval "$ac_compiler --version >&5") 2>&5
2574 ac_status=$?
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }
2577 { (ac_try="$ac_compiler -v >&5"
2578 case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2581 esac
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compiler -v >&5") 2>&5
2584 ac_status=$?
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }
2587 { (ac_try="$ac_compiler -V >&5"
2588 case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_compiler -V >&5") 2>&5
2594 ac_status=$?
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }
2598 cat >conftest.$ac_ext <<_ACEOF
2599 /* confdefs.h. */
2600 _ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2606 main ()
2610 return 0;
2612 _ACEOF
2613 ac_clean_files_save=$ac_clean_files
2614 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2615 # Try to create an executable without -o first, disregard a.out.
2616 # It will help us diagnose broken compilers, and finding out an intuition
2617 # of exeext.
2618 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2619 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2620 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2622 # List of possible output files, starting from the most likely.
2623 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2624 # only as a last resort. b.out is created by i960 compilers.
2625 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2627 # The IRIX 6 linker writes into existing files which may not be
2628 # executable, retaining their permissions. Remove them first so a
2629 # subsequent execution test works.
2630 ac_rmfiles=
2631 for ac_file in $ac_files
2633 case $ac_file in
2634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2635 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2636 esac
2637 done
2638 rm -f $ac_rmfiles
2640 if { (ac_try="$ac_link_default"
2641 case "(($ac_try" in
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2644 esac
2645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2646 (eval "$ac_link_default") 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; then
2650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2653 # so that the user can short-circuit this test for compilers unknown to
2654 # Autoconf.
2655 for ac_file in $ac_files ''
2657 test -f "$ac_file" || continue
2658 case $ac_file in
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2661 [ab].out )
2662 # We found the default executable, but exeext='' is most
2663 # certainly right.
2664 break;;
2665 *.* )
2666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2667 then :; else
2668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2670 # We set ac_cv_exeext here because the later test for it is not
2671 # safe: cross compilers may not add the suffix if given an `-o'
2672 # argument, so we may need to know it at that point already.
2673 # Even if this section looks crufty: it has the advantage of
2674 # actually working.
2675 break;;
2677 break;;
2678 esac
2679 done
2680 test "$ac_cv_exeext" = no && ac_cv_exeext=
2682 else
2683 ac_file=''
2686 { echo "$as_me:$LINENO: result: $ac_file" >&5
2687 echo "${ECHO_T}$ac_file" >&6; }
2688 if test -z "$ac_file"; then
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2692 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2693 See \`config.log' for more details." >&5
2694 echo "$as_me: error: C compiler cannot create executables
2695 See \`config.log' for more details." >&2;}
2696 { (exit 77); exit 77; }; }
2699 ac_exeext=$ac_cv_exeext
2701 # Check that the compiler produces executables we can run. If not, either
2702 # the compiler is broken, or we cross compile.
2703 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2704 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2705 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2706 # If not cross compiling, check that we can run a simple program.
2707 if test "$cross_compiling" != yes; then
2708 if { ac_try='./$ac_file'
2709 { (case "(($ac_try" in
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2712 esac
2713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2714 (eval "$ac_try") 2>&5
2715 ac_status=$?
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); }; }; then
2718 cross_compiling=no
2719 else
2720 if test "$cross_compiling" = maybe; then
2721 cross_compiling=yes
2722 else
2723 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2724 If you meant to cross compile, use \`--host'.
2725 See \`config.log' for more details." >&5
2726 echo "$as_me: error: cannot run C compiled programs.
2727 If you meant to cross compile, use \`--host'.
2728 See \`config.log' for more details." >&2;}
2729 { (exit 1); exit 1; }; }
2733 { echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6; }
2736 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2737 ac_clean_files=$ac_clean_files_save
2738 # Check that the compiler produces executables we can run. If not, either
2739 # the compiler is broken, or we cross compile.
2740 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2741 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2742 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2743 echo "${ECHO_T}$cross_compiling" >&6; }
2745 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2746 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2747 if { (ac_try="$ac_link"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_link") 2>&5
2754 ac_status=$?
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; then
2757 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2758 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2759 # work properly (i.e., refer to `conftest.exe'), while it won't with
2760 # `rm'.
2761 for ac_file in conftest.exe conftest conftest.*; do
2762 test -f "$ac_file" || continue
2763 case $ac_file in
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2765 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2766 break;;
2767 * ) break;;
2768 esac
2769 done
2770 else
2771 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2772 See \`config.log' for more details." >&5
2773 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2774 See \`config.log' for more details." >&2;}
2775 { (exit 1); exit 1; }; }
2778 rm -f conftest$ac_cv_exeext
2779 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2780 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2782 rm -f conftest.$ac_ext
2783 EXEEXT=$ac_cv_exeext
2784 ac_exeext=$EXEEXT
2785 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2786 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2787 if test "${ac_cv_objext+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 else
2790 cat >conftest.$ac_ext <<_ACEOF
2791 /* confdefs.h. */
2792 _ACEOF
2793 cat confdefs.h >>conftest.$ac_ext
2794 cat >>conftest.$ac_ext <<_ACEOF
2795 /* end confdefs.h. */
2798 main ()
2802 return 0;
2804 _ACEOF
2805 rm -f conftest.o conftest.obj
2806 if { (ac_try="$ac_compile"
2807 case "(($ac_try" in
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2810 esac
2811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812 (eval "$ac_compile") 2>&5
2813 ac_status=$?
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }; then
2816 for ac_file in conftest.o conftest.obj conftest.*; do
2817 test -f "$ac_file" || continue;
2818 case $ac_file in
2819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2821 break;;
2822 esac
2823 done
2824 else
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2835 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2837 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2838 echo "${ECHO_T}$ac_cv_objext" >&6; }
2839 OBJEXT=$ac_cv_objext
2840 ac_objext=$OBJEXT
2841 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2842 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2843 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 else
2846 cat >conftest.$ac_ext <<_ACEOF
2847 /* confdefs.h. */
2848 _ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2854 main ()
2856 #ifndef __GNUC__
2857 choke me
2858 #endif
2861 return 0;
2863 _ACEOF
2864 rm -f conftest.$ac_objext
2865 if { (ac_try="$ac_compile"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 (eval "$ac_compile") 2>conftest.er1
2872 ac_status=$?
2873 grep -v '^ *+' conftest.er1 >conftest.err
2874 rm -f conftest.er1
2875 cat conftest.err >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } && {
2878 test -z "$ac_c_werror_flag" ||
2879 test ! -s conftest.err
2880 } && test -s conftest.$ac_objext; then
2881 ac_compiler_gnu=yes
2882 else
2883 echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2886 ac_compiler_gnu=no
2889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2890 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2893 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2894 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2895 GCC=`test $ac_compiler_gnu = yes && echo yes`
2896 ac_test_CFLAGS=${CFLAGS+set}
2897 ac_save_CFLAGS=$CFLAGS
2898 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2899 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2900 if test "${ac_cv_prog_cc_g+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 else
2903 ac_save_c_werror_flag=$ac_c_werror_flag
2904 ac_c_werror_flag=yes
2905 ac_cv_prog_cc_g=no
2906 CFLAGS="-g"
2907 cat >conftest.$ac_ext <<_ACEOF
2908 /* confdefs.h. */
2909 _ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2915 main ()
2919 return 0;
2921 _ACEOF
2922 rm -f conftest.$ac_objext
2923 if { (ac_try="$ac_compile"
2924 case "(($ac_try" in
2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2926 *) ac_try_echo=$ac_try;;
2927 esac
2928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2929 (eval "$ac_compile") 2>conftest.er1
2930 ac_status=$?
2931 grep -v '^ *+' conftest.er1 >conftest.err
2932 rm -f conftest.er1
2933 cat conftest.err >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } && {
2936 test -z "$ac_c_werror_flag" ||
2937 test ! -s conftest.err
2938 } && test -s conftest.$ac_objext; then
2939 ac_cv_prog_cc_g=yes
2940 else
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 CFLAGS=""
2945 cat >conftest.$ac_ext <<_ACEOF
2946 /* confdefs.h. */
2947 _ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2953 main ()
2957 return 0;
2959 _ACEOF
2960 rm -f conftest.$ac_objext
2961 if { (ac_try="$ac_compile"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_compile") 2>conftest.er1
2968 ac_status=$?
2969 grep -v '^ *+' conftest.er1 >conftest.err
2970 rm -f conftest.er1
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; then
2978 else
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_c_werror_flag=$ac_save_c_werror_flag
2983 CFLAGS="-g"
2984 cat >conftest.$ac_ext <<_ACEOF
2985 /* confdefs.h. */
2986 _ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2992 main ()
2996 return 0;
2998 _ACEOF
2999 rm -f conftest.$ac_objext
3000 if { (ac_try="$ac_compile"
3001 case "(($ac_try" in
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3004 esac
3005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3006 (eval "$ac_compile") 2>conftest.er1
3007 ac_status=$?
3008 grep -v '^ *+' conftest.er1 >conftest.err
3009 rm -f conftest.er1
3010 cat conftest.err >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } && {
3013 test -z "$ac_c_werror_flag" ||
3014 test ! -s conftest.err
3015 } && test -s conftest.$ac_objext; then
3016 ac_cv_prog_cc_g=yes
3017 else
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 ac_c_werror_flag=$ac_save_c_werror_flag
3033 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3034 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3035 if test "$ac_test_CFLAGS" = set; then
3036 CFLAGS=$ac_save_CFLAGS
3037 elif test $ac_cv_prog_cc_g = yes; then
3038 if test "$GCC" = yes; then
3039 CFLAGS="-g -O2"
3040 else
3041 CFLAGS="-g"
3043 else
3044 if test "$GCC" = yes; then
3045 CFLAGS="-O2"
3046 else
3047 CFLAGS=
3050 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3051 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3052 if test "${ac_cv_prog_cc_c89+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 else
3055 ac_cv_prog_cc_c89=no
3056 ac_save_CC=$CC
3057 cat >conftest.$ac_ext <<_ACEOF
3058 /* confdefs.h. */
3059 _ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3063 #include <stdarg.h>
3064 #include <stdio.h>
3065 #include <sys/types.h>
3066 #include <sys/stat.h>
3067 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3068 struct buf { int x; };
3069 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3070 static char *e (p, i)
3071 char **p;
3072 int i;
3074 return p[i];
3076 static char *f (char * (*g) (char **, int), char **p, ...)
3078 char *s;
3079 va_list v;
3080 va_start (v,p);
3081 s = g (p, va_arg (v,int));
3082 va_end (v);
3083 return s;
3086 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3087 function prototypes and stuff, but not '\xHH' hex character constants.
3088 These don't provoke an error unfortunately, instead are silently treated
3089 as 'x'. The following induces an error, until -std is added to get
3090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3091 array size at least. It's necessary to write '\x00'==0 to get something
3092 that's true only with -std. */
3093 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3095 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3096 inside strings and character constants. */
3097 #define FOO(x) 'x'
3098 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3100 int test (int i, double x);
3101 struct s1 {int (*f) (int a);};
3102 struct s2 {int (*f) (double a);};
3103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3104 int argc;
3105 char **argv;
3107 main ()
3109 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3111 return 0;
3113 _ACEOF
3114 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3115 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3117 CC="$ac_save_CC $ac_arg"
3118 rm -f conftest.$ac_objext
3119 if { (ac_try="$ac_compile"
3120 case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123 esac
3124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3125 (eval "$ac_compile") 2>conftest.er1
3126 ac_status=$?
3127 grep -v '^ *+' conftest.er1 >conftest.err
3128 rm -f conftest.er1
3129 cat conftest.err >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); } && {
3132 test -z "$ac_c_werror_flag" ||
3133 test ! -s conftest.err
3134 } && test -s conftest.$ac_objext; then
3135 ac_cv_prog_cc_c89=$ac_arg
3136 else
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3143 rm -f core conftest.err conftest.$ac_objext
3144 test "x$ac_cv_prog_cc_c89" != "xno" && break
3145 done
3146 rm -f conftest.$ac_ext
3147 CC=$ac_save_CC
3150 # AC_CACHE_VAL
3151 case "x$ac_cv_prog_cc_c89" in
3153 { echo "$as_me:$LINENO: result: none needed" >&5
3154 echo "${ECHO_T}none needed" >&6; } ;;
3155 xno)
3156 { echo "$as_me:$LINENO: result: unsupported" >&5
3157 echo "${ECHO_T}unsupported" >&6; } ;;
3159 CC="$CC $ac_cv_prog_cc_c89"
3160 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3161 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3162 esac
3165 ac_ext=c
3166 ac_cpp='$CPP $CPPFLAGS'
3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3171 ac_ext=cpp
3172 ac_cpp='$CXXCPP $CPPFLAGS'
3173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3176 if test -z "$CXX"; then
3177 if test -n "$CCC"; then
3178 CXX=$CCC
3179 else
3180 if test -n "$ac_tool_prefix"; then
3181 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3183 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3187 if test "${ac_cv_prog_CXX+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 else
3190 if test -n "$CXX"; then
3191 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3192 else
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194 for as_dir in $PATH
3196 IFS=$as_save_IFS
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3200 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 break 2
3204 done
3205 done
3206 IFS=$as_save_IFS
3210 CXX=$ac_cv_prog_CXX
3211 if test -n "$CXX"; then
3212 { echo "$as_me:$LINENO: result: $CXX" >&5
3213 echo "${ECHO_T}$CXX" >&6; }
3214 else
3215 { echo "$as_me:$LINENO: result: no" >&5
3216 echo "${ECHO_T}no" >&6; }
3220 test -n "$CXX" && break
3221 done
3223 if test -z "$CXX"; then
3224 ac_ct_CXX=$CXX
3225 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3227 # Extract the first word of "$ac_prog", so it can be a program name with args.
3228 set dummy $ac_prog; ac_word=$2
3229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3231 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 else
3234 if test -n "$ac_ct_CXX"; then
3235 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3236 else
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238 for as_dir in $PATH
3240 IFS=$as_save_IFS
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3244 ac_cv_prog_ac_ct_CXX="$ac_prog"
3245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 break 2
3248 done
3249 done
3250 IFS=$as_save_IFS
3254 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3255 if test -n "$ac_ct_CXX"; then
3256 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3257 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3258 else
3259 { echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6; }
3264 test -n "$ac_ct_CXX" && break
3265 done
3267 if test "x$ac_ct_CXX" = x; then
3268 CXX="g++"
3269 else
3270 case $cross_compiling:$ac_tool_warned in
3271 yes:)
3272 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3273 whose name does not start with the host triplet. If you think this
3274 configuration is useful to you, please write to autoconf@gnu.org." >&5
3275 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3276 whose name does not start with the host triplet. If you think this
3277 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3278 ac_tool_warned=yes ;;
3279 esac
3280 CXX=$ac_ct_CXX
3286 # Provide some information about the compiler.
3287 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3288 ac_compiler=`set X $ac_compile; echo $2`
3289 { (ac_try="$ac_compiler --version >&5"
3290 case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3293 esac
3294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3295 (eval "$ac_compiler --version >&5") 2>&5
3296 ac_status=$?
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }
3299 { (ac_try="$ac_compiler -v >&5"
3300 case "(($ac_try" in
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3303 esac
3304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_compiler -v >&5") 2>&5
3306 ac_status=$?
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }
3309 { (ac_try="$ac_compiler -V >&5"
3310 case "(($ac_try" in
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3313 esac
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compiler -V >&5") 2>&5
3316 ac_status=$?
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }
3320 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3321 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3322 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 else
3325 cat >conftest.$ac_ext <<_ACEOF
3326 /* confdefs.h. */
3327 _ACEOF
3328 cat confdefs.h >>conftest.$ac_ext
3329 cat >>conftest.$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3333 main ()
3335 #ifndef __GNUC__
3336 choke me
3337 #endif
3340 return 0;
3342 _ACEOF
3343 rm -f conftest.$ac_objext
3344 if { (ac_try="$ac_compile"
3345 case "(($ac_try" in
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3348 esac
3349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_compile") 2>conftest.er1
3351 ac_status=$?
3352 grep -v '^ *+' conftest.er1 >conftest.err
3353 rm -f conftest.er1
3354 cat conftest.err >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } && {
3357 test -z "$ac_cxx_werror_flag" ||
3358 test ! -s conftest.err
3359 } && test -s conftest.$ac_objext; then
3360 ac_compiler_gnu=yes
3361 else
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.$ac_ext >&5
3365 ac_compiler_gnu=no
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3372 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3373 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3374 GXX=`test $ac_compiler_gnu = yes && echo yes`
3375 ac_test_CXXFLAGS=${CXXFLAGS+set}
3376 ac_save_CXXFLAGS=$CXXFLAGS
3377 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3378 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3379 if test "${ac_cv_prog_cxx_g+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 else
3382 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3383 ac_cxx_werror_flag=yes
3384 ac_cv_prog_cxx_g=no
3385 CXXFLAGS="-g"
3386 cat >conftest.$ac_ext <<_ACEOF
3387 /* confdefs.h. */
3388 _ACEOF
3389 cat confdefs.h >>conftest.$ac_ext
3390 cat >>conftest.$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3394 main ()
3398 return 0;
3400 _ACEOF
3401 rm -f conftest.$ac_objext
3402 if { (ac_try="$ac_compile"
3403 case "(($ac_try" in
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3406 esac
3407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3408 (eval "$ac_compile") 2>conftest.er1
3409 ac_status=$?
3410 grep -v '^ *+' conftest.er1 >conftest.err
3411 rm -f conftest.er1
3412 cat conftest.err >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } && {
3415 test -z "$ac_cxx_werror_flag" ||
3416 test ! -s conftest.err
3417 } && test -s conftest.$ac_objext; then
3418 ac_cv_prog_cxx_g=yes
3419 else
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 CXXFLAGS=""
3424 cat >conftest.$ac_ext <<_ACEOF
3425 /* confdefs.h. */
3426 _ACEOF
3427 cat confdefs.h >>conftest.$ac_ext
3428 cat >>conftest.$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3432 main ()
3436 return 0;
3438 _ACEOF
3439 rm -f conftest.$ac_objext
3440 if { (ac_try="$ac_compile"
3441 case "(($ac_try" in
3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3444 esac
3445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3446 (eval "$ac_compile") 2>conftest.er1
3447 ac_status=$?
3448 grep -v '^ *+' conftest.er1 >conftest.err
3449 rm -f conftest.er1
3450 cat conftest.err >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); } && {
3453 test -z "$ac_cxx_werror_flag" ||
3454 test ! -s conftest.err
3455 } && test -s conftest.$ac_objext; then
3457 else
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3461 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3462 CXXFLAGS="-g"
3463 cat >conftest.$ac_ext <<_ACEOF
3464 /* confdefs.h. */
3465 _ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3471 main ()
3475 return 0;
3477 _ACEOF
3478 rm -f conftest.$ac_objext
3479 if { (ac_try="$ac_compile"
3480 case "(($ac_try" in
3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3483 esac
3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485 (eval "$ac_compile") 2>conftest.er1
3486 ac_status=$?
3487 grep -v '^ *+' conftest.er1 >conftest.err
3488 rm -f conftest.er1
3489 cat conftest.err >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } && {
3492 test -z "$ac_cxx_werror_flag" ||
3493 test ! -s conftest.err
3494 } && test -s conftest.$ac_objext; then
3495 ac_cv_prog_cxx_g=yes
3496 else
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3512 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3513 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3514 if test "$ac_test_CXXFLAGS" = set; then
3515 CXXFLAGS=$ac_save_CXXFLAGS
3516 elif test $ac_cv_prog_cxx_g = yes; then
3517 if test "$GXX" = yes; then
3518 CXXFLAGS="-g -O2"
3519 else
3520 CXXFLAGS="-g"
3522 else
3523 if test "$GXX" = yes; then
3524 CXXFLAGS="-O2"
3525 else
3526 CXXFLAGS=
3529 ac_ext=c
3530 ac_cpp='$CPP $CPPFLAGS'
3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 else
3543 if test -n "$CPPBIN"; then
3544 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3545 else
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 for as_dir in $PATH
3549 IFS=$as_save_IFS
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 break 2
3557 done
3558 done
3559 IFS=$as_save_IFS
3563 CPPBIN=$ac_cv_prog_CPPBIN
3564 if test -n "$CPPBIN"; then
3565 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3566 echo "${ECHO_T}$CPPBIN" >&6; }
3567 else
3568 { echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6; }
3574 if test -z "$ac_cv_prog_CPPBIN"; then
3575 ac_ct_CPPBIN=$CPPBIN
3576 # Extract the first word of "cpp", so it can be a program name with args.
3577 set dummy cpp; ac_word=$2
3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3580 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 else
3583 if test -n "$ac_ct_CPPBIN"; then
3584 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3585 else
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 for as_dir in $PATH
3589 IFS=$as_save_IFS
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_ac_ct_CPPBIN="cpp"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 break 2
3597 done
3598 done
3599 IFS=$as_save_IFS
3603 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3604 if test -n "$ac_ct_CPPBIN"; then
3605 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3606 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3607 else
3608 { echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6; }
3612 if test "x$ac_ct_CPPBIN" = x; then
3613 CPPBIN="cpp"
3614 else
3615 case $cross_compiling:$ac_tool_warned in
3616 yes:)
3617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3618 whose name does not start with the host triplet. If you think this
3619 configuration is useful to you, please write to autoconf@gnu.org." >&5
3620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3621 whose name does not start with the host triplet. If you think this
3622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3623 ac_tool_warned=yes ;;
3624 esac
3625 CPPBIN=$ac_ct_CPPBIN
3627 else
3628 CPPBIN="$ac_cv_prog_CPPBIN"
3632 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3633 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3634 if test "${wine_cv_toolsdir+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 else
3637 if test -z "$with_wine_tools"; then
3638 if test "$cross_compiling" = "yes"; then
3639 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3640 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3641 { (exit 1); exit 1; }; }
3642 else
3643 wine_cv_toolsdir="\$(TOPOBJDIR)"
3645 elif test -d "$with_wine_tools/tools/winebuild"; then
3646 case $with_wine_tools in
3647 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3648 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3649 esac
3650 else
3651 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3652 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3653 { (exit 1); exit 1; }; }
3656 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3657 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3658 TOOLSDIR=$wine_cv_toolsdir
3662 ac_ext=c
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3668 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3669 # On Suns, sometimes $CPP names a directory.
3670 if test -n "$CPP" && test -d "$CPP"; then
3671 CPP=
3673 if test -z "$CPP"; then
3674 if test "${ac_cv_prog_CPP+set}" = set; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 else
3677 # Double quotes because CPP needs to be expanded
3678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3680 ac_preproc_ok=false
3681 for ac_c_preproc_warn_flag in '' yes
3683 # Use a header file that comes with gcc, so configuring glibc
3684 # with a fresh cross-compiler works.
3685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3686 # <limits.h> exists even on freestanding compilers.
3687 # On the NeXT, cc -E runs the code through the compiler's parser,
3688 # not just through cpp. "Syntax error" is here to catch this case.
3689 cat >conftest.$ac_ext <<_ACEOF
3690 /* confdefs.h. */
3691 _ACEOF
3692 cat confdefs.h >>conftest.$ac_ext
3693 cat >>conftest.$ac_ext <<_ACEOF
3694 /* end confdefs.h. */
3695 #ifdef __STDC__
3696 # include <limits.h>
3697 #else
3698 # include <assert.h>
3699 #endif
3700 Syntax error
3701 _ACEOF
3702 if { (ac_try="$ac_cpp conftest.$ac_ext"
3703 case "(($ac_try" in
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3706 esac
3707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3709 ac_status=$?
3710 grep -v '^ *+' conftest.er1 >conftest.err
3711 rm -f conftest.er1
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } >/dev/null && {
3715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3716 test ! -s conftest.err
3717 }; then
3719 else
3720 echo "$as_me: failed program was:" >&5
3721 sed 's/^/| /' conftest.$ac_ext >&5
3723 # Broken: fails on valid input.
3724 continue
3727 rm -f conftest.err conftest.$ac_ext
3729 # OK, works on sane cases. Now check whether nonexistent headers
3730 # can be detected and how.
3731 cat >conftest.$ac_ext <<_ACEOF
3732 /* confdefs.h. */
3733 _ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3737 #include <ac_nonexistent.h>
3738 _ACEOF
3739 if { (ac_try="$ac_cpp conftest.$ac_ext"
3740 case "(($ac_try" in
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3743 esac
3744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3746 ac_status=$?
3747 grep -v '^ *+' conftest.er1 >conftest.err
3748 rm -f conftest.er1
3749 cat conftest.err >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } >/dev/null && {
3752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3753 test ! -s conftest.err
3754 }; then
3755 # Broken: success on invalid input.
3756 continue
3757 else
3758 echo "$as_me: failed program was:" >&5
3759 sed 's/^/| /' conftest.$ac_ext >&5
3761 # Passes both tests.
3762 ac_preproc_ok=:
3763 break
3766 rm -f conftest.err conftest.$ac_ext
3768 done
3769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3770 rm -f conftest.err conftest.$ac_ext
3771 if $ac_preproc_ok; then
3772 break
3775 done
3776 ac_cv_prog_CPP=$CPP
3779 CPP=$ac_cv_prog_CPP
3780 else
3781 ac_cv_prog_CPP=$CPP
3783 { echo "$as_me:$LINENO: result: $CPP" >&5
3784 echo "${ECHO_T}$CPP" >&6; }
3785 ac_preproc_ok=false
3786 for ac_c_preproc_warn_flag in '' yes
3788 # Use a header file that comes with gcc, so configuring glibc
3789 # with a fresh cross-compiler works.
3790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3791 # <limits.h> exists even on freestanding compilers.
3792 # On the NeXT, cc -E runs the code through the compiler's parser,
3793 # not just through cpp. "Syntax error" is here to catch this case.
3794 cat >conftest.$ac_ext <<_ACEOF
3795 /* confdefs.h. */
3796 _ACEOF
3797 cat confdefs.h >>conftest.$ac_ext
3798 cat >>conftest.$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3800 #ifdef __STDC__
3801 # include <limits.h>
3802 #else
3803 # include <assert.h>
3804 #endif
3805 Syntax error
3806 _ACEOF
3807 if { (ac_try="$ac_cpp conftest.$ac_ext"
3808 case "(($ac_try" in
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3811 esac
3812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3814 ac_status=$?
3815 grep -v '^ *+' conftest.er1 >conftest.err
3816 rm -f conftest.er1
3817 cat conftest.err >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } >/dev/null && {
3820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3821 test ! -s conftest.err
3822 }; then
3824 else
3825 echo "$as_me: failed program was:" >&5
3826 sed 's/^/| /' conftest.$ac_ext >&5
3828 # Broken: fails on valid input.
3829 continue
3832 rm -f conftest.err conftest.$ac_ext
3834 # OK, works on sane cases. Now check whether nonexistent headers
3835 # can be detected and how.
3836 cat >conftest.$ac_ext <<_ACEOF
3837 /* confdefs.h. */
3838 _ACEOF
3839 cat confdefs.h >>conftest.$ac_ext
3840 cat >>conftest.$ac_ext <<_ACEOF
3841 /* end confdefs.h. */
3842 #include <ac_nonexistent.h>
3843 _ACEOF
3844 if { (ac_try="$ac_cpp conftest.$ac_ext"
3845 case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3848 esac
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } >/dev/null && {
3857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 }; then
3860 # Broken: success on invalid input.
3861 continue
3862 else
3863 echo "$as_me: failed program was:" >&5
3864 sed 's/^/| /' conftest.$ac_ext >&5
3866 # Passes both tests.
3867 ac_preproc_ok=:
3868 break
3871 rm -f conftest.err conftest.$ac_ext
3873 done
3874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3875 rm -f conftest.err conftest.$ac_ext
3876 if $ac_preproc_ok; then
3878 else
3879 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3880 See \`config.log' for more details." >&5
3881 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3882 See \`config.log' for more details." >&2;}
3883 { (exit 1); exit 1; }; }
3886 ac_ext=c
3887 ac_cpp='$CPP $CPPFLAGS'
3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893 { echo "$as_me:$LINENO: checking for X" >&5
3894 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3897 # Check whether --with-x was given.
3898 if test "${with_x+set}" = set; then
3899 withval=$with_x;
3902 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3903 if test "x$with_x" = xno; then
3904 # The user explicitly disabled X.
3905 have_x=disabled
3906 else
3907 case $x_includes,$x_libraries in #(
3908 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3909 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3910 { (exit 1); exit 1; }; };; #(
3911 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 else
3914 # One or both of the vars are not set, and there is no cached value.
3915 ac_x_includes=no ac_x_libraries=no
3916 rm -f -r conftest.dir
3917 if mkdir conftest.dir; then
3918 cd conftest.dir
3919 cat >Imakefile <<'_ACEOF'
3920 incroot:
3921 @echo incroot='${INCROOT}'
3922 usrlibdir:
3923 @echo usrlibdir='${USRLIBDIR}'
3924 libdir:
3925 @echo libdir='${LIBDIR}'
3926 _ACEOF
3927 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3928 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3929 for ac_var in incroot usrlibdir libdir; do
3930 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3931 done
3932 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3933 for ac_extension in a so sl; do
3934 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3935 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3936 ac_im_usrlibdir=$ac_im_libdir; break
3938 done
3939 # Screen out bogus values from the imake configuration. They are
3940 # bogus both because they are the default anyway, and because
3941 # using them would break gcc on systems where it needs fixed includes.
3942 case $ac_im_incroot in
3943 /usr/include) ac_x_includes= ;;
3944 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3945 esac
3946 case $ac_im_usrlibdir in
3947 /usr/lib | /lib) ;;
3948 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3949 esac
3951 cd ..
3952 rm -f -r conftest.dir
3955 # Standard set of common directories for X headers.
3956 # Check X11 before X11Rn because it is often a symlink to the current release.
3957 ac_x_header_dirs='
3958 /usr/X11/include
3959 /usr/X11R6/include
3960 /usr/X11R5/include
3961 /usr/X11R4/include
3963 /usr/include/X11
3964 /usr/include/X11R6
3965 /usr/include/X11R5
3966 /usr/include/X11R4
3968 /usr/local/X11/include
3969 /usr/local/X11R6/include
3970 /usr/local/X11R5/include
3971 /usr/local/X11R4/include
3973 /usr/local/include/X11
3974 /usr/local/include/X11R6
3975 /usr/local/include/X11R5
3976 /usr/local/include/X11R4
3978 /usr/X386/include
3979 /usr/x386/include
3980 /usr/XFree86/include/X11
3982 /usr/include
3983 /usr/local/include
3984 /usr/unsupported/include
3985 /usr/athena/include
3986 /usr/local/x11r5/include
3987 /usr/lpp/Xamples/include
3989 /usr/openwin/include
3990 /usr/openwin/share/include'
3992 if test "$ac_x_includes" = no; then
3993 # Guess where to find include files, by looking for Xlib.h.
3994 # First, try using that file with no special directory specified.
3995 cat >conftest.$ac_ext <<_ACEOF
3996 /* confdefs.h. */
3997 _ACEOF
3998 cat confdefs.h >>conftest.$ac_ext
3999 cat >>conftest.$ac_ext <<_ACEOF
4000 /* end confdefs.h. */
4001 #include <X11/Xlib.h>
4002 _ACEOF
4003 if { (ac_try="$ac_cpp conftest.$ac_ext"
4004 case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4010 ac_status=$?
4011 grep -v '^ *+' conftest.er1 >conftest.err
4012 rm -f conftest.er1
4013 cat conftest.err >&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } >/dev/null && {
4016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4017 test ! -s conftest.err
4018 }; then
4019 # We can compile using X headers with no special include directory.
4020 ac_x_includes=
4021 else
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 for ac_dir in $ac_x_header_dirs; do
4026 if test -r "$ac_dir/X11/Xlib.h"; then
4027 ac_x_includes=$ac_dir
4028 break
4030 done
4033 rm -f conftest.err conftest.$ac_ext
4034 fi # $ac_x_includes = no
4036 if test "$ac_x_libraries" = no; then
4037 # Check for the libraries.
4038 # See if we find them without any special options.
4039 # Don't add to $LIBS permanently.
4040 ac_save_LIBS=$LIBS
4041 LIBS="-lX11 $LIBS"
4042 cat >conftest.$ac_ext <<_ACEOF
4043 /* confdefs.h. */
4044 _ACEOF
4045 cat confdefs.h >>conftest.$ac_ext
4046 cat >>conftest.$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4048 #include <X11/Xlib.h>
4050 main ()
4052 XrmInitialize ()
4054 return 0;
4056 _ACEOF
4057 rm -f conftest.$ac_objext conftest$ac_exeext
4058 if { (ac_try="$ac_link"
4059 case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4064 (eval "$ac_link") 2>conftest.er1
4065 ac_status=$?
4066 grep -v '^ *+' conftest.er1 >conftest.err
4067 rm -f conftest.er1
4068 cat conftest.err >&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); } && {
4071 test -z "$ac_c_werror_flag" ||
4072 test ! -s conftest.err
4073 } && test -s conftest$ac_exeext &&
4074 $as_test_x conftest$ac_exeext; then
4075 LIBS=$ac_save_LIBS
4076 # We can link X programs with no special library path.
4077 ac_x_libraries=
4078 else
4079 echo "$as_me: failed program was:" >&5
4080 sed 's/^/| /' conftest.$ac_ext >&5
4082 LIBS=$ac_save_LIBS
4083 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4085 # Don't even attempt the hair of trying to link an X program!
4086 for ac_extension in a so sl; do
4087 if test -r "$ac_dir/libX11.$ac_extension"; then
4088 ac_x_libraries=$ac_dir
4089 break 2
4091 done
4092 done
4095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4096 conftest$ac_exeext conftest.$ac_ext
4097 fi # $ac_x_libraries = no
4099 case $ac_x_includes,$ac_x_libraries in #(
4100 no,* | *,no | *\'*)
4101 # Didn't find X, or a directory has "'" in its name.
4102 ac_cv_have_x="have_x=no";; #(
4104 # Record where we found X for the cache.
4105 ac_cv_have_x="have_x=yes\
4106 ac_x_includes='$ac_x_includes'\
4107 ac_x_libraries='$ac_x_libraries'"
4108 esac
4110 ;; #(
4111 *) have_x=yes;;
4112 esac
4113 eval "$ac_cv_have_x"
4114 fi # $with_x != no
4116 if test "$have_x" != yes; then
4117 { echo "$as_me:$LINENO: result: $have_x" >&5
4118 echo "${ECHO_T}$have_x" >&6; }
4119 no_x=yes
4120 else
4121 # If each of the values was on the command line, it overrides each guess.
4122 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4123 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4124 # Update the cache value to reflect the command line values.
4125 ac_cv_have_x="have_x=yes\
4126 ac_x_includes='$x_includes'\
4127 ac_x_libraries='$x_libraries'"
4128 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4129 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4132 if test "$no_x" = yes; then
4133 # Not all programs may use this symbol, but it does not hurt to define it.
4135 cat >>confdefs.h <<\_ACEOF
4136 #define X_DISPLAY_MISSING 1
4137 _ACEOF
4139 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4140 else
4141 if test -n "$x_includes"; then
4142 X_CFLAGS="$X_CFLAGS -I$x_includes"
4145 # It would also be nice to do this for all -L options, not just this one.
4146 if test -n "$x_libraries"; then
4147 X_LIBS="$X_LIBS -L$x_libraries"
4148 # For Solaris; some versions of Sun CC require a space after -R and
4149 # others require no space. Words are not sufficient . . . .
4150 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4151 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4152 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4153 ac_xsave_c_werror_flag=$ac_c_werror_flag
4154 ac_c_werror_flag=yes
4155 cat >conftest.$ac_ext <<_ACEOF
4156 /* confdefs.h. */
4157 _ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4163 main ()
4167 return 0;
4169 _ACEOF
4170 rm -f conftest.$ac_objext conftest$ac_exeext
4171 if { (ac_try="$ac_link"
4172 case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4177 (eval "$ac_link") 2>conftest.er1
4178 ac_status=$?
4179 grep -v '^ *+' conftest.er1 >conftest.err
4180 rm -f conftest.er1
4181 cat conftest.err >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } && {
4184 test -z "$ac_c_werror_flag" ||
4185 test ! -s conftest.err
4186 } && test -s conftest$ac_exeext &&
4187 $as_test_x conftest$ac_exeext; then
4188 { echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6; }
4190 X_LIBS="$X_LIBS -R$x_libraries"
4191 else
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4195 LIBS="$ac_xsave_LIBS -R $x_libraries"
4196 cat >conftest.$ac_ext <<_ACEOF
4197 /* confdefs.h. */
4198 _ACEOF
4199 cat confdefs.h >>conftest.$ac_ext
4200 cat >>conftest.$ac_ext <<_ACEOF
4201 /* end confdefs.h. */
4204 main ()
4208 return 0;
4210 _ACEOF
4211 rm -f conftest.$ac_objext conftest$ac_exeext
4212 if { (ac_try="$ac_link"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_link") 2>conftest.er1
4219 ac_status=$?
4220 grep -v '^ *+' conftest.er1 >conftest.err
4221 rm -f conftest.er1
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } && {
4225 test -z "$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4227 } && test -s conftest$ac_exeext &&
4228 $as_test_x conftest$ac_exeext; then
4229 { echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6; }
4231 X_LIBS="$X_LIBS -R $x_libraries"
4232 else
4233 echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4236 { echo "$as_me:$LINENO: result: neither works" >&5
4237 echo "${ECHO_T}neither works" >&6; }
4240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4241 conftest$ac_exeext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4245 conftest$ac_exeext conftest.$ac_ext
4246 ac_c_werror_flag=$ac_xsave_c_werror_flag
4247 LIBS=$ac_xsave_LIBS
4250 # Check for system-dependent libraries X programs must link with.
4251 # Do this before checking for the system-independent R6 libraries
4252 # (-lICE), since we may need -lsocket or whatever for X linking.
4254 if test "$ISC" = yes; then
4255 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4256 else
4257 # Martyn Johnson says this is needed for Ultrix, if the X
4258 # libraries were built with DECnet support. And Karl Berry says
4259 # the Alpha needs dnet_stub (dnet does not exist).
4260 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4261 cat >conftest.$ac_ext <<_ACEOF
4262 /* confdefs.h. */
4263 _ACEOF
4264 cat confdefs.h >>conftest.$ac_ext
4265 cat >>conftest.$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4268 /* Override any GCC internal prototype to avoid an error.
4269 Use char because int might match the return type of a GCC
4270 builtin and then its argument prototype would still apply. */
4271 #ifdef __cplusplus
4272 extern "C"
4273 #endif
4274 char XOpenDisplay ();
4276 main ()
4278 return XOpenDisplay ();
4280 return 0;
4282 _ACEOF
4283 rm -f conftest.$ac_objext conftest$ac_exeext
4284 if { (ac_try="$ac_link"
4285 case "(($ac_try" in
4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4288 esac
4289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290 (eval "$ac_link") 2>conftest.er1
4291 ac_status=$?
4292 grep -v '^ *+' conftest.er1 >conftest.err
4293 rm -f conftest.er1
4294 cat conftest.err >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } && {
4297 test -z "$ac_c_werror_flag" ||
4298 test ! -s conftest.err
4299 } && test -s conftest$ac_exeext &&
4300 $as_test_x conftest$ac_exeext; then
4302 else
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4306 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4307 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4308 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 else
4311 ac_check_lib_save_LIBS=$LIBS
4312 LIBS="-ldnet $LIBS"
4313 cat >conftest.$ac_ext <<_ACEOF
4314 /* confdefs.h. */
4315 _ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4320 /* Override any GCC internal prototype to avoid an error.
4321 Use char because int might match the return type of a GCC
4322 builtin and then its argument prototype would still apply. */
4323 #ifdef __cplusplus
4324 extern "C"
4325 #endif
4326 char dnet_ntoa ();
4328 main ()
4330 return dnet_ntoa ();
4332 return 0;
4334 _ACEOF
4335 rm -f conftest.$ac_objext conftest$ac_exeext
4336 if { (ac_try="$ac_link"
4337 case "(($ac_try" in
4338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4340 esac
4341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4342 (eval "$ac_link") 2>conftest.er1
4343 ac_status=$?
4344 grep -v '^ *+' conftest.er1 >conftest.err
4345 rm -f conftest.er1
4346 cat conftest.err >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); } && {
4349 test -z "$ac_c_werror_flag" ||
4350 test ! -s conftest.err
4351 } && test -s conftest$ac_exeext &&
4352 $as_test_x conftest$ac_exeext; then
4353 ac_cv_lib_dnet_dnet_ntoa=yes
4354 else
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.$ac_ext >&5
4358 ac_cv_lib_dnet_dnet_ntoa=no
4361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4362 conftest$ac_exeext conftest.$ac_ext
4363 LIBS=$ac_check_lib_save_LIBS
4365 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4366 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4367 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4368 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4371 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4372 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4373 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4374 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 else
4377 ac_check_lib_save_LIBS=$LIBS
4378 LIBS="-ldnet_stub $LIBS"
4379 cat >conftest.$ac_ext <<_ACEOF
4380 /* confdefs.h. */
4381 _ACEOF
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4386 /* Override any GCC internal prototype to avoid an error.
4387 Use char because int might match the return type of a GCC
4388 builtin and then its argument prototype would still apply. */
4389 #ifdef __cplusplus
4390 extern "C"
4391 #endif
4392 char dnet_ntoa ();
4394 main ()
4396 return dnet_ntoa ();
4398 return 0;
4400 _ACEOF
4401 rm -f conftest.$ac_objext conftest$ac_exeext
4402 if { (ac_try="$ac_link"
4403 case "(($ac_try" in
4404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4405 *) ac_try_echo=$ac_try;;
4406 esac
4407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4408 (eval "$ac_link") 2>conftest.er1
4409 ac_status=$?
4410 grep -v '^ *+' conftest.er1 >conftest.err
4411 rm -f conftest.er1
4412 cat conftest.err >&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } && {
4415 test -z "$ac_c_werror_flag" ||
4416 test ! -s conftest.err
4417 } && test -s conftest$ac_exeext &&
4418 $as_test_x conftest$ac_exeext; then
4419 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4420 else
4421 echo "$as_me: failed program was:" >&5
4422 sed 's/^/| /' conftest.$ac_ext >&5
4424 ac_cv_lib_dnet_stub_dnet_ntoa=no
4427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4428 conftest$ac_exeext conftest.$ac_ext
4429 LIBS=$ac_check_lib_save_LIBS
4431 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4432 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4433 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4434 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4441 conftest$ac_exeext conftest.$ac_ext
4442 LIBS="$ac_xsave_LIBS"
4444 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4445 # to get the SysV transport functions.
4446 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4447 # needs -lnsl.
4448 # The nsl library prevents programs from opening the X display
4449 # on Irix 5.2, according to T.E. Dickey.
4450 # The functions gethostbyname, getservbyname, and inet_addr are
4451 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4452 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4453 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4454 if test "${ac_cv_func_gethostbyname+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4456 else
4457 cat >conftest.$ac_ext <<_ACEOF
4458 /* confdefs.h. */
4459 _ACEOF
4460 cat confdefs.h >>conftest.$ac_ext
4461 cat >>conftest.$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4463 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4465 #define gethostbyname innocuous_gethostbyname
4467 /* System header to define __stub macros and hopefully few prototypes,
4468 which can conflict with char gethostbyname (); below.
4469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4470 <limits.h> exists even on freestanding compilers. */
4472 #ifdef __STDC__
4473 # include <limits.h>
4474 #else
4475 # include <assert.h>
4476 #endif
4478 #undef gethostbyname
4480 /* Override any GCC internal prototype to avoid an error.
4481 Use char because int might match the return type of a GCC
4482 builtin and then its argument prototype would still apply. */
4483 #ifdef __cplusplus
4484 extern "C"
4485 #endif
4486 char gethostbyname ();
4487 /* The GNU C library defines this for functions which it implements
4488 to always fail with ENOSYS. Some functions are actually named
4489 something starting with __ and the normal name is an alias. */
4490 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4491 choke me
4492 #endif
4495 main ()
4497 return gethostbyname ();
4499 return 0;
4501 _ACEOF
4502 rm -f conftest.$ac_objext conftest$ac_exeext
4503 if { (ac_try="$ac_link"
4504 case "(($ac_try" in
4505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4506 *) ac_try_echo=$ac_try;;
4507 esac
4508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4509 (eval "$ac_link") 2>conftest.er1
4510 ac_status=$?
4511 grep -v '^ *+' conftest.er1 >conftest.err
4512 rm -f conftest.er1
4513 cat conftest.err >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } && {
4516 test -z "$ac_c_werror_flag" ||
4517 test ! -s conftest.err
4518 } && test -s conftest$ac_exeext &&
4519 $as_test_x conftest$ac_exeext; then
4520 ac_cv_func_gethostbyname=yes
4521 else
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.$ac_ext >&5
4525 ac_cv_func_gethostbyname=no
4528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4529 conftest$ac_exeext conftest.$ac_ext
4531 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4532 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4534 if test $ac_cv_func_gethostbyname = no; then
4535 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4536 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4537 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 else
4540 ac_check_lib_save_LIBS=$LIBS
4541 LIBS="-lnsl $LIBS"
4542 cat >conftest.$ac_ext <<_ACEOF
4543 /* confdefs.h. */
4544 _ACEOF
4545 cat confdefs.h >>conftest.$ac_ext
4546 cat >>conftest.$ac_ext <<_ACEOF
4547 /* end confdefs.h. */
4549 /* Override any GCC internal prototype to avoid an error.
4550 Use char because int might match the return type of a GCC
4551 builtin and then its argument prototype would still apply. */
4552 #ifdef __cplusplus
4553 extern "C"
4554 #endif
4555 char gethostbyname ();
4557 main ()
4559 return gethostbyname ();
4561 return 0;
4563 _ACEOF
4564 rm -f conftest.$ac_objext conftest$ac_exeext
4565 if { (ac_try="$ac_link"
4566 case "(($ac_try" in
4567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;;
4569 esac
4570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4571 (eval "$ac_link") 2>conftest.er1
4572 ac_status=$?
4573 grep -v '^ *+' conftest.er1 >conftest.err
4574 rm -f conftest.er1
4575 cat conftest.err >&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } && {
4578 test -z "$ac_c_werror_flag" ||
4579 test ! -s conftest.err
4580 } && test -s conftest$ac_exeext &&
4581 $as_test_x conftest$ac_exeext; then
4582 ac_cv_lib_nsl_gethostbyname=yes
4583 else
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 ac_cv_lib_nsl_gethostbyname=no
4590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4591 conftest$ac_exeext conftest.$ac_ext
4592 LIBS=$ac_check_lib_save_LIBS
4594 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4595 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4596 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4597 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4600 if test $ac_cv_lib_nsl_gethostbyname = no; then
4601 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4602 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4603 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 else
4606 ac_check_lib_save_LIBS=$LIBS
4607 LIBS="-lbsd $LIBS"
4608 cat >conftest.$ac_ext <<_ACEOF
4609 /* confdefs.h. */
4610 _ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 /* Override any GCC internal prototype to avoid an error.
4616 Use char because int might match the return type of a GCC
4617 builtin and then its argument prototype would still apply. */
4618 #ifdef __cplusplus
4619 extern "C"
4620 #endif
4621 char gethostbyname ();
4623 main ()
4625 return gethostbyname ();
4627 return 0;
4629 _ACEOF
4630 rm -f conftest.$ac_objext conftest$ac_exeext
4631 if { (ac_try="$ac_link"
4632 case "(($ac_try" in
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4635 esac
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_link") 2>conftest.er1
4638 ac_status=$?
4639 grep -v '^ *+' conftest.er1 >conftest.err
4640 rm -f conftest.er1
4641 cat conftest.err >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } && {
4644 test -z "$ac_c_werror_flag" ||
4645 test ! -s conftest.err
4646 } && test -s conftest$ac_exeext &&
4647 $as_test_x conftest$ac_exeext; then
4648 ac_cv_lib_bsd_gethostbyname=yes
4649 else
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.$ac_ext >&5
4653 ac_cv_lib_bsd_gethostbyname=no
4656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4657 conftest$ac_exeext conftest.$ac_ext
4658 LIBS=$ac_check_lib_save_LIBS
4660 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4661 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4662 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4663 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4669 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4670 # socket/setsockopt and other routines are undefined under SCO ODT
4671 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4672 # on later versions), says Simon Leinen: it contains gethostby*
4673 # variants that don't use the name server (or something). -lsocket
4674 # must be given before -lnsl if both are needed. We assume that
4675 # if connect needs -lnsl, so does gethostbyname.
4676 { echo "$as_me:$LINENO: checking for connect" >&5
4677 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4678 if test "${ac_cv_func_connect+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 else
4681 cat >conftest.$ac_ext <<_ACEOF
4682 /* confdefs.h. */
4683 _ACEOF
4684 cat confdefs.h >>conftest.$ac_ext
4685 cat >>conftest.$ac_ext <<_ACEOF
4686 /* end confdefs.h. */
4687 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4689 #define connect innocuous_connect
4691 /* System header to define __stub macros and hopefully few prototypes,
4692 which can conflict with char connect (); below.
4693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4694 <limits.h> exists even on freestanding compilers. */
4696 #ifdef __STDC__
4697 # include <limits.h>
4698 #else
4699 # include <assert.h>
4700 #endif
4702 #undef connect
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4707 #ifdef __cplusplus
4708 extern "C"
4709 #endif
4710 char connect ();
4711 /* The GNU C library defines this for functions which it implements
4712 to always fail with ENOSYS. Some functions are actually named
4713 something starting with __ and the normal name is an alias. */
4714 #if defined __stub_connect || defined __stub___connect
4715 choke me
4716 #endif
4719 main ()
4721 return connect ();
4723 return 0;
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4734 ac_status=$?
4735 grep -v '^ *+' conftest.er1 >conftest.err
4736 rm -f conftest.er1
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_func_connect=yes
4745 else
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_func_connect=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4755 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4756 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4758 if test $ac_cv_func_connect = no; then
4759 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4760 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4761 if test "${ac_cv_lib_socket_connect+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 else
4764 ac_check_lib_save_LIBS=$LIBS
4765 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4766 cat >conftest.$ac_ext <<_ACEOF
4767 /* confdefs.h. */
4768 _ACEOF
4769 cat confdefs.h >>conftest.$ac_ext
4770 cat >>conftest.$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4773 /* Override any GCC internal prototype to avoid an error.
4774 Use char because int might match the return type of a GCC
4775 builtin and then its argument prototype would still apply. */
4776 #ifdef __cplusplus
4777 extern "C"
4778 #endif
4779 char connect ();
4781 main ()
4783 return connect ();
4785 return 0;
4787 _ACEOF
4788 rm -f conftest.$ac_objext conftest$ac_exeext
4789 if { (ac_try="$ac_link"
4790 case "(($ac_try" in
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4793 esac
4794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4795 (eval "$ac_link") 2>conftest.er1
4796 ac_status=$?
4797 grep -v '^ *+' conftest.er1 >conftest.err
4798 rm -f conftest.er1
4799 cat conftest.err >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } && {
4802 test -z "$ac_c_werror_flag" ||
4803 test ! -s conftest.err
4804 } && test -s conftest$ac_exeext &&
4805 $as_test_x conftest$ac_exeext; then
4806 ac_cv_lib_socket_connect=yes
4807 else
4808 echo "$as_me: failed program was:" >&5
4809 sed 's/^/| /' conftest.$ac_ext >&5
4811 ac_cv_lib_socket_connect=no
4814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4815 conftest$ac_exeext conftest.$ac_ext
4816 LIBS=$ac_check_lib_save_LIBS
4818 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4819 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4820 if test $ac_cv_lib_socket_connect = yes; then
4821 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4826 # Guillermo Gomez says -lposix is necessary on A/UX.
4827 { echo "$as_me:$LINENO: checking for remove" >&5
4828 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4829 if test "${ac_cv_func_remove+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 else
4832 cat >conftest.$ac_ext <<_ACEOF
4833 /* confdefs.h. */
4834 _ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 cat >>conftest.$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4838 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4840 #define remove innocuous_remove
4842 /* System header to define __stub macros and hopefully few prototypes,
4843 which can conflict with char remove (); below.
4844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4845 <limits.h> exists even on freestanding compilers. */
4847 #ifdef __STDC__
4848 # include <limits.h>
4849 #else
4850 # include <assert.h>
4851 #endif
4853 #undef remove
4855 /* Override any GCC internal prototype to avoid an error.
4856 Use char because int might match the return type of a GCC
4857 builtin and then its argument prototype would still apply. */
4858 #ifdef __cplusplus
4859 extern "C"
4860 #endif
4861 char remove ();
4862 /* The GNU C library defines this for functions which it implements
4863 to always fail with ENOSYS. Some functions are actually named
4864 something starting with __ and the normal name is an alias. */
4865 #if defined __stub_remove || defined __stub___remove
4866 choke me
4867 #endif
4870 main ()
4872 return remove ();
4874 return 0;
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4885 ac_status=$?
4886 grep -v '^ *+' conftest.er1 >conftest.err
4887 rm -f conftest.er1
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_func_remove=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_func_remove=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4906 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4907 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4909 if test $ac_cv_func_remove = no; then
4910 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4911 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4912 if test "${ac_cv_lib_posix_remove+set}" = set; then
4913 echo $ECHO_N "(cached) $ECHO_C" >&6
4914 else
4915 ac_check_lib_save_LIBS=$LIBS
4916 LIBS="-lposix $LIBS"
4917 cat >conftest.$ac_ext <<_ACEOF
4918 /* confdefs.h. */
4919 _ACEOF
4920 cat confdefs.h >>conftest.$ac_ext
4921 cat >>conftest.$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4924 /* Override any GCC internal prototype to avoid an error.
4925 Use char because int might match the return type of a GCC
4926 builtin and then its argument prototype would still apply. */
4927 #ifdef __cplusplus
4928 extern "C"
4929 #endif
4930 char remove ();
4932 main ()
4934 return remove ();
4936 return 0;
4938 _ACEOF
4939 rm -f conftest.$ac_objext conftest$ac_exeext
4940 if { (ac_try="$ac_link"
4941 case "(($ac_try" in
4942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4943 *) ac_try_echo=$ac_try;;
4944 esac
4945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4946 (eval "$ac_link") 2>conftest.er1
4947 ac_status=$?
4948 grep -v '^ *+' conftest.er1 >conftest.err
4949 rm -f conftest.er1
4950 cat conftest.err >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); } && {
4953 test -z "$ac_c_werror_flag" ||
4954 test ! -s conftest.err
4955 } && test -s conftest$ac_exeext &&
4956 $as_test_x conftest$ac_exeext; then
4957 ac_cv_lib_posix_remove=yes
4958 else
4959 echo "$as_me: failed program was:" >&5
4960 sed 's/^/| /' conftest.$ac_ext >&5
4962 ac_cv_lib_posix_remove=no
4965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4966 conftest$ac_exeext conftest.$ac_ext
4967 LIBS=$ac_check_lib_save_LIBS
4969 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4970 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4971 if test $ac_cv_lib_posix_remove = yes; then
4972 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4977 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4978 { echo "$as_me:$LINENO: checking for shmat" >&5
4979 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4980 if test "${ac_cv_func_shmat+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 else
4983 cat >conftest.$ac_ext <<_ACEOF
4984 /* confdefs.h. */
4985 _ACEOF
4986 cat confdefs.h >>conftest.$ac_ext
4987 cat >>conftest.$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4989 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4991 #define shmat innocuous_shmat
4993 /* System header to define __stub macros and hopefully few prototypes,
4994 which can conflict with char shmat (); below.
4995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4996 <limits.h> exists even on freestanding compilers. */
4998 #ifdef __STDC__
4999 # include <limits.h>
5000 #else
5001 # include <assert.h>
5002 #endif
5004 #undef shmat
5006 /* Override any GCC internal prototype to avoid an error.
5007 Use char because int might match the return type of a GCC
5008 builtin and then its argument prototype would still apply. */
5009 #ifdef __cplusplus
5010 extern "C"
5011 #endif
5012 char shmat ();
5013 /* The GNU C library defines this for functions which it implements
5014 to always fail with ENOSYS. Some functions are actually named
5015 something starting with __ and the normal name is an alias. */
5016 #if defined __stub_shmat || defined __stub___shmat
5017 choke me
5018 #endif
5021 main ()
5023 return shmat ();
5025 return 0;
5027 _ACEOF
5028 rm -f conftest.$ac_objext conftest$ac_exeext
5029 if { (ac_try="$ac_link"
5030 case "(($ac_try" in
5031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032 *) ac_try_echo=$ac_try;;
5033 esac
5034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5035 (eval "$ac_link") 2>conftest.er1
5036 ac_status=$?
5037 grep -v '^ *+' conftest.er1 >conftest.err
5038 rm -f conftest.er1
5039 cat conftest.err >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } && {
5042 test -z "$ac_c_werror_flag" ||
5043 test ! -s conftest.err
5044 } && test -s conftest$ac_exeext &&
5045 $as_test_x conftest$ac_exeext; then
5046 ac_cv_func_shmat=yes
5047 else
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 ac_cv_func_shmat=no
5054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5055 conftest$ac_exeext conftest.$ac_ext
5057 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5058 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5060 if test $ac_cv_func_shmat = no; then
5061 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5062 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5063 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 else
5066 ac_check_lib_save_LIBS=$LIBS
5067 LIBS="-lipc $LIBS"
5068 cat >conftest.$ac_ext <<_ACEOF
5069 /* confdefs.h. */
5070 _ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 /* Override any GCC internal prototype to avoid an error.
5076 Use char because int might match the return type of a GCC
5077 builtin and then its argument prototype would still apply. */
5078 #ifdef __cplusplus
5079 extern "C"
5080 #endif
5081 char shmat ();
5083 main ()
5085 return shmat ();
5087 return 0;
5089 _ACEOF
5090 rm -f conftest.$ac_objext conftest$ac_exeext
5091 if { (ac_try="$ac_link"
5092 case "(($ac_try" in
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5095 esac
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>conftest.er1
5098 ac_status=$?
5099 grep -v '^ *+' conftest.er1 >conftest.err
5100 rm -f conftest.er1
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } && {
5104 test -z "$ac_c_werror_flag" ||
5105 test ! -s conftest.err
5106 } && test -s conftest$ac_exeext &&
5107 $as_test_x conftest$ac_exeext; then
5108 ac_cv_lib_ipc_shmat=yes
5109 else
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5113 ac_cv_lib_ipc_shmat=no
5116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5117 conftest$ac_exeext conftest.$ac_ext
5118 LIBS=$ac_check_lib_save_LIBS
5120 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5121 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5122 if test $ac_cv_lib_ipc_shmat = yes; then
5123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5129 # Check for libraries that X11R6 Xt/Xaw programs need.
5130 ac_save_LDFLAGS=$LDFLAGS
5131 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5132 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5133 # check for ICE first), but we must link in the order -lSM -lICE or
5134 # we get undefined symbols. So assume we have SM if we have ICE.
5135 # These have to be linked with before -lX11, unlike the other
5136 # libraries we check for below, so use a different variable.
5137 # John Interrante, Karl Berry
5138 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5139 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5140 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 else
5143 ac_check_lib_save_LIBS=$LIBS
5144 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5145 cat >conftest.$ac_ext <<_ACEOF
5146 /* confdefs.h. */
5147 _ACEOF
5148 cat confdefs.h >>conftest.$ac_ext
5149 cat >>conftest.$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5152 /* Override any GCC internal prototype to avoid an error.
5153 Use char because int might match the return type of a GCC
5154 builtin and then its argument prototype would still apply. */
5155 #ifdef __cplusplus
5156 extern "C"
5157 #endif
5158 char IceConnectionNumber ();
5160 main ()
5162 return IceConnectionNumber ();
5164 return 0;
5166 _ACEOF
5167 rm -f conftest.$ac_objext conftest$ac_exeext
5168 if { (ac_try="$ac_link"
5169 case "(($ac_try" in
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5172 esac
5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174 (eval "$ac_link") 2>conftest.er1
5175 ac_status=$?
5176 grep -v '^ *+' conftest.er1 >conftest.err
5177 rm -f conftest.er1
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && {
5181 test -z "$ac_c_werror_flag" ||
5182 test ! -s conftest.err
5183 } && test -s conftest$ac_exeext &&
5184 $as_test_x conftest$ac_exeext; then
5185 ac_cv_lib_ICE_IceConnectionNumber=yes
5186 else
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5190 ac_cv_lib_ICE_IceConnectionNumber=no
5193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5194 conftest$ac_exeext conftest.$ac_ext
5195 LIBS=$ac_check_lib_save_LIBS
5197 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5198 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5199 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5200 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5203 LDFLAGS=$ac_save_LDFLAGS
5208 for ac_prog in flex
5210 # Extract the first word of "$ac_prog", so it can be a program name with args.
5211 set dummy $ac_prog; ac_word=$2
5212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5214 if test "${ac_cv_prog_FLEX+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5216 else
5217 if test -n "$FLEX"; then
5218 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5219 else
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_FLEX="$ac_prog"
5228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 break 2
5231 done
5232 done
5233 IFS=$as_save_IFS
5237 FLEX=$ac_cv_prog_FLEX
5238 if test -n "$FLEX"; then
5239 { echo "$as_me:$LINENO: result: $FLEX" >&5
5240 echo "${ECHO_T}$FLEX" >&6; }
5241 else
5242 { echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6; }
5247 test -n "$FLEX" && break
5248 done
5249 test -n "$FLEX" || FLEX="none"
5251 if test "$FLEX" = "none"
5252 then
5253 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5254 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5255 { (exit 1); exit 1; }; }
5258 for ac_prog in bison
5260 # Extract the first word of "$ac_prog", so it can be a program name with args.
5261 set dummy $ac_prog; ac_word=$2
5262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5264 if test "${ac_cv_prog_BISON+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 else
5267 if test -n "$BISON"; then
5268 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_prog_BISON="$ac_prog"
5278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 BISON=$ac_cv_prog_BISON
5288 if test -n "$BISON"; then
5289 { echo "$as_me:$LINENO: result: $BISON" >&5
5290 echo "${ECHO_T}$BISON" >&6; }
5291 else
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5297 test -n "$BISON" && break
5298 done
5299 test -n "$BISON" || BISON="none"
5301 if test "$BISON" = "none"
5302 then
5303 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5304 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5305 { (exit 1); exit 1; }; }
5308 if test -n "$ac_tool_prefix"; then
5309 for ac_prog in gas as
5311 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5312 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5315 if test "${ac_cv_prog_AS+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 else
5318 if test -n "$AS"; then
5319 ac_cv_prog_AS="$AS" # Let the user override the test.
5320 else
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5328 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 break 2
5332 done
5333 done
5334 IFS=$as_save_IFS
5338 AS=$ac_cv_prog_AS
5339 if test -n "$AS"; then
5340 { echo "$as_me:$LINENO: result: $AS" >&5
5341 echo "${ECHO_T}$AS" >&6; }
5342 else
5343 { echo "$as_me:$LINENO: result: no" >&5
5344 echo "${ECHO_T}no" >&6; }
5348 test -n "$AS" && break
5349 done
5351 if test -z "$AS"; then
5352 ac_ct_AS=$AS
5353 for ac_prog in gas as
5355 # Extract the first word of "$ac_prog", so it can be a program name with args.
5356 set dummy $ac_prog; ac_word=$2
5357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5359 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5361 else
5362 if test -n "$ac_ct_AS"; then
5363 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5364 else
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH
5368 IFS=$as_save_IFS
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372 ac_cv_prog_ac_ct_AS="$ac_prog"
5373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 break 2
5376 done
5377 done
5378 IFS=$as_save_IFS
5382 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5383 if test -n "$ac_ct_AS"; then
5384 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5385 echo "${ECHO_T}$ac_ct_AS" >&6; }
5386 else
5387 { echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6; }
5392 test -n "$ac_ct_AS" && break
5393 done
5395 if test "x$ac_ct_AS" = x; then
5396 AS="as"
5397 else
5398 case $cross_compiling:$ac_tool_warned in
5399 yes:)
5400 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&5
5403 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5404 whose name does not start with the host triplet. If you think this
5405 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5406 ac_tool_warned=yes ;;
5407 esac
5408 AS=$ac_ct_AS
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5414 set dummy ${ac_tool_prefix}ld; ac_word=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_LD+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 else
5420 if test -n "$LD"; then
5421 ac_cv_prog_LD="$LD" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_LD="${ac_tool_prefix}ld"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 break 2
5434 done
5435 done
5436 IFS=$as_save_IFS
5440 LD=$ac_cv_prog_LD
5441 if test -n "$LD"; then
5442 { echo "$as_me:$LINENO: result: $LD" >&5
5443 echo "${ECHO_T}$LD" >&6; }
5444 else
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_LD"; then
5452 ac_ct_LD=$LD
5453 # Extract the first word of "ld", so it can be a program name with args.
5454 set dummy ld; ac_word=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 else
5460 if test -n "$ac_ct_LD"; then
5461 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_LD="ld"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5480 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5481 if test -n "$ac_ct_LD"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5483 echo "${ECHO_T}$ac_ct_LD" >&6; }
5484 else
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_LD" = x; then
5490 LD="ld"
5491 else
5492 case $cross_compiling:$ac_tool_warned in
5493 yes:)
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned=yes ;;
5501 esac
5502 LD=$ac_ct_LD
5504 else
5505 LD="$ac_cv_prog_LD"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5510 set dummy ${ac_tool_prefix}ar; ac_word=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_AR+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516 if test -n "$AR"; then
5517 ac_cv_prog_AR="$AR" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_AR="${ac_tool_prefix}ar"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 AR=$ac_cv_prog_AR
5537 if test -n "$AR"; then
5538 { echo "$as_me:$LINENO: result: $AR" >&5
5539 echo "${ECHO_T}$AR" >&6; }
5540 else
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_AR"; then
5548 ac_ct_AR=$AR
5549 # Extract the first word of "ar", so it can be a program name with args.
5550 set dummy ar; ac_word=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 else
5556 if test -n "$ac_ct_AR"; then
5557 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_AR="ar"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5577 if test -n "$ac_ct_AR"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5579 echo "${ECHO_T}$ac_ct_AR" >&6; }
5580 else
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_AR" = x; then
5586 AR="ar"
5587 else
5588 case $cross_compiling:$ac_tool_warned in
5589 yes:)
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned=yes ;;
5597 esac
5598 AR=$ac_ct_AR
5600 else
5601 AR="$ac_cv_prog_AR"
5604 ARFLAGS=rc
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5611 if test "${ac_cv_prog_RANLIB+set}" = set; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5613 else
5614 if test -n "$RANLIB"; then
5615 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5616 else
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 for as_dir in $PATH
5620 IFS=$as_save_IFS
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 RANLIB=$ac_cv_prog_RANLIB
5635 if test -n "$RANLIB"; then
5636 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5637 echo "${ECHO_T}$RANLIB" >&6; }
5638 else
5639 { echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6; }
5645 if test -z "$ac_cv_prog_RANLIB"; then
5646 ac_ct_RANLIB=$RANLIB
5647 # Extract the first word of "ranlib", so it can be a program name with args.
5648 set dummy ranlib; ac_word=$2
5649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5651 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5652 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 else
5654 if test -n "$ac_ct_RANLIB"; then
5655 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5660 IFS=$as_save_IFS
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_RANLIB="ranlib"
5665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 break 2
5668 done
5669 done
5670 IFS=$as_save_IFS
5674 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5675 if test -n "$ac_ct_RANLIB"; then
5676 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5677 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5678 else
5679 { echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6; }
5683 if test "x$ac_ct_RANLIB" = x; then
5684 RANLIB=":"
5685 else
5686 case $cross_compiling:$ac_tool_warned in
5687 yes:)
5688 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5689 whose name does not start with the host triplet. If you think this
5690 configuration is useful to you, please write to autoconf@gnu.org." >&5
5691 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5692 whose name does not start with the host triplet. If you think this
5693 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5694 ac_tool_warned=yes ;;
5695 esac
5696 RANLIB=$ac_ct_RANLIB
5698 else
5699 RANLIB="$ac_cv_prog_RANLIB"
5702 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5704 set dummy ${ac_tool_prefix}strip; ac_word=$2
5705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5707 if test "${ac_cv_prog_STRIP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 if test -n "$STRIP"; then
5711 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5712 else
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 for as_dir in $PATH
5716 IFS=$as_save_IFS
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 break 2
5724 done
5725 done
5726 IFS=$as_save_IFS
5730 STRIP=$ac_cv_prog_STRIP
5731 if test -n "$STRIP"; then
5732 { echo "$as_me:$LINENO: result: $STRIP" >&5
5733 echo "${ECHO_T}$STRIP" >&6; }
5734 else
5735 { echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6; }
5741 if test -z "$ac_cv_prog_STRIP"; then
5742 ac_ct_STRIP=$STRIP
5743 # Extract the first word of "strip", so it can be a program name with args.
5744 set dummy strip; ac_word=$2
5745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5747 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5748 echo $ECHO_N "(cached) $ECHO_C" >&6
5749 else
5750 if test -n "$ac_ct_STRIP"; then
5751 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5752 else
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 for as_dir in $PATH
5756 IFS=$as_save_IFS
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_ac_ct_STRIP="strip"
5761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 break 2
5764 done
5765 done
5766 IFS=$as_save_IFS
5770 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5771 if test -n "$ac_ct_STRIP"; then
5772 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5773 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5774 else
5775 { echo "$as_me:$LINENO: result: no" >&5
5776 echo "${ECHO_T}no" >&6; }
5779 if test "x$ac_ct_STRIP" = x; then
5780 STRIP="strip"
5781 else
5782 case $cross_compiling:$ac_tool_warned in
5783 yes:)
5784 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5785 whose name does not start with the host triplet. If you think this
5786 configuration is useful to you, please write to autoconf@gnu.org." >&5
5787 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5788 whose name does not start with the host triplet. If you think this
5789 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5790 ac_tool_warned=yes ;;
5791 esac
5792 STRIP=$ac_ct_STRIP
5794 else
5795 STRIP="$ac_cv_prog_STRIP"
5798 if test -n "$ac_tool_prefix"; then
5799 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}windres; ac_word=$2
5801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5803 if test "${ac_cv_prog_WINDRES+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 else
5806 if test -n "$WINDRES"; then
5807 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5812 IFS=$as_save_IFS
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 break 2
5820 done
5821 done
5822 IFS=$as_save_IFS
5826 WINDRES=$ac_cv_prog_WINDRES
5827 if test -n "$WINDRES"; then
5828 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5829 echo "${ECHO_T}$WINDRES" >&6; }
5830 else
5831 { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5837 if test -z "$ac_cv_prog_WINDRES"; then
5838 ac_ct_WINDRES=$WINDRES
5839 # Extract the first word of "windres", so it can be a program name with args.
5840 set dummy windres; ac_word=$2
5841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5843 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5845 else
5846 if test -n "$ac_ct_WINDRES"; then
5847 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5848 else
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5850 for as_dir in $PATH
5852 IFS=$as_save_IFS
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856 ac_cv_prog_ac_ct_WINDRES="windres"
5857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 break 2
5860 done
5861 done
5862 IFS=$as_save_IFS
5866 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5867 if test -n "$ac_ct_WINDRES"; then
5868 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5869 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5870 else
5871 { echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6; }
5875 if test "x$ac_ct_WINDRES" = x; then
5876 WINDRES="false"
5877 else
5878 case $cross_compiling:$ac_tool_warned in
5879 yes:)
5880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5881 whose name does not start with the host triplet. If you think this
5882 configuration is useful to you, please write to autoconf@gnu.org." >&5
5883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5884 whose name does not start with the host triplet. If you think this
5885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5886 ac_tool_warned=yes ;;
5887 esac
5888 WINDRES=$ac_ct_WINDRES
5890 else
5891 WINDRES="$ac_cv_prog_WINDRES"
5894 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5895 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5896 LN_S=$as_ln_s
5897 if test "$LN_S" = "ln -s"; then
5898 { echo "$as_me:$LINENO: result: yes" >&5
5899 echo "${ECHO_T}yes" >&6; }
5900 else
5901 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5902 echo "${ECHO_T}no, using $LN_S" >&6; }
5905 { echo "$as_me:$LINENO: checking whether ln works" >&5
5906 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5907 rm -f conf$$ conf$$.file
5908 echo >conf$$.file
5909 if ln conf$$.file conf$$ 2>/dev/null; then
5910 LN=ln
5912 { echo "$as_me:$LINENO: result: yes" >&5
5913 echo "${ECHO_T}yes" >&6; }
5914 else
5915 LN="cp -p"
5917 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5918 echo "${ECHO_T}no, using $LN" >&6; }
5920 rm -f conf$$ conf$$.file
5921 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5922 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5923 if test "${ac_cv_path_GREP+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 else
5926 # Extract the first word of "grep ggrep" to use in msg output
5927 if test -z "$GREP"; then
5928 set dummy grep ggrep; ac_prog_name=$2
5929 if test "${ac_cv_path_GREP+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 else
5932 ac_path_GREP_found=false
5933 # Loop through the user's path and test for each of PROGNAME-LIST
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5937 IFS=$as_save_IFS
5938 test -z "$as_dir" && as_dir=.
5939 for ac_prog in grep ggrep; do
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5942 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5943 # Check for GNU ac_path_GREP and select it if it is found.
5944 # Check for GNU $ac_path_GREP
5945 case `"$ac_path_GREP" --version 2>&1` in
5946 *GNU*)
5947 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5949 ac_count=0
5950 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5951 while :
5953 cat "conftest.in" "conftest.in" >"conftest.tmp"
5954 mv "conftest.tmp" "conftest.in"
5955 cp "conftest.in" "conftest.nl"
5956 echo 'GREP' >> "conftest.nl"
5957 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5958 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5959 ac_count=`expr $ac_count + 1`
5960 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5961 # Best one so far, save it but keep looking for a better one
5962 ac_cv_path_GREP="$ac_path_GREP"
5963 ac_path_GREP_max=$ac_count
5965 # 10*(2^10) chars as input seems more than enough
5966 test $ac_count -gt 10 && break
5967 done
5968 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5969 esac
5972 $ac_path_GREP_found && break 3
5973 done
5974 done
5976 done
5977 IFS=$as_save_IFS
5982 GREP="$ac_cv_path_GREP"
5983 if test -z "$GREP"; then
5984 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5985 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5986 { (exit 1); exit 1; }; }
5989 else
5990 ac_cv_path_GREP=$GREP
5995 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5996 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5997 GREP="$ac_cv_path_GREP"
6000 { echo "$as_me:$LINENO: checking for egrep" >&5
6001 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6002 if test "${ac_cv_path_EGREP+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 else
6005 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6006 then ac_cv_path_EGREP="$GREP -E"
6007 else
6008 # Extract the first word of "egrep" to use in msg output
6009 if test -z "$EGREP"; then
6010 set dummy egrep; ac_prog_name=$2
6011 if test "${ac_cv_path_EGREP+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6013 else
6014 ac_path_EGREP_found=false
6015 # Loop through the user's path and test for each of PROGNAME-LIST
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6019 IFS=$as_save_IFS
6020 test -z "$as_dir" && as_dir=.
6021 for ac_prog in egrep; do
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6024 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6025 # Check for GNU ac_path_EGREP and select it if it is found.
6026 # Check for GNU $ac_path_EGREP
6027 case `"$ac_path_EGREP" --version 2>&1` in
6028 *GNU*)
6029 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6031 ac_count=0
6032 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6033 while :
6035 cat "conftest.in" "conftest.in" >"conftest.tmp"
6036 mv "conftest.tmp" "conftest.in"
6037 cp "conftest.in" "conftest.nl"
6038 echo 'EGREP' >> "conftest.nl"
6039 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6040 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6041 ac_count=`expr $ac_count + 1`
6042 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6043 # Best one so far, save it but keep looking for a better one
6044 ac_cv_path_EGREP="$ac_path_EGREP"
6045 ac_path_EGREP_max=$ac_count
6047 # 10*(2^10) chars as input seems more than enough
6048 test $ac_count -gt 10 && break
6049 done
6050 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6051 esac
6054 $ac_path_EGREP_found && break 3
6055 done
6056 done
6058 done
6059 IFS=$as_save_IFS
6064 EGREP="$ac_cv_path_EGREP"
6065 if test -z "$EGREP"; then
6066 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6067 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6068 { (exit 1); exit 1; }; }
6071 else
6072 ac_cv_path_EGREP=$EGREP
6078 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6079 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6080 EGREP="$ac_cv_path_EGREP"
6083 # Extract the first word of "ldconfig", so it can be a program name with args.
6084 set dummy ldconfig; ac_word=$2
6085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6087 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 else
6090 case $LDCONFIG in
6091 [\\/]* | ?:[\\/]*)
6092 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in /sbin /usr/sbin $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6110 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6112 esac
6114 LDCONFIG=$ac_cv_path_LDCONFIG
6115 if test -n "$LDCONFIG"; then
6116 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6117 echo "${ECHO_T}$LDCONFIG" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 # Find a good install program. We prefer a C program (faster),
6125 # so one script is as good as another. But avoid the broken or
6126 # incompatible versions:
6127 # SysV /etc/install, /usr/sbin/install
6128 # SunOS /usr/etc/install
6129 # IRIX /sbin/install
6130 # AIX /bin/install
6131 # AmigaOS /C/install, which installs bootblocks on floppy discs
6132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6135 # OS/2's system install, which has a completely different semantic
6136 # ./install, which can be erroneously created by make from ./install.sh.
6137 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6138 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6139 if test -z "$INSTALL"; then
6140 if test "${ac_cv_path_install+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 else
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 # Account for people who put trailing slashes in PATH elements.
6149 case $as_dir/ in
6150 ./ | .// | /cC/* | \
6151 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6152 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6153 /usr/ucb/* ) ;;
6155 # OSF1 and SCO ODT 3.0 have their own names for install.
6156 # Don't use installbsd from OSF since it installs stuff as root
6157 # by default.
6158 for ac_prog in ginstall scoinst install; do
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6161 if test $ac_prog = install &&
6162 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6163 # AIX install. It has an incompatible calling convention.
6165 elif test $ac_prog = install &&
6166 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6167 # program-specific install script used by HP pwplus--don't use.
6169 else
6170 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6171 break 3
6174 done
6175 done
6177 esac
6178 done
6179 IFS=$as_save_IFS
6183 if test "${ac_cv_path_install+set}" = set; then
6184 INSTALL=$ac_cv_path_install
6185 else
6186 # As a last resort, use the slow shell script. Don't cache a
6187 # value for INSTALL within a source directory, because that will
6188 # break other packages using the cache if that directory is
6189 # removed, or if the value is a relative name.
6190 INSTALL=$ac_install_sh
6193 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6194 echo "${ECHO_T}$INSTALL" >&6; }
6196 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6197 # It thinks the first close brace ends the variable substitution.
6198 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6200 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6202 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6204 case "$INSTALL" in
6205 [\\/$]* | ?:[\\/]* ) ;;
6206 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6207 esac
6209 for ac_prog in lclint lint
6211 # Extract the first word of "$ac_prog", so it can be a program name with args.
6212 set dummy $ac_prog; ac_word=$2
6213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6215 if test "${ac_cv_prog_LINT+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 else
6218 if test -n "$LINT"; then
6219 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6224 IFS=$as_save_IFS
6225 test -z "$as_dir" && as_dir=.
6226 for ac_exec_ext in '' $ac_executable_extensions; do
6227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228 ac_cv_prog_LINT="$ac_prog"
6229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 break 2
6232 done
6233 done
6234 IFS=$as_save_IFS
6238 LINT=$ac_cv_prog_LINT
6239 if test -n "$LINT"; then
6240 { echo "$as_me:$LINENO: result: $LINT" >&5
6241 echo "${ECHO_T}$LINT" >&6; }
6242 else
6243 { echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6; }
6248 test -n "$LINT" && break
6249 done
6251 if test "$LINT" = "lint"
6252 then
6253 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6258 for ac_prog in fontforge
6260 # Extract the first word of "$ac_prog", so it can be a program name with args.
6261 set dummy $ac_prog; ac_word=$2
6262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6264 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 else
6267 if test -n "$FONTFORGE"; then
6268 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6269 else
6270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 for as_dir in $PATH
6273 IFS=$as_save_IFS
6274 test -z "$as_dir" && as_dir=.
6275 for ac_exec_ext in '' $ac_executable_extensions; do
6276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277 ac_cv_prog_FONTFORGE="$ac_prog"
6278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6279 break 2
6281 done
6282 done
6283 IFS=$as_save_IFS
6287 FONTFORGE=$ac_cv_prog_FONTFORGE
6288 if test -n "$FONTFORGE"; then
6289 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6290 echo "${ECHO_T}$FONTFORGE" >&6; }
6291 else
6292 { echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6; }
6297 test -n "$FONTFORGE" && break
6298 done
6299 test -n "$FONTFORGE" || FONTFORGE="false"
6301 for ac_prog in pkg-config
6303 # Extract the first word of "$ac_prog", so it can be a program name with args.
6304 set dummy $ac_prog; ac_word=$2
6305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6307 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6309 else
6310 if test -n "$PKG_CONFIG"; then
6311 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6312 else
6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 for as_dir in $PATH
6316 IFS=$as_save_IFS
6317 test -z "$as_dir" && as_dir=.
6318 for ac_exec_ext in '' $ac_executable_extensions; do
6319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320 ac_cv_prog_PKG_CONFIG="$ac_prog"
6321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 break 2
6324 done
6325 done
6326 IFS=$as_save_IFS
6330 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6331 if test -n "$PKG_CONFIG"; then
6332 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6333 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6334 else
6335 { echo "$as_me:$LINENO: result: no" >&5
6336 echo "${ECHO_T}no" >&6; }
6340 test -n "$PKG_CONFIG" && break
6341 done
6342 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6345 case $host_cpu in
6346 *i[3456789]86*)
6347 # Extract the first word of "prelink", so it can be a program name with args.
6348 set dummy prelink; ac_word=$2
6349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6351 if test "${ac_cv_path_PRELINK+set}" = set; then
6352 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 else
6354 case $PRELINK in
6355 [\\/]* | ?:[\\/]*)
6356 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 for as_dir in /sbin /usr/sbin $PATH
6362 IFS=$as_save_IFS
6363 test -z "$as_dir" && as_dir=.
6364 for ac_exec_ext in '' $ac_executable_extensions; do
6365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6366 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 break 2
6370 done
6371 done
6372 IFS=$as_save_IFS
6374 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6376 esac
6378 PRELINK=$ac_cv_path_PRELINK
6379 if test -n "$PRELINK"; then
6380 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6381 echo "${ECHO_T}$PRELINK" >&6; }
6382 else
6383 { echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6; }
6389 esac
6393 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6394 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6395 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 else
6398 ac_check_lib_save_LIBS=$LIBS
6399 LIBS="-li386 $LIBS"
6400 cat >conftest.$ac_ext <<_ACEOF
6401 /* confdefs.h. */
6402 _ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any GCC internal prototype to avoid an error.
6408 Use char because int might match the return type of a GCC
6409 builtin and then its argument prototype would still apply. */
6410 #ifdef __cplusplus
6411 extern "C"
6412 #endif
6413 char i386_set_ldt ();
6415 main ()
6417 return i386_set_ldt ();
6419 return 0;
6421 _ACEOF
6422 rm -f conftest.$ac_objext conftest$ac_exeext
6423 if { (ac_try="$ac_link"
6424 case "(($ac_try" in
6425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6426 *) ac_try_echo=$ac_try;;
6427 esac
6428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6429 (eval "$ac_link") 2>conftest.er1
6430 ac_status=$?
6431 grep -v '^ *+' conftest.er1 >conftest.err
6432 rm -f conftest.er1
6433 cat conftest.err >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } && {
6436 test -z "$ac_c_werror_flag" ||
6437 test ! -s conftest.err
6438 } && test -s conftest$ac_exeext &&
6439 $as_test_x conftest$ac_exeext; then
6440 ac_cv_lib_i386_i386_set_ldt=yes
6441 else
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.$ac_ext >&5
6445 ac_cv_lib_i386_i386_set_ldt=no
6448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6449 conftest$ac_exeext conftest.$ac_ext
6450 LIBS=$ac_check_lib_save_LIBS
6452 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6453 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6454 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6455 cat >>confdefs.h <<_ACEOF
6456 #define HAVE_LIBI386 1
6457 _ACEOF
6459 LIBS="-li386 $LIBS"
6464 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6465 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6466 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 else
6469 ac_check_lib_save_LIBS=$LIBS
6470 LIBS="-lossaudio $LIBS"
6471 cat >conftest.$ac_ext <<_ACEOF
6472 /* confdefs.h. */
6473 _ACEOF
6474 cat confdefs.h >>conftest.$ac_ext
6475 cat >>conftest.$ac_ext <<_ACEOF
6476 /* end confdefs.h. */
6478 /* Override any GCC internal prototype to avoid an error.
6479 Use char because int might match the return type of a GCC
6480 builtin and then its argument prototype would still apply. */
6481 #ifdef __cplusplus
6482 extern "C"
6483 #endif
6484 char _oss_ioctl ();
6486 main ()
6488 return _oss_ioctl ();
6490 return 0;
6492 _ACEOF
6493 rm -f conftest.$ac_objext conftest$ac_exeext
6494 if { (ac_try="$ac_link"
6495 case "(($ac_try" in
6496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6497 *) ac_try_echo=$ac_try;;
6498 esac
6499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6500 (eval "$ac_link") 2>conftest.er1
6501 ac_status=$?
6502 grep -v '^ *+' conftest.er1 >conftest.err
6503 rm -f conftest.er1
6504 cat conftest.err >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } && {
6507 test -z "$ac_c_werror_flag" ||
6508 test ! -s conftest.err
6509 } && test -s conftest$ac_exeext &&
6510 $as_test_x conftest$ac_exeext; then
6511 ac_cv_lib_ossaudio__oss_ioctl=yes
6512 else
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_lib_ossaudio__oss_ioctl=no
6519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6520 conftest$ac_exeext conftest.$ac_ext
6521 LIBS=$ac_check_lib_save_LIBS
6523 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6524 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6525 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6526 cat >>confdefs.h <<_ACEOF
6527 #define HAVE_LIBOSSAUDIO 1
6528 _ACEOF
6530 LIBS="-lossaudio $LIBS"
6534 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6535 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6536 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 else
6539 ac_check_lib_save_LIBS=$LIBS
6540 LIBS="-lpthread $LIBS"
6541 cat >conftest.$ac_ext <<_ACEOF
6542 /* confdefs.h. */
6543 _ACEOF
6544 cat confdefs.h >>conftest.$ac_ext
6545 cat >>conftest.$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6548 /* Override any GCC internal prototype to avoid an error.
6549 Use char because int might match the return type of a GCC
6550 builtin and then its argument prototype would still apply. */
6551 #ifdef __cplusplus
6552 extern "C"
6553 #endif
6554 char pthread_create ();
6556 main ()
6558 return pthread_create ();
6560 return 0;
6562 _ACEOF
6563 rm -f conftest.$ac_objext conftest$ac_exeext
6564 if { (ac_try="$ac_link"
6565 case "(($ac_try" in
6566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6567 *) ac_try_echo=$ac_try;;
6568 esac
6569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570 (eval "$ac_link") 2>conftest.er1
6571 ac_status=$?
6572 grep -v '^ *+' conftest.er1 >conftest.err
6573 rm -f conftest.er1
6574 cat conftest.err >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } && {
6577 test -z "$ac_c_werror_flag" ||
6578 test ! -s conftest.err
6579 } && test -s conftest$ac_exeext &&
6580 $as_test_x conftest$ac_exeext; then
6581 ac_cv_lib_pthread_pthread_create=yes
6582 else
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6586 ac_cv_lib_pthread_pthread_create=no
6589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6590 conftest$ac_exeext conftest.$ac_ext
6591 LIBS=$ac_check_lib_save_LIBS
6593 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6594 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6595 if test $ac_cv_lib_pthread_pthread_create = yes; then
6596 LIBPTHREAD="-lpthread"
6601 XLIB=""
6603 XFILES=""
6605 OPENGLFILES=""
6607 GLU32FILES=""
6609 OPENGL_LIBS=""
6611 QUARTZFILES=""
6615 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6616 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6617 if test "${ac_cv_header_stdc+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 else
6620 cat >conftest.$ac_ext <<_ACEOF
6621 /* confdefs.h. */
6622 _ACEOF
6623 cat confdefs.h >>conftest.$ac_ext
6624 cat >>conftest.$ac_ext <<_ACEOF
6625 /* end confdefs.h. */
6626 #include <stdlib.h>
6627 #include <stdarg.h>
6628 #include <string.h>
6629 #include <float.h>
6632 main ()
6636 return 0;
6638 _ACEOF
6639 rm -f conftest.$ac_objext
6640 if { (ac_try="$ac_compile"
6641 case "(($ac_try" in
6642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6643 *) ac_try_echo=$ac_try;;
6644 esac
6645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6646 (eval "$ac_compile") 2>conftest.er1
6647 ac_status=$?
6648 grep -v '^ *+' conftest.er1 >conftest.err
6649 rm -f conftest.er1
6650 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } && {
6653 test -z "$ac_c_werror_flag" ||
6654 test ! -s conftest.err
6655 } && test -s conftest.$ac_objext; then
6656 ac_cv_header_stdc=yes
6657 else
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6661 ac_cv_header_stdc=no
6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6666 if test $ac_cv_header_stdc = yes; then
6667 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6674 #include <string.h>
6676 _ACEOF
6677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6678 $EGREP "memchr" >/dev/null 2>&1; then
6680 else
6681 ac_cv_header_stdc=no
6683 rm -f conftest*
6687 if test $ac_cv_header_stdc = yes; then
6688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6689 cat >conftest.$ac_ext <<_ACEOF
6690 /* confdefs.h. */
6691 _ACEOF
6692 cat confdefs.h >>conftest.$ac_ext
6693 cat >>conftest.$ac_ext <<_ACEOF
6694 /* end confdefs.h. */
6695 #include <stdlib.h>
6697 _ACEOF
6698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6699 $EGREP "free" >/dev/null 2>&1; then
6701 else
6702 ac_cv_header_stdc=no
6704 rm -f conftest*
6708 if test $ac_cv_header_stdc = yes; then
6709 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6710 if test "$cross_compiling" = yes; then
6712 else
6713 cat >conftest.$ac_ext <<_ACEOF
6714 /* confdefs.h. */
6715 _ACEOF
6716 cat confdefs.h >>conftest.$ac_ext
6717 cat >>conftest.$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6719 #include <ctype.h>
6720 #include <stdlib.h>
6721 #if ((' ' & 0x0FF) == 0x020)
6722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6724 #else
6725 # define ISLOWER(c) \
6726 (('a' <= (c) && (c) <= 'i') \
6727 || ('j' <= (c) && (c) <= 'r') \
6728 || ('s' <= (c) && (c) <= 'z'))
6729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6730 #endif
6732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6734 main ()
6736 int i;
6737 for (i = 0; i < 256; i++)
6738 if (XOR (islower (i), ISLOWER (i))
6739 || toupper (i) != TOUPPER (i))
6740 return 2;
6741 return 0;
6743 _ACEOF
6744 rm -f conftest$ac_exeext
6745 if { (ac_try="$ac_link"
6746 case "(($ac_try" in
6747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6748 *) ac_try_echo=$ac_try;;
6749 esac
6750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6751 (eval "$ac_link") 2>&5
6752 ac_status=$?
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6755 { (case "(($ac_try" in
6756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6757 *) ac_try_echo=$ac_try;;
6758 esac
6759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6760 (eval "$ac_try") 2>&5
6761 ac_status=$?
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; }; then
6765 else
6766 echo "$as_me: program exited with status $ac_status" >&5
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6770 ( exit $ac_status )
6771 ac_cv_header_stdc=no
6773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6779 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6780 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6781 if test $ac_cv_header_stdc = yes; then
6783 cat >>confdefs.h <<\_ACEOF
6784 #define STDC_HEADERS 1
6785 _ACEOF
6789 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6799 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6800 inttypes.h stdint.h unistd.h
6802 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6803 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6806 echo $ECHO_N "(cached) $ECHO_C" >&6
6807 else
6808 cat >conftest.$ac_ext <<_ACEOF
6809 /* confdefs.h. */
6810 _ACEOF
6811 cat confdefs.h >>conftest.$ac_ext
6812 cat >>conftest.$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6814 $ac_includes_default
6816 #include <$ac_header>
6817 _ACEOF
6818 rm -f conftest.$ac_objext
6819 if { (ac_try="$ac_compile"
6820 case "(($ac_try" in
6821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6822 *) ac_try_echo=$ac_try;;
6823 esac
6824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6825 (eval "$ac_compile") 2>conftest.er1
6826 ac_status=$?
6827 grep -v '^ *+' conftest.er1 >conftest.err
6828 rm -f conftest.er1
6829 cat conftest.err >&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } && {
6832 test -z "$ac_c_werror_flag" ||
6833 test ! -s conftest.err
6834 } && test -s conftest.$ac_objext; then
6835 eval "$as_ac_Header=yes"
6836 else
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6840 eval "$as_ac_Header=no"
6843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6845 ac_res=`eval echo '${'$as_ac_Header'}'`
6846 { echo "$as_me:$LINENO: result: $ac_res" >&5
6847 echo "${ECHO_T}$ac_res" >&6; }
6848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6849 cat >>confdefs.h <<_ACEOF
6850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6851 _ACEOF
6855 done
6968 for ac_header in \
6969 AudioUnit/AudioUnit.h \
6970 Carbon/Carbon.h \
6971 CoreAudio/CoreAudio.h \
6972 DiskArbitration/DiskArbitration.h \
6973 IOKit/IOKitLib.h \
6974 alsa/asoundlib.h \
6975 arpa/inet.h \
6976 arpa/nameser.h \
6977 asm/types.h \
6978 capi20.h \
6979 cups/cups.h \
6980 curses.h \
6981 direct.h \
6982 dlfcn.h \
6983 elf.h \
6984 float.h \
6985 fontconfig/fontconfig.h \
6986 getopt.h \
6987 ieeefp.h \
6988 io.h \
6989 jack/jack.h \
6990 jpeglib.h \
6991 lber.h \
6992 lcms.h \
6993 lcms/lcms.h \
6994 ldap.h \
6995 libaudioio.h \
6996 link.h \
6997 linux/cdrom.h \
6998 linux/compiler.h \
6999 linux/hdreg.h \
7000 linux/input.h \
7001 linux/ioctl.h \
7002 linux/joystick.h \
7003 linux/major.h \
7004 linux/param.h \
7005 linux/serial.h \
7006 linux/ucdrom.h \
7007 mach/mach.h \
7008 mach/machine.h \
7009 machine/cpu.h \
7010 machine/limits.h \
7011 machine/soundcard.h \
7012 mntent.h \
7013 ncurses.h \
7014 netdb.h \
7015 netinet/in.h \
7016 netinet/in_systm.h \
7017 netinet/tcp.h \
7018 netinet/tcp_fsm.h \
7019 openssl/err.h \
7020 openssl/ssl.h \
7021 png.h \
7022 poll.h \
7023 process.h \
7024 pthread.h \
7025 pwd.h \
7026 regex.h \
7027 sched.h \
7028 scsi/scsi.h \
7029 scsi/scsi_ioctl.h \
7030 scsi/sg.h \
7031 soundcard.h \
7032 stdint.h \
7033 strings.h \
7034 sys/asoundlib.h \
7035 sys/cdio.h \
7036 sys/elf32.h \
7037 sys/epoll.h \
7038 sys/errno.h \
7039 sys/event.h \
7040 sys/exec_elf.h \
7041 sys/filio.h \
7042 sys/ioctl.h \
7043 sys/ipc.h \
7044 sys/limits.h \
7045 sys/link.h \
7046 sys/lwp.h \
7047 sys/mman.h \
7048 sys/modem.h \
7049 sys/msg.h \
7050 sys/mtio.h \
7051 sys/param.h \
7052 sys/poll.h \
7053 sys/prctl.h \
7054 sys/ptrace.h \
7055 sys/reg.h \
7056 sys/resource.h \
7057 sys/scsiio.h \
7058 sys/shm.h \
7059 sys/signal.h \
7060 sys/socket.h \
7061 sys/socketvar.h \
7062 sys/sockio.h \
7063 sys/soundcard.h \
7064 sys/statvfs.h \
7065 sys/strtio.h \
7066 sys/syscall.h \
7067 sys/sysctl.h \
7068 sys/time.h \
7069 sys/times.h \
7070 sys/uio.h \
7071 sys/un.h \
7072 sys/vm86.h \
7073 sys/wait.h \
7074 syscall.h \
7075 termios.h \
7076 unistd.h \
7077 utime.h \
7078 valgrind/memcheck.h
7081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7083 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7086 echo $ECHO_N "(cached) $ECHO_C" >&6
7088 ac_res=`eval echo '${'$as_ac_Header'}'`
7089 { echo "$as_me:$LINENO: result: $ac_res" >&5
7090 echo "${ECHO_T}$ac_res" >&6; }
7091 else
7092 # Is the header compilable?
7093 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7095 cat >conftest.$ac_ext <<_ACEOF
7096 /* confdefs.h. */
7097 _ACEOF
7098 cat confdefs.h >>conftest.$ac_ext
7099 cat >>conftest.$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7101 $ac_includes_default
7102 #include <$ac_header>
7103 _ACEOF
7104 rm -f conftest.$ac_objext
7105 if { (ac_try="$ac_compile"
7106 case "(($ac_try" in
7107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7108 *) ac_try_echo=$ac_try;;
7109 esac
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7112 ac_status=$?
7113 grep -v '^ *+' conftest.er1 >conftest.err
7114 rm -f conftest.er1
7115 cat conftest.err >&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.$ac_objext; then
7121 ac_header_compiler=yes
7122 else
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7126 ac_header_compiler=no
7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7131 echo "${ECHO_T}$ac_header_compiler" >&6; }
7133 # Is the header present?
7134 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7136 cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h. */
7138 _ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 #include <$ac_header>
7143 _ACEOF
7144 if { (ac_try="$ac_cpp conftest.$ac_ext"
7145 case "(($ac_try" in
7146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7147 *) ac_try_echo=$ac_try;;
7148 esac
7149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7151 ac_status=$?
7152 grep -v '^ *+' conftest.er1 >conftest.err
7153 rm -f conftest.er1
7154 cat conftest.err >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); } >/dev/null && {
7157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7158 test ! -s conftest.err
7159 }; then
7160 ac_header_preproc=yes
7161 else
7162 echo "$as_me: failed program was:" >&5
7163 sed 's/^/| /' conftest.$ac_ext >&5
7165 ac_header_preproc=no
7168 rm -f conftest.err conftest.$ac_ext
7169 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7170 echo "${ECHO_T}$ac_header_preproc" >&6; }
7172 # So? What about this header?
7173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7174 yes:no: )
7175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7179 ac_header_preproc=yes
7181 no:yes:* )
7182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7194 ( cat <<\_ASBOX
7195 ## ------------------------------------ ##
7196 ## Report this to wine-devel@winehq.org ##
7197 ## ------------------------------------ ##
7198 _ASBOX
7199 ) | sed "s/^/$as_me: WARNING: /" >&2
7201 esac
7202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7205 echo $ECHO_N "(cached) $ECHO_C" >&6
7206 else
7207 eval "$as_ac_Header=\$ac_header_preproc"
7209 ac_res=`eval echo '${'$as_ac_Header'}'`
7210 { echo "$as_me:$LINENO: result: $ac_res" >&5
7211 echo "${ECHO_T}$ac_res" >&6; }
7214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7215 cat >>confdefs.h <<_ACEOF
7216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7217 _ACEOF
7221 done
7223 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7224 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7225 if test "${ac_cv_header_stat_broken+set}" = set; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #include <sys/stat.h>
7237 #if defined S_ISBLK && defined S_IFDIR
7238 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7239 #endif
7241 #if defined S_ISBLK && defined S_IFCHR
7242 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7243 #endif
7245 #if defined S_ISLNK && defined S_IFREG
7246 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7247 #endif
7249 #if defined S_ISSOCK && defined S_IFREG
7250 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7251 #endif
7253 _ACEOF
7254 rm -f conftest.$ac_objext
7255 if { (ac_try="$ac_compile"
7256 case "(($ac_try" in
7257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7258 *) ac_try_echo=$ac_try;;
7259 esac
7260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7261 (eval "$ac_compile") 2>conftest.er1
7262 ac_status=$?
7263 grep -v '^ *+' conftest.er1 >conftest.err
7264 rm -f conftest.er1
7265 cat conftest.err >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); } && {
7268 test -z "$ac_c_werror_flag" ||
7269 test ! -s conftest.err
7270 } && test -s conftest.$ac_objext; then
7271 ac_cv_header_stat_broken=no
7272 else
7273 echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.$ac_ext >&5
7276 ac_cv_header_stat_broken=yes
7279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7281 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7282 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7283 if test $ac_cv_header_stat_broken = yes; then
7285 cat >>confdefs.h <<\_ACEOF
7286 #define STAT_MACROS_BROKEN 1
7287 _ACEOF
7297 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7299 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7304 else
7305 cat >conftest.$ac_ext <<_ACEOF
7306 /* confdefs.h. */
7307 _ACEOF
7308 cat confdefs.h >>conftest.$ac_ext
7309 cat >>conftest.$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 #include <sys/types.h>
7312 #ifdef HAVE_SYS_PARAM_H
7313 # include <sys/param.h>
7314 #endif
7316 #include <$ac_header>
7317 _ACEOF
7318 rm -f conftest.$ac_objext
7319 if { (ac_try="$ac_compile"
7320 case "(($ac_try" in
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7323 esac
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7326 ac_status=$?
7327 grep -v '^ *+' conftest.er1 >conftest.err
7328 rm -f conftest.er1
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest.$ac_objext; then
7335 eval "$as_ac_Header=yes"
7336 else
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 eval "$as_ac_Header=no"
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 ac_res=`eval echo '${'$as_ac_Header'}'`
7346 { echo "$as_me:$LINENO: result: $ac_res" >&5
7347 echo "${ECHO_T}$ac_res" >&6; }
7348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7349 cat >>confdefs.h <<_ACEOF
7350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7351 _ACEOF
7355 done
7366 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
7368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7373 else
7374 cat >conftest.$ac_ext <<_ACEOF
7375 /* confdefs.h. */
7376 _ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 #include <sys/types.h>
7381 #ifdef HAVE_SYS_SOCKET_H
7382 # include <sys/socket.h>
7383 #endif
7384 #ifdef HAVE_SYS_SOCKETVAR_H
7385 # include <sys/socketvar.h>
7386 #endif
7387 #ifdef HAVE_NETINET_IN_H
7388 # include <netinet/in.h>
7389 #endif
7391 #include <$ac_header>
7392 _ACEOF
7393 rm -f conftest.$ac_objext
7394 if { (ac_try="$ac_compile"
7395 case "(($ac_try" in
7396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7397 *) ac_try_echo=$ac_try;;
7398 esac
7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7400 (eval "$ac_compile") 2>conftest.er1
7401 ac_status=$?
7402 grep -v '^ *+' conftest.er1 >conftest.err
7403 rm -f conftest.er1
7404 cat conftest.err >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && {
7407 test -z "$ac_c_werror_flag" ||
7408 test ! -s conftest.err
7409 } && test -s conftest.$ac_objext; then
7410 eval "$as_ac_Header=yes"
7411 else
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 eval "$as_ac_Header=no"
7418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7420 ac_res=`eval echo '${'$as_ac_Header'}'`
7421 { echo "$as_me:$LINENO: result: $ac_res" >&5
7422 echo "${ECHO_T}$ac_res" >&6; }
7423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7424 cat >>confdefs.h <<_ACEOF
7425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 _ACEOF
7430 done
7434 for ac_header in netinet/tcp_var.h
7436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 else
7442 cat >conftest.$ac_ext <<_ACEOF
7443 /* confdefs.h. */
7444 _ACEOF
7445 cat confdefs.h >>conftest.$ac_ext
7446 cat >>conftest.$ac_ext <<_ACEOF
7447 /* end confdefs.h. */
7448 #include <sys/types.h>
7449 #ifdef HAVE_SYS_SOCKET_H
7450 # include <sys/socket.h>
7451 #endif
7452 #ifdef HAVE_SYS_SOCKETVAR_H
7453 # include <sys/socketvar.h>
7454 #endif
7455 #ifdef HAVE_NETINET_IN_H
7456 # include <netinet/in.h>
7457 #endif
7458 #ifdef HAVE_NETINET_TCP_H
7459 # include <netinet/tcp.h>
7460 #endif
7462 #include <$ac_header>
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (ac_try="$ac_compile"
7466 case "(($ac_try" in
7467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7468 *) ac_try_echo=$ac_try;;
7469 esac
7470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7471 (eval "$ac_compile") 2>conftest.er1
7472 ac_status=$?
7473 grep -v '^ *+' conftest.er1 >conftest.err
7474 rm -f conftest.er1
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } && {
7478 test -z "$ac_c_werror_flag" ||
7479 test ! -s conftest.err
7480 } && test -s conftest.$ac_objext; then
7481 eval "$as_ac_Header=yes"
7482 else
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 eval "$as_ac_Header=no"
7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7491 ac_res=`eval echo '${'$as_ac_Header'}'`
7492 { echo "$as_me:$LINENO: result: $ac_res" >&5
7493 echo "${ECHO_T}$ac_res" >&6; }
7494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7495 cat >>confdefs.h <<_ACEOF
7496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7497 _ACEOF
7501 done
7505 for ac_header in linux/ipx.h
7507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7512 else
7513 cat >conftest.$ac_ext <<_ACEOF
7514 /* confdefs.h. */
7515 _ACEOF
7516 cat confdefs.h >>conftest.$ac_ext
7517 cat >>conftest.$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7519 #include <sys/types.h>
7520 #ifdef HAVE_ASM_TYPES_H
7521 # include <asm/types.h>
7522 #endif
7523 #ifdef HAVE_SYS_SOCKET_H
7524 # include <sys/socket.h>
7525 #endif
7527 #include <$ac_header>
7528 _ACEOF
7529 rm -f conftest.$ac_objext
7530 if { (ac_try="$ac_compile"
7531 case "(($ac_try" in
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7534 esac
7535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536 (eval "$ac_compile") 2>conftest.er1
7537 ac_status=$?
7538 grep -v '^ *+' conftest.er1 >conftest.err
7539 rm -f conftest.er1
7540 cat conftest.err >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); } && {
7543 test -z "$ac_c_werror_flag" ||
7544 test ! -s conftest.err
7545 } && test -s conftest.$ac_objext; then
7546 eval "$as_ac_Header=yes"
7547 else
7548 echo "$as_me: failed program was:" >&5
7549 sed 's/^/| /' conftest.$ac_ext >&5
7551 eval "$as_ac_Header=no"
7554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7556 ac_res=`eval echo '${'$as_ac_Header'}'`
7557 { echo "$as_me:$LINENO: result: $ac_res" >&5
7558 echo "${ECHO_T}$ac_res" >&6; }
7559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7560 cat >>confdefs.h <<_ACEOF
7561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7562 _ACEOF
7566 done
7570 for ac_header in resolv.h
7572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7576 echo $ECHO_N "(cached) $ECHO_C" >&6
7577 else
7578 cat >conftest.$ac_ext <<_ACEOF
7579 /* confdefs.h. */
7580 _ACEOF
7581 cat confdefs.h >>conftest.$ac_ext
7582 cat >>conftest.$ac_ext <<_ACEOF
7583 /* end confdefs.h. */
7584 #include <sys/types.h>
7585 #ifdef HAVE_SYS_SOCKET_H
7586 # include <sys/socket.h>
7587 #endif
7588 #ifdef HAVE_NETINET_IN_H
7589 # include <netinet/in.h>
7590 #endif
7591 #ifdef HAVE_ARPA_NAMESER_H
7592 # include <arpa/nameser.h>
7593 #endif
7595 #include <$ac_header>
7596 _ACEOF
7597 rm -f conftest.$ac_objext
7598 if { (ac_try="$ac_compile"
7599 case "(($ac_try" in
7600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7601 *) ac_try_echo=$ac_try;;
7602 esac
7603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7604 (eval "$ac_compile") 2>conftest.er1
7605 ac_status=$?
7606 grep -v '^ *+' conftest.er1 >conftest.err
7607 rm -f conftest.er1
7608 cat conftest.err >&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); } && {
7611 test -z "$ac_c_werror_flag" ||
7612 test ! -s conftest.err
7613 } && test -s conftest.$ac_objext; then
7614 eval "$as_ac_Header=yes"
7615 else
7616 echo "$as_me: failed program was:" >&5
7617 sed 's/^/| /' conftest.$ac_ext >&5
7619 eval "$as_ac_Header=no"
7622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7624 ac_res=`eval echo '${'$as_ac_Header'}'`
7625 { echo "$as_me:$LINENO: result: $ac_res" >&5
7626 echo "${ECHO_T}$ac_res" >&6; }
7627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7628 cat >>confdefs.h <<_ACEOF
7629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7630 _ACEOF
7634 done
7638 for ac_header in ucontext.h
7640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7641 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7644 echo $ECHO_N "(cached) $ECHO_C" >&6
7645 else
7646 cat >conftest.$ac_ext <<_ACEOF
7647 /* confdefs.h. */
7648 _ACEOF
7649 cat confdefs.h >>conftest.$ac_ext
7650 cat >>conftest.$ac_ext <<_ACEOF
7651 /* end confdefs.h. */
7652 #include <signal.h>
7654 #include <$ac_header>
7655 _ACEOF
7656 rm -f conftest.$ac_objext
7657 if { (ac_try="$ac_compile"
7658 case "(($ac_try" in
7659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7660 *) ac_try_echo=$ac_try;;
7661 esac
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_compile") 2>conftest.er1
7664 ac_status=$?
7665 grep -v '^ *+' conftest.er1 >conftest.err
7666 rm -f conftest.er1
7667 cat conftest.err >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } && {
7670 test -z "$ac_c_werror_flag" ||
7671 test ! -s conftest.err
7672 } && test -s conftest.$ac_objext; then
7673 eval "$as_ac_Header=yes"
7674 else
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.$ac_ext >&5
7678 eval "$as_ac_Header=no"
7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7683 ac_res=`eval echo '${'$as_ac_Header'}'`
7684 { echo "$as_me:$LINENO: result: $ac_res" >&5
7685 echo "${ECHO_T}$ac_res" >&6; }
7686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7687 cat >>confdefs.h <<_ACEOF
7688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7689 _ACEOF
7693 done
7697 for ac_header in sys/thr.h
7699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 else
7705 cat >conftest.$ac_ext <<_ACEOF
7706 /* confdefs.h. */
7707 _ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 #include <sys/types.h>
7712 #ifdef HAVE_UCONTEXT_H
7713 #include <ucontext.h>
7714 #endif
7716 #include <$ac_header>
7717 _ACEOF
7718 rm -f conftest.$ac_objext
7719 if { (ac_try="$ac_compile"
7720 case "(($ac_try" in
7721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7722 *) ac_try_echo=$ac_try;;
7723 esac
7724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7725 (eval "$ac_compile") 2>conftest.er1
7726 ac_status=$?
7727 grep -v '^ *+' conftest.er1 >conftest.err
7728 rm -f conftest.er1
7729 cat conftest.err >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } && {
7732 test -z "$ac_c_werror_flag" ||
7733 test ! -s conftest.err
7734 } && test -s conftest.$ac_objext; then
7735 eval "$as_ac_Header=yes"
7736 else
7737 echo "$as_me: failed program was:" >&5
7738 sed 's/^/| /' conftest.$ac_ext >&5
7740 eval "$as_ac_Header=no"
7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7745 ac_res=`eval echo '${'$as_ac_Header'}'`
7746 { echo "$as_me:$LINENO: result: $ac_res" >&5
7747 echo "${ECHO_T}$ac_res" >&6; }
7748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7749 cat >>confdefs.h <<_ACEOF
7750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 _ACEOF
7755 done
7759 for ac_header in pthread_np.h
7761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 else
7767 cat >conftest.$ac_ext <<_ACEOF
7768 /* confdefs.h. */
7769 _ACEOF
7770 cat confdefs.h >>conftest.$ac_ext
7771 cat >>conftest.$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 #ifdef HAVE_PTHREAD_H
7774 #include <pthread.h>
7775 #endif
7777 #include <$ac_header>
7778 _ACEOF
7779 rm -f conftest.$ac_objext
7780 if { (ac_try="$ac_compile"
7781 case "(($ac_try" in
7782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7783 *) ac_try_echo=$ac_try;;
7784 esac
7785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7786 (eval "$ac_compile") 2>conftest.er1
7787 ac_status=$?
7788 grep -v '^ *+' conftest.er1 >conftest.err
7789 rm -f conftest.er1
7790 cat conftest.err >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } && {
7793 test -z "$ac_c_werror_flag" ||
7794 test ! -s conftest.err
7795 } && test -s conftest.$ac_objext; then
7796 eval "$as_ac_Header=yes"
7797 else
7798 echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7801 eval "$as_ac_Header=no"
7804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7806 ac_res=`eval echo '${'$as_ac_Header'}'`
7807 { echo "$as_me:$LINENO: result: $ac_res" >&5
7808 echo "${ECHO_T}$ac_res" >&6; }
7809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7810 cat >>confdefs.h <<_ACEOF
7811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7812 _ACEOF
7816 done
7820 for ac_header in linux/videodev.h
7822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7823 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 else
7828 cat >conftest.$ac_ext <<_ACEOF
7829 /* confdefs.h. */
7830 _ACEOF
7831 cat confdefs.h >>conftest.$ac_ext
7832 cat >>conftest.$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7834 #ifdef HAVE_SYS_TIME_H
7835 #include <sys/time.h>
7836 #endif
7837 #include <sys/types.h>
7838 #ifdef HAVE_ASM_TYPES_H
7839 #include <asm/types.h>
7840 #endif
7842 #include <$ac_header>
7843 _ACEOF
7844 rm -f conftest.$ac_objext
7845 if { (ac_try="$ac_compile"
7846 case "(($ac_try" in
7847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7848 *) ac_try_echo=$ac_try;;
7849 esac
7850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7851 (eval "$ac_compile") 2>conftest.er1
7852 ac_status=$?
7853 grep -v '^ *+' conftest.er1 >conftest.err
7854 rm -f conftest.er1
7855 cat conftest.err >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); } && {
7858 test -z "$ac_c_werror_flag" ||
7859 test ! -s conftest.err
7860 } && test -s conftest.$ac_objext; then
7861 eval "$as_ac_Header=yes"
7862 else
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.$ac_ext >&5
7866 eval "$as_ac_Header=no"
7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871 ac_res=`eval echo '${'$as_ac_Header'}'`
7872 { echo "$as_me:$LINENO: result: $ac_res" >&5
7873 echo "${ECHO_T}$ac_res" >&6; }
7874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7875 cat >>confdefs.h <<_ACEOF
7876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7877 _ACEOF
7881 done
7885 for ac_header in linux/capi.h
7887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7892 else
7893 cat >conftest.$ac_ext <<_ACEOF
7894 /* confdefs.h. */
7895 _ACEOF
7896 cat confdefs.h >>conftest.$ac_ext
7897 cat >>conftest.$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7899 #define __user
7901 #include <$ac_header>
7902 _ACEOF
7903 rm -f conftest.$ac_objext
7904 if { (ac_try="$ac_compile"
7905 case "(($ac_try" in
7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7907 *) ac_try_echo=$ac_try;;
7908 esac
7909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7910 (eval "$ac_compile") 2>conftest.er1
7911 ac_status=$?
7912 grep -v '^ *+' conftest.er1 >conftest.err
7913 rm -f conftest.er1
7914 cat conftest.err >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); } && {
7917 test -z "$ac_c_werror_flag" ||
7918 test ! -s conftest.err
7919 } && test -s conftest.$ac_objext; then
7920 eval "$as_ac_Header=yes"
7921 else
7922 echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.$ac_ext >&5
7925 eval "$as_ac_Header=no"
7928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7930 ac_res=`eval echo '${'$as_ac_Header'}'`
7931 { echo "$as_me:$LINENO: result: $ac_res" >&5
7932 echo "${ECHO_T}$ac_res" >&6; }
7933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7934 cat >>confdefs.h <<_ACEOF
7935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7936 _ACEOF
7940 done
7944 DLLEXT=""
7946 DLLFLAGS="-D_REENTRANT"
7948 LDSHARED=""
7950 LDDLLFLAGS=""
7952 LIBEXT="so"
7954 IMPLIBEXT="def"
7956 LDRPATH_INSTALL=""
7958 LDRPATH_LOCAL=""
7960 # Extract the first word of "ldd", so it can be a program name with args.
7961 set dummy ldd; ac_word=$2
7962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7964 if test "${ac_cv_path_LDD+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 else
7967 case $LDD in
7968 [\\/]* | ?:[\\/]*)
7969 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7973 as_dummy="/sbin:/usr/sbin:$PATH"
7974 for as_dir in $as_dummy
7976 IFS=$as_save_IFS
7977 test -z "$as_dir" && as_dir=.
7978 for ac_exec_ext in '' $ac_executable_extensions; do
7979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7980 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 break 2
7984 done
7985 done
7986 IFS=$as_save_IFS
7988 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7990 esac
7992 LDD=$ac_cv_path_LDD
7993 if test -n "$LDD"; then
7994 { echo "$as_me:$LINENO: result: $LDD" >&5
7995 echo "${ECHO_T}$LDD" >&6; }
7996 else
7997 { echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6; }
8003 case $host_os in
8004 cygwin*|mingw32*)
8005 if test -n "$ac_tool_prefix"; then
8006 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8007 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8010 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 else
8013 if test -n "$DLLTOOL"; then
8014 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8015 else
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 for as_dir in $PATH
8019 IFS=$as_save_IFS
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8023 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 break 2
8027 done
8028 done
8029 IFS=$as_save_IFS
8033 DLLTOOL=$ac_cv_prog_DLLTOOL
8034 if test -n "$DLLTOOL"; then
8035 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8036 echo "${ECHO_T}$DLLTOOL" >&6; }
8037 else
8038 { echo "$as_me:$LINENO: result: no" >&5
8039 echo "${ECHO_T}no" >&6; }
8044 if test -z "$ac_cv_prog_DLLTOOL"; then
8045 ac_ct_DLLTOOL=$DLLTOOL
8046 # Extract the first word of "dlltool", so it can be a program name with args.
8047 set dummy dlltool; ac_word=$2
8048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8050 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8051 echo $ECHO_N "(cached) $ECHO_C" >&6
8052 else
8053 if test -n "$ac_ct_DLLTOOL"; then
8054 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8055 else
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 for as_dir in $PATH
8059 IFS=$as_save_IFS
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 break 2
8067 done
8068 done
8069 IFS=$as_save_IFS
8073 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8074 if test -n "$ac_ct_DLLTOOL"; then
8075 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8076 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8077 else
8078 { echo "$as_me:$LINENO: result: no" >&5
8079 echo "${ECHO_T}no" >&6; }
8082 if test "x$ac_ct_DLLTOOL" = x; then
8083 DLLTOOL="false"
8084 else
8085 case $cross_compiling:$ac_tool_warned in
8086 yes:)
8087 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8088 whose name does not start with the host triplet. If you think this
8089 configuration is useful to you, please write to autoconf@gnu.org." >&5
8090 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8091 whose name does not start with the host triplet. If you think this
8092 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8093 ac_tool_warned=yes ;;
8094 esac
8095 DLLTOOL=$ac_ct_DLLTOOL
8097 else
8098 DLLTOOL="$ac_cv_prog_DLLTOOL"
8101 if test -n "$ac_tool_prefix"; then
8102 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8103 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8106 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8107 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 else
8109 if test -n "$DLLWRAP"; then
8110 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8111 else
8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 for as_dir in $PATH
8115 IFS=$as_save_IFS
8116 test -z "$as_dir" && as_dir=.
8117 for ac_exec_ext in '' $ac_executable_extensions; do
8118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8119 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8121 break 2
8123 done
8124 done
8125 IFS=$as_save_IFS
8129 DLLWRAP=$ac_cv_prog_DLLWRAP
8130 if test -n "$DLLWRAP"; then
8131 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8132 echo "${ECHO_T}$DLLWRAP" >&6; }
8133 else
8134 { echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6; }
8140 if test -z "$ac_cv_prog_DLLWRAP"; then
8141 ac_ct_DLLWRAP=$DLLWRAP
8142 # Extract the first word of "dllwrap", so it can be a program name with args.
8143 set dummy dllwrap; ac_word=$2
8144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8146 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 else
8149 if test -n "$ac_ct_DLLWRAP"; then
8150 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8151 else
8152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 for as_dir in $PATH
8155 IFS=$as_save_IFS
8156 test -z "$as_dir" && as_dir=.
8157 for ac_exec_ext in '' $ac_executable_extensions; do
8158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8159 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8161 break 2
8163 done
8164 done
8165 IFS=$as_save_IFS
8169 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8170 if test -n "$ac_ct_DLLWRAP"; then
8171 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8172 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8173 else
8174 { echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6; }
8178 if test "x$ac_ct_DLLWRAP" = x; then
8179 DLLWRAP="false"
8180 else
8181 case $cross_compiling:$ac_tool_warned in
8182 yes:)
8183 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8184 whose name does not start with the host triplet. If you think this
8185 configuration is useful to you, please write to autoconf@gnu.org." >&5
8186 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8187 whose name does not start with the host triplet. If you think this
8188 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8189 ac_tool_warned=yes ;;
8190 esac
8191 DLLWRAP=$ac_ct_DLLWRAP
8193 else
8194 DLLWRAP="$ac_cv_prog_DLLWRAP"
8197 if test -n "$ac_tool_prefix"; then
8198 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8199 set dummy ${ac_tool_prefix}ar; ac_word=$2
8200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8202 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 if test -n "$MINGWAR"; then
8206 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8207 else
8208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8209 for as_dir in $PATH
8211 IFS=$as_save_IFS
8212 test -z "$as_dir" && as_dir=.
8213 for ac_exec_ext in '' $ac_executable_extensions; do
8214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8215 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 break 2
8219 done
8220 done
8221 IFS=$as_save_IFS
8225 MINGWAR=$ac_cv_prog_MINGWAR
8226 if test -n "$MINGWAR"; then
8227 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8228 echo "${ECHO_T}$MINGWAR" >&6; }
8229 else
8230 { echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6; }
8236 if test -z "$ac_cv_prog_MINGWAR"; then
8237 ac_ct_MINGWAR=$MINGWAR
8238 # Extract the first word of "ar", so it can be a program name with args.
8239 set dummy ar; ac_word=$2
8240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8242 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8243 echo $ECHO_N "(cached) $ECHO_C" >&6
8244 else
8245 if test -n "$ac_ct_MINGWAR"; then
8246 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8247 else
8248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8249 for as_dir in $PATH
8251 IFS=$as_save_IFS
8252 test -z "$as_dir" && as_dir=.
8253 for ac_exec_ext in '' $ac_executable_extensions; do
8254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8255 ac_cv_prog_ac_ct_MINGWAR="ar"
8256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 break 2
8259 done
8260 done
8261 IFS=$as_save_IFS
8265 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8266 if test -n "$ac_ct_MINGWAR"; then
8267 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8268 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8269 else
8270 { echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6; }
8274 if test "x$ac_ct_MINGWAR" = x; then
8275 MINGWAR="false"
8276 else
8277 case $cross_compiling:$ac_tool_warned in
8278 yes:)
8279 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8280 whose name does not start with the host triplet. If you think this
8281 configuration is useful to you, please write to autoconf@gnu.org." >&5
8282 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8283 whose name does not start with the host triplet. If you think this
8284 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8285 ac_tool_warned=yes ;;
8286 esac
8287 MINGWAR=$ac_ct_MINGWAR
8289 else
8290 MINGWAR="$ac_cv_prog_MINGWAR"
8293 if test "$DLLWRAP" = "false"; then
8294 LIBEXT="a"
8295 else
8296 LIBEXT="dll"
8298 IMPLIBEXT="a"
8299 WIN16_FILES=""
8300 WIN16_INSTALL=""
8302 darwin*|macosx*)
8303 DLLEXT=".so"
8304 LIBEXT="dylib"
8305 DLLFLAGS="$DLLFLAGS -fPIC"
8306 LDDLLFLAGS="-bundle -multiply_defined suppress"
8307 LIBWINE_LDFLAGS="-multiply_defined suppress"
8308 LDSHARED="\$(CC) -dynamiclib"
8309 STRIP="$STRIP -x"
8310 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8311 SECURITYLIB="-framework Security -framework CoreFoundation"
8313 COREFOUNDATIONLIB="-framework CoreFoundation"
8315 IOKITLIB="-framework IOKit -framework CoreFoundation"
8317 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8319 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8320 then
8321 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8324 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8325 then
8326 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8329 case $host_cpu in
8330 *powerpc*)
8331 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8332 esac
8333 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8334 then
8335 CARBONLIB="-framework Carbon"
8337 QUARTZFILES='$(QUARTZFILES)'
8341 DLLFLAGS="$DLLFLAGS -fPIC"
8342 DLLEXT=".so"
8343 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8344 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8345 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 else
8348 ac_wine_try_cflags_saved=$CFLAGS
8349 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8350 cat >conftest.$ac_ext <<_ACEOF
8351 void myfunc() {}
8352 _ACEOF
8353 rm -f conftest.$ac_objext conftest$ac_exeext
8354 if { (ac_try="$ac_link"
8355 case "(($ac_try" in
8356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8358 esac
8359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8360 (eval "$ac_link") 2>conftest.er1
8361 ac_status=$?
8362 grep -v '^ *+' conftest.er1 >conftest.err
8363 rm -f conftest.er1
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } && {
8367 test -z "$ac_c_werror_flag" ||
8368 test ! -s conftest.err
8369 } && test -s conftest$ac_exeext &&
8370 $as_test_x conftest$ac_exeext; then
8371 ac_cv_c_dll_gnuelf="yes"
8372 else
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.$ac_ext >&5
8376 ac_cv_c_dll_gnuelf="no"
8379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8380 conftest$ac_exeext conftest.$ac_ext
8381 CFLAGS=$ac_wine_try_cflags_saved
8383 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8384 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8385 if test "$ac_cv_c_dll_gnuelf" = "yes"
8386 then
8387 LDSHARED="\$(CC) -shared"
8388 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8389 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8390 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8391 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8396 cat >conftest.$ac_ext <<_ACEOF
8397 /* confdefs.h. */
8398 _ACEOF
8399 cat confdefs.h >>conftest.$ac_ext
8400 cat >>conftest.$ac_ext <<_ACEOF
8401 /* end confdefs.h. */
8404 main ()
8408 return 0;
8410 _ACEOF
8411 rm -f conftest.$ac_objext conftest$ac_exeext
8412 if { (ac_try="$ac_link"
8413 case "(($ac_try" in
8414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8415 *) ac_try_echo=$ac_try;;
8416 esac
8417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8418 (eval "$ac_link") 2>conftest.er1
8419 ac_status=$?
8420 grep -v '^ *+' conftest.er1 >conftest.err
8421 rm -f conftest.er1
8422 cat conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } && {
8425 test -z "$ac_c_werror_flag" ||
8426 test ! -s conftest.err
8427 } && test -s conftest$ac_exeext &&
8428 $as_test_x conftest$ac_exeext; then
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8430 else
8431 echo "$as_me: failed program was:" >&5
8432 sed 's/^/| /' conftest.$ac_ext >&5
8434 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8438 conftest$ac_exeext conftest.$ac_ext
8439 CFLAGS=$ac_wine_try_cflags_saved
8441 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8442 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8443 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8444 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8445 else
8446 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8447 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8448 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8450 else
8451 ac_wine_try_cflags_saved=$CFLAGS
8452 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8453 cat >conftest.$ac_ext <<_ACEOF
8454 /* confdefs.h. */
8455 _ACEOF
8456 cat confdefs.h >>conftest.$ac_ext
8457 cat >>conftest.$ac_ext <<_ACEOF
8458 /* end confdefs.h. */
8461 main ()
8465 return 0;
8467 _ACEOF
8468 rm -f conftest.$ac_objext conftest$ac_exeext
8469 if { (ac_try="$ac_link"
8470 case "(($ac_try" in
8471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8472 *) ac_try_echo=$ac_try;;
8473 esac
8474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8475 (eval "$ac_link") 2>conftest.er1
8476 ac_status=$?
8477 grep -v '^ *+' conftest.er1 >conftest.err
8478 rm -f conftest.er1
8479 cat conftest.err >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); } && {
8482 test -z "$ac_c_werror_flag" ||
8483 test ! -s conftest.err
8484 } && test -s conftest$ac_exeext &&
8485 $as_test_x conftest$ac_exeext; then
8486 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8487 else
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8491 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8499 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8500 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8501 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8507 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8508 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8509 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 else
8512 ac_wine_try_cflags_saved=$CFLAGS
8513 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8514 cat >conftest.$ac_ext <<_ACEOF
8515 /* confdefs.h. */
8516 _ACEOF
8517 cat confdefs.h >>conftest.$ac_ext
8518 cat >>conftest.$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8522 main ()
8526 return 0;
8528 _ACEOF
8529 rm -f conftest.$ac_objext conftest$ac_exeext
8530 if { (ac_try="$ac_link"
8531 case "(($ac_try" in
8532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8533 *) ac_try_echo=$ac_try;;
8534 esac
8535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8536 (eval "$ac_link") 2>conftest.er1
8537 ac_status=$?
8538 grep -v '^ *+' conftest.er1 >conftest.err
8539 rm -f conftest.er1
8540 cat conftest.err >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } && {
8543 test -z "$ac_c_werror_flag" ||
8544 test ! -s conftest.err
8545 } && test -s conftest$ac_exeext &&
8546 $as_test_x conftest$ac_exeext; then
8547 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8548 else
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8556 conftest$ac_exeext conftest.$ac_ext
8557 CFLAGS=$ac_wine_try_cflags_saved
8559 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8560 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8561 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8562 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8566 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8567 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8568 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8570 else
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8573 cat >conftest.$ac_ext <<_ACEOF
8574 /* confdefs.h. */
8575 _ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8581 main ()
8585 return 0;
8587 _ACEOF
8588 rm -f conftest.$ac_objext conftest$ac_exeext
8589 if { (ac_try="$ac_link"
8590 case "(($ac_try" in
8591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8592 *) ac_try_echo=$ac_try;;
8593 esac
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_link") 2>conftest.er1
8596 ac_status=$?
8597 grep -v '^ *+' conftest.er1 >conftest.err
8598 rm -f conftest.er1
8599 cat conftest.err >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } && {
8602 test -z "$ac_c_werror_flag" ||
8603 test ! -s conftest.err
8604 } && test -s conftest$ac_exeext &&
8605 $as_test_x conftest$ac_exeext; then
8606 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8607 else
8608 echo "$as_me: failed program was:" >&5
8609 sed 's/^/| /' conftest.$ac_ext >&5
8611 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8619 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8620 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8621 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8625 echo '{ global: *; };' >conftest.map
8626 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8627 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8628 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8631 ac_wine_try_cflags_saved=$CFLAGS
8632 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8633 cat >conftest.$ac_ext <<_ACEOF
8634 /* confdefs.h. */
8635 _ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8641 main ()
8645 return 0;
8647 _ACEOF
8648 rm -f conftest.$ac_objext conftest$ac_exeext
8649 if { (ac_try="$ac_link"
8650 case "(($ac_try" in
8651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8652 *) ac_try_echo=$ac_try;;
8653 esac
8654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8655 (eval "$ac_link") 2>conftest.er1
8656 ac_status=$?
8657 grep -v '^ *+' conftest.er1 >conftest.err
8658 rm -f conftest.er1
8659 cat conftest.err >&5
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); } && {
8662 test -z "$ac_c_werror_flag" ||
8663 test ! -s conftest.err
8664 } && test -s conftest$ac_exeext &&
8665 $as_test_x conftest$ac_exeext; then
8666 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8667 else
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.$ac_ext >&5
8671 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8675 conftest$ac_exeext conftest.$ac_ext
8676 CFLAGS=$ac_wine_try_cflags_saved
8678 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8679 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8680 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8681 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8684 rm -f conftest.map
8686 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8687 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8688 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8693 cat >conftest.$ac_ext <<_ACEOF
8694 /* confdefs.h. */
8695 _ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8701 main ()
8705 return 0;
8707 _ACEOF
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (ac_try="$ac_link"
8710 case "(($ac_try" in
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;;
8713 esac
8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_link") 2>conftest.er1
8716 ac_status=$?
8717 grep -v '^ *+' conftest.er1 >conftest.err
8718 rm -f conftest.er1
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext &&
8725 $as_test_x conftest$ac_exeext; then
8726 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8727 else
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8739 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8740 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8741 LDEXECFLAGS="-Wl,--export-dynamic"
8746 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8747 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8748 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8749 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8750 echo $ECHO_N "(cached) $ECHO_C" >&6
8751 else
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8754 cat >conftest.$ac_ext <<_ACEOF
8755 /* confdefs.h. */
8756 _ACEOF
8757 cat confdefs.h >>conftest.$ac_ext
8758 cat >>conftest.$ac_ext <<_ACEOF
8759 /* end confdefs.h. */
8762 main ()
8766 return 0;
8768 _ACEOF
8769 rm -f conftest.$ac_objext conftest$ac_exeext
8770 if { (ac_try="$ac_link"
8771 case "(($ac_try" in
8772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8773 *) ac_try_echo=$ac_try;;
8774 esac
8775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8776 (eval "$ac_link") 2>conftest.er1
8777 ac_status=$?
8778 grep -v '^ *+' conftest.er1 >conftest.err
8779 rm -f conftest.er1
8780 cat conftest.err >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); } && {
8783 test -z "$ac_c_werror_flag" ||
8784 test ! -s conftest.err
8785 } && test -s conftest$ac_exeext &&
8786 $as_test_x conftest$ac_exeext; then
8787 eval "$as_ac_var=yes"
8788 else
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.$ac_ext >&5
8792 eval "$as_ac_var=no"
8795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8796 conftest$ac_exeext conftest.$ac_ext
8797 CFLAGS=$ac_wine_try_cflags_saved
8799 ac_res=`eval echo '${'$as_ac_var'}'`
8800 { echo "$as_me:$LINENO: result: $ac_res" >&5
8801 echo "${ECHO_T}$ac_res" >&6; }
8802 if test `eval echo '${'$as_ac_var'}'` = yes; then
8803 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8804 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8805 else
8806 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8807 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8808 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8809 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8810 echo $ECHO_N "(cached) $ECHO_C" >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8814 cat >conftest.$ac_ext <<_ACEOF
8815 /* confdefs.h. */
8816 _ACEOF
8817 cat confdefs.h >>conftest.$ac_ext
8818 cat >>conftest.$ac_ext <<_ACEOF
8819 /* end confdefs.h. */
8822 main ()
8826 return 0;
8828 _ACEOF
8829 rm -f conftest.$ac_objext conftest$ac_exeext
8830 if { (ac_try="$ac_link"
8831 case "(($ac_try" in
8832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8833 *) ac_try_echo=$ac_try;;
8834 esac
8835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8836 (eval "$ac_link") 2>conftest.er1
8837 ac_status=$?
8838 grep -v '^ *+' conftest.er1 >conftest.err
8839 rm -f conftest.er1
8840 cat conftest.err >&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); } && {
8843 test -z "$ac_c_werror_flag" ||
8844 test ! -s conftest.err
8845 } && test -s conftest$ac_exeext &&
8846 $as_test_x conftest$ac_exeext; then
8847 eval "$as_ac_var=yes"
8848 else
8849 echo "$as_me: failed program was:" >&5
8850 sed 's/^/| /' conftest.$ac_ext >&5
8852 eval "$as_ac_var=no"
8855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8856 conftest$ac_exeext conftest.$ac_ext
8857 CFLAGS=$ac_wine_try_cflags_saved
8859 ac_res=`eval echo '${'$as_ac_var'}'`
8860 { echo "$as_me:$LINENO: result: $ac_res" >&5
8861 echo "${ECHO_T}$ac_res" >&6; }
8862 if test `eval echo '${'$as_ac_var'}'` = yes; then
8863 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8864 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8870 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8871 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8872 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8873 echo $ECHO_N "(cached) $ECHO_C" >&6
8874 else
8875 ac_wine_try_cflags_saved=$CFLAGS
8876 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8877 cat >conftest.$ac_ext <<_ACEOF
8878 /* confdefs.h. */
8879 _ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8885 main ()
8889 return 0;
8891 _ACEOF
8892 rm -f conftest.$ac_objext conftest$ac_exeext
8893 if { (ac_try="$ac_link"
8894 case "(($ac_try" in
8895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8896 *) ac_try_echo=$ac_try;;
8897 esac
8898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8899 (eval "$ac_link") 2>conftest.er1
8900 ac_status=$?
8901 grep -v '^ *+' conftest.er1 >conftest.err
8902 rm -f conftest.er1
8903 cat conftest.err >&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); } && {
8906 test -z "$ac_c_werror_flag" ||
8907 test ! -s conftest.err
8908 } && test -s conftest$ac_exeext &&
8909 $as_test_x conftest$ac_exeext; then
8910 ac_cv_cflags__Wl___enable_new_dtags=yes
8911 else
8912 echo "$as_me: failed program was:" >&5
8913 sed 's/^/| /' conftest.$ac_ext >&5
8915 ac_cv_cflags__Wl___enable_new_dtags=no
8918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8919 conftest$ac_exeext conftest.$ac_ext
8920 CFLAGS=$ac_wine_try_cflags_saved
8922 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8923 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8924 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8925 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8929 case $host_cpu in
8930 *i[3456789]86* | x86_64)
8931 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8932 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8933 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 else
8936 ac_wine_try_cflags_saved=$CFLAGS
8937 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8938 cat >conftest.$ac_ext <<_ACEOF
8939 /* confdefs.h. */
8940 _ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8946 main ()
8950 return 0;
8952 _ACEOF
8953 rm -f conftest.$ac_objext conftest$ac_exeext
8954 if { (ac_try="$ac_link"
8955 case "(($ac_try" in
8956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8957 *) ac_try_echo=$ac_try;;
8958 esac
8959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8960 (eval "$ac_link") 2>conftest.er1
8961 ac_status=$?
8962 grep -v '^ *+' conftest.er1 >conftest.err
8963 rm -f conftest.er1
8964 cat conftest.err >&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); } && {
8967 test -z "$ac_c_werror_flag" ||
8968 test ! -s conftest.err
8969 } && test -s conftest$ac_exeext &&
8970 $as_test_x conftest$ac_exeext; then
8971 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8972 else
8973 echo "$as_me: failed program was:" >&5
8974 sed 's/^/| /' conftest.$ac_ext >&5
8976 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8980 conftest$ac_exeext conftest.$ac_ext
8981 CFLAGS=$ac_wine_try_cflags_saved
8983 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8984 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8985 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8986 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8990 esac
8992 else
8993 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8994 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8995 if test "${ac_cv_c_dll_unixware+set}" = set; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 else
8998 ac_wine_try_cflags_saved=$CFLAGS
8999 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9000 cat >conftest.$ac_ext <<_ACEOF
9001 void myfunc() {}
9002 _ACEOF
9003 rm -f conftest.$ac_objext conftest$ac_exeext
9004 if { (ac_try="$ac_link"
9005 case "(($ac_try" in
9006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9007 *) ac_try_echo=$ac_try;;
9008 esac
9009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9010 (eval "$ac_link") 2>conftest.er1
9011 ac_status=$?
9012 grep -v '^ *+' conftest.er1 >conftest.err
9013 rm -f conftest.er1
9014 cat conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } && {
9017 test -z "$ac_c_werror_flag" ||
9018 test ! -s conftest.err
9019 } && test -s conftest$ac_exeext &&
9020 $as_test_x conftest$ac_exeext; then
9021 ac_cv_c_dll_unixware="yes"
9022 else
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.$ac_ext >&5
9026 ac_cv_c_dll_unixware="no"
9029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9030 conftest$ac_exeext conftest.$ac_ext
9031 CFLAGS=$ac_wine_try_cflags_saved
9033 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9034 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9035 if test "$ac_cv_c_dll_unixware" = "yes"
9036 then
9037 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9038 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9040 else
9041 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9042 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9043 if test "${ac_cv_c_dll_hpux+set}" = set; then
9044 echo $ECHO_N "(cached) $ECHO_C" >&6
9045 else
9046 ac_wine_try_cflags_saved=$CFLAGS
9047 CFLAGS="$CFLAGS -shared"
9048 cat >conftest.$ac_ext <<_ACEOF
9049 void myfunc() {}
9050 _ACEOF
9051 rm -f conftest.$ac_objext conftest$ac_exeext
9052 if { (ac_try="$ac_link"
9053 case "(($ac_try" in
9054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9055 *) ac_try_echo=$ac_try;;
9056 esac
9057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9058 (eval "$ac_link") 2>conftest.er1
9059 ac_status=$?
9060 grep -v '^ *+' conftest.er1 >conftest.err
9061 rm -f conftest.er1
9062 cat conftest.err >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } && {
9065 test -z "$ac_c_werror_flag" ||
9066 test ! -s conftest.err
9067 } && test -s conftest$ac_exeext &&
9068 $as_test_x conftest$ac_exeext; then
9069 ac_cv_c_dll_hpux="yes"
9070 else
9071 echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9074 ac_cv_c_dll_hpux="no"
9077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9078 conftest$ac_exeext conftest.$ac_ext
9079 CFLAGS=$ac_wine_try_cflags_saved
9081 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9082 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9083 if test "$ac_cv_c_dll_hpux" = "yes"
9084 then
9085 LIBEXT="sl"
9086 DLLEXT=".sl"
9087 LDDLLFLAGS="-shared -fPIC"
9088 LDSHARED="\$(CC) -shared"
9093 CROSSTEST=""
9095 if test "$cross_compiling" = "no"
9096 then
9097 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9099 # Extract the first word of "$ac_prog", so it can be a program name with args.
9100 set dummy $ac_prog; ac_word=$2
9101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9103 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9104 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 else
9106 if test -n "$CROSSCC"; then
9107 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9108 else
9109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9110 for as_dir in $PATH
9112 IFS=$as_save_IFS
9113 test -z "$as_dir" && as_dir=.
9114 for ac_exec_ext in '' $ac_executable_extensions; do
9115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9116 ac_cv_prog_CROSSCC="$ac_prog"
9117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9118 break 2
9120 done
9121 done
9122 IFS=$as_save_IFS
9126 CROSSCC=$ac_cv_prog_CROSSCC
9127 if test -n "$CROSSCC"; then
9128 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9129 echo "${ECHO_T}$CROSSCC" >&6; }
9130 else
9131 { echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6; }
9136 test -n "$CROSSCC" && break
9137 done
9138 test -n "$CROSSCC" || CROSSCC="false"
9140 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9142 # Extract the first word of "$ac_prog", so it can be a program name with args.
9143 set dummy $ac_prog; ac_word=$2
9144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9146 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9147 echo $ECHO_N "(cached) $ECHO_C" >&6
9148 else
9149 if test -n "$DLLTOOL"; then
9150 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9151 else
9152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9153 for as_dir in $PATH
9155 IFS=$as_save_IFS
9156 test -z "$as_dir" && as_dir=.
9157 for ac_exec_ext in '' $ac_executable_extensions; do
9158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9159 ac_cv_prog_DLLTOOL="$ac_prog"
9160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9161 break 2
9163 done
9164 done
9165 IFS=$as_save_IFS
9169 DLLTOOL=$ac_cv_prog_DLLTOOL
9170 if test -n "$DLLTOOL"; then
9171 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9172 echo "${ECHO_T}$DLLTOOL" >&6; }
9173 else
9174 { echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6; }
9179 test -n "$DLLTOOL" && break
9180 done
9181 test -n "$DLLTOOL" || DLLTOOL="false"
9183 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9185 # Extract the first word of "$ac_prog", so it can be a program name with args.
9186 set dummy $ac_prog; ac_word=$2
9187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9189 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9190 echo $ECHO_N "(cached) $ECHO_C" >&6
9191 else
9192 if test -n "$CROSSWINDRES"; then
9193 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9194 else
9195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9196 for as_dir in $PATH
9198 IFS=$as_save_IFS
9199 test -z "$as_dir" && as_dir=.
9200 for ac_exec_ext in '' $ac_executable_extensions; do
9201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9202 ac_cv_prog_CROSSWINDRES="$ac_prog"
9203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9204 break 2
9206 done
9207 done
9208 IFS=$as_save_IFS
9212 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9213 if test -n "$CROSSWINDRES"; then
9214 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9215 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9216 else
9217 { echo "$as_me:$LINENO: result: no" >&5
9218 echo "${ECHO_T}no" >&6; }
9222 test -n "$CROSSWINDRES" && break
9223 done
9224 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9226 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9228 # Extract the first word of "$ac_prog", so it can be a program name with args.
9229 set dummy $ac_prog; ac_word=$2
9230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9232 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 else
9235 if test -n "$MINGWAR"; then
9236 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9237 else
9238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9239 for as_dir in $PATH
9241 IFS=$as_save_IFS
9242 test -z "$as_dir" && as_dir=.
9243 for ac_exec_ext in '' $ac_executable_extensions; do
9244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9245 ac_cv_prog_MINGWAR="$ac_prog"
9246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9247 break 2
9249 done
9250 done
9251 IFS=$as_save_IFS
9255 MINGWAR=$ac_cv_prog_MINGWAR
9256 if test -n "$MINGWAR"; then
9257 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9258 echo "${ECHO_T}$MINGWAR" >&6; }
9259 else
9260 { echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6; }
9265 test -n "$MINGWAR" && break
9266 done
9267 test -n "$MINGWAR" || MINGWAR="false"
9269 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9272 esac
9274 if test "$LIBEXT" = "a"; then
9275 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9276 It is currently not possible to build Wine without shared library
9277 (.so) support to allow transparent switch between .so and .dll files.
9278 If you are using Linux, you will need a newer binutils.
9279 " >&5
9280 echo "$as_me: error: could not find a way to build shared libraries.
9281 It is currently not possible to build Wine without shared library
9282 (.so) support to allow transparent switch between .so and .dll files.
9283 If you are using Linux, you will need a newer binutils.
9284 " >&2;}
9285 { (exit 1); exit 1; }; }
9289 if test "$have_x" = "yes"
9290 then
9291 XLIB="-lXext -lX11"
9292 ac_save_CPPFLAGS="$CPPFLAGS"
9293 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9295 { echo "$as_me:$LINENO: checking for -lX11" >&5
9296 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9297 if test "${ac_cv_lib_soname_X11+set}" = set; then
9298 echo $ECHO_N "(cached) $ECHO_C" >&6
9299 else
9300 ac_check_soname_save_LIBS=$LIBS
9301 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9302 cat >conftest.$ac_ext <<_ACEOF
9303 /* confdefs.h. */
9304 _ACEOF
9305 cat confdefs.h >>conftest.$ac_ext
9306 cat >>conftest.$ac_ext <<_ACEOF
9307 /* end confdefs.h. */
9309 /* Override any GCC internal prototype to avoid an error.
9310 Use char because int might match the return type of a GCC
9311 builtin and then its argument prototype would still apply. */
9312 #ifdef __cplusplus
9313 extern "C"
9314 #endif
9315 char XCreateWindow ();
9317 main ()
9319 return XCreateWindow ();
9321 return 0;
9323 _ACEOF
9324 rm -f conftest.$ac_objext conftest$ac_exeext
9325 if { (ac_try="$ac_link"
9326 case "(($ac_try" in
9327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9328 *) ac_try_echo=$ac_try;;
9329 esac
9330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9331 (eval "$ac_link") 2>conftest.er1
9332 ac_status=$?
9333 grep -v '^ *+' conftest.er1 >conftest.err
9334 rm -f conftest.er1
9335 cat conftest.err >&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } && {
9338 test -z "$ac_c_werror_flag" ||
9339 test ! -s conftest.err
9340 } && test -s conftest$ac_exeext &&
9341 $as_test_x conftest$ac_exeext; then
9342 case "$LIBEXT" in
9343 dll) ;;
9344 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'` ;;
9345 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9346 esac
9347 else
9348 echo "$as_me: failed program was:" >&5
9349 sed 's/^/| /' conftest.$ac_ext >&5
9354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9355 conftest$ac_exeext conftest.$ac_ext
9356 LIBS=$ac_check_soname_save_LIBS
9358 if test "x$ac_cv_lib_soname_X11" = "x"; then
9359 { echo "$as_me:$LINENO: result: not found" >&5
9360 echo "${ECHO_T}not found" >&6; }
9362 else
9363 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9364 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9366 cat >>confdefs.h <<_ACEOF
9367 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9368 _ACEOF
9373 { echo "$as_me:$LINENO: checking for -lXext" >&5
9374 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9375 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9377 else
9378 ac_check_soname_save_LIBS=$LIBS
9379 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9380 cat >conftest.$ac_ext <<_ACEOF
9381 /* confdefs.h. */
9382 _ACEOF
9383 cat confdefs.h >>conftest.$ac_ext
9384 cat >>conftest.$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9390 #ifdef __cplusplus
9391 extern "C"
9392 #endif
9393 char XextCreateExtension ();
9395 main ()
9397 return XextCreateExtension ();
9399 return 0;
9401 _ACEOF
9402 rm -f conftest.$ac_objext conftest$ac_exeext
9403 if { (ac_try="$ac_link"
9404 case "(($ac_try" in
9405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9406 *) ac_try_echo=$ac_try;;
9407 esac
9408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9409 (eval "$ac_link") 2>conftest.er1
9410 ac_status=$?
9411 grep -v '^ *+' conftest.er1 >conftest.err
9412 rm -f conftest.er1
9413 cat conftest.err >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } && {
9416 test -z "$ac_c_werror_flag" ||
9417 test ! -s conftest.err
9418 } && test -s conftest$ac_exeext &&
9419 $as_test_x conftest$ac_exeext; then
9420 case "$LIBEXT" in
9421 dll) ;;
9422 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'` ;;
9423 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9424 esac
9425 else
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.$ac_ext >&5
9432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS=$ac_check_soname_save_LIBS
9436 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9437 { echo "$as_me:$LINENO: result: not found" >&5
9438 echo "${ECHO_T}not found" >&6; }
9440 else
9441 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9442 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9444 cat >>confdefs.h <<_ACEOF
9445 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9446 _ACEOF
9464 for ac_header in X11/Xlib.h \
9465 X11/XKBlib.h \
9466 X11/Xutil.h \
9467 X11/Xcursor/Xcursor.h \
9468 X11/extensions/shape.h \
9469 X11/extensions/XInput.h \
9470 X11/extensions/XShm.h \
9471 X11/extensions/Xcomposite.h \
9472 X11/extensions/Xinerama.h \
9473 X11/extensions/Xrandr.h \
9474 X11/extensions/Xrender.h \
9475 X11/extensions/xf86vmode.h
9477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 else
9483 cat >conftest.$ac_ext <<_ACEOF
9484 /* confdefs.h. */
9485 _ACEOF
9486 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF
9488 /* end confdefs.h. */
9489 #ifdef HAVE_X11_XLIB_H
9490 # include <X11/Xlib.h>
9491 #endif
9492 #ifdef HAVE_X11_XUTIL_H
9493 # include <X11/Xutil.h>
9494 #endif
9496 #include <$ac_header>
9497 _ACEOF
9498 rm -f conftest.$ac_objext
9499 if { (ac_try="$ac_compile"
9500 case "(($ac_try" in
9501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9503 esac
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_compile") 2>conftest.er1
9506 ac_status=$?
9507 grep -v '^ *+' conftest.er1 >conftest.err
9508 rm -f conftest.er1
9509 cat conftest.err >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } && {
9512 test -z "$ac_c_werror_flag" ||
9513 test ! -s conftest.err
9514 } && test -s conftest.$ac_objext; then
9515 eval "$as_ac_Header=yes"
9516 else
9517 echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.$ac_ext >&5
9520 eval "$as_ac_Header=no"
9523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9525 ac_res=`eval echo '${'$as_ac_Header'}'`
9526 { echo "$as_me:$LINENO: result: $ac_res" >&5
9527 echo "${ECHO_T}$ac_res" >&6; }
9528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9529 cat >>confdefs.h <<_ACEOF
9530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9531 _ACEOF
9535 done
9538 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9539 then
9540 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9541 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9542 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 else
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9547 cat >conftest.$ac_ext <<_ACEOF
9548 /* confdefs.h. */
9549 _ACEOF
9550 cat confdefs.h >>conftest.$ac_ext
9551 cat >>conftest.$ac_ext <<_ACEOF
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9557 #ifdef __cplusplus
9558 extern "C"
9559 #endif
9560 char XkbQueryExtension ();
9562 main ()
9564 return XkbQueryExtension ();
9566 return 0;
9568 _ACEOF
9569 rm -f conftest.$ac_objext conftest$ac_exeext
9570 if { (ac_try="$ac_link"
9571 case "(($ac_try" in
9572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9573 *) ac_try_echo=$ac_try;;
9574 esac
9575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9576 (eval "$ac_link") 2>conftest.er1
9577 ac_status=$?
9578 grep -v '^ *+' conftest.er1 >conftest.err
9579 rm -f conftest.er1
9580 cat conftest.err >&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); } && {
9583 test -z "$ac_c_werror_flag" ||
9584 test ! -s conftest.err
9585 } && test -s conftest$ac_exeext &&
9586 $as_test_x conftest$ac_exeext; then
9587 ac_cv_lib_X11_XkbQueryExtension=yes
9588 else
9589 echo "$as_me: failed program was:" >&5
9590 sed 's/^/| /' conftest.$ac_ext >&5
9592 ac_cv_lib_X11_XkbQueryExtension=no
9595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9596 conftest$ac_exeext conftest.$ac_ext
9597 LIBS=$ac_check_lib_save_LIBS
9599 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9600 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9601 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9603 cat >>confdefs.h <<\_ACEOF
9604 #define HAVE_XKB 1
9605 _ACEOF
9611 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9612 then
9613 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9614 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9615 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 else
9618 ac_check_soname_save_LIBS=$LIBS
9619 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9620 cat >conftest.$ac_ext <<_ACEOF
9621 /* confdefs.h. */
9622 _ACEOF
9623 cat confdefs.h >>conftest.$ac_ext
9624 cat >>conftest.$ac_ext <<_ACEOF
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9630 #ifdef __cplusplus
9631 extern "C"
9632 #endif
9633 char XcursorImageLoadCursor ();
9635 main ()
9637 return XcursorImageLoadCursor ();
9639 return 0;
9641 _ACEOF
9642 rm -f conftest.$ac_objext conftest$ac_exeext
9643 if { (ac_try="$ac_link"
9644 case "(($ac_try" in
9645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9646 *) ac_try_echo=$ac_try;;
9647 esac
9648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9649 (eval "$ac_link") 2>conftest.er1
9650 ac_status=$?
9651 grep -v '^ *+' conftest.er1 >conftest.err
9652 rm -f conftest.er1
9653 cat conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && {
9656 test -z "$ac_c_werror_flag" ||
9657 test ! -s conftest.err
9658 } && test -s conftest$ac_exeext &&
9659 $as_test_x conftest$ac_exeext; then
9660 case "$LIBEXT" in
9661 dll) ;;
9662 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'` ;;
9663 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9664 esac
9665 else
9666 echo "$as_me: failed program was:" >&5
9667 sed 's/^/| /' conftest.$ac_ext >&5
9672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9673 conftest$ac_exeext conftest.$ac_ext
9674 LIBS=$ac_check_soname_save_LIBS
9676 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9677 { echo "$as_me:$LINENO: result: not found" >&5
9678 echo "${ECHO_T}not found" >&6; }
9680 else
9681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9682 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9684 cat >>confdefs.h <<_ACEOF
9685 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9686 _ACEOF
9692 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9693 case "x$with_xcursor" in
9694 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9695 xno) ;;
9696 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9697 This is an error since --with-xcursor was requested." >&5
9698 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9699 This is an error since --with-xcursor was requested." >&2;}
9700 { (exit 1); exit 1; }; } ;;
9701 esac
9705 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9706 then
9707 { echo "$as_me:$LINENO: checking for -lXi" >&5
9708 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9709 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9710 echo $ECHO_N "(cached) $ECHO_C" >&6
9711 else
9712 ac_check_soname_save_LIBS=$LIBS
9713 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9714 cat >conftest.$ac_ext <<_ACEOF
9715 /* confdefs.h. */
9716 _ACEOF
9717 cat confdefs.h >>conftest.$ac_ext
9718 cat >>conftest.$ac_ext <<_ACEOF
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9724 #ifdef __cplusplus
9725 extern "C"
9726 #endif
9727 char XOpenDevice ();
9729 main ()
9731 return XOpenDevice ();
9733 return 0;
9735 _ACEOF
9736 rm -f conftest.$ac_objext conftest$ac_exeext
9737 if { (ac_try="$ac_link"
9738 case "(($ac_try" in
9739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 *) ac_try_echo=$ac_try;;
9741 esac
9742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 (eval "$ac_link") 2>conftest.er1
9744 ac_status=$?
9745 grep -v '^ *+' conftest.er1 >conftest.err
9746 rm -f conftest.er1
9747 cat conftest.err >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } && {
9750 test -z "$ac_c_werror_flag" ||
9751 test ! -s conftest.err
9752 } && test -s conftest$ac_exeext &&
9753 $as_test_x conftest$ac_exeext; then
9754 case "$LIBEXT" in
9755 dll) ;;
9756 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'` ;;
9757 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9758 esac
9759 else
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_soname_save_LIBS
9770 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9771 { echo "$as_me:$LINENO: result: not found" >&5
9772 echo "${ECHO_T}not found" >&6; }
9774 else
9775 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9776 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9778 cat >>confdefs.h <<_ACEOF
9779 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9780 _ACEOF
9786 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9787 case "x$with_xinput" in
9788 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9789 xno) ;;
9790 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9791 This is an error since --with-xinput was requested." >&5
9792 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9793 This is an error since --with-xinput was requested." >&2;}
9794 { (exit 1); exit 1; }; } ;;
9795 esac
9799 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9800 then
9801 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9802 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9803 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9805 else
9806 ac_check_lib_save_LIBS=$LIBS
9807 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9808 cat >conftest.$ac_ext <<_ACEOF
9809 /* confdefs.h. */
9810 _ACEOF
9811 cat confdefs.h >>conftest.$ac_ext
9812 cat >>conftest.$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char XShmQueryExtension ();
9823 main ()
9825 return XShmQueryExtension ();
9827 return 0;
9829 _ACEOF
9830 rm -f conftest.$ac_objext conftest$ac_exeext
9831 if { (ac_try="$ac_link"
9832 case "(($ac_try" in
9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9835 esac
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837 (eval "$ac_link") 2>conftest.er1
9838 ac_status=$?
9839 grep -v '^ *+' conftest.er1 >conftest.err
9840 rm -f conftest.er1
9841 cat conftest.err >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); } && {
9844 test -z "$ac_c_werror_flag" ||
9845 test ! -s conftest.err
9846 } && test -s conftest$ac_exeext &&
9847 $as_test_x conftest$ac_exeext; then
9848 ac_cv_lib_Xext_XShmQueryExtension=yes
9849 else
9850 echo "$as_me: failed program was:" >&5
9851 sed 's/^/| /' conftest.$ac_ext >&5
9853 ac_cv_lib_Xext_XShmQueryExtension=no
9856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_lib_save_LIBS
9860 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9861 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9862 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9864 cat >>confdefs.h <<\_ACEOF
9865 #define HAVE_LIBXXSHM 1
9866 _ACEOF
9871 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9872 case "x$with_xshm" in
9873 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9874 xno) ;;
9875 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9876 This is an error since --with-xshm was requested." >&5
9877 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9878 This is an error since --with-xshm was requested." >&2;}
9879 { (exit 1); exit 1; }; } ;;
9880 esac
9884 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9885 then
9886 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9887 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9888 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 else
9891 ac_check_lib_save_LIBS=$LIBS
9892 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9893 cat >conftest.$ac_ext <<_ACEOF
9894 /* confdefs.h. */
9895 _ACEOF
9896 cat confdefs.h >>conftest.$ac_ext
9897 cat >>conftest.$ac_ext <<_ACEOF
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XShapeQueryExtension ();
9908 main ()
9910 return XShapeQueryExtension ();
9912 return 0;
9914 _ACEOF
9915 rm -f conftest.$ac_objext conftest$ac_exeext
9916 if { (ac_try="$ac_link"
9917 case "(($ac_try" in
9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9919 *) ac_try_echo=$ac_try;;
9920 esac
9921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9922 (eval "$ac_link") 2>conftest.er1
9923 ac_status=$?
9924 grep -v '^ *+' conftest.er1 >conftest.err
9925 rm -f conftest.er1
9926 cat conftest.err >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); } && {
9929 test -z "$ac_c_werror_flag" ||
9930 test ! -s conftest.err
9931 } && test -s conftest$ac_exeext &&
9932 $as_test_x conftest$ac_exeext; then
9933 ac_cv_lib_Xext_XShapeQueryExtension=yes
9934 else
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.$ac_ext >&5
9938 ac_cv_lib_Xext_XShapeQueryExtension=no
9941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9942 conftest$ac_exeext conftest.$ac_ext
9943 LIBS=$ac_check_lib_save_LIBS
9945 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9946 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9947 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9949 cat >>confdefs.h <<\_ACEOF
9950 #define HAVE_LIBXSHAPE 1
9951 _ACEOF
9956 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9957 case "x$with_xshape" in
9958 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9959 xno) ;;
9960 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9961 This is an error since --with-xshape was requested." >&5
9962 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9963 This is an error since --with-xshape was requested." >&2;}
9964 { (exit 1); exit 1; }; } ;;
9965 esac
9969 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9970 then
9971 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9972 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9973 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 else
9976 ac_check_lib_save_LIBS=$LIBS
9977 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9978 cat >conftest.$ac_ext <<_ACEOF
9979 /* confdefs.h. */
9980 _ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9988 #ifdef __cplusplus
9989 extern "C"
9990 #endif
9991 char XF86VidModeQueryExtension ();
9993 main ()
9995 return XF86VidModeQueryExtension ();
9997 return 0;
9999 _ACEOF
10000 rm -f conftest.$ac_objext conftest$ac_exeext
10001 if { (ac_try="$ac_link"
10002 case "(($ac_try" in
10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10004 *) ac_try_echo=$ac_try;;
10005 esac
10006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_link") 2>conftest.er1
10008 ac_status=$?
10009 grep -v '^ *+' conftest.er1 >conftest.err
10010 rm -f conftest.er1
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } && {
10014 test -z "$ac_c_werror_flag" ||
10015 test ! -s conftest.err
10016 } && test -s conftest$ac_exeext &&
10017 $as_test_x conftest$ac_exeext; then
10018 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10019 else
10020 echo "$as_me: failed program was:" >&5
10021 sed 's/^/| /' conftest.$ac_ext >&5
10023 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_lib_save_LIBS
10030 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10031 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10032 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10034 cat >>confdefs.h <<\_ACEOF
10035 #define HAVE_LIBXXF86VM 1
10036 _ACEOF
10038 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10043 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10044 case "x$with_xvidmode" in
10045 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10046 xno) ;;
10047 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10048 This is an error since --with-xvidmode was requested." >&5
10049 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10050 This is an error since --with-xvidmode was requested." >&2;}
10051 { (exit 1); exit 1; }; } ;;
10052 esac
10056 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"
10057 then
10058 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10059 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10060 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 else
10063 ac_check_soname_save_LIBS=$LIBS
10064 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10065 cat >conftest.$ac_ext <<_ACEOF
10066 /* confdefs.h. */
10067 _ACEOF
10068 cat confdefs.h >>conftest.$ac_ext
10069 cat >>conftest.$ac_ext <<_ACEOF
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char XRenderQueryExtension ();
10080 main ()
10082 return XRenderQueryExtension ();
10084 return 0;
10086 _ACEOF
10087 rm -f conftest.$ac_objext conftest$ac_exeext
10088 if { (ac_try="$ac_link"
10089 case "(($ac_try" in
10090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10091 *) ac_try_echo=$ac_try;;
10092 esac
10093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10094 (eval "$ac_link") 2>conftest.er1
10095 ac_status=$?
10096 grep -v '^ *+' conftest.er1 >conftest.err
10097 rm -f conftest.er1
10098 cat conftest.err >&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } && {
10101 test -z "$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10103 } && test -s conftest$ac_exeext &&
10104 $as_test_x conftest$ac_exeext; then
10105 case "$LIBEXT" in
10106 dll) ;;
10107 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'` ;;
10108 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10109 esac
10110 else
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.$ac_ext >&5
10117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10118 conftest$ac_exeext conftest.$ac_ext
10119 LIBS=$ac_check_soname_save_LIBS
10121 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10122 { echo "$as_me:$LINENO: result: not found" >&5
10123 echo "${ECHO_T}not found" >&6; }
10125 else
10126 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10127 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10129 cat >>confdefs.h <<_ACEOF
10130 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10131 _ACEOF
10133 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10134 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10135 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10137 else
10138 ac_check_lib_save_LIBS=$LIBS
10139 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h. */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char XRenderSetPictureTransform ();
10155 main ()
10157 return XRenderSetPictureTransform ();
10159 return 0;
10161 _ACEOF
10162 rm -f conftest.$ac_objext conftest$ac_exeext
10163 if { (ac_try="$ac_link"
10164 case "(($ac_try" in
10165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10166 *) ac_try_echo=$ac_try;;
10167 esac
10168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10169 (eval "$ac_link") 2>conftest.er1
10170 ac_status=$?
10171 grep -v '^ *+' conftest.er1 >conftest.err
10172 rm -f conftest.er1
10173 cat conftest.err >&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } && {
10176 test -z "$ac_c_werror_flag" ||
10177 test ! -s conftest.err
10178 } && test -s conftest$ac_exeext &&
10179 $as_test_x conftest$ac_exeext; then
10180 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10181 else
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10185 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10189 conftest$ac_exeext conftest.$ac_ext
10190 LIBS=$ac_check_lib_save_LIBS
10192 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10193 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10194 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10196 cat >>confdefs.h <<\_ACEOF
10197 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10198 _ACEOF
10206 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10207 case "x$with_xrender" in
10208 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10209 xno) ;;
10210 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10211 This is an error since --with-xrender was requested." >&5
10212 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10213 This is an error since --with-xrender was requested." >&2;}
10214 { (exit 1); exit 1; }; } ;;
10215 esac
10219 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10220 then
10221 cat >conftest.$ac_ext <<_ACEOF
10222 /* confdefs.h. */
10223 _ACEOF
10224 cat confdefs.h >>conftest.$ac_ext
10225 cat >>conftest.$ac_ext <<_ACEOF
10226 /* end confdefs.h. */
10227 #include <X11/Xlib.h>
10228 #include <X11/extensions/Xrandr.h>
10230 main ()
10232 static typeof(XRRSetScreenConfigAndRate) * func;
10234 return 0;
10236 _ACEOF
10237 rm -f conftest.$ac_objext
10238 if { (ac_try="$ac_compile"
10239 case "(($ac_try" in
10240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10241 *) ac_try_echo=$ac_try;;
10242 esac
10243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10244 (eval "$ac_compile") 2>conftest.er1
10245 ac_status=$?
10246 grep -v '^ *+' conftest.er1 >conftest.err
10247 rm -f conftest.er1
10248 cat conftest.err >&5
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); } && {
10251 test -z "$ac_c_werror_flag" ||
10252 test ! -s conftest.err
10253 } && test -s conftest.$ac_objext; then
10254 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10255 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10256 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 else
10259 ac_check_soname_save_LIBS=$LIBS
10260 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10261 cat >conftest.$ac_ext <<_ACEOF
10262 /* confdefs.h. */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char XRRQueryExtension ();
10276 main ()
10278 return XRRQueryExtension ();
10280 return 0;
10282 _ACEOF
10283 rm -f conftest.$ac_objext conftest$ac_exeext
10284 if { (ac_try="$ac_link"
10285 case "(($ac_try" in
10286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10287 *) ac_try_echo=$ac_try;;
10288 esac
10289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10290 (eval "$ac_link") 2>conftest.er1
10291 ac_status=$?
10292 grep -v '^ *+' conftest.er1 >conftest.err
10293 rm -f conftest.er1
10294 cat conftest.err >&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } && {
10297 test -z "$ac_c_werror_flag" ||
10298 test ! -s conftest.err
10299 } && test -s conftest$ac_exeext &&
10300 $as_test_x conftest$ac_exeext; then
10301 case "$LIBEXT" in
10302 dll) ;;
10303 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'` ;;
10304 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10305 esac
10306 else
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_soname_save_LIBS
10317 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10318 { echo "$as_me:$LINENO: result: not found" >&5
10319 echo "${ECHO_T}not found" >&6; }
10321 else
10322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10323 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10325 cat >>confdefs.h <<_ACEOF
10326 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10327 _ACEOF
10332 else
10333 echo "$as_me: failed program was:" >&5
10334 sed 's/^/| /' conftest.$ac_ext >&5
10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10341 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10342 case "x$with_xrandr" in
10343 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10344 xno) ;;
10345 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10346 This is an error since --with-xrandr was requested." >&5
10347 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10348 This is an error since --with-xrandr was requested." >&2;}
10349 { (exit 1); exit 1; }; } ;;
10350 esac
10354 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10355 then
10356 cat >conftest.$ac_ext <<_ACEOF
10357 /* confdefs.h. */
10358 _ACEOF
10359 cat confdefs.h >>conftest.$ac_ext
10360 cat >>conftest.$ac_ext <<_ACEOF
10361 /* end confdefs.h. */
10362 #include <X11/Xlib.h>
10363 #include <X11/extensions/Xinerama.h>
10365 main ()
10367 static typeof(XineramaQueryScreens) * func;
10369 return 0;
10371 _ACEOF
10372 rm -f conftest.$ac_objext
10373 if { (ac_try="$ac_compile"
10374 case "(($ac_try" in
10375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10376 *) ac_try_echo=$ac_try;;
10377 esac
10378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10379 (eval "$ac_compile") 2>conftest.er1
10380 ac_status=$?
10381 grep -v '^ *+' conftest.er1 >conftest.err
10382 rm -f conftest.er1
10383 cat conftest.err >&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } && {
10386 test -z "$ac_c_werror_flag" ||
10387 test ! -s conftest.err
10388 } && test -s conftest.$ac_objext; then
10389 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10390 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10391 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10393 else
10394 ac_check_soname_save_LIBS=$LIBS
10395 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10396 cat >conftest.$ac_ext <<_ACEOF
10397 /* confdefs.h. */
10398 _ACEOF
10399 cat confdefs.h >>conftest.$ac_ext
10400 cat >>conftest.$ac_ext <<_ACEOF
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char XineramaQueryScreens ();
10411 main ()
10413 return XineramaQueryScreens ();
10415 return 0;
10417 _ACEOF
10418 rm -f conftest.$ac_objext conftest$ac_exeext
10419 if { (ac_try="$ac_link"
10420 case "(($ac_try" in
10421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10422 *) ac_try_echo=$ac_try;;
10423 esac
10424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10425 (eval "$ac_link") 2>conftest.er1
10426 ac_status=$?
10427 grep -v '^ *+' conftest.er1 >conftest.err
10428 rm -f conftest.er1
10429 cat conftest.err >&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } && {
10432 test -z "$ac_c_werror_flag" ||
10433 test ! -s conftest.err
10434 } && test -s conftest$ac_exeext &&
10435 $as_test_x conftest$ac_exeext; then
10436 case "$LIBEXT" in
10437 dll) ;;
10438 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'` ;;
10439 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10440 esac
10441 else
10442 echo "$as_me: failed program was:" >&5
10443 sed 's/^/| /' conftest.$ac_ext >&5
10448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_soname_save_LIBS
10452 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10453 { echo "$as_me:$LINENO: result: not found" >&5
10454 echo "${ECHO_T}not found" >&6; }
10456 else
10457 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10458 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10460 cat >>confdefs.h <<_ACEOF
10461 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10462 _ACEOF
10467 else
10468 echo "$as_me: failed program was:" >&5
10469 sed 's/^/| /' conftest.$ac_ext >&5
10474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10476 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10477 case "x$with_xinerama" in
10478 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10479 xno) ;;
10480 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10481 This is an error since --with-xinerama was requested." >&5
10482 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10483 This is an error since --with-xinerama was requested." >&2;}
10484 { (exit 1); exit 1; }; } ;;
10485 esac
10489 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10490 then
10491 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10492 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10493 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 else
10496 ac_check_soname_save_LIBS=$LIBS
10497 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10498 cat >conftest.$ac_ext <<_ACEOF
10499 /* confdefs.h. */
10500 _ACEOF
10501 cat confdefs.h >>conftest.$ac_ext
10502 cat >>conftest.$ac_ext <<_ACEOF
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10508 #ifdef __cplusplus
10509 extern "C"
10510 #endif
10511 char XCompositeRedirectWindow ();
10513 main ()
10515 return XCompositeRedirectWindow ();
10517 return 0;
10519 _ACEOF
10520 rm -f conftest.$ac_objext conftest$ac_exeext
10521 if { (ac_try="$ac_link"
10522 case "(($ac_try" in
10523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10524 *) ac_try_echo=$ac_try;;
10525 esac
10526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10527 (eval "$ac_link") 2>conftest.er1
10528 ac_status=$?
10529 grep -v '^ *+' conftest.er1 >conftest.err
10530 rm -f conftest.er1
10531 cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } && {
10534 test -z "$ac_c_werror_flag" ||
10535 test ! -s conftest.err
10536 } && test -s conftest$ac_exeext &&
10537 $as_test_x conftest$ac_exeext; then
10538 case "$LIBEXT" in
10539 dll) ;;
10540 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'` ;;
10541 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10542 esac
10543 else
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.$ac_ext >&5
10550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10551 conftest$ac_exeext conftest.$ac_ext
10552 LIBS=$ac_check_soname_save_LIBS
10554 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10555 { echo "$as_me:$LINENO: result: not found" >&5
10556 echo "${ECHO_T}not found" >&6; }
10558 else
10559 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10560 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10562 cat >>confdefs.h <<_ACEOF
10563 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10564 _ACEOF
10570 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10571 case "x$with_xcomposite" in
10572 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10573 xno) ;;
10574 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10575 This is an error since --with-xcomposite was requested." >&5
10576 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10577 This is an error since --with-xcomposite was requested." >&2;}
10578 { (exit 1); exit 1; }; } ;;
10579 esac
10584 opengl_msg=""
10585 if test "x$with_opengl" != "xno"
10586 then
10591 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10597 echo $ECHO_N "(cached) $ECHO_C" >&6
10598 else
10599 cat >conftest.$ac_ext <<_ACEOF
10600 /* confdefs.h. */
10601 _ACEOF
10602 cat confdefs.h >>conftest.$ac_ext
10603 cat >>conftest.$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10605 #ifdef HAVE_GL_GLX_H
10606 # include <GL/glx.h>
10607 #endif
10609 #include <$ac_header>
10610 _ACEOF
10611 rm -f conftest.$ac_objext
10612 if { (ac_try="$ac_compile"
10613 case "(($ac_try" in
10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 *) ac_try_echo=$ac_try;;
10616 esac
10617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10618 (eval "$ac_compile") 2>conftest.er1
10619 ac_status=$?
10620 grep -v '^ *+' conftest.er1 >conftest.err
10621 rm -f conftest.er1
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } && {
10625 test -z "$ac_c_werror_flag" ||
10626 test ! -s conftest.err
10627 } && test -s conftest.$ac_objext; then
10628 eval "$as_ac_Header=yes"
10629 else
10630 echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 eval "$as_ac_Header=no"
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10638 ac_res=`eval echo '${'$as_ac_Header'}'`
10639 { echo "$as_me:$LINENO: result: $ac_res" >&5
10640 echo "${ECHO_T}$ac_res" >&6; }
10641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10642 cat >>confdefs.h <<_ACEOF
10643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10644 _ACEOF
10648 done
10650 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10651 then
10652 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10653 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10654 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 else
10657 cat >conftest.$ac_ext <<_ACEOF
10658 /* confdefs.h. */
10659 _ACEOF
10660 cat confdefs.h >>conftest.$ac_ext
10661 cat >>conftest.$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10663 #include <GL/gl.h>
10665 main ()
10667 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10669 return 0;
10671 _ACEOF
10672 rm -f conftest.$ac_objext
10673 if { (ac_try="$ac_compile"
10674 case "(($ac_try" in
10675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10676 *) ac_try_echo=$ac_try;;
10677 esac
10678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10679 (eval "$ac_compile") 2>conftest.er1
10680 ac_status=$?
10681 grep -v '^ *+' conftest.er1 >conftest.err
10682 rm -f conftest.er1
10683 cat conftest.err >&5
10684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); } && {
10686 test -z "$ac_c_werror_flag" ||
10687 test ! -s conftest.err
10688 } && test -s conftest.$ac_objext; then
10689 wine_cv_opengl_header_version_OK="yes"
10690 else
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10694 wine_cv_opengl_header_version_OK="no"
10697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10699 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10700 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10702 if test "$wine_cv_opengl_header_version_OK" = "yes"
10703 then
10704 { echo "$as_me:$LINENO: checking for -lGL" >&5
10705 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10706 if test "${ac_cv_lib_soname_GL+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10708 else
10709 ac_check_soname_save_LIBS=$LIBS
10710 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10711 cat >conftest.$ac_ext <<_ACEOF
10712 /* confdefs.h. */
10713 _ACEOF
10714 cat confdefs.h >>conftest.$ac_ext
10715 cat >>conftest.$ac_ext <<_ACEOF
10716 /* end confdefs.h. */
10718 /* Override any GCC internal prototype to avoid an error.
10719 Use char because int might match the return type of a GCC
10720 builtin and then its argument prototype would still apply. */
10721 #ifdef __cplusplus
10722 extern "C"
10723 #endif
10724 char glXCreateContext ();
10726 main ()
10728 return glXCreateContext ();
10730 return 0;
10732 _ACEOF
10733 rm -f conftest.$ac_objext conftest$ac_exeext
10734 if { (ac_try="$ac_link"
10735 case "(($ac_try" in
10736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10737 *) ac_try_echo=$ac_try;;
10738 esac
10739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10740 (eval "$ac_link") 2>conftest.er1
10741 ac_status=$?
10742 grep -v '^ *+' conftest.er1 >conftest.err
10743 rm -f conftest.er1
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } && {
10747 test -z "$ac_c_werror_flag" ||
10748 test ! -s conftest.err
10749 } && test -s conftest$ac_exeext &&
10750 $as_test_x conftest$ac_exeext; then
10751 case "$LIBEXT" in
10752 dll) ;;
10753 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'` ;;
10754 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10755 esac
10756 else
10757 echo "$as_me: failed program was:" >&5
10758 sed 's/^/| /' conftest.$ac_ext >&5
10763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_soname_save_LIBS
10767 if test "x$ac_cv_lib_soname_GL" = "x"; then
10768 { echo "$as_me:$LINENO: result: not found" >&5
10769 echo "${ECHO_T}not found" >&6; }
10770 { echo "$as_me:$LINENO: checking for -lGL" >&5
10771 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10772 if test "${ac_cv_lib_soname_GL+set}" = set; then
10773 echo $ECHO_N "(cached) $ECHO_C" >&6
10774 else
10775 ac_check_soname_save_LIBS=$LIBS
10776 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"
10777 cat >conftest.$ac_ext <<_ACEOF
10778 /* confdefs.h. */
10779 _ACEOF
10780 cat confdefs.h >>conftest.$ac_ext
10781 cat >>conftest.$ac_ext <<_ACEOF
10782 /* end confdefs.h. */
10784 /* Override any GCC internal prototype to avoid an error.
10785 Use char because int might match the return type of a GCC
10786 builtin and then its argument prototype would still apply. */
10787 #ifdef __cplusplus
10788 extern "C"
10789 #endif
10790 char glXCreateContext ();
10792 main ()
10794 return glXCreateContext ();
10796 return 0;
10798 _ACEOF
10799 rm -f conftest.$ac_objext conftest$ac_exeext
10800 if { (ac_try="$ac_link"
10801 case "(($ac_try" in
10802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10803 *) ac_try_echo=$ac_try;;
10804 esac
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_link") 2>conftest.er1
10807 ac_status=$?
10808 grep -v '^ *+' conftest.er1 >conftest.err
10809 rm -f conftest.er1
10810 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } && {
10813 test -z "$ac_c_werror_flag" ||
10814 test ! -s conftest.err
10815 } && test -s conftest$ac_exeext &&
10816 $as_test_x conftest$ac_exeext; then
10817 case "$LIBEXT" in
10818 dll) ;;
10819 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'` ;;
10820 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10821 esac
10822 else
10823 echo "$as_me: failed program was:" >&5
10824 sed 's/^/| /' conftest.$ac_ext >&5
10829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_soname_save_LIBS
10833 if test "x$ac_cv_lib_soname_GL" = "x"; then
10834 { echo "$as_me:$LINENO: result: not found" >&5
10835 echo "${ECHO_T}not found" >&6; }
10836 if test -f /usr/X11R6/lib/libGL.a
10837 then
10838 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10839 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10840 else
10841 opengl_msg="No OpenGL library found on this system."
10843 else
10844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10845 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10847 cat >>confdefs.h <<_ACEOF
10848 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10849 _ACEOF
10851 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"
10852 OPENGLFILES='$(OPENGLFILES)'
10854 cat >>confdefs.h <<\_ACEOF
10855 #define HAVE_OPENGL 1
10856 _ACEOF
10860 else
10861 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10862 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10864 cat >>confdefs.h <<_ACEOF
10865 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10866 _ACEOF
10868 OPENGL_LIBS="-lGL"
10869 OPENGLFILES='$(OPENGLFILES)'
10871 cat >>confdefs.h <<\_ACEOF
10872 #define HAVE_OPENGL 1
10873 _ACEOF
10878 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10879 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10880 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10882 else
10883 ac_check_lib_save_LIBS=$LIBS
10884 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10885 cat >conftest.$ac_ext <<_ACEOF
10886 /* confdefs.h. */
10887 _ACEOF
10888 cat confdefs.h >>conftest.$ac_ext
10889 cat >>conftest.$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10895 #ifdef __cplusplus
10896 extern "C"
10897 #endif
10898 char gluLookAt ();
10900 main ()
10902 return gluLookAt ();
10904 return 0;
10906 _ACEOF
10907 rm -f conftest.$ac_objext conftest$ac_exeext
10908 if { (ac_try="$ac_link"
10909 case "(($ac_try" in
10910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10911 *) ac_try_echo=$ac_try;;
10912 esac
10913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10914 (eval "$ac_link") 2>conftest.er1
10915 ac_status=$?
10916 grep -v '^ *+' conftest.er1 >conftest.err
10917 rm -f conftest.er1
10918 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } && {
10921 test -z "$ac_c_werror_flag" ||
10922 test ! -s conftest.err
10923 } && test -s conftest$ac_exeext &&
10924 $as_test_x conftest$ac_exeext; then
10925 ac_cv_lib_GLU_gluLookAt=yes
10926 else
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 ac_cv_lib_GLU_gluLookAt=no
10933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10934 conftest$ac_exeext conftest.$ac_ext
10935 LIBS=$ac_check_lib_save_LIBS
10937 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10938 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10939 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10940 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10941 GLU32FILES='$(GLU32FILES)'
10945 else
10946 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10948 else
10949 opengl_msg="OpenGL development headers not found."
10952 if test -n "$opengl_msg"; then
10953 case "x$with_opengl" in
10954 x) wine_warnings="$wine_warnings|$opengl_msg
10955 OpenGL and Direct3D won't be supported." ;;
10956 xno) ;;
10957 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10958 OpenGL and Direct3D won't be supported.
10959 This is an error since --with-opengl was requested." >&5
10960 echo "$as_me: error: $opengl_msg
10961 OpenGL and Direct3D won't be supported.
10962 This is an error since --with-opengl was requested." >&2;}
10963 { (exit 1); exit 1; }; } ;;
10964 esac
10968 NASLIBS=""
10971 for ac_header in audio/audiolib.h
10973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10978 echo $ECHO_N "(cached) $ECHO_C" >&6
10980 ac_res=`eval echo '${'$as_ac_Header'}'`
10981 { echo "$as_me:$LINENO: result: $ac_res" >&5
10982 echo "${ECHO_T}$ac_res" >&6; }
10983 else
10984 # Is the header compilable?
10985 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10987 cat >conftest.$ac_ext <<_ACEOF
10988 /* confdefs.h. */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10993 $ac_includes_default
10994 #include <$ac_header>
10995 _ACEOF
10996 rm -f conftest.$ac_objext
10997 if { (ac_try="$ac_compile"
10998 case "(($ac_try" in
10999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11000 *) ac_try_echo=$ac_try;;
11001 esac
11002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11003 (eval "$ac_compile") 2>conftest.er1
11004 ac_status=$?
11005 grep -v '^ *+' conftest.er1 >conftest.err
11006 rm -f conftest.er1
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } && {
11010 test -z "$ac_c_werror_flag" ||
11011 test ! -s conftest.err
11012 } && test -s conftest.$ac_objext; then
11013 ac_header_compiler=yes
11014 else
11015 echo "$as_me: failed program was:" >&5
11016 sed 's/^/| /' conftest.$ac_ext >&5
11018 ac_header_compiler=no
11021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11022 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11023 echo "${ECHO_T}$ac_header_compiler" >&6; }
11025 # Is the header present?
11026 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11028 cat >conftest.$ac_ext <<_ACEOF
11029 /* confdefs.h. */
11030 _ACEOF
11031 cat confdefs.h >>conftest.$ac_ext
11032 cat >>conftest.$ac_ext <<_ACEOF
11033 /* end confdefs.h. */
11034 #include <$ac_header>
11035 _ACEOF
11036 if { (ac_try="$ac_cpp conftest.$ac_ext"
11037 case "(($ac_try" in
11038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11040 esac
11041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11043 ac_status=$?
11044 grep -v '^ *+' conftest.er1 >conftest.err
11045 rm -f conftest.er1
11046 cat conftest.err >&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); } >/dev/null && {
11049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11050 test ! -s conftest.err
11051 }; then
11052 ac_header_preproc=yes
11053 else
11054 echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.$ac_ext >&5
11057 ac_header_preproc=no
11060 rm -f conftest.err conftest.$ac_ext
11061 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11062 echo "${ECHO_T}$ac_header_preproc" >&6; }
11064 # So? What about this header?
11065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11066 yes:no: )
11067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11071 ac_header_preproc=yes
11073 no:yes:* )
11074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11086 ( cat <<\_ASBOX
11087 ## ------------------------------------ ##
11088 ## Report this to wine-devel@winehq.org ##
11089 ## ------------------------------------ ##
11090 _ASBOX
11091 ) | sed "s/^/$as_me: WARNING: /" >&2
11093 esac
11094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 else
11099 eval "$as_ac_Header=\$ac_header_preproc"
11101 ac_res=`eval echo '${'$as_ac_Header'}'`
11102 { echo "$as_me:$LINENO: result: $ac_res" >&5
11103 echo "${ECHO_T}$ac_res" >&6; }
11106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11107 cat >>confdefs.h <<_ACEOF
11108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11109 _ACEOF
11111 for ac_header in audio/soundlib.h
11113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else
11119 cat >conftest.$ac_ext <<_ACEOF
11120 /* confdefs.h. */
11121 _ACEOF
11122 cat confdefs.h >>conftest.$ac_ext
11123 cat >>conftest.$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 #include <audio/audiolib.h>
11127 #include <$ac_header>
11128 _ACEOF
11129 rm -f conftest.$ac_objext
11130 if { (ac_try="$ac_compile"
11131 case "(($ac_try" in
11132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11133 *) ac_try_echo=$ac_try;;
11134 esac
11135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11136 (eval "$ac_compile") 2>conftest.er1
11137 ac_status=$?
11138 grep -v '^ *+' conftest.er1 >conftest.err
11139 rm -f conftest.er1
11140 cat conftest.err >&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } && {
11143 test -z "$ac_c_werror_flag" ||
11144 test ! -s conftest.err
11145 } && test -s conftest.$ac_objext; then
11146 eval "$as_ac_Header=yes"
11147 else
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.$ac_ext >&5
11151 eval "$as_ac_Header=no"
11154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11156 ac_res=`eval echo '${'$as_ac_Header'}'`
11157 { echo "$as_me:$LINENO: result: $ac_res" >&5
11158 echo "${ECHO_T}$ac_res" >&6; }
11159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11160 cat >>confdefs.h <<_ACEOF
11161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11162 _ACEOF
11166 done
11168 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11169 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11170 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 else
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11175 cat >conftest.$ac_ext <<_ACEOF
11176 /* confdefs.h. */
11177 _ACEOF
11178 cat confdefs.h >>conftest.$ac_ext
11179 cat >>conftest.$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char AuCreateFlow ();
11190 main ()
11192 return AuCreateFlow ();
11194 return 0;
11196 _ACEOF
11197 rm -f conftest.$ac_objext conftest$ac_exeext
11198 if { (ac_try="$ac_link"
11199 case "(($ac_try" in
11200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11201 *) ac_try_echo=$ac_try;;
11202 esac
11203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11204 (eval "$ac_link") 2>conftest.er1
11205 ac_status=$?
11206 grep -v '^ *+' conftest.er1 >conftest.err
11207 rm -f conftest.er1
11208 cat conftest.err >&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } && {
11211 test -z "$ac_c_werror_flag" ||
11212 test ! -s conftest.err
11213 } && test -s conftest$ac_exeext &&
11214 $as_test_x conftest$ac_exeext; then
11215 ac_cv_lib_audio_AuCreateFlow=yes
11216 else
11217 echo "$as_me: failed program was:" >&5
11218 sed 's/^/| /' conftest.$ac_ext >&5
11220 ac_cv_lib_audio_AuCreateFlow=no
11223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11228 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11229 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11231 cat >>confdefs.h <<\_ACEOF
11232 #define HAVE_NAS 1
11233 _ACEOF
11235 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11236 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11237 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 else
11240 ac_check_lib_save_LIBS=$LIBS
11241 LIBS="-lXau $X_LIBS $LIBS"
11242 cat >conftest.$ac_ext <<_ACEOF
11243 /* confdefs.h. */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11252 #ifdef __cplusplus
11253 extern "C"
11254 #endif
11255 char XauGetBestAuthByAddr ();
11257 main ()
11259 return XauGetBestAuthByAddr ();
11261 return 0;
11263 _ACEOF
11264 rm -f conftest.$ac_objext conftest$ac_exeext
11265 if { (ac_try="$ac_link"
11266 case "(($ac_try" in
11267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11268 *) ac_try_echo=$ac_try;;
11269 esac
11270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11271 (eval "$ac_link") 2>conftest.er1
11272 ac_status=$?
11273 grep -v '^ *+' conftest.er1 >conftest.err
11274 rm -f conftest.er1
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } && {
11278 test -z "$ac_c_werror_flag" ||
11279 test ! -s conftest.err
11280 } && test -s conftest$ac_exeext &&
11281 $as_test_x conftest$ac_exeext; then
11282 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11283 else
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11287 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11291 conftest$ac_exeext conftest.$ac_ext
11292 LIBS=$ac_check_lib_save_LIBS
11294 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11295 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11296 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11297 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11298 else
11299 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11307 done
11310 CPPFLAGS="$ac_save_CPPFLAGS"
11311 XFILES='$(XFILES)'
11312 else
11313 XLIB=""
11314 X_CFLAGS=""
11315 X_LIBS=""
11317 if test "x$XLIB" = "x"; then
11318 case "x$with_x" in
11319 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11320 without X support, which probably isn't what you want. You will need to install
11321 development packages of Xlib/Xfree86 at the very least." ;;
11322 xno) ;;
11323 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11324 without X support, which probably isn't what you want. You will need to install
11325 development packages of Xlib/Xfree86 at the very least.
11326 This is an error since --with-x was requested." >&5
11327 echo "$as_me: error: X development files not found. Wine will be built
11328 without X support, which probably isn't what you want. You will need to install
11329 development packages of Xlib/Xfree86 at the very least.
11330 This is an error since --with-x was requested." >&2;}
11331 { (exit 1); exit 1; }; } ;;
11332 esac
11337 XML2LIBS=""
11339 XML2INCL=""
11341 XSLTLIBS=""
11343 XSLTINCL=""
11345 if test "x$with_xml" != "xno"
11346 then
11347 ac_save_CPPFLAGS="$CPPFLAGS"
11348 if test "$PKG_CONFIG" != "false"
11349 then
11350 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11351 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11352 else
11353 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11354 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11356 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11358 for ac_header in libxml/parser.h
11360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 ac_res=`eval echo '${'$as_ac_Header'}'`
11368 { echo "$as_me:$LINENO: result: $ac_res" >&5
11369 echo "${ECHO_T}$ac_res" >&6; }
11370 else
11371 # Is the header compilable?
11372 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11374 cat >conftest.$ac_ext <<_ACEOF
11375 /* confdefs.h. */
11376 _ACEOF
11377 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380 $ac_includes_default
11381 #include <$ac_header>
11382 _ACEOF
11383 rm -f conftest.$ac_objext
11384 if { (ac_try="$ac_compile"
11385 case "(($ac_try" in
11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11387 *) ac_try_echo=$ac_try;;
11388 esac
11389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11390 (eval "$ac_compile") 2>conftest.er1
11391 ac_status=$?
11392 grep -v '^ *+' conftest.er1 >conftest.err
11393 rm -f conftest.er1
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } && {
11397 test -z "$ac_c_werror_flag" ||
11398 test ! -s conftest.err
11399 } && test -s conftest.$ac_objext; then
11400 ac_header_compiler=yes
11401 else
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 ac_header_compiler=no
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11409 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11410 echo "${ECHO_T}$ac_header_compiler" >&6; }
11412 # Is the header present?
11413 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11415 cat >conftest.$ac_ext <<_ACEOF
11416 /* confdefs.h. */
11417 _ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11421 #include <$ac_header>
11422 _ACEOF
11423 if { (ac_try="$ac_cpp conftest.$ac_ext"
11424 case "(($ac_try" in
11425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11426 *) ac_try_echo=$ac_try;;
11427 esac
11428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11430 ac_status=$?
11431 grep -v '^ *+' conftest.er1 >conftest.err
11432 rm -f conftest.er1
11433 cat conftest.err >&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); } >/dev/null && {
11436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11437 test ! -s conftest.err
11438 }; then
11439 ac_header_preproc=yes
11440 else
11441 echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.$ac_ext >&5
11444 ac_header_preproc=no
11447 rm -f conftest.err conftest.$ac_ext
11448 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11449 echo "${ECHO_T}$ac_header_preproc" >&6; }
11451 # So? What about this header?
11452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11453 yes:no: )
11454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11458 ac_header_preproc=yes
11460 no:yes:* )
11461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11473 ( cat <<\_ASBOX
11474 ## ------------------------------------ ##
11475 ## Report this to wine-devel@winehq.org ##
11476 ## ------------------------------------ ##
11477 _ASBOX
11478 ) | sed "s/^/$as_me: WARNING: /" >&2
11480 esac
11481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11484 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 else
11486 eval "$as_ac_Header=\$ac_header_preproc"
11488 ac_res=`eval echo '${'$as_ac_Header'}'`
11489 { echo "$as_me:$LINENO: result: $ac_res" >&5
11490 echo "${ECHO_T}$ac_res" >&6; }
11493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11494 cat >>confdefs.h <<_ACEOF
11495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11496 _ACEOF
11497 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11498 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11499 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11501 else
11502 ac_check_lib_save_LIBS=$LIBS
11503 LIBS="-lxml2 $ac_xml_libs $LIBS"
11504 cat >conftest.$ac_ext <<_ACEOF
11505 /* confdefs.h. */
11506 _ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11514 #ifdef __cplusplus
11515 extern "C"
11516 #endif
11517 char xmlParseMemory ();
11519 main ()
11521 return xmlParseMemory ();
11523 return 0;
11525 _ACEOF
11526 rm -f conftest.$ac_objext conftest$ac_exeext
11527 if { (ac_try="$ac_link"
11528 case "(($ac_try" in
11529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11531 esac
11532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11533 (eval "$ac_link") 2>conftest.er1
11534 ac_status=$?
11535 grep -v '^ *+' conftest.er1 >conftest.err
11536 rm -f conftest.er1
11537 cat conftest.err >&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } && {
11540 test -z "$ac_c_werror_flag" ||
11541 test ! -s conftest.err
11542 } && test -s conftest$ac_exeext &&
11543 $as_test_x conftest$ac_exeext; then
11544 ac_cv_lib_xml2_xmlParseMemory=yes
11545 else
11546 echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11549 ac_cv_lib_xml2_xmlParseMemory=no
11552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11557 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11558 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11560 cat >>confdefs.h <<\_ACEOF
11561 #define HAVE_LIBXML2 1
11562 _ACEOF
11564 XML2LIBS="$ac_xml_libs"
11565 XML2INCL="$ac_xml_cflags"
11568 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11569 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11570 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11572 else
11573 ac_check_lib_save_LIBS=$LIBS
11574 LIBS="-lxml2 $ac_xml_libs $LIBS"
11575 cat >conftest.$ac_ext <<_ACEOF
11576 /* confdefs.h. */
11577 _ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11585 #ifdef __cplusplus
11586 extern "C"
11587 #endif
11588 char xmlReadMemory ();
11590 main ()
11592 return xmlReadMemory ();
11594 return 0;
11596 _ACEOF
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (ac_try="$ac_link"
11599 case "(($ac_try" in
11600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11601 *) ac_try_echo=$ac_try;;
11602 esac
11603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11604 (eval "$ac_link") 2>conftest.er1
11605 ac_status=$?
11606 grep -v '^ *+' conftest.er1 >conftest.err
11607 rm -f conftest.er1
11608 cat conftest.err >&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } && {
11611 test -z "$ac_c_werror_flag" ||
11612 test ! -s conftest.err
11613 } && test -s conftest$ac_exeext &&
11614 $as_test_x conftest$ac_exeext; then
11615 ac_cv_lib_xml2_xmlReadMemory=yes
11616 else
11617 echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11620 ac_cv_lib_xml2_xmlReadMemory=no
11623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11624 conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_lib_save_LIBS
11627 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11628 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11629 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11631 cat >>confdefs.h <<\_ACEOF
11632 #define HAVE_XMLREADMEMORY 1
11633 _ACEOF
11637 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11638 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11639 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11640 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 else
11642 ac_check_lib_save_LIBS=$LIBS
11643 LIBS="-lxml2 $ac_xml_libs $LIBS"
11644 cat >conftest.$ac_ext <<_ACEOF
11645 /* confdefs.h. */
11646 _ACEOF
11647 cat confdefs.h >>conftest.$ac_ext
11648 cat >>conftest.$ac_ext <<_ACEOF
11649 /* end confdefs.h. */
11651 /* Override any GCC internal prototype to avoid an error.
11652 Use char because int might match the return type of a GCC
11653 builtin and then its argument prototype would still apply. */
11654 #ifdef __cplusplus
11655 extern "C"
11656 #endif
11657 char xmlNewDocPI ();
11659 main ()
11661 return xmlNewDocPI ();
11663 return 0;
11665 _ACEOF
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (ac_try="$ac_link"
11668 case "(($ac_try" in
11669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11671 esac
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_link") 2>conftest.er1
11674 ac_status=$?
11675 grep -v '^ *+' conftest.er1 >conftest.err
11676 rm -f conftest.er1
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } && {
11680 test -z "$ac_c_werror_flag" ||
11681 test ! -s conftest.err
11682 } && test -s conftest$ac_exeext &&
11683 $as_test_x conftest$ac_exeext; then
11684 ac_cv_lib_xml2_xmlNewDocPI=yes
11685 else
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.$ac_ext >&5
11689 ac_cv_lib_xml2_xmlNewDocPI=no
11692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_lib_save_LIBS
11696 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11697 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11698 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11700 cat >>confdefs.h <<\_ACEOF
11701 #define HAVE_XMLNEWDOCPI 1
11702 _ACEOF
11709 done
11711 CPPFLAGS="$ac_save_CPPFLAGS"
11713 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11714 case "x$with_xml" in
11715 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11716 xno) ;;
11717 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11718 This is an error since --with-xml was requested." >&5
11719 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11720 This is an error since --with-xml was requested." >&2;}
11721 { (exit 1); exit 1; }; } ;;
11722 esac
11726 if test "x$with_xslt" != "xno"
11727 then
11728 if test "$PKG_CONFIG" != "false"
11729 then
11730 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11731 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11732 else
11733 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11734 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11736 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11739 for ac_header in libxslt/pattern.h libxslt/transform.h
11741 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11742 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 else
11747 cat >conftest.$ac_ext <<_ACEOF
11748 /* confdefs.h. */
11749 _ACEOF
11750 cat confdefs.h >>conftest.$ac_ext
11751 cat >>conftest.$ac_ext <<_ACEOF
11752 /* end confdefs.h. */
11753 #ifdef HAVE_LIBXSLT_PATTERN_H
11754 # include <libxslt/pattern.h>
11755 #endif
11757 #include <$ac_header>
11758 _ACEOF
11759 rm -f conftest.$ac_objext
11760 if { (ac_try="$ac_compile"
11761 case "(($ac_try" in
11762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11763 *) ac_try_echo=$ac_try;;
11764 esac
11765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11766 (eval "$ac_compile") 2>conftest.er1
11767 ac_status=$?
11768 grep -v '^ *+' conftest.er1 >conftest.err
11769 rm -f conftest.er1
11770 cat conftest.err >&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } && {
11773 test -z "$ac_c_werror_flag" ||
11774 test ! -s conftest.err
11775 } && test -s conftest.$ac_objext; then
11776 eval "$as_ac_Header=yes"
11777 else
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.$ac_ext >&5
11781 eval "$as_ac_Header=no"
11784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11786 ac_res=`eval echo '${'$as_ac_Header'}'`
11787 { echo "$as_me:$LINENO: result: $ac_res" >&5
11788 echo "${ECHO_T}$ac_res" >&6; }
11789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11790 cat >>confdefs.h <<_ACEOF
11791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11792 _ACEOF
11793 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11794 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11795 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 else
11798 ac_check_lib_save_LIBS=$LIBS
11799 LIBS="-lxslt $ac_xslt_libs $LIBS"
11800 cat >conftest.$ac_ext <<_ACEOF
11801 /* confdefs.h. */
11802 _ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 char xsltCompilePattern ();
11815 main ()
11817 return xsltCompilePattern ();
11819 return 0;
11821 _ACEOF
11822 rm -f conftest.$ac_objext conftest$ac_exeext
11823 if { (ac_try="$ac_link"
11824 case "(($ac_try" in
11825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11826 *) ac_try_echo=$ac_try;;
11827 esac
11828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11829 (eval "$ac_link") 2>conftest.er1
11830 ac_status=$?
11831 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1
11833 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && {
11836 test -z "$ac_c_werror_flag" ||
11837 test ! -s conftest.err
11838 } && test -s conftest$ac_exeext &&
11839 $as_test_x conftest$ac_exeext; then
11840 ac_cv_lib_xslt_xsltCompilePattern=yes
11841 else
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.$ac_ext >&5
11845 ac_cv_lib_xslt_xsltCompilePattern=no
11848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_lib_save_LIBS
11852 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11853 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11854 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11856 cat >>confdefs.h <<\_ACEOF
11857 #define HAVE_LIBXSLT 1
11858 _ACEOF
11860 XSLTLIBS="$ac_xslt_libs"
11861 XSLTINCL="$ac_xslt_cflags"
11867 done
11869 CPPFLAGS="$ac_save_CPPFLAGS"
11871 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11872 case "x$with_xslt" in
11873 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11874 xno) ;;
11875 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11876 This is an error since --with-xslt was requested." >&5
11877 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11878 This is an error since --with-xslt was requested." >&2;}
11879 { (exit 1); exit 1; }; } ;;
11880 esac
11884 HALINCL=""
11886 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11887 then
11888 ac_save_CPPFLAGS="$CPPFLAGS"
11889 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11890 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11891 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11894 for ac_header in dbus/dbus.h hal/libhal.h
11896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11898 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 ac_res=`eval echo '${'$as_ac_Header'}'`
11904 { echo "$as_me:$LINENO: result: $ac_res" >&5
11905 echo "${ECHO_T}$ac_res" >&6; }
11906 else
11907 # Is the header compilable?
11908 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11910 cat >conftest.$ac_ext <<_ACEOF
11911 /* confdefs.h. */
11912 _ACEOF
11913 cat confdefs.h >>conftest.$ac_ext
11914 cat >>conftest.$ac_ext <<_ACEOF
11915 /* end confdefs.h. */
11916 $ac_includes_default
11917 #include <$ac_header>
11918 _ACEOF
11919 rm -f conftest.$ac_objext
11920 if { (ac_try="$ac_compile"
11921 case "(($ac_try" in
11922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11923 *) ac_try_echo=$ac_try;;
11924 esac
11925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11926 (eval "$ac_compile") 2>conftest.er1
11927 ac_status=$?
11928 grep -v '^ *+' conftest.er1 >conftest.err
11929 rm -f conftest.er1
11930 cat conftest.err >&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } && {
11933 test -z "$ac_c_werror_flag" ||
11934 test ! -s conftest.err
11935 } && test -s conftest.$ac_objext; then
11936 ac_header_compiler=yes
11937 else
11938 echo "$as_me: failed program was:" >&5
11939 sed 's/^/| /' conftest.$ac_ext >&5
11941 ac_header_compiler=no
11944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11945 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11946 echo "${ECHO_T}$ac_header_compiler" >&6; }
11948 # Is the header present?
11949 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11950 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11951 cat >conftest.$ac_ext <<_ACEOF
11952 /* confdefs.h. */
11953 _ACEOF
11954 cat confdefs.h >>conftest.$ac_ext
11955 cat >>conftest.$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11957 #include <$ac_header>
11958 _ACEOF
11959 if { (ac_try="$ac_cpp conftest.$ac_ext"
11960 case "(($ac_try" in
11961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11962 *) ac_try_echo=$ac_try;;
11963 esac
11964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11966 ac_status=$?
11967 grep -v '^ *+' conftest.er1 >conftest.err
11968 rm -f conftest.er1
11969 cat conftest.err >&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } >/dev/null && {
11972 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11973 test ! -s conftest.err
11974 }; then
11975 ac_header_preproc=yes
11976 else
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.$ac_ext >&5
11980 ac_header_preproc=no
11983 rm -f conftest.err conftest.$ac_ext
11984 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11985 echo "${ECHO_T}$ac_header_preproc" >&6; }
11987 # So? What about this header?
11988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11989 yes:no: )
11990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11994 ac_header_preproc=yes
11996 no:yes:* )
11997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12009 ( cat <<\_ASBOX
12010 ## ------------------------------------ ##
12011 ## Report this to wine-devel@winehq.org ##
12012 ## ------------------------------------ ##
12013 _ASBOX
12014 ) | sed "s/^/$as_me: WARNING: /" >&2
12016 esac
12017 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12020 echo $ECHO_N "(cached) $ECHO_C" >&6
12021 else
12022 eval "$as_ac_Header=\$ac_header_preproc"
12024 ac_res=`eval echo '${'$as_ac_Header'}'`
12025 { echo "$as_me:$LINENO: result: $ac_res" >&5
12026 echo "${ECHO_T}$ac_res" >&6; }
12029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12030 cat >>confdefs.h <<_ACEOF
12031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12032 _ACEOF
12036 done
12038 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12039 then
12040 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12041 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12042 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12044 else
12045 ac_check_lib_save_LIBS=$LIBS
12046 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12047 cat >conftest.$ac_ext <<_ACEOF
12048 /* confdefs.h. */
12049 _ACEOF
12050 cat confdefs.h >>conftest.$ac_ext
12051 cat >>conftest.$ac_ext <<_ACEOF
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12057 #ifdef __cplusplus
12058 extern "C"
12059 #endif
12060 char dbus_connection_close ();
12062 main ()
12064 return dbus_connection_close ();
12066 return 0;
12068 _ACEOF
12069 rm -f conftest.$ac_objext conftest$ac_exeext
12070 if { (ac_try="$ac_link"
12071 case "(($ac_try" in
12072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12073 *) ac_try_echo=$ac_try;;
12074 esac
12075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12076 (eval "$ac_link") 2>conftest.er1
12077 ac_status=$?
12078 grep -v '^ *+' conftest.er1 >conftest.err
12079 rm -f conftest.er1
12080 cat conftest.err >&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } && {
12083 test -z "$ac_c_werror_flag" ||
12084 test ! -s conftest.err
12085 } && test -s conftest$ac_exeext &&
12086 $as_test_x conftest$ac_exeext; then
12087 ac_cv_lib_dbus_1_dbus_connection_close=yes
12088 else
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.$ac_ext >&5
12092 ac_cv_lib_dbus_1_dbus_connection_close=no
12095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12100 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12101 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12102 { echo "$as_me:$LINENO: checking for -lhal" >&5
12103 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12104 if test "${ac_cv_lib_soname_hal+set}" = set; then
12105 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 else
12107 ac_check_soname_save_LIBS=$LIBS
12108 LIBS="-lhal $ac_hal_libs $LIBS"
12109 cat >conftest.$ac_ext <<_ACEOF
12110 /* confdefs.h. */
12111 _ACEOF
12112 cat confdefs.h >>conftest.$ac_ext
12113 cat >>conftest.$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12119 #ifdef __cplusplus
12120 extern "C"
12121 #endif
12122 char libhal_ctx_new ();
12124 main ()
12126 return libhal_ctx_new ();
12128 return 0;
12130 _ACEOF
12131 rm -f conftest.$ac_objext conftest$ac_exeext
12132 if { (ac_try="$ac_link"
12133 case "(($ac_try" in
12134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12135 *) ac_try_echo=$ac_try;;
12136 esac
12137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12138 (eval "$ac_link") 2>conftest.er1
12139 ac_status=$?
12140 grep -v '^ *+' conftest.er1 >conftest.err
12141 rm -f conftest.er1
12142 cat conftest.err >&5
12143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144 (exit $ac_status); } && {
12145 test -z "$ac_c_werror_flag" ||
12146 test ! -s conftest.err
12147 } && test -s conftest$ac_exeext &&
12148 $as_test_x conftest$ac_exeext; then
12149 case "$LIBEXT" in
12150 dll) ;;
12151 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'` ;;
12152 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12153 esac
12154 else
12155 echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.$ac_ext >&5
12161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12162 conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_soname_save_LIBS
12165 if test "x$ac_cv_lib_soname_hal" = "x"; then
12166 { echo "$as_me:$LINENO: result: not found" >&5
12167 echo "${ECHO_T}not found" >&6; }
12169 else
12170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12171 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12173 cat >>confdefs.h <<_ACEOF
12174 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12175 _ACEOF
12177 HALINCL="$ac_hal_cflags"
12183 CPPFLAGS="$ac_save_CPPFLAGS"
12185 if test "x$ac_cv_lib_soname_hal" = "x"; then
12186 case "x$with_hal" in
12187 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12188 xno) ;;
12189 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12190 This is an error since --with-hal was requested." >&5
12191 echo "$as_me: error: libhal development files not found, no dynamic device support.
12192 This is an error since --with-hal was requested." >&2;}
12193 { (exit 1); exit 1; }; } ;;
12194 esac
12198 CURSESLIBS=""
12199 if test "$ac_cv_header_ncurses_h" = "yes"
12200 then
12201 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12202 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12203 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12204 echo $ECHO_N "(cached) $ECHO_C" >&6
12205 else
12206 ac_check_soname_save_LIBS=$LIBS
12207 LIBS="-lncurses $LIBS"
12208 cat >conftest.$ac_ext <<_ACEOF
12209 /* confdefs.h. */
12210 _ACEOF
12211 cat confdefs.h >>conftest.$ac_ext
12212 cat >>conftest.$ac_ext <<_ACEOF
12213 /* end confdefs.h. */
12215 /* Override any GCC internal prototype to avoid an error.
12216 Use char because int might match the return type of a GCC
12217 builtin and then its argument prototype would still apply. */
12218 #ifdef __cplusplus
12219 extern "C"
12220 #endif
12221 char waddch ();
12223 main ()
12225 return waddch ();
12227 return 0;
12229 _ACEOF
12230 rm -f conftest.$ac_objext conftest$ac_exeext
12231 if { (ac_try="$ac_link"
12232 case "(($ac_try" in
12233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12234 *) ac_try_echo=$ac_try;;
12235 esac
12236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12237 (eval "$ac_link") 2>conftest.er1
12238 ac_status=$?
12239 grep -v '^ *+' conftest.er1 >conftest.err
12240 rm -f conftest.er1
12241 cat conftest.err >&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } && {
12244 test -z "$ac_c_werror_flag" ||
12245 test ! -s conftest.err
12246 } && test -s conftest$ac_exeext &&
12247 $as_test_x conftest$ac_exeext; then
12248 case "$LIBEXT" in
12249 dll) ;;
12250 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'` ;;
12251 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12252 esac
12253 else
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12261 conftest$ac_exeext conftest.$ac_ext
12262 LIBS=$ac_check_soname_save_LIBS
12264 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12265 { echo "$as_me:$LINENO: result: not found" >&5
12266 echo "${ECHO_T}not found" >&6; }
12268 else
12269 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12270 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12272 cat >>confdefs.h <<_ACEOF
12273 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12274 _ACEOF
12276 CURSESLIBS="-lncurses"
12279 elif test "$ac_cv_header_curses_h" = "yes"
12280 then
12281 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12282 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12283 if test "${ac_cv_lib_soname_curses+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 else
12286 ac_check_soname_save_LIBS=$LIBS
12287 LIBS="-lcurses $LIBS"
12288 cat >conftest.$ac_ext <<_ACEOF
12289 /* confdefs.h. */
12290 _ACEOF
12291 cat confdefs.h >>conftest.$ac_ext
12292 cat >>conftest.$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char waddch ();
12303 main ()
12305 return waddch ();
12307 return 0;
12309 _ACEOF
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (ac_try="$ac_link"
12312 case "(($ac_try" in
12313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12314 *) ac_try_echo=$ac_try;;
12315 esac
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_link") 2>conftest.er1
12318 ac_status=$?
12319 grep -v '^ *+' conftest.er1 >conftest.err
12320 rm -f conftest.er1
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } && {
12324 test -z "$ac_c_werror_flag" ||
12325 test ! -s conftest.err
12326 } && test -s conftest$ac_exeext &&
12327 $as_test_x conftest$ac_exeext; then
12328 case "$LIBEXT" in
12329 dll) ;;
12330 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'` ;;
12331 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12332 esac
12333 else
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12341 conftest$ac_exeext conftest.$ac_ext
12342 LIBS=$ac_check_soname_save_LIBS
12344 if test "x$ac_cv_lib_soname_curses" = "x"; then
12345 { echo "$as_me:$LINENO: result: not found" >&5
12346 echo "${ECHO_T}not found" >&6; }
12348 else
12349 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12350 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12352 cat >>confdefs.h <<_ACEOF
12353 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12354 _ACEOF
12356 CURSESLIBS="-lcurses"
12360 ac_save_LIBS="$LIBS"
12361 LIBS="$LIBS $CURSESLIBS"
12363 for ac_func in mousemask
12365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12370 else
12371 cat >conftest.$ac_ext <<_ACEOF
12372 /* confdefs.h. */
12373 _ACEOF
12374 cat confdefs.h >>conftest.$ac_ext
12375 cat >>conftest.$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12379 #define $ac_func innocuous_$ac_func
12381 /* System header to define __stub macros and hopefully few prototypes,
12382 which can conflict with char $ac_func (); below.
12383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12384 <limits.h> exists even on freestanding compilers. */
12386 #ifdef __STDC__
12387 # include <limits.h>
12388 #else
12389 # include <assert.h>
12390 #endif
12392 #undef $ac_func
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12397 #ifdef __cplusplus
12398 extern "C"
12399 #endif
12400 char $ac_func ();
12401 /* The GNU C library defines this for functions which it implements
12402 to always fail with ENOSYS. Some functions are actually named
12403 something starting with __ and the normal name is an alias. */
12404 #if defined __stub_$ac_func || defined __stub___$ac_func
12405 choke me
12406 #endif
12409 main ()
12411 return $ac_func ();
12413 return 0;
12415 _ACEOF
12416 rm -f conftest.$ac_objext conftest$ac_exeext
12417 if { (ac_try="$ac_link"
12418 case "(($ac_try" in
12419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12420 *) ac_try_echo=$ac_try;;
12421 esac
12422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12423 (eval "$ac_link") 2>conftest.er1
12424 ac_status=$?
12425 grep -v '^ *+' conftest.er1 >conftest.err
12426 rm -f conftest.er1
12427 cat conftest.err >&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } && {
12430 test -z "$ac_c_werror_flag" ||
12431 test ! -s conftest.err
12432 } && test -s conftest$ac_exeext &&
12433 $as_test_x conftest$ac_exeext; then
12434 eval "$as_ac_var=yes"
12435 else
12436 echo "$as_me: failed program was:" >&5
12437 sed 's/^/| /' conftest.$ac_ext >&5
12439 eval "$as_ac_var=no"
12442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12443 conftest$ac_exeext conftest.$ac_ext
12445 ac_res=`eval echo '${'$as_ac_var'}'`
12446 { echo "$as_me:$LINENO: result: $ac_res" >&5
12447 echo "${ECHO_T}$ac_res" >&6; }
12448 if test `eval echo '${'$as_ac_var'}'` = yes; then
12449 cat >>confdefs.h <<_ACEOF
12450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12451 _ACEOF
12454 done
12456 LIBS="$ac_save_LIBS"
12457 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12458 case "x$with_curses" in
12459 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12460 xno) ;;
12461 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12462 This is an error since --with-curses was requested." >&5
12463 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12464 This is an error since --with-curses was requested." >&2;}
12465 { (exit 1); exit 1; }; } ;;
12466 esac
12470 # Extract the first word of "sane-config", so it can be a program name with args.
12471 set dummy sane-config; ac_word=$2
12472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12474 if test "${ac_cv_prog_sane_devel+set}" = set; then
12475 echo $ECHO_N "(cached) $ECHO_C" >&6
12476 else
12477 if test -n "$sane_devel"; then
12478 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12479 else
12480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12481 for as_dir in $PATH
12483 IFS=$as_save_IFS
12484 test -z "$as_dir" && as_dir=.
12485 for ac_exec_ext in '' $ac_executable_extensions; do
12486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12487 ac_cv_prog_sane_devel="sane-config"
12488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12489 break 2
12491 done
12492 done
12493 IFS=$as_save_IFS
12495 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12498 sane_devel=$ac_cv_prog_sane_devel
12499 if test -n "$sane_devel"; then
12500 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12501 echo "${ECHO_T}$sane_devel" >&6; }
12502 else
12503 { echo "$as_me:$LINENO: result: no" >&5
12504 echo "${ECHO_T}no" >&6; }
12508 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12509 then
12510 ac_sane_incl="`$sane_devel --cflags`"
12511 ac_save_CPPFLAGS="$CPPFLAGS"
12512 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12513 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12514 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12515 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12516 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12520 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12521 else
12522 # Is the header compilable?
12523 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12524 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12525 cat >conftest.$ac_ext <<_ACEOF
12526 /* confdefs.h. */
12527 _ACEOF
12528 cat confdefs.h >>conftest.$ac_ext
12529 cat >>conftest.$ac_ext <<_ACEOF
12530 /* end confdefs.h. */
12531 $ac_includes_default
12532 #include <sane/sane.h>
12533 _ACEOF
12534 rm -f conftest.$ac_objext
12535 if { (ac_try="$ac_compile"
12536 case "(($ac_try" in
12537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12538 *) ac_try_echo=$ac_try;;
12539 esac
12540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12541 (eval "$ac_compile") 2>conftest.er1
12542 ac_status=$?
12543 grep -v '^ *+' conftest.er1 >conftest.err
12544 rm -f conftest.er1
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } && {
12548 test -z "$ac_c_werror_flag" ||
12549 test ! -s conftest.err
12550 } && test -s conftest.$ac_objext; then
12551 ac_header_compiler=yes
12552 else
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.$ac_ext >&5
12556 ac_header_compiler=no
12559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12560 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12561 echo "${ECHO_T}$ac_header_compiler" >&6; }
12563 # Is the header present?
12564 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12565 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12566 cat >conftest.$ac_ext <<_ACEOF
12567 /* confdefs.h. */
12568 _ACEOF
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 #include <sane/sane.h>
12573 _ACEOF
12574 if { (ac_try="$ac_cpp conftest.$ac_ext"
12575 case "(($ac_try" in
12576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12577 *) ac_try_echo=$ac_try;;
12578 esac
12579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12581 ac_status=$?
12582 grep -v '^ *+' conftest.er1 >conftest.err
12583 rm -f conftest.er1
12584 cat conftest.err >&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); } >/dev/null && {
12587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12588 test ! -s conftest.err
12589 }; then
12590 ac_header_preproc=yes
12591 else
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.$ac_ext >&5
12595 ac_header_preproc=no
12598 rm -f conftest.err conftest.$ac_ext
12599 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12600 echo "${ECHO_T}$ac_header_preproc" >&6; }
12602 # So? What about this header?
12603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12604 yes:no: )
12605 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12606 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12608 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12609 ac_header_preproc=yes
12611 no:yes:* )
12612 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12613 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12614 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12615 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12616 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12617 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12619 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12620 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12621 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12623 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12624 ( cat <<\_ASBOX
12625 ## ------------------------------------ ##
12626 ## Report this to wine-devel@winehq.org ##
12627 ## ------------------------------------ ##
12628 _ASBOX
12629 ) | sed "s/^/$as_me: WARNING: /" >&2
12631 esac
12632 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12633 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12634 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 else
12637 ac_cv_header_sane_sane_h=$ac_header_preproc
12639 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12640 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12643 if test $ac_cv_header_sane_sane_h = yes; then
12644 { echo "$as_me:$LINENO: checking for -lsane" >&5
12645 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12646 if test "${ac_cv_lib_soname_sane+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 else
12649 ac_check_soname_save_LIBS=$LIBS
12650 LIBS="-lsane $LIBS"
12651 cat >conftest.$ac_ext <<_ACEOF
12652 /* confdefs.h. */
12653 _ACEOF
12654 cat confdefs.h >>conftest.$ac_ext
12655 cat >>conftest.$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 #ifdef __cplusplus
12662 extern "C"
12663 #endif
12664 char sane_init ();
12666 main ()
12668 return sane_init ();
12670 return 0;
12672 _ACEOF
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (ac_try="$ac_link"
12675 case "(($ac_try" in
12676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12678 esac
12679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12680 (eval "$ac_link") 2>conftest.er1
12681 ac_status=$?
12682 grep -v '^ *+' conftest.er1 >conftest.err
12683 rm -f conftest.er1
12684 cat conftest.err >&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); } && {
12687 test -z "$ac_c_werror_flag" ||
12688 test ! -s conftest.err
12689 } && test -s conftest$ac_exeext &&
12690 $as_test_x conftest$ac_exeext; then
12691 case "$LIBEXT" in
12692 dll) ;;
12693 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'` ;;
12694 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12695 esac
12696 else
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12704 conftest$ac_exeext conftest.$ac_ext
12705 LIBS=$ac_check_soname_save_LIBS
12707 if test "x$ac_cv_lib_soname_sane" = "x"; then
12708 { echo "$as_me:$LINENO: result: not found" >&5
12709 echo "${ECHO_T}not found" >&6; }
12711 else
12712 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12713 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12715 cat >>confdefs.h <<_ACEOF
12716 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12717 _ACEOF
12719 SANEINCL="$ac_sane_incl"
12726 CPPFLAGS="$ac_save_CPPFLAGS"
12728 if test "x$ac_cv_lib_soname_sane" = "x"; then
12729 case "x$with_sane" in
12730 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12731 xno) ;;
12732 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12733 This is an error since --with-sane was requested." >&5
12734 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12735 This is an error since --with-sane was requested." >&2;}
12736 { (exit 1); exit 1; }; } ;;
12737 esac
12741 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12742 set dummy gphoto2-config; ac_word=$2
12743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12745 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12746 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 else
12748 if test -n "$gphoto2_devel"; then
12749 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12750 else
12751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12752 for as_dir in $PATH
12754 IFS=$as_save_IFS
12755 test -z "$as_dir" && as_dir=.
12756 for ac_exec_ext in '' $ac_executable_extensions; do
12757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12758 ac_cv_prog_gphoto2_devel="gphoto2-config"
12759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12760 break 2
12762 done
12763 done
12764 IFS=$as_save_IFS
12766 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12769 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12770 if test -n "$gphoto2_devel"; then
12771 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12772 echo "${ECHO_T}$gphoto2_devel" >&6; }
12773 else
12774 { echo "$as_me:$LINENO: result: no" >&5
12775 echo "${ECHO_T}no" >&6; }
12779 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12780 set dummy gphoto2-port-config; ac_word=$2
12781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12783 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 else
12786 if test -n "$gphoto2port_devel"; then
12787 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12788 else
12789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12790 for as_dir in $PATH
12792 IFS=$as_save_IFS
12793 test -z "$as_dir" && as_dir=.
12794 for ac_exec_ext in '' $ac_executable_extensions; do
12795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12796 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12798 break 2
12800 done
12801 done
12802 IFS=$as_save_IFS
12804 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12807 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12808 if test -n "$gphoto2port_devel"; then
12809 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12810 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12811 else
12812 { echo "$as_me:$LINENO: result: no" >&5
12813 echo "${ECHO_T}no" >&6; }
12817 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12818 then
12819 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12820 ac_gphoto2_libs=""
12821 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12823 case "$i" in
12824 -L/usr/lib|-L/usr/lib64) ;;
12825 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12826 esac
12827 done
12828 ac_save_CPPFLAGS="$CPPFLAGS"
12829 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12830 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12831 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12832 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12833 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12836 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12837 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12838 else
12839 # Is the header compilable?
12840 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12841 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12842 cat >conftest.$ac_ext <<_ACEOF
12843 /* confdefs.h. */
12844 _ACEOF
12845 cat confdefs.h >>conftest.$ac_ext
12846 cat >>conftest.$ac_ext <<_ACEOF
12847 /* end confdefs.h. */
12848 $ac_includes_default
12849 #include <gphoto2-camera.h>
12850 _ACEOF
12851 rm -f conftest.$ac_objext
12852 if { (ac_try="$ac_compile"
12853 case "(($ac_try" in
12854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12855 *) ac_try_echo=$ac_try;;
12856 esac
12857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12858 (eval "$ac_compile") 2>conftest.er1
12859 ac_status=$?
12860 grep -v '^ *+' conftest.er1 >conftest.err
12861 rm -f conftest.er1
12862 cat conftest.err >&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } && {
12865 test -z "$ac_c_werror_flag" ||
12866 test ! -s conftest.err
12867 } && test -s conftest.$ac_objext; then
12868 ac_header_compiler=yes
12869 else
12870 echo "$as_me: failed program was:" >&5
12871 sed 's/^/| /' conftest.$ac_ext >&5
12873 ac_header_compiler=no
12876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12877 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12878 echo "${ECHO_T}$ac_header_compiler" >&6; }
12880 # Is the header present?
12881 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12882 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12883 cat >conftest.$ac_ext <<_ACEOF
12884 /* confdefs.h. */
12885 _ACEOF
12886 cat confdefs.h >>conftest.$ac_ext
12887 cat >>conftest.$ac_ext <<_ACEOF
12888 /* end confdefs.h. */
12889 #include <gphoto2-camera.h>
12890 _ACEOF
12891 if { (ac_try="$ac_cpp conftest.$ac_ext"
12892 case "(($ac_try" in
12893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12895 esac
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } >/dev/null && {
12904 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12905 test ! -s conftest.err
12906 }; then
12907 ac_header_preproc=yes
12908 else
12909 echo "$as_me: failed program was:" >&5
12910 sed 's/^/| /' conftest.$ac_ext >&5
12912 ac_header_preproc=no
12915 rm -f conftest.err conftest.$ac_ext
12916 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12917 echo "${ECHO_T}$ac_header_preproc" >&6; }
12919 # So? What about this header?
12920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12921 yes:no: )
12922 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12923 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12924 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12925 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12926 ac_header_preproc=yes
12928 no:yes:* )
12929 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12930 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12931 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12932 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12933 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12934 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12935 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12936 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12937 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12938 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12939 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12940 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12941 ( cat <<\_ASBOX
12942 ## ------------------------------------ ##
12943 ## Report this to wine-devel@winehq.org ##
12944 ## ------------------------------------ ##
12945 _ASBOX
12946 ) | sed "s/^/$as_me: WARNING: /" >&2
12948 esac
12949 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12950 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12951 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 else
12954 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12956 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12957 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12960 if test $ac_cv_header_gphoto2_camera_h = yes; then
12961 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12962 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12963 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12965 else
12966 ac_check_lib_save_LIBS=$LIBS
12967 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12968 cat >conftest.$ac_ext <<_ACEOF
12969 /* confdefs.h. */
12970 _ACEOF
12971 cat confdefs.h >>conftest.$ac_ext
12972 cat >>conftest.$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12975 /* Override any GCC internal prototype to avoid an error.
12976 Use char because int might match the return type of a GCC
12977 builtin and then its argument prototype would still apply. */
12978 #ifdef __cplusplus
12979 extern "C"
12980 #endif
12981 char gp_camera_new ();
12983 main ()
12985 return gp_camera_new ();
12987 return 0;
12989 _ACEOF
12990 rm -f conftest.$ac_objext conftest$ac_exeext
12991 if { (ac_try="$ac_link"
12992 case "(($ac_try" in
12993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12994 *) ac_try_echo=$ac_try;;
12995 esac
12996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12997 (eval "$ac_link") 2>conftest.er1
12998 ac_status=$?
12999 grep -v '^ *+' conftest.er1 >conftest.err
13000 rm -f conftest.er1
13001 cat conftest.err >&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } && {
13004 test -z "$ac_c_werror_flag" ||
13005 test ! -s conftest.err
13006 } && test -s conftest$ac_exeext &&
13007 $as_test_x conftest$ac_exeext; then
13008 ac_cv_lib_gphoto2_gp_camera_new=yes
13009 else
13010 echo "$as_me: failed program was:" >&5
13011 sed 's/^/| /' conftest.$ac_ext >&5
13013 ac_cv_lib_gphoto2_gp_camera_new=no
13016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13017 conftest$ac_exeext conftest.$ac_ext
13018 LIBS=$ac_check_lib_save_LIBS
13020 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13021 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13022 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13024 cat >>confdefs.h <<\_ACEOF
13025 #define HAVE_GPHOTO2 1
13026 _ACEOF
13028 GPHOTO2LIBS="$ac_gphoto2_libs"
13030 GPHOTO2INCL="$ac_gphoto2_incl"
13037 CPPFLAGS="$ac_save_CPPFLAGS"
13039 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13040 case "x$with_gphoto" in
13041 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13042 xno) ;;
13043 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13044 This is an error since --with-gphoto was requested." >&5
13045 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13046 This is an error since --with-gphoto was requested." >&2;}
13047 { (exit 1); exit 1; }; } ;;
13048 esac
13053 RESOLVLIBS=""
13055 if test "$ac_cv_header_resolv_h" = "yes"
13056 then
13057 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13058 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13059 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13060 echo $ECHO_N "(cached) $ECHO_C" >&6
13061 else
13062 ac_check_lib_save_LIBS=$LIBS
13063 LIBS="-lresolv $LIBS"
13064 cat >conftest.$ac_ext <<_ACEOF
13065 /* confdefs.h. */
13066 _ACEOF
13067 cat confdefs.h >>conftest.$ac_ext
13068 cat >>conftest.$ac_ext <<_ACEOF
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 #ifdef __cplusplus
13075 extern "C"
13076 #endif
13077 char res_query ();
13079 main ()
13081 return res_query ();
13083 return 0;
13085 _ACEOF
13086 rm -f conftest.$ac_objext conftest$ac_exeext
13087 if { (ac_try="$ac_link"
13088 case "(($ac_try" in
13089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13090 *) ac_try_echo=$ac_try;;
13091 esac
13092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13093 (eval "$ac_link") 2>conftest.er1
13094 ac_status=$?
13095 grep -v '^ *+' conftest.er1 >conftest.err
13096 rm -f conftest.er1
13097 cat conftest.err >&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } && {
13100 test -z "$ac_c_werror_flag" ||
13101 test ! -s conftest.err
13102 } && test -s conftest$ac_exeext &&
13103 $as_test_x conftest$ac_exeext; then
13104 ac_cv_lib_resolv_res_query=yes
13105 else
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.$ac_ext >&5
13109 ac_cv_lib_resolv_res_query=no
13112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_lib_save_LIBS
13116 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13117 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13118 if test $ac_cv_lib_resolv_res_query = yes; then
13120 cat >>confdefs.h <<\_ACEOF
13121 #define HAVE_RESOLV 1
13122 _ACEOF
13124 RESOLVLIBS="-lresolv"
13129 LCMSLIBS=""
13131 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13132 then
13133 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13134 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13135 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13137 else
13138 ac_check_lib_save_LIBS=$LIBS
13139 LIBS="-llcms $LIBS"
13140 cat >conftest.$ac_ext <<_ACEOF
13141 /* confdefs.h. */
13142 _ACEOF
13143 cat confdefs.h >>conftest.$ac_ext
13144 cat >>conftest.$ac_ext <<_ACEOF
13145 /* end confdefs.h. */
13147 /* Override any GCC internal prototype to avoid an error.
13148 Use char because int might match the return type of a GCC
13149 builtin and then its argument prototype would still apply. */
13150 #ifdef __cplusplus
13151 extern "C"
13152 #endif
13153 char cmsOpenProfileFromFile ();
13155 main ()
13157 return cmsOpenProfileFromFile ();
13159 return 0;
13161 _ACEOF
13162 rm -f conftest.$ac_objext conftest$ac_exeext
13163 if { (ac_try="$ac_link"
13164 case "(($ac_try" in
13165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13166 *) ac_try_echo=$ac_try;;
13167 esac
13168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13169 (eval "$ac_link") 2>conftest.er1
13170 ac_status=$?
13171 grep -v '^ *+' conftest.er1 >conftest.err
13172 rm -f conftest.er1
13173 cat conftest.err >&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } && {
13176 test -z "$ac_c_werror_flag" ||
13177 test ! -s conftest.err
13178 } && test -s conftest$ac_exeext &&
13179 $as_test_x conftest$ac_exeext; then
13180 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13181 else
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.$ac_ext >&5
13185 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13193 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13194 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13196 cat >>confdefs.h <<\_ACEOF
13197 #define HAVE_LCMS 1
13198 _ACEOF
13200 LCMSLIBS="-llcms"
13204 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13205 case "x$with_cms" in
13206 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13207 xno) ;;
13208 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13209 This is an error since --with-cms was requested." >&5
13210 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13211 This is an error since --with-cms was requested." >&2;}
13212 { (exit 1); exit 1; }; } ;;
13213 esac
13217 LDAPLIBS=""
13219 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13220 then
13221 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13222 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13223 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 else
13226 ac_check_lib_save_LIBS=$LIBS
13227 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13228 cat >conftest.$ac_ext <<_ACEOF
13229 /* confdefs.h. */
13230 _ACEOF
13231 cat confdefs.h >>conftest.$ac_ext
13232 cat >>conftest.$ac_ext <<_ACEOF
13233 /* end confdefs.h. */
13235 /* Override any GCC internal prototype to avoid an error.
13236 Use char because int might match the return type of a GCC
13237 builtin and then its argument prototype would still apply. */
13238 #ifdef __cplusplus
13239 extern "C"
13240 #endif
13241 char ldap_initialize ();
13243 main ()
13245 return ldap_initialize ();
13247 return 0;
13249 _ACEOF
13250 rm -f conftest.$ac_objext conftest$ac_exeext
13251 if { (ac_try="$ac_link"
13252 case "(($ac_try" in
13253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13254 *) ac_try_echo=$ac_try;;
13255 esac
13256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13257 (eval "$ac_link") 2>conftest.er1
13258 ac_status=$?
13259 grep -v '^ *+' conftest.er1 >conftest.err
13260 rm -f conftest.er1
13261 cat conftest.err >&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } && {
13264 test -z "$ac_c_werror_flag" ||
13265 test ! -s conftest.err
13266 } && test -s conftest$ac_exeext &&
13267 $as_test_x conftest$ac_exeext; then
13268 ac_cv_lib_ldap_r_ldap_initialize=yes
13269 else
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.$ac_ext >&5
13273 ac_cv_lib_ldap_r_ldap_initialize=no
13276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13277 conftest$ac_exeext conftest.$ac_ext
13278 LIBS=$ac_check_lib_save_LIBS
13280 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13281 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13282 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13283 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13284 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13285 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13286 echo $ECHO_N "(cached) $ECHO_C" >&6
13287 else
13288 ac_check_lib_save_LIBS=$LIBS
13289 LIBS="-llber $LIBPTHREAD $LIBS"
13290 cat >conftest.$ac_ext <<_ACEOF
13291 /* confdefs.h. */
13292 _ACEOF
13293 cat confdefs.h >>conftest.$ac_ext
13294 cat >>conftest.$ac_ext <<_ACEOF
13295 /* end confdefs.h. */
13297 /* Override any GCC internal prototype to avoid an error.
13298 Use char because int might match the return type of a GCC
13299 builtin and then its argument prototype would still apply. */
13300 #ifdef __cplusplus
13301 extern "C"
13302 #endif
13303 char ber_init ();
13305 main ()
13307 return ber_init ();
13309 return 0;
13311 _ACEOF
13312 rm -f conftest.$ac_objext conftest$ac_exeext
13313 if { (ac_try="$ac_link"
13314 case "(($ac_try" in
13315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13317 esac
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_link") 2>conftest.er1
13320 ac_status=$?
13321 grep -v '^ *+' conftest.er1 >conftest.err
13322 rm -f conftest.er1
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } && {
13326 test -z "$ac_c_werror_flag" ||
13327 test ! -s conftest.err
13328 } && test -s conftest$ac_exeext &&
13329 $as_test_x conftest$ac_exeext; then
13330 ac_cv_lib_lber_ber_init=yes
13331 else
13332 echo "$as_me: failed program was:" >&5
13333 sed 's/^/| /' conftest.$ac_ext >&5
13335 ac_cv_lib_lber_ber_init=no
13338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13339 conftest$ac_exeext conftest.$ac_ext
13340 LIBS=$ac_check_lib_save_LIBS
13342 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13343 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13344 if test $ac_cv_lib_lber_ber_init = yes; then
13346 cat >>confdefs.h <<\_ACEOF
13347 #define HAVE_LDAP 1
13348 _ACEOF
13350 LDAPLIBS="-lldap_r -llber"
13355 ac_wine_check_funcs_save_LIBS="$LIBS"
13356 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13365 for ac_func in \
13366 ldap_count_references \
13367 ldap_first_reference \
13368 ldap_next_reference \
13369 ldap_parse_reference \
13370 ldap_parse_sort_control \
13371 ldap_parse_sortresponse_control \
13372 ldap_parse_vlv_control \
13373 ldap_parse_vlvresponse_control
13375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13379 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 else
13381 cat >conftest.$ac_ext <<_ACEOF
13382 /* confdefs.h. */
13383 _ACEOF
13384 cat confdefs.h >>conftest.$ac_ext
13385 cat >>conftest.$ac_ext <<_ACEOF
13386 /* end confdefs.h. */
13387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13389 #define $ac_func innocuous_$ac_func
13391 /* System header to define __stub macros and hopefully few prototypes,
13392 which can conflict with char $ac_func (); below.
13393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13394 <limits.h> exists even on freestanding compilers. */
13396 #ifdef __STDC__
13397 # include <limits.h>
13398 #else
13399 # include <assert.h>
13400 #endif
13402 #undef $ac_func
13404 /* Override any GCC internal prototype to avoid an error.
13405 Use char because int might match the return type of a GCC
13406 builtin and then its argument prototype would still apply. */
13407 #ifdef __cplusplus
13408 extern "C"
13409 #endif
13410 char $ac_func ();
13411 /* The GNU C library defines this for functions which it implements
13412 to always fail with ENOSYS. Some functions are actually named
13413 something starting with __ and the normal name is an alias. */
13414 #if defined __stub_$ac_func || defined __stub___$ac_func
13415 choke me
13416 #endif
13419 main ()
13421 return $ac_func ();
13423 return 0;
13425 _ACEOF
13426 rm -f conftest.$ac_objext conftest$ac_exeext
13427 if { (ac_try="$ac_link"
13428 case "(($ac_try" in
13429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13430 *) ac_try_echo=$ac_try;;
13431 esac
13432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13433 (eval "$ac_link") 2>conftest.er1
13434 ac_status=$?
13435 grep -v '^ *+' conftest.er1 >conftest.err
13436 rm -f conftest.er1
13437 cat conftest.err >&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } && {
13440 test -z "$ac_c_werror_flag" ||
13441 test ! -s conftest.err
13442 } && test -s conftest$ac_exeext &&
13443 $as_test_x conftest$ac_exeext; then
13444 eval "$as_ac_var=yes"
13445 else
13446 echo "$as_me: failed program was:" >&5
13447 sed 's/^/| /' conftest.$ac_ext >&5
13449 eval "$as_ac_var=no"
13452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13453 conftest$ac_exeext conftest.$ac_ext
13455 ac_res=`eval echo '${'$as_ac_var'}'`
13456 { echo "$as_me:$LINENO: result: $ac_res" >&5
13457 echo "${ECHO_T}$ac_res" >&6; }
13458 if test `eval echo '${'$as_ac_var'}'` = yes; then
13459 cat >>confdefs.h <<_ACEOF
13460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13461 _ACEOF
13464 done
13466 LIBS="$ac_wine_check_funcs_save_LIBS"
13468 if test "x$LDAPLIBS" = "x"; then
13469 case "x$with_ldap" in
13470 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13471 xno) ;;
13472 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13473 This is an error since --with-ldap was requested." >&5
13474 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13475 This is an error since --with-ldap was requested." >&2;}
13476 { (exit 1); exit 1; }; } ;;
13477 esac
13481 for ac_prog in freetype-config freetype2-config
13483 # Extract the first word of "$ac_prog", so it can be a program name with args.
13484 set dummy $ac_prog; ac_word=$2
13485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13487 if test "${ac_cv_prog_ft_devel+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 else
13490 if test -n "$ft_devel"; then
13491 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13492 else
13493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13494 for as_dir in $PATH
13496 IFS=$as_save_IFS
13497 test -z "$as_dir" && as_dir=.
13498 for ac_exec_ext in '' $ac_executable_extensions; do
13499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13500 ac_cv_prog_ft_devel="$ac_prog"
13501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13502 break 2
13504 done
13505 done
13506 IFS=$as_save_IFS
13510 ft_devel=$ac_cv_prog_ft_devel
13511 if test -n "$ft_devel"; then
13512 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13513 echo "${ECHO_T}$ft_devel" >&6; }
13514 else
13515 { echo "$as_me:$LINENO: result: no" >&5
13516 echo "${ECHO_T}no" >&6; }
13520 test -n "$ft_devel" && break
13521 done
13522 test -n "$ft_devel" || ft_devel="false"
13524 if test "$ft_devel" != "false"
13525 then
13526 ac_freetype_libs=`$ft_devel --libs`
13527 ac_freetype_incl=`$ft_devel --cflags`
13528 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13529 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13530 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13531 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 else
13533 ac_check_soname_save_LIBS=$LIBS
13534 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13535 cat >conftest.$ac_ext <<_ACEOF
13536 /* confdefs.h. */
13537 _ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13542 /* Override any GCC internal prototype to avoid an error.
13543 Use char because int might match the return type of a GCC
13544 builtin and then its argument prototype would still apply. */
13545 #ifdef __cplusplus
13546 extern "C"
13547 #endif
13548 char FT_Init_FreeType ();
13550 main ()
13552 return FT_Init_FreeType ();
13554 return 0;
13556 _ACEOF
13557 rm -f conftest.$ac_objext conftest$ac_exeext
13558 if { (ac_try="$ac_link"
13559 case "(($ac_try" in
13560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13561 *) ac_try_echo=$ac_try;;
13562 esac
13563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13564 (eval "$ac_link") 2>conftest.er1
13565 ac_status=$?
13566 grep -v '^ *+' conftest.er1 >conftest.err
13567 rm -f conftest.er1
13568 cat conftest.err >&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); } && {
13571 test -z "$ac_c_werror_flag" ||
13572 test ! -s conftest.err
13573 } && test -s conftest$ac_exeext &&
13574 $as_test_x conftest$ac_exeext; then
13575 case "$LIBEXT" in
13576 dll) ;;
13577 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'` ;;
13578 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13579 esac
13580 else
13581 echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.$ac_ext >&5
13587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13588 conftest$ac_exeext conftest.$ac_ext
13589 LIBS=$ac_check_soname_save_LIBS
13591 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13592 { echo "$as_me:$LINENO: result: not found" >&5
13593 echo "${ECHO_T}not found" >&6; }
13594 ft_lib=no
13595 else
13596 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13597 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13599 cat >>confdefs.h <<_ACEOF
13600 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13601 _ACEOF
13603 ft_lib=yes
13606 if test "$ft_lib" = "yes"
13607 then
13608 ac_save_CPPFLAGS="$CPPFLAGS"
13609 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13622 for ac_header in ft2build.h \
13623 freetype/freetype.h \
13624 freetype/ftglyph.h \
13625 freetype/fttypes.h \
13626 freetype/tttables.h \
13627 freetype/ftnames.h \
13628 freetype/ftsnames.h \
13629 freetype/ttnameid.h \
13630 freetype/ftoutln.h \
13631 freetype/ftwinfnt.h \
13632 freetype/ftmodapi.h \
13633 freetype/internal/sfnt.h
13635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13639 echo $ECHO_N "(cached) $ECHO_C" >&6
13640 else
13641 cat >conftest.$ac_ext <<_ACEOF
13642 /* confdefs.h. */
13643 _ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 #ifdef HAVE_FT2BUILD_H
13648 # include <ft2build.h>
13649 #endif
13651 #include <$ac_header>
13652 _ACEOF
13653 rm -f conftest.$ac_objext
13654 if { (ac_try="$ac_compile"
13655 case "(($ac_try" in
13656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13657 *) ac_try_echo=$ac_try;;
13658 esac
13659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13660 (eval "$ac_compile") 2>conftest.er1
13661 ac_status=$?
13662 grep -v '^ *+' conftest.er1 >conftest.err
13663 rm -f conftest.er1
13664 cat conftest.err >&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } && {
13667 test -z "$ac_c_werror_flag" ||
13668 test ! -s conftest.err
13669 } && test -s conftest.$ac_objext; then
13670 eval "$as_ac_Header=yes"
13671 else
13672 echo "$as_me: failed program was:" >&5
13673 sed 's/^/| /' conftest.$ac_ext >&5
13675 eval "$as_ac_Header=no"
13678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13680 ac_res=`eval echo '${'$as_ac_Header'}'`
13681 { echo "$as_me:$LINENO: result: $ac_res" >&5
13682 echo "${ECHO_T}$ac_res" >&6; }
13683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13684 cat >>confdefs.h <<_ACEOF
13685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13686 _ACEOF
13690 done
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #include <ft2build.h>
13699 #include <freetype/fttrigon.h>
13700 _ACEOF
13701 if { (ac_try="$ac_cpp conftest.$ac_ext"
13702 case "(($ac_try" in
13703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13704 *) ac_try_echo=$ac_try;;
13705 esac
13706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13708 ac_status=$?
13709 grep -v '^ *+' conftest.er1 >conftest.err
13710 rm -f conftest.er1
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } >/dev/null && {
13714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13715 test ! -s conftest.err
13716 }; then
13718 cat >>confdefs.h <<\_ACEOF
13719 #define HAVE_FREETYPE_FTTRIGON_H 1
13720 _ACEOF
13722 wine_cv_fttrigon=yes
13723 else
13724 echo "$as_me: failed program was:" >&5
13725 sed 's/^/| /' conftest.$ac_ext >&5
13727 wine_cv_fttrigon=no
13730 rm -f conftest.err conftest.$ac_ext
13731 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13732 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13733 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13734 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 else
13736 cat >conftest.$ac_ext <<_ACEOF
13737 /* confdefs.h. */
13738 _ACEOF
13739 cat confdefs.h >>conftest.$ac_ext
13740 cat >>conftest.$ac_ext <<_ACEOF
13741 /* end confdefs.h. */
13742 #include <freetype/ftmodapi.h>
13744 typedef FT_TrueTypeEngineType ac__type_new_;
13746 main ()
13748 if ((ac__type_new_ *) 0)
13749 return 0;
13750 if (sizeof (ac__type_new_))
13751 return 0;
13753 return 0;
13755 _ACEOF
13756 rm -f conftest.$ac_objext
13757 if { (ac_try="$ac_compile"
13758 case "(($ac_try" in
13759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13760 *) ac_try_echo=$ac_try;;
13761 esac
13762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13763 (eval "$ac_compile") 2>conftest.er1
13764 ac_status=$?
13765 grep -v '^ *+' conftest.er1 >conftest.err
13766 rm -f conftest.er1
13767 cat conftest.err >&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } && {
13770 test -z "$ac_c_werror_flag" ||
13771 test ! -s conftest.err
13772 } && test -s conftest.$ac_objext; then
13773 ac_cv_type_FT_TrueTypeEngineType=yes
13774 else
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13778 ac_cv_type_FT_TrueTypeEngineType=no
13781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13783 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13784 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13785 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13787 cat >>confdefs.h <<_ACEOF
13788 #define HAVE_FT_TRUETYPEENGINETYPE 1
13789 _ACEOF
13794 ac_save_CFLAGS="$CFLAGS"
13795 CFLAGS="$CFLAGS $ac_freetype_libs"
13797 for ac_func in FT_Load_Sfnt_Table
13799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 else
13805 cat >conftest.$ac_ext <<_ACEOF
13806 /* confdefs.h. */
13807 _ACEOF
13808 cat confdefs.h >>conftest.$ac_ext
13809 cat >>conftest.$ac_ext <<_ACEOF
13810 /* end confdefs.h. */
13811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13813 #define $ac_func innocuous_$ac_func
13815 /* System header to define __stub macros and hopefully few prototypes,
13816 which can conflict with char $ac_func (); below.
13817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13818 <limits.h> exists even on freestanding compilers. */
13820 #ifdef __STDC__
13821 # include <limits.h>
13822 #else
13823 # include <assert.h>
13824 #endif
13826 #undef $ac_func
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char $ac_func ();
13835 /* The GNU C library defines this for functions which it implements
13836 to always fail with ENOSYS. Some functions are actually named
13837 something starting with __ and the normal name is an alias. */
13838 #if defined __stub_$ac_func || defined __stub___$ac_func
13839 choke me
13840 #endif
13843 main ()
13845 return $ac_func ();
13847 return 0;
13849 _ACEOF
13850 rm -f conftest.$ac_objext conftest$ac_exeext
13851 if { (ac_try="$ac_link"
13852 case "(($ac_try" in
13853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13854 *) ac_try_echo=$ac_try;;
13855 esac
13856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13857 (eval "$ac_link") 2>conftest.er1
13858 ac_status=$?
13859 grep -v '^ *+' conftest.er1 >conftest.err
13860 rm -f conftest.er1
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } && {
13864 test -z "$ac_c_werror_flag" ||
13865 test ! -s conftest.err
13866 } && test -s conftest$ac_exeext &&
13867 $as_test_x conftest$ac_exeext; then
13868 eval "$as_ac_var=yes"
13869 else
13870 echo "$as_me: failed program was:" >&5
13871 sed 's/^/| /' conftest.$ac_ext >&5
13873 eval "$as_ac_var=no"
13876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13877 conftest$ac_exeext conftest.$ac_ext
13879 ac_res=`eval echo '${'$as_ac_var'}'`
13880 { echo "$as_me:$LINENO: result: $ac_res" >&5
13881 echo "${ECHO_T}$ac_res" >&6; }
13882 if test `eval echo '${'$as_ac_var'}'` = yes; then
13883 cat >>confdefs.h <<_ACEOF
13884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13885 _ACEOF
13888 done
13890 CFLAGS="$ac_save_CFLAGS"
13891 CPPFLAGS="$ac_save_CPPFLAGS"
13892 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13893 then
13895 cat >>confdefs.h <<\_ACEOF
13896 #define HAVE_FREETYPE 1
13897 _ACEOF
13899 FREETYPELIBS="$ac_freetype_libs"
13901 FREETYPEINCL="$ac_freetype_incl"
13907 if test "$FONTFORGE" = "false"
13908 then
13909 wine_warnings="$wine_warnings|FontForge is missing.
13910 Fonts will not be built. Dialog text may be invisible or unaligned."
13911 elif test "x$FREETYPELIBS" = "x"
13912 then
13913 wine_warnings="$wine_warnings|FreeType development files not found.
13914 Fonts will not be built. Dialog text may be invisible or unaligned."
13915 else
13916 FONTSSUBDIRS="fonts"
13920 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13921 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13922 if test "${ac_cv_c_ppdev+set}" = set; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 else
13925 cat >conftest.$ac_ext <<_ACEOF
13926 /* confdefs.h. */
13927 _ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <linux/ppdev.h>
13933 main ()
13935 ioctl (1,PPCLAIM,0)
13937 return 0;
13939 _ACEOF
13940 rm -f conftest.$ac_objext
13941 if { (ac_try="$ac_compile"
13942 case "(($ac_try" in
13943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13944 *) ac_try_echo=$ac_try;;
13945 esac
13946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13947 (eval "$ac_compile") 2>conftest.er1
13948 ac_status=$?
13949 grep -v '^ *+' conftest.er1 >conftest.err
13950 rm -f conftest.er1
13951 cat conftest.err >&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); } && {
13954 test -z "$ac_c_werror_flag" ||
13955 test ! -s conftest.err
13956 } && test -s conftest.$ac_objext; then
13957 ac_cv_c_ppdev="yes"
13958 else
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.$ac_ext >&5
13962 ac_cv_c_ppdev="no"
13965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13967 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13968 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13969 if test "$ac_cv_c_ppdev" = "yes"
13970 then
13972 cat >>confdefs.h <<\_ACEOF
13973 #define HAVE_PPDEV 1
13974 _ACEOF
13978 { echo "$as_me:$LINENO: checking for va_copy" >&5
13979 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13980 if test "${ac_cv_c_va_copy+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 else
13983 cat >conftest.$ac_ext <<_ACEOF
13984 /* confdefs.h. */
13985 _ACEOF
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 #include <stdarg.h>
13991 main ()
13993 va_list ap1, ap2; va_copy(ap1,ap2);
13995 return 0;
13997 _ACEOF
13998 rm -f conftest.$ac_objext conftest$ac_exeext
13999 if { (ac_try="$ac_link"
14000 case "(($ac_try" in
14001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14002 *) ac_try_echo=$ac_try;;
14003 esac
14004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14005 (eval "$ac_link") 2>conftest.er1
14006 ac_status=$?
14007 grep -v '^ *+' conftest.er1 >conftest.err
14008 rm -f conftest.er1
14009 cat conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && {
14012 test -z "$ac_c_werror_flag" ||
14013 test ! -s conftest.err
14014 } && test -s conftest$ac_exeext &&
14015 $as_test_x conftest$ac_exeext; then
14016 ac_cv_c_va_copy="yes"
14017 else
14018 echo "$as_me: failed program was:" >&5
14019 sed 's/^/| /' conftest.$ac_ext >&5
14021 ac_cv_c_va_copy="no"
14024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14025 conftest$ac_exeext conftest.$ac_ext
14028 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14029 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14030 if test "$ac_cv_c_va_copy" = "yes"
14031 then
14033 cat >>confdefs.h <<\_ACEOF
14034 #define HAVE_VA_COPY 1
14035 _ACEOF
14038 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14039 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14040 if test "${ac_cv_c___va_copy+set}" = set; then
14041 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 else
14043 cat >conftest.$ac_ext <<_ACEOF
14044 /* confdefs.h. */
14045 _ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049 #include <stdarg.h>
14051 main ()
14053 va_list ap1, ap2; __va_copy(ap1,ap2);
14055 return 0;
14057 _ACEOF
14058 rm -f conftest.$ac_objext conftest$ac_exeext
14059 if { (ac_try="$ac_link"
14060 case "(($ac_try" in
14061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14062 *) ac_try_echo=$ac_try;;
14063 esac
14064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14065 (eval "$ac_link") 2>conftest.er1
14066 ac_status=$?
14067 grep -v '^ *+' conftest.er1 >conftest.err
14068 rm -f conftest.er1
14069 cat conftest.err >&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); } && {
14072 test -z "$ac_c_werror_flag" ||
14073 test ! -s conftest.err
14074 } && test -s conftest$ac_exeext &&
14075 $as_test_x conftest$ac_exeext; then
14076 ac_cv_c___va_copy="yes"
14077 else
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.$ac_ext >&5
14081 ac_cv_c___va_copy="no"
14084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14085 conftest$ac_exeext conftest.$ac_ext
14088 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14089 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14090 if test "$ac_cv_c___va_copy" = "yes"
14091 then
14093 cat >>confdefs.h <<\_ACEOF
14094 #define HAVE___VA_COPY 1
14095 _ACEOF
14099 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14100 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14101 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14102 echo $ECHO_N "(cached) $ECHO_C" >&6
14103 else
14104 cat >conftest.$ac_ext <<_ACEOF
14105 /* confdefs.h. */
14106 _ACEOF
14107 cat confdefs.h >>conftest.$ac_ext
14108 cat >>conftest.$ac_ext <<_ACEOF
14109 /* end confdefs.h. */
14110 #include <setjmp.h>
14112 main ()
14114 sigjmp_buf buf;
14115 sigsetjmp( buf, 1 );
14116 siglongjmp( buf, 1 );
14118 return 0;
14120 _ACEOF
14121 rm -f conftest.$ac_objext conftest$ac_exeext
14122 if { (ac_try="$ac_link"
14123 case "(($ac_try" in
14124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14125 *) ac_try_echo=$ac_try;;
14126 esac
14127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14128 (eval "$ac_link") 2>conftest.er1
14129 ac_status=$?
14130 grep -v '^ *+' conftest.er1 >conftest.err
14131 rm -f conftest.er1
14132 cat conftest.err >&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); } && {
14135 test -z "$ac_c_werror_flag" ||
14136 test ! -s conftest.err
14137 } && test -s conftest$ac_exeext &&
14138 $as_test_x conftest$ac_exeext; then
14139 ac_cv_c_sigsetjmp="yes"
14140 else
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.$ac_ext >&5
14144 ac_cv_c_sigsetjmp="no"
14147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14148 conftest$ac_exeext conftest.$ac_ext
14151 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14152 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14153 if test "$ac_cv_c_sigsetjmp" = "yes"
14154 then
14156 cat >>confdefs.h <<\_ACEOF
14157 #define HAVE_SIGSETJMP 1
14158 _ACEOF
14162 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14163 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14164 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14166 else
14167 cat >conftest.$ac_ext <<_ACEOF
14168 /* confdefs.h. */
14169 _ACEOF
14170 cat confdefs.h >>conftest.$ac_ext
14171 cat >>conftest.$ac_ext <<_ACEOF
14172 /* end confdefs.h. */
14173 #define _GNU_SOURCE
14174 #include <pthread.h>
14176 typedef pthread_rwlock_t ac__type_new_;
14178 main ()
14180 if ((ac__type_new_ *) 0)
14181 return 0;
14182 if (sizeof (ac__type_new_))
14183 return 0;
14185 return 0;
14187 _ACEOF
14188 rm -f conftest.$ac_objext
14189 if { (ac_try="$ac_compile"
14190 case "(($ac_try" in
14191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192 *) ac_try_echo=$ac_try;;
14193 esac
14194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14195 (eval "$ac_compile") 2>conftest.er1
14196 ac_status=$?
14197 grep -v '^ *+' conftest.er1 >conftest.err
14198 rm -f conftest.er1
14199 cat conftest.err >&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } && {
14202 test -z "$ac_c_werror_flag" ||
14203 test ! -s conftest.err
14204 } && test -s conftest.$ac_objext; then
14205 ac_cv_type_pthread_rwlock_t=yes
14206 else
14207 echo "$as_me: failed program was:" >&5
14208 sed 's/^/| /' conftest.$ac_ext >&5
14210 ac_cv_type_pthread_rwlock_t=no
14213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14215 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14216 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14217 if test $ac_cv_type_pthread_rwlock_t = yes; then
14219 cat >>confdefs.h <<_ACEOF
14220 #define HAVE_PTHREAD_RWLOCK_T 1
14221 _ACEOF
14225 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14226 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14227 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 else
14230 cat >conftest.$ac_ext <<_ACEOF
14231 /* confdefs.h. */
14232 _ACEOF
14233 cat confdefs.h >>conftest.$ac_ext
14234 cat >>conftest.$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14236 #define _GNU_SOURCE
14237 #include <pthread.h>
14239 typedef pthread_rwlockattr_t ac__type_new_;
14241 main ()
14243 if ((ac__type_new_ *) 0)
14244 return 0;
14245 if (sizeof (ac__type_new_))
14246 return 0;
14248 return 0;
14250 _ACEOF
14251 rm -f conftest.$ac_objext
14252 if { (ac_try="$ac_compile"
14253 case "(($ac_try" in
14254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14255 *) ac_try_echo=$ac_try;;
14256 esac
14257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14258 (eval "$ac_compile") 2>conftest.er1
14259 ac_status=$?
14260 grep -v '^ *+' conftest.er1 >conftest.err
14261 rm -f conftest.er1
14262 cat conftest.err >&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } && {
14265 test -z "$ac_c_werror_flag" ||
14266 test ! -s conftest.err
14267 } && test -s conftest.$ac_objext; then
14268 ac_cv_type_pthread_rwlockattr_t=yes
14269 else
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.$ac_ext >&5
14273 ac_cv_type_pthread_rwlockattr_t=no
14276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14278 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14279 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14280 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14282 cat >>confdefs.h <<_ACEOF
14283 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14284 _ACEOF
14290 ac_wine_check_funcs_save_LIBS="$LIBS"
14291 LIBS="$LIBS $LIBPTHREAD"
14296 for ac_func in \
14297 pthread_attr_get_np \
14298 pthread_getattr_np \
14299 pthread_get_stackaddr_np \
14300 pthread_get_stacksize_np
14302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14303 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14305 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14307 else
14308 cat >conftest.$ac_ext <<_ACEOF
14309 /* confdefs.h. */
14310 _ACEOF
14311 cat confdefs.h >>conftest.$ac_ext
14312 cat >>conftest.$ac_ext <<_ACEOF
14313 /* end confdefs.h. */
14314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14316 #define $ac_func innocuous_$ac_func
14318 /* System header to define __stub macros and hopefully few prototypes,
14319 which can conflict with char $ac_func (); below.
14320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14321 <limits.h> exists even on freestanding compilers. */
14323 #ifdef __STDC__
14324 # include <limits.h>
14325 #else
14326 # include <assert.h>
14327 #endif
14329 #undef $ac_func
14331 /* Override any GCC internal prototype to avoid an error.
14332 Use char because int might match the return type of a GCC
14333 builtin and then its argument prototype would still apply. */
14334 #ifdef __cplusplus
14335 extern "C"
14336 #endif
14337 char $ac_func ();
14338 /* The GNU C library defines this for functions which it implements
14339 to always fail with ENOSYS. Some functions are actually named
14340 something starting with __ and the normal name is an alias. */
14341 #if defined __stub_$ac_func || defined __stub___$ac_func
14342 choke me
14343 #endif
14346 main ()
14348 return $ac_func ();
14350 return 0;
14352 _ACEOF
14353 rm -f conftest.$ac_objext conftest$ac_exeext
14354 if { (ac_try="$ac_link"
14355 case "(($ac_try" in
14356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14358 esac
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_link") 2>conftest.er1
14361 ac_status=$?
14362 grep -v '^ *+' conftest.er1 >conftest.err
14363 rm -f conftest.er1
14364 cat conftest.err >&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } && {
14367 test -z "$ac_c_werror_flag" ||
14368 test ! -s conftest.err
14369 } && test -s conftest$ac_exeext &&
14370 $as_test_x conftest$ac_exeext; then
14371 eval "$as_ac_var=yes"
14372 else
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.$ac_ext >&5
14376 eval "$as_ac_var=no"
14379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14380 conftest$ac_exeext conftest.$ac_ext
14382 ac_res=`eval echo '${'$as_ac_var'}'`
14383 { echo "$as_me:$LINENO: result: $ac_res" >&5
14384 echo "${ECHO_T}$ac_res" >&6; }
14385 if test `eval echo '${'$as_ac_var'}'` = yes; then
14386 cat >>confdefs.h <<_ACEOF
14387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14388 _ACEOF
14391 done
14393 LIBS="$ac_wine_check_funcs_save_LIBS"
14395 # Extract the first word of "esd-config", so it can be a program name with args.
14396 set dummy esd-config; ac_word=$2
14397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14399 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14401 else
14402 case $ESDCONFIG in
14403 [\\/]* | ?:[\\/]*)
14404 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14408 for as_dir in $PATH
14410 IFS=$as_save_IFS
14411 test -z "$as_dir" && as_dir=.
14412 for ac_exec_ext in '' $ac_executable_extensions; do
14413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14414 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14416 break 2
14418 done
14419 done
14420 IFS=$as_save_IFS
14423 esac
14425 ESDCONFIG=$ac_cv_path_ESDCONFIG
14426 if test -n "$ESDCONFIG"; then
14427 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14428 echo "${ECHO_T}$ESDCONFIG" >&6; }
14429 else
14430 { echo "$as_me:$LINENO: result: no" >&5
14431 echo "${ECHO_T}no" >&6; }
14435 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14436 then
14437 ESD_CFLAGS=""
14438 for i in `$ESDCONFIG --cflags`
14440 case "$i" in
14441 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14442 esac
14443 done
14444 ESD_LIBS=`$ESDCONFIG --libs`
14445 save_CFLAGS="$CFLAGS"
14446 CFLAGS="$CFLAGS $ESD_CFLAGS"
14447 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14448 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14449 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 else
14452 ac_check_lib_save_LIBS=$LIBS
14453 LIBS="-lesd $LIBS"
14454 cat >conftest.$ac_ext <<_ACEOF
14455 /* confdefs.h. */
14456 _ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14461 /* Override any GCC internal prototype to avoid an error.
14462 Use char because int might match the return type of a GCC
14463 builtin and then its argument prototype would still apply. */
14464 #ifdef __cplusplus
14465 extern "C"
14466 #endif
14467 char esd_open_sound ();
14469 main ()
14471 return esd_open_sound ();
14473 return 0;
14475 _ACEOF
14476 rm -f conftest.$ac_objext conftest$ac_exeext
14477 if { (ac_try="$ac_link"
14478 case "(($ac_try" in
14479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480 *) ac_try_echo=$ac_try;;
14481 esac
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 (eval "$ac_link") 2>conftest.er1
14484 ac_status=$?
14485 grep -v '^ *+' conftest.er1 >conftest.err
14486 rm -f conftest.er1
14487 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } && {
14490 test -z "$ac_c_werror_flag" ||
14491 test ! -s conftest.err
14492 } && test -s conftest$ac_exeext &&
14493 $as_test_x conftest$ac_exeext; then
14494 ac_cv_lib_esd_esd_open_sound=yes
14495 else
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.$ac_ext >&5
14499 ac_cv_lib_esd_esd_open_sound=no
14502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LIBS=$ac_check_lib_save_LIBS
14506 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14507 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14508 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14509 ESDLIBS=$ESD_LIBS
14511 ESDINCL=$ESD_CFLAGS
14514 cat >>confdefs.h <<\_ACEOF
14515 #define HAVE_ESD 1
14516 _ACEOF
14520 CFLAGS="$save_CFLAGS"
14523 ALSALIBS=""
14525 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14526 then
14527 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14528 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14529 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14530 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 else
14532 ac_check_lib_save_LIBS=$LIBS
14533 LIBS="-lasound $LIBS"
14534 cat >conftest.$ac_ext <<_ACEOF
14535 /* confdefs.h. */
14536 _ACEOF
14537 cat confdefs.h >>conftest.$ac_ext
14538 cat >>conftest.$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14541 /* Override any GCC internal prototype to avoid an error.
14542 Use char because int might match the return type of a GCC
14543 builtin and then its argument prototype would still apply. */
14544 #ifdef __cplusplus
14545 extern "C"
14546 #endif
14547 char snd_pcm_hw_params_get_access ();
14549 main ()
14551 return snd_pcm_hw_params_get_access ();
14553 return 0;
14555 _ACEOF
14556 rm -f conftest.$ac_objext conftest$ac_exeext
14557 if { (ac_try="$ac_link"
14558 case "(($ac_try" in
14559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14560 *) ac_try_echo=$ac_try;;
14561 esac
14562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14563 (eval "$ac_link") 2>conftest.er1
14564 ac_status=$?
14565 grep -v '^ *+' conftest.er1 >conftest.err
14566 rm -f conftest.er1
14567 cat conftest.err >&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } && {
14570 test -z "$ac_c_werror_flag" ||
14571 test ! -s conftest.err
14572 } && test -s conftest$ac_exeext &&
14573 $as_test_x conftest$ac_exeext; then
14574 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14575 else
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14579 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14583 conftest$ac_exeext conftest.$ac_ext
14584 LIBS=$ac_check_lib_save_LIBS
14586 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14587 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14588 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14589 cat >conftest.$ac_ext <<_ACEOF
14590 /* confdefs.h. */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 #ifdef HAVE_ALSA_ASOUNDLIB_H
14596 #include <alsa/asoundlib.h>
14597 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14598 #include <sys/asoundlib.h>
14599 #endif
14601 main ()
14603 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14605 return 0;
14607 _ACEOF
14608 rm -f conftest.$ac_objext
14609 if { (ac_try="$ac_compile"
14610 case "(($ac_try" in
14611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14612 *) ac_try_echo=$ac_try;;
14613 esac
14614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14615 (eval "$ac_compile") 2>conftest.er1
14616 ac_status=$?
14617 grep -v '^ *+' conftest.er1 >conftest.err
14618 rm -f conftest.er1
14619 cat conftest.err >&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } && {
14622 test -z "$ac_c_werror_flag" ||
14623 test ! -s conftest.err
14624 } && test -s conftest.$ac_objext; then
14626 cat >>confdefs.h <<\_ACEOF
14627 #define HAVE_ALSA 1
14628 _ACEOF
14630 ALSALIBS="-lasound"
14631 else
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.$ac_ext >&5
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14643 AUDIOIOLIBS=""
14645 if test "$ac_cv_header_libaudioio_h" = "yes"
14646 then
14647 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14648 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14649 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 else
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-laudioio $LIBS"
14654 cat >conftest.$ac_ext <<_ACEOF
14655 /* confdefs.h. */
14656 _ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 char AudioIOGetVersion ();
14669 main ()
14671 return AudioIOGetVersion ();
14673 return 0;
14675 _ACEOF
14676 rm -f conftest.$ac_objext conftest$ac_exeext
14677 if { (ac_try="$ac_link"
14678 case "(($ac_try" in
14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14681 esac
14682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_link") 2>conftest.er1
14684 ac_status=$?
14685 grep -v '^ *+' conftest.er1 >conftest.err
14686 rm -f conftest.er1
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } && {
14690 test -z "$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14692 } && test -s conftest$ac_exeext &&
14693 $as_test_x conftest$ac_exeext; then
14694 ac_cv_lib_audioio_AudioIOGetVersion=yes
14695 else
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14699 ac_cv_lib_audioio_AudioIOGetVersion=no
14702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14703 conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14706 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14707 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14708 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14709 AUDIOIOLIBS="-laudioio"
14711 cat >>confdefs.h <<\_ACEOF
14712 #define HAVE_LIBAUDIOIO 1
14713 _ACEOF
14720 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14721 then
14722 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14723 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14724 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14726 else
14727 ac_check_soname_save_LIBS=$LIBS
14728 LIBS="-lcapi20 $LIBS"
14729 cat >conftest.$ac_ext <<_ACEOF
14730 /* confdefs.h. */
14731 _ACEOF
14732 cat confdefs.h >>conftest.$ac_ext
14733 cat >>conftest.$ac_ext <<_ACEOF
14734 /* end confdefs.h. */
14736 /* Override any GCC internal prototype to avoid an error.
14737 Use char because int might match the return type of a GCC
14738 builtin and then its argument prototype would still apply. */
14739 #ifdef __cplusplus
14740 extern "C"
14741 #endif
14742 char capi20_register ();
14744 main ()
14746 return capi20_register ();
14748 return 0;
14750 _ACEOF
14751 rm -f conftest.$ac_objext conftest$ac_exeext
14752 if { (ac_try="$ac_link"
14753 case "(($ac_try" in
14754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14755 *) ac_try_echo=$ac_try;;
14756 esac
14757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14758 (eval "$ac_link") 2>conftest.er1
14759 ac_status=$?
14760 grep -v '^ *+' conftest.er1 >conftest.err
14761 rm -f conftest.er1
14762 cat conftest.err >&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } && {
14765 test -z "$ac_c_werror_flag" ||
14766 test ! -s conftest.err
14767 } && test -s conftest$ac_exeext &&
14768 $as_test_x conftest$ac_exeext; then
14769 case "$LIBEXT" in
14770 dll) ;;
14771 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'` ;;
14772 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14773 esac
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14782 conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_soname_save_LIBS
14785 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14786 { echo "$as_me:$LINENO: result: not found" >&5
14787 echo "${ECHO_T}not found" >&6; }
14789 else
14790 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14791 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14793 cat >>confdefs.h <<_ACEOF
14794 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14795 _ACEOF
14801 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14802 case "x$with_capi" in
14803 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14804 xno) ;;
14805 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14806 This is an error since --with-capi was requested." >&5
14807 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14808 This is an error since --with-capi was requested." >&2;}
14809 { (exit 1); exit 1; }; } ;;
14810 esac
14814 if test "$ac_cv_header_cups_cups_h" = "yes"
14815 then
14816 { echo "$as_me:$LINENO: checking for -lcups" >&5
14817 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14818 if test "${ac_cv_lib_soname_cups+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14820 else
14821 ac_check_soname_save_LIBS=$LIBS
14822 LIBS="-lcups $LIBS"
14823 cat >conftest.$ac_ext <<_ACEOF
14824 /* confdefs.h. */
14825 _ACEOF
14826 cat confdefs.h >>conftest.$ac_ext
14827 cat >>conftest.$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14833 #ifdef __cplusplus
14834 extern "C"
14835 #endif
14836 char cupsGetDefault ();
14838 main ()
14840 return cupsGetDefault ();
14842 return 0;
14844 _ACEOF
14845 rm -f conftest.$ac_objext conftest$ac_exeext
14846 if { (ac_try="$ac_link"
14847 case "(($ac_try" in
14848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14849 *) ac_try_echo=$ac_try;;
14850 esac
14851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14852 (eval "$ac_link") 2>conftest.er1
14853 ac_status=$?
14854 grep -v '^ *+' conftest.er1 >conftest.err
14855 rm -f conftest.er1
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } && {
14859 test -z "$ac_c_werror_flag" ||
14860 test ! -s conftest.err
14861 } && test -s conftest$ac_exeext &&
14862 $as_test_x conftest$ac_exeext; then
14863 case "$LIBEXT" in
14864 dll) ;;
14865 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'` ;;
14866 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14867 esac
14868 else
14869 echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.$ac_ext >&5
14875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_soname_save_LIBS
14879 if test "x$ac_cv_lib_soname_cups" = "x"; then
14880 { echo "$as_me:$LINENO: result: not found" >&5
14881 echo "${ECHO_T}not found" >&6; }
14883 else
14884 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14885 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14887 cat >>confdefs.h <<_ACEOF
14888 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14889 _ACEOF
14895 if test "x$ac_cv_lib_soname_cups" = "x"; then
14896 case "x$with_cups" in
14897 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14898 xno) ;;
14899 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14900 This is an error since --with-cups was requested." >&5
14901 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14902 This is an error since --with-cups was requested." >&2;}
14903 { (exit 1); exit 1; }; } ;;
14904 esac
14908 if test "$ac_cv_header_jack_jack_h" = "yes"
14909 then
14910 { echo "$as_me:$LINENO: checking for -ljack" >&5
14911 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14912 if test "${ac_cv_lib_soname_jack+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 else
14915 ac_check_soname_save_LIBS=$LIBS
14916 LIBS="-ljack $LIBS"
14917 cat >conftest.$ac_ext <<_ACEOF
14918 /* confdefs.h. */
14919 _ACEOF
14920 cat confdefs.h >>conftest.$ac_ext
14921 cat >>conftest.$ac_ext <<_ACEOF
14922 /* end confdefs.h. */
14924 /* Override any GCC internal prototype to avoid an error.
14925 Use char because int might match the return type of a GCC
14926 builtin and then its argument prototype would still apply. */
14927 #ifdef __cplusplus
14928 extern "C"
14929 #endif
14930 char jack_client_new ();
14932 main ()
14934 return jack_client_new ();
14936 return 0;
14938 _ACEOF
14939 rm -f conftest.$ac_objext conftest$ac_exeext
14940 if { (ac_try="$ac_link"
14941 case "(($ac_try" in
14942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14943 *) ac_try_echo=$ac_try;;
14944 esac
14945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14946 (eval "$ac_link") 2>conftest.er1
14947 ac_status=$?
14948 grep -v '^ *+' conftest.er1 >conftest.err
14949 rm -f conftest.er1
14950 cat conftest.err >&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); } && {
14953 test -z "$ac_c_werror_flag" ||
14954 test ! -s conftest.err
14955 } && test -s conftest$ac_exeext &&
14956 $as_test_x conftest$ac_exeext; then
14957 case "$LIBEXT" in
14958 dll) ;;
14959 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'` ;;
14960 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14961 esac
14962 else
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14970 conftest$ac_exeext conftest.$ac_ext
14971 LIBS=$ac_check_soname_save_LIBS
14973 if test "x$ac_cv_lib_soname_jack" = "x"; then
14974 { echo "$as_me:$LINENO: result: not found" >&5
14975 echo "${ECHO_T}not found" >&6; }
14977 else
14978 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14979 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14981 cat >>confdefs.h <<_ACEOF
14982 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14983 _ACEOF
14990 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14991 then
14992 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14993 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14994 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 ac_check_soname_save_LIBS=$LIBS
14998 LIBS="-lfontconfig $LIBS"
14999 cat >conftest.$ac_ext <<_ACEOF
15000 /* confdefs.h. */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15009 #ifdef __cplusplus
15010 extern "C"
15011 #endif
15012 char FcInit ();
15014 main ()
15016 return FcInit ();
15018 return 0;
15020 _ACEOF
15021 rm -f conftest.$ac_objext conftest$ac_exeext
15022 if { (ac_try="$ac_link"
15023 case "(($ac_try" in
15024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15025 *) ac_try_echo=$ac_try;;
15026 esac
15027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15028 (eval "$ac_link") 2>conftest.er1
15029 ac_status=$?
15030 grep -v '^ *+' conftest.er1 >conftest.err
15031 rm -f conftest.er1
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } && {
15035 test -z "$ac_c_werror_flag" ||
15036 test ! -s conftest.err
15037 } && test -s conftest$ac_exeext &&
15038 $as_test_x conftest$ac_exeext; then
15039 case "$LIBEXT" in
15040 dll) ;;
15041 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'` ;;
15042 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15043 esac
15044 else
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15052 conftest$ac_exeext conftest.$ac_ext
15053 LIBS=$ac_check_soname_save_LIBS
15055 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15056 { echo "$as_me:$LINENO: result: not found" >&5
15057 echo "${ECHO_T}not found" >&6; }
15059 else
15060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15061 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15063 cat >>confdefs.h <<_ACEOF
15064 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15065 _ACEOF
15070 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15071 then
15072 ac_save_CPPFLAGS="$CPPFLAGS"
15073 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15074 $as_unset ac_cv_header_fontconfig_fontconfig_h
15076 for ac_header in fontconfig/fontconfig.h
15078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 ac_res=`eval echo '${'$as_ac_Header'}'`
15086 { echo "$as_me:$LINENO: result: $ac_res" >&5
15087 echo "${ECHO_T}$ac_res" >&6; }
15088 else
15089 # Is the header compilable?
15090 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 $ac_includes_default
15099 #include <$ac_header>
15100 _ACEOF
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15106 esac
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compile") 2>conftest.er1
15109 ac_status=$?
15110 grep -v '^ *+' conftest.er1 >conftest.err
15111 rm -f conftest.er1
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } && {
15115 test -z "$ac_c_werror_flag" ||
15116 test ! -s conftest.err
15117 } && test -s conftest.$ac_objext; then
15118 ac_header_compiler=yes
15119 else
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.$ac_ext >&5
15123 ac_header_compiler=no
15126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15128 echo "${ECHO_T}$ac_header_compiler" >&6; }
15130 # Is the header present?
15131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15133 cat >conftest.$ac_ext <<_ACEOF
15134 /* confdefs.h. */
15135 _ACEOF
15136 cat confdefs.h >>conftest.$ac_ext
15137 cat >>conftest.$ac_ext <<_ACEOF
15138 /* end confdefs.h. */
15139 #include <$ac_header>
15140 _ACEOF
15141 if { (ac_try="$ac_cpp conftest.$ac_ext"
15142 case "(($ac_try" in
15143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15144 *) ac_try_echo=$ac_try;;
15145 esac
15146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15148 ac_status=$?
15149 grep -v '^ *+' conftest.er1 >conftest.err
15150 rm -f conftest.er1
15151 cat conftest.err >&5
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } >/dev/null && {
15154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15155 test ! -s conftest.err
15156 }; then
15157 ac_header_preproc=yes
15158 else
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.$ac_ext >&5
15162 ac_header_preproc=no
15165 rm -f conftest.err conftest.$ac_ext
15166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15167 echo "${ECHO_T}$ac_header_preproc" >&6; }
15169 # So? What about this header?
15170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15171 yes:no: )
15172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15176 ac_header_preproc=yes
15178 no:yes:* )
15179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15191 ( cat <<\_ASBOX
15192 ## ------------------------------------ ##
15193 ## Report this to wine-devel@winehq.org ##
15194 ## ------------------------------------ ##
15195 _ASBOX
15196 ) | sed "s/^/$as_me: WARNING: /" >&2
15198 esac
15199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15202 echo $ECHO_N "(cached) $ECHO_C" >&6
15203 else
15204 eval "$as_ac_Header=\$ac_header_preproc"
15206 ac_res=`eval echo '${'$as_ac_Header'}'`
15207 { echo "$as_me:$LINENO: result: $ac_res" >&5
15208 echo "${ECHO_T}$ac_res" >&6; }
15211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15212 cat >>confdefs.h <<_ACEOF
15213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15214 _ACEOF
15218 done
15220 CPPFLAGS="$ac_save_CPPFLAGS"
15221 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15222 then
15223 FONTCONFIGINCL="$X_CFLAGS"
15225 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15226 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15227 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 else
15230 ac_check_soname_save_LIBS=$LIBS
15231 LIBS="-lfontconfig $X_LIBS $LIBS"
15232 cat >conftest.$ac_ext <<_ACEOF
15233 /* confdefs.h. */
15234 _ACEOF
15235 cat confdefs.h >>conftest.$ac_ext
15236 cat >>conftest.$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15239 /* Override any GCC internal prototype to avoid an error.
15240 Use char because int might match the return type of a GCC
15241 builtin and then its argument prototype would still apply. */
15242 #ifdef __cplusplus
15243 extern "C"
15244 #endif
15245 char FcInit ();
15247 main ()
15249 return FcInit ();
15251 return 0;
15253 _ACEOF
15254 rm -f conftest.$ac_objext conftest$ac_exeext
15255 if { (ac_try="$ac_link"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15259 esac
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_link") 2>conftest.er1
15262 ac_status=$?
15263 grep -v '^ *+' conftest.er1 >conftest.err
15264 rm -f conftest.er1
15265 cat conftest.err >&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } && {
15268 test -z "$ac_c_werror_flag" ||
15269 test ! -s conftest.err
15270 } && test -s conftest$ac_exeext &&
15271 $as_test_x conftest$ac_exeext; then
15272 case "$LIBEXT" in
15273 dll) ;;
15274 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'` ;;
15275 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15276 esac
15277 else
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.$ac_ext >&5
15284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15285 conftest$ac_exeext conftest.$ac_ext
15286 LIBS=$ac_check_soname_save_LIBS
15288 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15289 { echo "$as_me:$LINENO: result: not found" >&5
15290 echo "${ECHO_T}not found" >&6; }
15292 else
15293 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15294 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15296 cat >>confdefs.h <<_ACEOF
15297 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15298 _ACEOF
15305 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15306 case "x$with_fontconfig" in
15307 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15308 xno) ;;
15309 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15310 This is an error since --with-fontconfig was requested." >&5
15311 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15312 This is an error since --with-fontconfig was requested." >&2;}
15313 { (exit 1); exit 1; }; } ;;
15314 esac
15318 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15319 then
15320 { echo "$as_me:$LINENO: checking for -lssl" >&5
15321 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15322 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 else
15325 ac_check_soname_save_LIBS=$LIBS
15326 LIBS="-lssl $LIBS"
15327 cat >conftest.$ac_ext <<_ACEOF
15328 /* confdefs.h. */
15329 _ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15334 /* Override any GCC internal prototype to avoid an error.
15335 Use char because int might match the return type of a GCC
15336 builtin and then its argument prototype would still apply. */
15337 #ifdef __cplusplus
15338 extern "C"
15339 #endif
15340 char SSL_library_init ();
15342 main ()
15344 return SSL_library_init ();
15346 return 0;
15348 _ACEOF
15349 rm -f conftest.$ac_objext conftest$ac_exeext
15350 if { (ac_try="$ac_link"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15354 esac
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_link") 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_c_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest$ac_exeext &&
15366 $as_test_x conftest$ac_exeext; then
15367 case "$LIBEXT" in
15368 dll) ;;
15369 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'` ;;
15370 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15371 esac
15372 else
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15380 conftest$ac_exeext conftest.$ac_ext
15381 LIBS=$ac_check_soname_save_LIBS
15383 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15384 { echo "$as_me:$LINENO: result: not found" >&5
15385 echo "${ECHO_T}not found" >&6; }
15387 else
15388 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15389 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15391 cat >>confdefs.h <<_ACEOF
15392 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15393 _ACEOF
15398 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15399 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15400 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 ac_check_soname_save_LIBS=$LIBS
15404 LIBS="-lcrypto $LIBS"
15405 cat >conftest.$ac_ext <<_ACEOF
15406 /* confdefs.h. */
15407 _ACEOF
15408 cat confdefs.h >>conftest.$ac_ext
15409 cat >>conftest.$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 #ifdef __cplusplus
15416 extern "C"
15417 #endif
15418 char BIO_new_socket ();
15420 main ()
15422 return BIO_new_socket ();
15424 return 0;
15426 _ACEOF
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (ac_try="$ac_link"
15429 case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15432 esac
15433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_link") 2>conftest.er1
15435 ac_status=$?
15436 grep -v '^ *+' conftest.er1 >conftest.err
15437 rm -f conftest.er1
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } && {
15441 test -z "$ac_c_werror_flag" ||
15442 test ! -s conftest.err
15443 } && test -s conftest$ac_exeext &&
15444 $as_test_x conftest$ac_exeext; then
15445 case "$LIBEXT" in
15446 dll) ;;
15447 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'` ;;
15448 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15449 esac
15450 else
15451 echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15458 conftest$ac_exeext conftest.$ac_ext
15459 LIBS=$ac_check_soname_save_LIBS
15461 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15462 { echo "$as_me:$LINENO: result: not found" >&5
15463 echo "${ECHO_T}not found" >&6; }
15465 else
15466 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15467 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15469 cat >>confdefs.h <<_ACEOF
15470 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15471 _ACEOF
15477 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15478 case "x$with_openssl" in
15479 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15480 xno) ;;
15481 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15482 This is an error since --with-openssl was requested." >&5
15483 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15484 This is an error since --with-openssl was requested." >&2;}
15485 { (exit 1); exit 1; }; } ;;
15486 esac
15490 if test "$ac_cv_header_jpeglib_h" = "yes"
15491 then
15492 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15493 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15494 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 else
15497 ac_check_soname_save_LIBS=$LIBS
15498 LIBS="-ljpeg $LIBS"
15499 cat >conftest.$ac_ext <<_ACEOF
15500 /* confdefs.h. */
15501 _ACEOF
15502 cat confdefs.h >>conftest.$ac_ext
15503 cat >>conftest.$ac_ext <<_ACEOF
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15509 #ifdef __cplusplus
15510 extern "C"
15511 #endif
15512 char jpeg_start_decompress ();
15514 main ()
15516 return jpeg_start_decompress ();
15518 return 0;
15520 _ACEOF
15521 rm -f conftest.$ac_objext conftest$ac_exeext
15522 if { (ac_try="$ac_link"
15523 case "(($ac_try" in
15524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15526 esac
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_link") 2>conftest.er1
15529 ac_status=$?
15530 grep -v '^ *+' conftest.er1 >conftest.err
15531 rm -f conftest.er1
15532 cat conftest.err >&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } && {
15535 test -z "$ac_c_werror_flag" ||
15536 test ! -s conftest.err
15537 } && test -s conftest$ac_exeext &&
15538 $as_test_x conftest$ac_exeext; then
15539 case "$LIBEXT" in
15540 dll) ;;
15541 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'` ;;
15542 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15543 esac
15544 else
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_soname_save_LIBS
15555 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15556 { echo "$as_me:$LINENO: result: not found" >&5
15557 echo "${ECHO_T}not found" >&6; }
15559 else
15560 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15561 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15563 cat >>confdefs.h <<_ACEOF
15564 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15565 _ACEOF
15571 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15572 case "x$with_jpeg" in
15573 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15574 xno) ;;
15575 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15576 This is an error since --with-jpeg was requested." >&5
15577 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15578 This is an error since --with-jpeg was requested." >&2;}
15579 { (exit 1); exit 1; }; } ;;
15580 esac
15584 if test "$ac_cv_header_png_h" = "yes"
15585 then
15586 { echo "$as_me:$LINENO: checking for -lpng" >&5
15587 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15588 if test "${ac_cv_lib_soname_png+set}" = set; then
15589 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 else
15591 ac_check_soname_save_LIBS=$LIBS
15592 LIBS="-lpng $LIBS"
15593 cat >conftest.$ac_ext <<_ACEOF
15594 /* confdefs.h. */
15595 _ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15600 /* Override any GCC internal prototype to avoid an error.
15601 Use char because int might match the return type of a GCC
15602 builtin and then its argument prototype would still apply. */
15603 #ifdef __cplusplus
15604 extern "C"
15605 #endif
15606 char png_create_read_struct ();
15608 main ()
15610 return png_create_read_struct ();
15612 return 0;
15614 _ACEOF
15615 rm -f conftest.$ac_objext conftest$ac_exeext
15616 if { (ac_try="$ac_link"
15617 case "(($ac_try" in
15618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15619 *) ac_try_echo=$ac_try;;
15620 esac
15621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15622 (eval "$ac_link") 2>conftest.er1
15623 ac_status=$?
15624 grep -v '^ *+' conftest.er1 >conftest.err
15625 rm -f conftest.er1
15626 cat conftest.err >&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } && {
15629 test -z "$ac_c_werror_flag" ||
15630 test ! -s conftest.err
15631 } && test -s conftest$ac_exeext &&
15632 $as_test_x conftest$ac_exeext; then
15633 case "$LIBEXT" in
15634 dll) ;;
15635 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'` ;;
15636 *) 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'` ;;
15637 esac
15638 else
15639 echo "$as_me: failed program was:" >&5
15640 sed 's/^/| /' conftest.$ac_ext >&5
15645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_check_soname_save_LIBS
15649 if test "x$ac_cv_lib_soname_png" = "x"; then
15650 { echo "$as_me:$LINENO: result: not found" >&5
15651 echo "${ECHO_T}not found" >&6; }
15653 else
15654 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15655 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15657 cat >>confdefs.h <<_ACEOF
15658 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15659 _ACEOF
15665 if test "x$ac_cv_lib_soname_png" = "x"; then
15666 case "x$with_png" in
15667 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15668 xno) ;;
15669 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15670 This is an error since --with-png was requested." >&5
15671 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15672 This is an error since --with-png was requested." >&2;}
15673 { (exit 1); exit 1; }; } ;;
15674 esac
15678 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15679 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15680 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 else
15683 ac_check_soname_save_LIBS=$LIBS
15684 LIBS="-lodbc $LIBS"
15685 cat >conftest.$ac_ext <<_ACEOF
15686 /* confdefs.h. */
15687 _ACEOF
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 #ifdef __cplusplus
15696 extern "C"
15697 #endif
15698 char SQLConnect ();
15700 main ()
15702 return SQLConnect ();
15704 return 0;
15706 _ACEOF
15707 rm -f conftest.$ac_objext conftest$ac_exeext
15708 if { (ac_try="$ac_link"
15709 case "(($ac_try" in
15710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15711 *) ac_try_echo=$ac_try;;
15712 esac
15713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15714 (eval "$ac_link") 2>conftest.er1
15715 ac_status=$?
15716 grep -v '^ *+' conftest.er1 >conftest.err
15717 rm -f conftest.er1
15718 cat conftest.err >&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); } && {
15721 test -z "$ac_c_werror_flag" ||
15722 test ! -s conftest.err
15723 } && test -s conftest$ac_exeext &&
15724 $as_test_x conftest$ac_exeext; then
15725 case "$LIBEXT" in
15726 dll) ;;
15727 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'` ;;
15728 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15729 esac
15730 else
15731 echo "$as_me: failed program was:" >&5
15732 sed 's/^/| /' conftest.$ac_ext >&5
15737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15738 conftest$ac_exeext conftest.$ac_ext
15739 LIBS=$ac_check_soname_save_LIBS
15741 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15742 { echo "$as_me:$LINENO: result: not found" >&5
15743 echo "${ECHO_T}not found" >&6; }
15744 cat >>confdefs.h <<_ACEOF
15745 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15746 _ACEOF
15748 else
15749 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15750 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15752 cat >>confdefs.h <<_ACEOF
15753 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15754 _ACEOF
15760 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15761 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15762 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15763 "$ac_cv_header_soundcard_h" != "yes" -a \
15764 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15765 then
15766 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15770 EXTRACFLAGS=""
15772 if test "x${GCC}" = "xyes"
15773 then
15774 EXTRACFLAGS="-Wall -pipe"
15776 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15777 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15778 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15781 if test "$cross_compiling" = yes; then
15782 ac_cv_c_gcc_strength_bug="yes"
15783 else
15784 cat >conftest.$ac_ext <<_ACEOF
15785 /* confdefs.h. */
15786 _ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 int L[4] = {0,1,2,3};
15792 main ()
15794 static int Array[3];
15795 unsigned int B = 3;
15796 int i;
15797 for(i=0; i<B; i++) Array[i] = i - 3;
15798 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15799 L[i] = 4;
15800 exit( Array[1] != -2 || L[2] != 3)
15802 return 0;
15804 _ACEOF
15805 rm -f conftest$ac_exeext
15806 if { (ac_try="$ac_link"
15807 case "(($ac_try" in
15808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;;
15810 esac
15811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15812 (eval "$ac_link") 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15816 { (case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15819 esac
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_try") 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_cv_c_gcc_strength_bug="no"
15826 else
15827 echo "$as_me: program exited with status $ac_status" >&5
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15831 ( exit $ac_status )
15832 ac_cv_c_gcc_strength_bug="yes"
15834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15839 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15840 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15841 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15842 then
15843 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15847 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15848 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15849 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15850 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 else
15852 ac_wine_try_cflags_saved=$CFLAGS
15853 CFLAGS="$CFLAGS -fshort-wchar"
15854 cat >conftest.$ac_ext <<_ACEOF
15855 /* confdefs.h. */
15856 _ACEOF
15857 cat confdefs.h >>conftest.$ac_ext
15858 cat >>conftest.$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15862 main ()
15866 return 0;
15868 _ACEOF
15869 rm -f conftest.$ac_objext conftest$ac_exeext
15870 if { (ac_try="$ac_link"
15871 case "(($ac_try" in
15872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15874 esac
15875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15876 (eval "$ac_link") 2>conftest.er1
15877 ac_status=$?
15878 grep -v '^ *+' conftest.er1 >conftest.err
15879 rm -f conftest.er1
15880 cat conftest.err >&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); } && {
15883 test -z "$ac_c_werror_flag" ||
15884 test ! -s conftest.err
15885 } && test -s conftest$ac_exeext &&
15886 $as_test_x conftest$ac_exeext; then
15887 ac_cv_cflags__fshort_wchar=yes
15888 else
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15892 ac_cv_cflags__fshort_wchar=no
15895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15896 conftest$ac_exeext conftest.$ac_ext
15897 CFLAGS=$ac_wine_try_cflags_saved
15899 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15900 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15901 if test $ac_cv_cflags__fshort_wchar = yes; then
15903 cat >>confdefs.h <<\_ACEOF
15904 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15905 _ACEOF
15909 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15910 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15911 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15912 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 else
15914 ac_wine_try_cflags_saved=$CFLAGS
15915 CFLAGS="$CFLAGS -fno-strict-aliasing"
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15924 main ()
15928 return 0;
15930 _ACEOF
15931 rm -f conftest.$ac_objext conftest$ac_exeext
15932 if { (ac_try="$ac_link"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15936 esac
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_link") 2>conftest.er1
15939 ac_status=$?
15940 grep -v '^ *+' conftest.er1 >conftest.err
15941 rm -f conftest.er1
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && {
15945 test -z "$ac_c_werror_flag" ||
15946 test ! -s conftest.err
15947 } && test -s conftest$ac_exeext &&
15948 $as_test_x conftest$ac_exeext; then
15949 ac_cv_cflags__fno_strict_aliasing=yes
15950 else
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15954 ac_cv_cflags__fno_strict_aliasing=no
15957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15958 conftest$ac_exeext conftest.$ac_ext
15959 CFLAGS=$ac_wine_try_cflags_saved
15961 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15962 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15963 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15964 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15967 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15968 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15969 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972 ac_wine_try_cflags_saved=$CFLAGS
15973 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15982 main ()
15986 return 0;
15988 _ACEOF
15989 rm -f conftest.$ac_objext conftest$ac_exeext
15990 if { (ac_try="$ac_link"
15991 case "(($ac_try" in
15992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15993 *) ac_try_echo=$ac_try;;
15994 esac
15995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15996 (eval "$ac_link") 2>conftest.er1
15997 ac_status=$?
15998 grep -v '^ *+' conftest.er1 >conftest.err
15999 rm -f conftest.er1
16000 cat conftest.err >&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); } && {
16003 test -z "$ac_c_werror_flag" ||
16004 test ! -s conftest.err
16005 } && test -s conftest$ac_exeext &&
16006 $as_test_x conftest$ac_exeext; then
16007 ac_cv_cflags__Wdeclaration_after_statement=yes
16008 else
16009 echo "$as_me: failed program was:" >&5
16010 sed 's/^/| /' conftest.$ac_ext >&5
16012 ac_cv_cflags__Wdeclaration_after_statement=no
16015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16016 conftest$ac_exeext conftest.$ac_ext
16017 CFLAGS=$ac_wine_try_cflags_saved
16019 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16020 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16021 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16022 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16025 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16026 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16027 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 else
16030 ac_wine_try_cflags_saved=$CFLAGS
16031 CFLAGS="$CFLAGS -Wwrite-strings"
16032 cat >conftest.$ac_ext <<_ACEOF
16033 /* confdefs.h. */
16034 _ACEOF
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16040 main ()
16044 return 0;
16046 _ACEOF
16047 rm -f conftest.$ac_objext conftest$ac_exeext
16048 if { (ac_try="$ac_link"
16049 case "(($ac_try" in
16050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16051 *) ac_try_echo=$ac_try;;
16052 esac
16053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16054 (eval "$ac_link") 2>conftest.er1
16055 ac_status=$?
16056 grep -v '^ *+' conftest.er1 >conftest.err
16057 rm -f conftest.er1
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } && {
16061 test -z "$ac_c_werror_flag" ||
16062 test ! -s conftest.err
16063 } && test -s conftest$ac_exeext &&
16064 $as_test_x conftest$ac_exeext; then
16065 ac_cv_cflags__Wwrite_strings=yes
16066 else
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16070 ac_cv_cflags__Wwrite_strings=no
16073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16074 conftest$ac_exeext conftest.$ac_ext
16075 CFLAGS=$ac_wine_try_cflags_saved
16077 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16078 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16079 if test $ac_cv_cflags__Wwrite_strings = yes; then
16080 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16083 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16084 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16085 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16086 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 else
16088 ac_wine_try_cflags_saved=$CFLAGS
16089 CFLAGS="$CFLAGS -Wtype-limits"
16090 cat >conftest.$ac_ext <<_ACEOF
16091 /* confdefs.h. */
16092 _ACEOF
16093 cat confdefs.h >>conftest.$ac_ext
16094 cat >>conftest.$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16098 main ()
16102 return 0;
16104 _ACEOF
16105 rm -f conftest.$ac_objext conftest$ac_exeext
16106 if { (ac_try="$ac_link"
16107 case "(($ac_try" in
16108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16109 *) ac_try_echo=$ac_try;;
16110 esac
16111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16112 (eval "$ac_link") 2>conftest.er1
16113 ac_status=$?
16114 grep -v '^ *+' conftest.er1 >conftest.err
16115 rm -f conftest.er1
16116 cat conftest.err >&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } && {
16119 test -z "$ac_c_werror_flag" ||
16120 test ! -s conftest.err
16121 } && test -s conftest$ac_exeext &&
16122 $as_test_x conftest$ac_exeext; then
16123 ac_cv_cflags__Wtype_limits=yes
16124 else
16125 echo "$as_me: failed program was:" >&5
16126 sed 's/^/| /' conftest.$ac_ext >&5
16128 ac_cv_cflags__Wtype_limits=no
16131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16132 conftest$ac_exeext conftest.$ac_ext
16133 CFLAGS=$ac_wine_try_cflags_saved
16135 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16136 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16137 if test $ac_cv_cflags__Wtype_limits = yes; then
16138 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16142 saved_CFLAGS="$CFLAGS"
16143 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16144 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16145 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16146 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16148 else
16149 cat >conftest.$ac_ext <<_ACEOF
16150 /* confdefs.h. */
16151 _ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 #include <string.h>
16157 main ()
16161 return 0;
16163 _ACEOF
16164 rm -f conftest.$ac_objext
16165 if { (ac_try="$ac_compile"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16169 esac
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_compile") 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } && {
16178 test -z "$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 } && test -s conftest.$ac_objext; then
16181 ac_cv_c_string_h_warnings=no
16182 else
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16186 ac_cv_c_string_h_warnings=yes
16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16191 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16192 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16193 CFLAGS="$saved_CFLAGS"
16194 if test "$ac_cv_c_string_h_warnings" = "no"
16195 then
16196 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16199 BUILTINFLAG=""
16201 saved_CFLAGS="$CFLAGS"
16202 CFLAGS="$CFLAGS -Werror"
16203 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16204 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16205 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 else
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16216 main ()
16218 int iswlower(unsigned short);
16220 return 0;
16222 _ACEOF
16223 rm -f conftest.$ac_objext
16224 if { (ac_try="$ac_compile"
16225 case "(($ac_try" in
16226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16227 *) ac_try_echo=$ac_try;;
16228 esac
16229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16230 (eval "$ac_compile") 2>conftest.er1
16231 ac_status=$?
16232 grep -v '^ *+' conftest.er1 >conftest.err
16233 rm -f conftest.er1
16234 cat conftest.err >&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } && {
16237 test -z "$ac_c_werror_flag" ||
16238 test ! -s conftest.err
16239 } && test -s conftest.$ac_objext; then
16240 ac_cv_c_builtin_wchar_ctype=no
16241 else
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.$ac_ext >&5
16245 ac_cv_c_builtin_wchar_ctype=yes
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16251 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16252 CFLAGS="$saved_CFLAGS"
16253 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16254 then
16255 BUILTINFLAG="-fno-builtin"
16260 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16261 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16262 if test "${ac_cv_asm_func_def+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 else
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16273 main ()
16275 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16277 return 0;
16279 _ACEOF
16280 rm -f conftest.$ac_objext conftest$ac_exeext
16281 if { (ac_try="$ac_link"
16282 case "(($ac_try" in
16283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16285 esac
16286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16287 (eval "$ac_link") 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } && {
16294 test -z "$ac_c_werror_flag" ||
16295 test ! -s conftest.err
16296 } && test -s conftest$ac_exeext &&
16297 $as_test_x conftest$ac_exeext; then
16298 ac_cv_asm_func_def=".def"
16299 else
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16311 main ()
16313 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16315 return 0;
16317 _ACEOF
16318 rm -f conftest.$ac_objext conftest$ac_exeext
16319 if { (ac_try="$ac_link"
16320 case "(($ac_try" in
16321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16322 *) ac_try_echo=$ac_try;;
16323 esac
16324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16325 (eval "$ac_link") 2>conftest.er1
16326 ac_status=$?
16327 grep -v '^ *+' conftest.er1 >conftest.err
16328 rm -f conftest.er1
16329 cat conftest.err >&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } && {
16332 test -z "$ac_c_werror_flag" ||
16333 test ! -s conftest.err
16334 } && test -s conftest$ac_exeext &&
16335 $as_test_x conftest$ac_exeext; then
16336 ac_cv_asm_func_def=".type @function"
16337 else
16338 echo "$as_me: failed program was:" >&5
16339 sed 's/^/| /' conftest.$ac_ext >&5
16341 cat >conftest.$ac_ext <<_ACEOF
16342 /* confdefs.h. */
16343 _ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16349 main ()
16351 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16353 return 0;
16355 _ACEOF
16356 rm -f conftest.$ac_objext conftest$ac_exeext
16357 if { (ac_try="$ac_link"
16358 case "(($ac_try" in
16359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16360 *) ac_try_echo=$ac_try;;
16361 esac
16362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16363 (eval "$ac_link") 2>conftest.er1
16364 ac_status=$?
16365 grep -v '^ *+' conftest.er1 >conftest.err
16366 rm -f conftest.er1
16367 cat conftest.err >&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && {
16370 test -z "$ac_c_werror_flag" ||
16371 test ! -s conftest.err
16372 } && test -s conftest$ac_exeext &&
16373 $as_test_x conftest$ac_exeext; then
16374 ac_cv_asm_func_def=".type 2"
16375 else
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16379 ac_cv_asm_func_def="unknown"
16382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16383 conftest$ac_exeext conftest.$ac_ext
16386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16387 conftest$ac_exeext conftest.$ac_ext
16390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16391 conftest$ac_exeext conftest.$ac_ext
16393 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16394 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16398 case "$ac_cv_asm_func_def" in
16399 ".def")
16400 cat >>confdefs.h <<\_ACEOF
16401 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16402 _ACEOF
16404 ".type @function")
16405 cat >>confdefs.h <<\_ACEOF
16406 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16407 _ACEOF
16409 ".type 2")
16410 cat >>confdefs.h <<\_ACEOF
16411 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16412 _ACEOF
16415 cat >>confdefs.h <<\_ACEOF
16416 #define __ASM_FUNC(name) ""
16417 _ACEOF
16419 esac
16422 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16423 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16424 if test "${ac_cv_c_extern_prefix+set}" = set; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 else
16427 cat >conftest.$ac_ext <<_ACEOF
16428 /* confdefs.h. */
16429 _ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 extern int ac_test;
16435 main ()
16437 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16439 return 0;
16441 _ACEOF
16442 rm -f conftest.$ac_objext conftest$ac_exeext
16443 if { (ac_try="$ac_link"
16444 case "(($ac_try" in
16445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16446 *) ac_try_echo=$ac_try;;
16447 esac
16448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16449 (eval "$ac_link") 2>conftest.er1
16450 ac_status=$?
16451 grep -v '^ *+' conftest.er1 >conftest.err
16452 rm -f conftest.er1
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } && {
16456 test -z "$ac_c_werror_flag" ||
16457 test ! -s conftest.err
16458 } && test -s conftest$ac_exeext &&
16459 $as_test_x conftest$ac_exeext; then
16460 ac_cv_c_extern_prefix="yes"
16461 else
16462 echo "$as_me: failed program was:" >&5
16463 sed 's/^/| /' conftest.$ac_ext >&5
16465 ac_cv_c_extern_prefix="no"
16468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16469 conftest$ac_exeext conftest.$ac_ext
16471 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16472 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16476 if test "$ac_cv_c_extern_prefix" = "yes"
16477 then
16478 cat >>confdefs.h <<\_ACEOF
16479 #define __ASM_NAME(name) "_" name
16480 _ACEOF
16482 else
16483 cat >>confdefs.h <<\_ACEOF
16484 #define __ASM_NAME(name) name
16485 _ACEOF
16490 LDPATH=""
16492 case $build_os in
16493 cygwin*|mingw32*)
16494 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16496 darwin*|macosx*)
16498 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16499 then
16500 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16504 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16506 esac
16508 case $host_os in
16509 mingw32*)
16510 CRTLIBS="-lmsvcrt"
16512 SOCKETLIBS="-lws2_32"
16515 esac
16517 MAIN_BINARY="wine-pthread"
16518 case $host_cpu in
16519 *i[3456789]86*)
16520 case $host_os in
16521 linux* | k*bsd*-gnu)
16522 MAIN_BINARY="wine-glibc"
16524 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16526 freebsd*)
16527 MAIN_BINARY="wine-freebsd"
16529 EXTRA_BINARIES="wine-pthread"
16531 esac
16533 esac
16605 for ac_func in \
16606 _pclose \
16607 _popen \
16608 _snprintf \
16609 _spawnvp \
16610 _strdup \
16611 _stricmp \
16612 _strnicmp \
16613 _strtoi64 \
16614 _strtoui64 \
16615 _vsnprintf \
16616 asctime_r \
16617 chsize \
16618 clone \
16619 dlopen \
16620 epoll_create \
16621 ffs \
16622 finite \
16623 fork \
16624 fpclass \
16625 fstatfs \
16626 fstatvfs \
16627 ftruncate \
16628 futimes \
16629 futimesat \
16630 getdirentries \
16631 getopt_long \
16632 getpagesize \
16633 getpwuid \
16634 gettid \
16635 gettimeofday \
16636 getuid \
16637 inet_pton \
16638 kqueue \
16639 lstat \
16640 memmove \
16641 mmap \
16642 pclose \
16643 poll \
16644 popen \
16645 prctl \
16646 pread \
16647 pwrite \
16648 readlink \
16649 rfork \
16650 sched_yield \
16651 select \
16652 setproctitle \
16653 setrlimit \
16654 settimeofday \
16655 sigaltstack \
16656 sigprocmask \
16657 snprintf \
16658 spawnvp \
16659 statfs \
16660 statvfs \
16661 strcasecmp \
16662 strdup \
16663 strerror \
16664 strncasecmp \
16665 strtold \
16666 strtoll \
16667 strtoull \
16668 tcgetattr \
16669 thr_kill2 \
16670 timegm \
16671 usleep \
16672 vsnprintf \
16673 wait4 \
16674 waitpid \
16677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 else
16683 cat >conftest.$ac_ext <<_ACEOF
16684 /* confdefs.h. */
16685 _ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16691 #define $ac_func innocuous_$ac_func
16693 /* System header to define __stub macros and hopefully few prototypes,
16694 which can conflict with char $ac_func (); below.
16695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16696 <limits.h> exists even on freestanding compilers. */
16698 #ifdef __STDC__
16699 # include <limits.h>
16700 #else
16701 # include <assert.h>
16702 #endif
16704 #undef $ac_func
16706 /* Override any GCC internal prototype to avoid an error.
16707 Use char because int might match the return type of a GCC
16708 builtin and then its argument prototype would still apply. */
16709 #ifdef __cplusplus
16710 extern "C"
16711 #endif
16712 char $ac_func ();
16713 /* The GNU C library defines this for functions which it implements
16714 to always fail with ENOSYS. Some functions are actually named
16715 something starting with __ and the normal name is an alias. */
16716 #if defined __stub_$ac_func || defined __stub___$ac_func
16717 choke me
16718 #endif
16721 main ()
16723 return $ac_func ();
16725 return 0;
16727 _ACEOF
16728 rm -f conftest.$ac_objext conftest$ac_exeext
16729 if { (ac_try="$ac_link"
16730 case "(($ac_try" in
16731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16732 *) ac_try_echo=$ac_try;;
16733 esac
16734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16735 (eval "$ac_link") 2>conftest.er1
16736 ac_status=$?
16737 grep -v '^ *+' conftest.er1 >conftest.err
16738 rm -f conftest.er1
16739 cat conftest.err >&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && {
16742 test -z "$ac_c_werror_flag" ||
16743 test ! -s conftest.err
16744 } && test -s conftest$ac_exeext &&
16745 $as_test_x conftest$ac_exeext; then
16746 eval "$as_ac_var=yes"
16747 else
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16751 eval "$as_ac_var=no"
16754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16755 conftest$ac_exeext conftest.$ac_ext
16757 ac_res=`eval echo '${'$as_ac_var'}'`
16758 { echo "$as_me:$LINENO: result: $ac_res" >&5
16759 echo "${ECHO_T}$ac_res" >&6; }
16760 if test `eval echo '${'$as_ac_var'}'` = yes; then
16761 cat >>confdefs.h <<_ACEOF
16762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16763 _ACEOF
16766 done
16769 if test "$ac_cv_func_dlopen" = no
16770 then
16771 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16772 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16773 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 else
16776 ac_check_lib_save_LIBS=$LIBS
16777 LIBS="-ldl $LIBS"
16778 cat >conftest.$ac_ext <<_ACEOF
16779 /* confdefs.h. */
16780 _ACEOF
16781 cat confdefs.h >>conftest.$ac_ext
16782 cat >>conftest.$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16785 /* Override any GCC internal prototype to avoid an error.
16786 Use char because int might match the return type of a GCC
16787 builtin and then its argument prototype would still apply. */
16788 #ifdef __cplusplus
16789 extern "C"
16790 #endif
16791 char dlopen ();
16793 main ()
16795 return dlopen ();
16797 return 0;
16799 _ACEOF
16800 rm -f conftest.$ac_objext conftest$ac_exeext
16801 if { (ac_try="$ac_link"
16802 case "(($ac_try" in
16803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16804 *) ac_try_echo=$ac_try;;
16805 esac
16806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16807 (eval "$ac_link") 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } && {
16814 test -z "$ac_c_werror_flag" ||
16815 test ! -s conftest.err
16816 } && test -s conftest$ac_exeext &&
16817 $as_test_x conftest$ac_exeext; then
16818 ac_cv_lib_dl_dlopen=yes
16819 else
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16823 ac_cv_lib_dl_dlopen=no
16826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16827 conftest$ac_exeext conftest.$ac_ext
16828 LIBS=$ac_check_lib_save_LIBS
16830 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16831 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16832 if test $ac_cv_lib_dl_dlopen = yes; then
16833 cat >>confdefs.h <<\_ACEOF
16834 #define HAVE_DLOPEN 1
16835 _ACEOF
16836 LIBDL="-ldl"
16841 ac_wine_check_funcs_save_LIBS="$LIBS"
16842 LIBS="$LIBS $LIBDL"
16844 for ac_func in dladdr
16846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852 cat >conftest.$ac_ext <<_ACEOF
16853 /* confdefs.h. */
16854 _ACEOF
16855 cat confdefs.h >>conftest.$ac_ext
16856 cat >>conftest.$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16860 #define $ac_func innocuous_$ac_func
16862 /* System header to define __stub macros and hopefully few prototypes,
16863 which can conflict with char $ac_func (); below.
16864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16865 <limits.h> exists even on freestanding compilers. */
16867 #ifdef __STDC__
16868 # include <limits.h>
16869 #else
16870 # include <assert.h>
16871 #endif
16873 #undef $ac_func
16875 /* Override any GCC internal prototype to avoid an error.
16876 Use char because int might match the return type of a GCC
16877 builtin and then its argument prototype would still apply. */
16878 #ifdef __cplusplus
16879 extern "C"
16880 #endif
16881 char $ac_func ();
16882 /* The GNU C library defines this for functions which it implements
16883 to always fail with ENOSYS. Some functions are actually named
16884 something starting with __ and the normal name is an alias. */
16885 #if defined __stub_$ac_func || defined __stub___$ac_func
16886 choke me
16887 #endif
16890 main ()
16892 return $ac_func ();
16894 return 0;
16896 _ACEOF
16897 rm -f conftest.$ac_objext conftest$ac_exeext
16898 if { (ac_try="$ac_link"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16902 esac
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_link") 2>conftest.er1
16905 ac_status=$?
16906 grep -v '^ *+' conftest.er1 >conftest.err
16907 rm -f conftest.er1
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } && {
16911 test -z "$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16913 } && test -s conftest$ac_exeext &&
16914 $as_test_x conftest$ac_exeext; then
16915 eval "$as_ac_var=yes"
16916 else
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16920 eval "$as_ac_var=no"
16923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16924 conftest$ac_exeext conftest.$ac_ext
16926 ac_res=`eval echo '${'$as_ac_var'}'`
16927 { echo "$as_me:$LINENO: result: $ac_res" >&5
16928 echo "${ECHO_T}$ac_res" >&6; }
16929 if test `eval echo '${'$as_ac_var'}'` = yes; then
16930 cat >>confdefs.h <<_ACEOF
16931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16932 _ACEOF
16935 done
16937 LIBS="$ac_wine_check_funcs_save_LIBS"
16939 if test "$ac_cv_func_poll" = no
16940 then
16941 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16942 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16943 if test "${ac_cv_lib_poll_poll+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 else
16946 ac_check_lib_save_LIBS=$LIBS
16947 LIBS="-lpoll $LIBS"
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16955 /* Override any GCC internal prototype to avoid an error.
16956 Use char because int might match the return type of a GCC
16957 builtin and then its argument prototype would still apply. */
16958 #ifdef __cplusplus
16959 extern "C"
16960 #endif
16961 char poll ();
16963 main ()
16965 return poll ();
16967 return 0;
16969 _ACEOF
16970 rm -f conftest.$ac_objext conftest$ac_exeext
16971 if { (ac_try="$ac_link"
16972 case "(($ac_try" in
16973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16974 *) ac_try_echo=$ac_try;;
16975 esac
16976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16977 (eval "$ac_link") 2>conftest.er1
16978 ac_status=$?
16979 grep -v '^ *+' conftest.er1 >conftest.err
16980 rm -f conftest.er1
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } && {
16984 test -z "$ac_c_werror_flag" ||
16985 test ! -s conftest.err
16986 } && test -s conftest$ac_exeext &&
16987 $as_test_x conftest$ac_exeext; then
16988 ac_cv_lib_poll_poll=yes
16989 else
16990 echo "$as_me: failed program was:" >&5
16991 sed 's/^/| /' conftest.$ac_ext >&5
16993 ac_cv_lib_poll_poll=no
16996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_lib_save_LIBS
17000 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17001 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17002 if test $ac_cv_lib_poll_poll = yes; then
17003 cat >>confdefs.h <<\_ACEOF
17004 #define HAVE_POLL 1
17005 _ACEOF
17006 LIBPOLL="-lpoll"
17012 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17013 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17014 if test "${ac_cv_search_gethostbyname+set}" = set; then
17015 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 else
17017 ac_func_search_save_LIBS=$LIBS
17018 cat >conftest.$ac_ext <<_ACEOF
17019 /* confdefs.h. */
17020 _ACEOF
17021 cat confdefs.h >>conftest.$ac_ext
17022 cat >>conftest.$ac_ext <<_ACEOF
17023 /* end confdefs.h. */
17025 /* Override any GCC internal prototype to avoid an error.
17026 Use char because int might match the return type of a GCC
17027 builtin and then its argument prototype would still apply. */
17028 #ifdef __cplusplus
17029 extern "C"
17030 #endif
17031 char gethostbyname ();
17033 main ()
17035 return gethostbyname ();
17037 return 0;
17039 _ACEOF
17040 for ac_lib in '' nsl; do
17041 if test -z "$ac_lib"; then
17042 ac_res="none required"
17043 else
17044 ac_res=-l$ac_lib
17045 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17047 rm -f conftest.$ac_objext conftest$ac_exeext
17048 if { (ac_try="$ac_link"
17049 case "(($ac_try" in
17050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17051 *) ac_try_echo=$ac_try;;
17052 esac
17053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17054 (eval "$ac_link") 2>conftest.er1
17055 ac_status=$?
17056 grep -v '^ *+' conftest.er1 >conftest.err
17057 rm -f conftest.er1
17058 cat conftest.err >&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); } && {
17061 test -z "$ac_c_werror_flag" ||
17062 test ! -s conftest.err
17063 } && test -s conftest$ac_exeext &&
17064 $as_test_x conftest$ac_exeext; then
17065 ac_cv_search_gethostbyname=$ac_res
17066 else
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17074 conftest$ac_exeext
17075 if test "${ac_cv_search_gethostbyname+set}" = set; then
17076 break
17078 done
17079 if test "${ac_cv_search_gethostbyname+set}" = set; then
17081 else
17082 ac_cv_search_gethostbyname=no
17084 rm conftest.$ac_ext
17085 LIBS=$ac_func_search_save_LIBS
17087 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17088 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17089 ac_res=$ac_cv_search_gethostbyname
17090 if test "$ac_res" != no; then
17091 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17096 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17097 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17098 if test "${ac_cv_search_connect+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 else
17101 ac_func_search_save_LIBS=$LIBS
17102 cat >conftest.$ac_ext <<_ACEOF
17103 /* confdefs.h. */
17104 _ACEOF
17105 cat confdefs.h >>conftest.$ac_ext
17106 cat >>conftest.$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17109 /* Override any GCC internal prototype to avoid an error.
17110 Use char because int might match the return type of a GCC
17111 builtin and then its argument prototype would still apply. */
17112 #ifdef __cplusplus
17113 extern "C"
17114 #endif
17115 char connect ();
17117 main ()
17119 return connect ();
17121 return 0;
17123 _ACEOF
17124 for ac_lib in '' socket; do
17125 if test -z "$ac_lib"; then
17126 ac_res="none required"
17127 else
17128 ac_res=-l$ac_lib
17129 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17131 rm -f conftest.$ac_objext conftest$ac_exeext
17132 if { (ac_try="$ac_link"
17133 case "(($ac_try" in
17134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17135 *) ac_try_echo=$ac_try;;
17136 esac
17137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17138 (eval "$ac_link") 2>conftest.er1
17139 ac_status=$?
17140 grep -v '^ *+' conftest.er1 >conftest.err
17141 rm -f conftest.er1
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } && {
17145 test -z "$ac_c_werror_flag" ||
17146 test ! -s conftest.err
17147 } && test -s conftest$ac_exeext &&
17148 $as_test_x conftest$ac_exeext; then
17149 ac_cv_search_connect=$ac_res
17150 else
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17158 conftest$ac_exeext
17159 if test "${ac_cv_search_connect+set}" = set; then
17160 break
17162 done
17163 if test "${ac_cv_search_connect+set}" = set; then
17165 else
17166 ac_cv_search_connect=no
17168 rm conftest.$ac_ext
17169 LIBS=$ac_func_search_save_LIBS
17171 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17172 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17173 ac_res=$ac_cv_search_connect
17174 if test "$ac_res" != no; then
17175 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17180 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17181 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17182 if test "${ac_cv_search_inet_aton+set}" = set; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 else
17185 ac_func_search_save_LIBS=$LIBS
17186 cat >conftest.$ac_ext <<_ACEOF
17187 /* confdefs.h. */
17188 _ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17196 #ifdef __cplusplus
17197 extern "C"
17198 #endif
17199 char inet_aton ();
17201 main ()
17203 return inet_aton ();
17205 return 0;
17207 _ACEOF
17208 for ac_lib in '' resolv; do
17209 if test -z "$ac_lib"; then
17210 ac_res="none required"
17211 else
17212 ac_res=-l$ac_lib
17213 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17215 rm -f conftest.$ac_objext conftest$ac_exeext
17216 if { (ac_try="$ac_link"
17217 case "(($ac_try" in
17218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17219 *) ac_try_echo=$ac_try;;
17220 esac
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_link") 2>conftest.er1
17223 ac_status=$?
17224 grep -v '^ *+' conftest.er1 >conftest.err
17225 rm -f conftest.er1
17226 cat conftest.err >&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && {
17229 test -z "$ac_c_werror_flag" ||
17230 test ! -s conftest.err
17231 } && test -s conftest$ac_exeext &&
17232 $as_test_x conftest$ac_exeext; then
17233 ac_cv_search_inet_aton=$ac_res
17234 else
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17242 conftest$ac_exeext
17243 if test "${ac_cv_search_inet_aton+set}" = set; then
17244 break
17246 done
17247 if test "${ac_cv_search_inet_aton+set}" = set; then
17249 else
17250 ac_cv_search_inet_aton=no
17252 rm conftest.$ac_ext
17253 LIBS=$ac_func_search_save_LIBS
17255 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17256 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17257 ac_res=$ac_cv_search_inet_aton
17258 if test "$ac_res" != no; then
17259 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17272 for ac_func in \
17273 getaddrinfo \
17274 getnameinfo \
17275 getnetbyname \
17276 getprotobyname \
17277 getprotobynumber \
17278 getservbyport \
17279 inet_network \
17280 sendmsg \
17283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 else
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17297 #define $ac_func innocuous_$ac_func
17299 /* System header to define __stub macros and hopefully few prototypes,
17300 which can conflict with char $ac_func (); below.
17301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17302 <limits.h> exists even on freestanding compilers. */
17304 #ifdef __STDC__
17305 # include <limits.h>
17306 #else
17307 # include <assert.h>
17308 #endif
17310 #undef $ac_func
17312 /* Override any GCC internal prototype to avoid an error.
17313 Use char because int might match the return type of a GCC
17314 builtin and then its argument prototype would still apply. */
17315 #ifdef __cplusplus
17316 extern "C"
17317 #endif
17318 char $ac_func ();
17319 /* The GNU C library defines this for functions which it implements
17320 to always fail with ENOSYS. Some functions are actually named
17321 something starting with __ and the normal name is an alias. */
17322 #if defined __stub_$ac_func || defined __stub___$ac_func
17323 choke me
17324 #endif
17327 main ()
17329 return $ac_func ();
17331 return 0;
17333 _ACEOF
17334 rm -f conftest.$ac_objext conftest$ac_exeext
17335 if { (ac_try="$ac_link"
17336 case "(($ac_try" in
17337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17338 *) ac_try_echo=$ac_try;;
17339 esac
17340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17341 (eval "$ac_link") 2>conftest.er1
17342 ac_status=$?
17343 grep -v '^ *+' conftest.er1 >conftest.err
17344 rm -f conftest.er1
17345 cat conftest.err >&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } && {
17348 test -z "$ac_c_werror_flag" ||
17349 test ! -s conftest.err
17350 } && test -s conftest$ac_exeext &&
17351 $as_test_x conftest$ac_exeext; then
17352 eval "$as_ac_var=yes"
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 eval "$as_ac_var=no"
17360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17361 conftest$ac_exeext conftest.$ac_ext
17363 ac_res=`eval echo '${'$as_ac_var'}'`
17364 { echo "$as_me:$LINENO: result: $ac_res" >&5
17365 echo "${ECHO_T}$ac_res" >&6; }
17366 if test `eval echo '${'$as_ac_var'}'` = yes; then
17367 cat >>confdefs.h <<_ACEOF
17368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17369 _ACEOF
17372 done
17376 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17377 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17378 if test "${ac_cv_c_const+set}" = set; then
17379 echo $ECHO_N "(cached) $ECHO_C" >&6
17380 else
17381 cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h. */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17389 main ()
17391 /* FIXME: Include the comments suggested by Paul. */
17392 #ifndef __cplusplus
17393 /* Ultrix mips cc rejects this. */
17394 typedef int charset[2];
17395 const charset cs;
17396 /* SunOS 4.1.1 cc rejects this. */
17397 char const *const *pcpcc;
17398 char **ppc;
17399 /* NEC SVR4.0.2 mips cc rejects this. */
17400 struct point {int x, y;};
17401 static struct point const zero = {0,0};
17402 /* AIX XL C 1.02.0.0 rejects this.
17403 It does not let you subtract one const X* pointer from another in
17404 an arm of an if-expression whose if-part is not a constant
17405 expression */
17406 const char *g = "string";
17407 pcpcc = &g + (g ? g-g : 0);
17408 /* HPUX 7.0 cc rejects these. */
17409 ++pcpcc;
17410 ppc = (char**) pcpcc;
17411 pcpcc = (char const *const *) ppc;
17412 { /* SCO 3.2v4 cc rejects this. */
17413 char *t;
17414 char const *s = 0 ? (char *) 0 : (char const *) 0;
17416 *t++ = 0;
17417 if (s) return 0;
17419 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17420 int x[] = {25, 17};
17421 const int *foo = &x[0];
17422 ++foo;
17424 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17425 typedef const int *iptr;
17426 iptr p = 0;
17427 ++p;
17429 { /* AIX XL C 1.02.0.0 rejects this saying
17430 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17431 struct s { int j; const int *ap[3]; };
17432 struct s *b; b->j = 5;
17434 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17435 const int foo = 10;
17436 if (!foo) return 0;
17438 return !cs[0] && !zero.x;
17439 #endif
17442 return 0;
17444 _ACEOF
17445 rm -f conftest.$ac_objext
17446 if { (ac_try="$ac_compile"
17447 case "(($ac_try" in
17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17450 esac
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_compile") 2>conftest.er1
17453 ac_status=$?
17454 grep -v '^ *+' conftest.er1 >conftest.err
17455 rm -f conftest.er1
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } && {
17459 test -z "$ac_c_werror_flag" ||
17460 test ! -s conftest.err
17461 } && test -s conftest.$ac_objext; then
17462 ac_cv_c_const=yes
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17467 ac_cv_c_const=no
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17473 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17474 if test $ac_cv_c_const = no; then
17476 cat >>confdefs.h <<\_ACEOF
17477 #define const
17478 _ACEOF
17482 { echo "$as_me:$LINENO: checking for inline" >&5
17483 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17484 if test "${ac_cv_c_inline+set}" = set; then
17485 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 else
17487 ac_cv_c_inline=no
17488 for ac_kw in inline __inline__ __inline; do
17489 cat >conftest.$ac_ext <<_ACEOF
17490 /* confdefs.h. */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 #ifndef __cplusplus
17496 typedef int foo_t;
17497 static $ac_kw foo_t static_foo () {return 0; }
17498 $ac_kw foo_t foo () {return 0; }
17499 #endif
17501 _ACEOF
17502 rm -f conftest.$ac_objext
17503 if { (ac_try="$ac_compile"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17507 esac
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compile") 2>conftest.er1
17510 ac_status=$?
17511 grep -v '^ *+' conftest.er1 >conftest.err
17512 rm -f conftest.er1
17513 cat conftest.err >&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } && {
17516 test -z "$ac_c_werror_flag" ||
17517 test ! -s conftest.err
17518 } && test -s conftest.$ac_objext; then
17519 ac_cv_c_inline=$ac_kw
17520 else
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 test "$ac_cv_c_inline" != no && break
17529 done
17532 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17533 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17536 case $ac_cv_c_inline in
17537 inline | yes) ;;
17539 case $ac_cv_c_inline in
17540 no) ac_val=;;
17541 *) ac_val=$ac_cv_c_inline;;
17542 esac
17543 cat >>confdefs.h <<_ACEOF
17544 #ifndef __cplusplus
17545 #define inline $ac_val
17546 #endif
17547 _ACEOF
17549 esac
17551 { echo "$as_me:$LINENO: checking for mode_t" >&5
17552 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17553 if test "${ac_cv_type_mode_t+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 else
17556 cat >conftest.$ac_ext <<_ACEOF
17557 /* confdefs.h. */
17558 _ACEOF
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562 $ac_includes_default
17563 typedef mode_t ac__type_new_;
17565 main ()
17567 if ((ac__type_new_ *) 0)
17568 return 0;
17569 if (sizeof (ac__type_new_))
17570 return 0;
17572 return 0;
17574 _ACEOF
17575 rm -f conftest.$ac_objext
17576 if { (ac_try="$ac_compile"
17577 case "(($ac_try" in
17578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17579 *) ac_try_echo=$ac_try;;
17580 esac
17581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17582 (eval "$ac_compile") 2>conftest.er1
17583 ac_status=$?
17584 grep -v '^ *+' conftest.er1 >conftest.err
17585 rm -f conftest.er1
17586 cat conftest.err >&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); } && {
17589 test -z "$ac_c_werror_flag" ||
17590 test ! -s conftest.err
17591 } && test -s conftest.$ac_objext; then
17592 ac_cv_type_mode_t=yes
17593 else
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 ac_cv_type_mode_t=no
17600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17603 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17604 if test $ac_cv_type_mode_t = yes; then
17606 cat >>confdefs.h <<_ACEOF
17607 #define HAVE_MODE_T 1
17608 _ACEOF
17612 { echo "$as_me:$LINENO: checking for off_t" >&5
17613 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17614 if test "${ac_cv_type_off_t+set}" = set; then
17615 echo $ECHO_N "(cached) $ECHO_C" >&6
17616 else
17617 cat >conftest.$ac_ext <<_ACEOF
17618 /* confdefs.h. */
17619 _ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 $ac_includes_default
17624 typedef off_t ac__type_new_;
17626 main ()
17628 if ((ac__type_new_ *) 0)
17629 return 0;
17630 if (sizeof (ac__type_new_))
17631 return 0;
17633 return 0;
17635 _ACEOF
17636 rm -f conftest.$ac_objext
17637 if { (ac_try="$ac_compile"
17638 case "(($ac_try" in
17639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17640 *) ac_try_echo=$ac_try;;
17641 esac
17642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17643 (eval "$ac_compile") 2>conftest.er1
17644 ac_status=$?
17645 grep -v '^ *+' conftest.er1 >conftest.err
17646 rm -f conftest.er1
17647 cat conftest.err >&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } && {
17650 test -z "$ac_c_werror_flag" ||
17651 test ! -s conftest.err
17652 } && test -s conftest.$ac_objext; then
17653 ac_cv_type_off_t=yes
17654 else
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17658 ac_cv_type_off_t=no
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17664 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17665 if test $ac_cv_type_off_t = yes; then
17667 cat >>confdefs.h <<_ACEOF
17668 #define HAVE_OFF_T 1
17669 _ACEOF
17673 { echo "$as_me:$LINENO: checking for pid_t" >&5
17674 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17675 if test "${ac_cv_type_pid_t+set}" = set; then
17676 echo $ECHO_N "(cached) $ECHO_C" >&6
17677 else
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17685 typedef pid_t ac__type_new_;
17687 main ()
17689 if ((ac__type_new_ *) 0)
17690 return 0;
17691 if (sizeof (ac__type_new_))
17692 return 0;
17694 return 0;
17696 _ACEOF
17697 rm -f conftest.$ac_objext
17698 if { (ac_try="$ac_compile"
17699 case "(($ac_try" in
17700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17701 *) ac_try_echo=$ac_try;;
17702 esac
17703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17704 (eval "$ac_compile") 2>conftest.er1
17705 ac_status=$?
17706 grep -v '^ *+' conftest.er1 >conftest.err
17707 rm -f conftest.er1
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } && {
17711 test -z "$ac_c_werror_flag" ||
17712 test ! -s conftest.err
17713 } && test -s conftest.$ac_objext; then
17714 ac_cv_type_pid_t=yes
17715 else
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.$ac_ext >&5
17719 ac_cv_type_pid_t=no
17722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17725 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17726 if test $ac_cv_type_pid_t = yes; then
17728 cat >>confdefs.h <<_ACEOF
17729 #define HAVE_PID_T 1
17730 _ACEOF
17734 { echo "$as_me:$LINENO: checking for size_t" >&5
17735 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17736 if test "${ac_cv_type_size_t+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 else
17739 cat >conftest.$ac_ext <<_ACEOF
17740 /* confdefs.h. */
17741 _ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 $ac_includes_default
17746 typedef size_t ac__type_new_;
17748 main ()
17750 if ((ac__type_new_ *) 0)
17751 return 0;
17752 if (sizeof (ac__type_new_))
17753 return 0;
17755 return 0;
17757 _ACEOF
17758 rm -f conftest.$ac_objext
17759 if { (ac_try="$ac_compile"
17760 case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17762 *) ac_try_echo=$ac_try;;
17763 esac
17764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17765 (eval "$ac_compile") 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } && {
17772 test -z "$ac_c_werror_flag" ||
17773 test ! -s conftest.err
17774 } && test -s conftest.$ac_objext; then
17775 ac_cv_type_size_t=yes
17776 else
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.$ac_ext >&5
17780 ac_cv_type_size_t=no
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17786 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17787 if test $ac_cv_type_size_t = yes; then
17789 cat >>confdefs.h <<_ACEOF
17790 #define HAVE_SIZE_T 1
17791 _ACEOF
17795 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17796 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17797 if test "${ac_cv_type_ssize_t+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17799 else
17800 cat >conftest.$ac_ext <<_ACEOF
17801 /* confdefs.h. */
17802 _ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 $ac_includes_default
17807 typedef ssize_t ac__type_new_;
17809 main ()
17811 if ((ac__type_new_ *) 0)
17812 return 0;
17813 if (sizeof (ac__type_new_))
17814 return 0;
17816 return 0;
17818 _ACEOF
17819 rm -f conftest.$ac_objext
17820 if { (ac_try="$ac_compile"
17821 case "(($ac_try" in
17822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17823 *) ac_try_echo=$ac_try;;
17824 esac
17825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17826 (eval "$ac_compile") 2>conftest.er1
17827 ac_status=$?
17828 grep -v '^ *+' conftest.er1 >conftest.err
17829 rm -f conftest.er1
17830 cat conftest.err >&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } && {
17833 test -z "$ac_c_werror_flag" ||
17834 test ! -s conftest.err
17835 } && test -s conftest.$ac_objext; then
17836 ac_cv_type_ssize_t=yes
17837 else
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17841 ac_cv_type_ssize_t=no
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17847 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17848 if test $ac_cv_type_ssize_t = yes; then
17850 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_SSIZE_T 1
17852 _ACEOF
17856 { echo "$as_me:$LINENO: checking for long long" >&5
17857 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17858 if test "${ac_cv_type_long_long+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17860 else
17861 cat >conftest.$ac_ext <<_ACEOF
17862 /* confdefs.h. */
17863 _ACEOF
17864 cat confdefs.h >>conftest.$ac_ext
17865 cat >>conftest.$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 $ac_includes_default
17868 typedef long long ac__type_new_;
17870 main ()
17872 if ((ac__type_new_ *) 0)
17873 return 0;
17874 if (sizeof (ac__type_new_))
17875 return 0;
17877 return 0;
17879 _ACEOF
17880 rm -f conftest.$ac_objext
17881 if { (ac_try="$ac_compile"
17882 case "(($ac_try" in
17883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17884 *) ac_try_echo=$ac_try;;
17885 esac
17886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17887 (eval "$ac_compile") 2>conftest.er1
17888 ac_status=$?
17889 grep -v '^ *+' conftest.er1 >conftest.err
17890 rm -f conftest.er1
17891 cat conftest.err >&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } && {
17894 test -z "$ac_c_werror_flag" ||
17895 test ! -s conftest.err
17896 } && test -s conftest.$ac_objext; then
17897 ac_cv_type_long_long=yes
17898 else
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17902 ac_cv_type_long_long=no
17905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17907 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17908 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17909 if test $ac_cv_type_long_long = yes; then
17911 cat >>confdefs.h <<_ACEOF
17912 #define HAVE_LONG_LONG 1
17913 _ACEOF
17917 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17918 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17919 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17920 echo $ECHO_N "(cached) $ECHO_C" >&6
17921 else
17922 cat >conftest.$ac_ext <<_ACEOF
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 $ac_includes_default
17929 typedef fsblkcnt_t ac__type_new_;
17931 main ()
17933 if ((ac__type_new_ *) 0)
17934 return 0;
17935 if (sizeof (ac__type_new_))
17936 return 0;
17938 return 0;
17940 _ACEOF
17941 rm -f conftest.$ac_objext
17942 if { (ac_try="$ac_compile"
17943 case "(($ac_try" in
17944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17945 *) ac_try_echo=$ac_try;;
17946 esac
17947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17948 (eval "$ac_compile") 2>conftest.er1
17949 ac_status=$?
17950 grep -v '^ *+' conftest.er1 >conftest.err
17951 rm -f conftest.er1
17952 cat conftest.err >&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } && {
17955 test -z "$ac_c_werror_flag" ||
17956 test ! -s conftest.err
17957 } && test -s conftest.$ac_objext; then
17958 ac_cv_type_fsblkcnt_t=yes
17959 else
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17963 ac_cv_type_fsblkcnt_t=no
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17969 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17970 if test $ac_cv_type_fsblkcnt_t = yes; then
17972 cat >>confdefs.h <<_ACEOF
17973 #define HAVE_FSBLKCNT_T 1
17974 _ACEOF
17978 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17979 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17980 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h. */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17990 typedef fsfilcnt_t ac__type_new_;
17992 main ()
17994 if ((ac__type_new_ *) 0)
17995 return 0;
17996 if (sizeof (ac__type_new_))
17997 return 0;
17999 return 0;
18001 _ACEOF
18002 rm -f conftest.$ac_objext
18003 if { (ac_try="$ac_compile"
18004 case "(($ac_try" in
18005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18007 esac
18008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_compile") 2>conftest.er1
18010 ac_status=$?
18011 grep -v '^ *+' conftest.er1 >conftest.err
18012 rm -f conftest.er1
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } && {
18016 test -z "$ac_c_werror_flag" ||
18017 test ! -s conftest.err
18018 } && test -s conftest.$ac_objext; then
18019 ac_cv_type_fsfilcnt_t=yes
18020 else
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18024 ac_cv_type_fsfilcnt_t=no
18027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18029 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18030 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18031 if test $ac_cv_type_fsfilcnt_t = yes; then
18033 cat >>confdefs.h <<_ACEOF
18034 #define HAVE_FSFILCNT_T 1
18035 _ACEOF
18040 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18041 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18042 if test "${ac_cv_type_sigset_t+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #include <signal.h>
18053 typedef sigset_t ac__type_new_;
18055 main ()
18057 if ((ac__type_new_ *) 0)
18058 return 0;
18059 if (sizeof (ac__type_new_))
18060 return 0;
18062 return 0;
18064 _ACEOF
18065 rm -f conftest.$ac_objext
18066 if { (ac_try="$ac_compile"
18067 case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18070 esac
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_compile") 2>conftest.er1
18073 ac_status=$?
18074 grep -v '^ *+' conftest.er1 >conftest.err
18075 rm -f conftest.er1
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest.$ac_objext; then
18082 ac_cv_type_sigset_t=yes
18083 else
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.$ac_ext >&5
18087 ac_cv_type_sigset_t=no
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18093 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18094 if test $ac_cv_type_sigset_t = yes; then
18096 cat >>confdefs.h <<_ACEOF
18097 #define HAVE_SIGSET_T 1
18098 _ACEOF
18103 { echo "$as_me:$LINENO: checking for request_sense" >&5
18104 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18105 if test "${ac_cv_type_request_sense+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18107 else
18108 cat >conftest.$ac_ext <<_ACEOF
18109 /* confdefs.h. */
18110 _ACEOF
18111 cat confdefs.h >>conftest.$ac_ext
18112 cat >>conftest.$ac_ext <<_ACEOF
18113 /* end confdefs.h. */
18114 #include <linux/cdrom.h>
18116 typedef request_sense ac__type_new_;
18118 main ()
18120 if ((ac__type_new_ *) 0)
18121 return 0;
18122 if (sizeof (ac__type_new_))
18123 return 0;
18125 return 0;
18127 _ACEOF
18128 rm -f conftest.$ac_objext
18129 if { (ac_try="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18133 esac
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18136 ac_status=$?
18137 grep -v '^ *+' conftest.er1 >conftest.err
18138 rm -f conftest.er1
18139 cat conftest.err >&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_c_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.$ac_objext; then
18145 ac_cv_type_request_sense=yes
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 ac_cv_type_request_sense=no
18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18156 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18157 if test $ac_cv_type_request_sense = yes; then
18159 cat >>confdefs.h <<_ACEOF
18160 #define HAVE_REQUEST_SENSE 1
18161 _ACEOF
18167 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18168 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18169 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172 cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h. */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #ifdef HAVE_LINUX_INPUT_H
18179 #include <linux/input.h>
18180 #endif
18183 main ()
18185 static struct ff_effect ac_aggr;
18186 if (ac_aggr.direction)
18187 return 0;
18189 return 0;
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18197 esac
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_c_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_member_struct_ff_effect_direction=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 cat >conftest.$ac_ext <<_ACEOF
18215 /* confdefs.h. */
18216 _ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220 #ifdef HAVE_LINUX_INPUT_H
18221 #include <linux/input.h>
18222 #endif
18225 main ()
18227 static struct ff_effect ac_aggr;
18228 if (sizeof ac_aggr.direction)
18229 return 0;
18231 return 0;
18233 _ACEOF
18234 rm -f conftest.$ac_objext
18235 if { (ac_try="$ac_compile"
18236 case "(($ac_try" in
18237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238 *) ac_try_echo=$ac_try;;
18239 esac
18240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18241 (eval "$ac_compile") 2>conftest.er1
18242 ac_status=$?
18243 grep -v '^ *+' conftest.er1 >conftest.err
18244 rm -f conftest.er1
18245 cat conftest.err >&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_c_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest.$ac_objext; then
18251 ac_cv_member_struct_ff_effect_direction=yes
18252 else
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18256 ac_cv_member_struct_ff_effect_direction=no
18259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18265 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18266 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18268 cat >>confdefs.h <<_ACEOF
18269 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18270 _ACEOF
18276 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18277 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18278 if test "${wine_cv_have_sigaddset+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18280 else
18281 cat >conftest.$ac_ext <<_ACEOF
18282 /* confdefs.h. */
18283 _ACEOF
18284 cat confdefs.h >>conftest.$ac_ext
18285 cat >>conftest.$ac_ext <<_ACEOF
18286 /* end confdefs.h. */
18287 #include <signal.h>
18289 main ()
18291 sigset_t set; sigaddset(&set,SIGTERM);
18293 return 0;
18295 _ACEOF
18296 rm -f conftest.$ac_objext conftest$ac_exeext
18297 if { (ac_try="$ac_link"
18298 case "(($ac_try" in
18299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18300 *) ac_try_echo=$ac_try;;
18301 esac
18302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303 (eval "$ac_link") 2>conftest.er1
18304 ac_status=$?
18305 grep -v '^ *+' conftest.er1 >conftest.err
18306 rm -f conftest.er1
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } && {
18310 test -z "$ac_c_werror_flag" ||
18311 test ! -s conftest.err
18312 } && test -s conftest$ac_exeext &&
18313 $as_test_x conftest$ac_exeext; then
18314 wine_cv_have_sigaddset=yes
18315 else
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.$ac_ext >&5
18319 wine_cv_have_sigaddset=no
18322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18323 conftest$ac_exeext conftest.$ac_ext
18325 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18326 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18327 if test "$wine_cv_have_sigaddset" = "yes"
18328 then
18330 cat >>confdefs.h <<\_ACEOF
18331 #define HAVE_SIGADDSET 1
18332 _ACEOF
18337 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18338 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18339 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18340 echo $ECHO_N "(cached) $ECHO_C" >&6
18341 else
18342 cat >conftest.$ac_ext <<_ACEOF
18343 /* confdefs.h. */
18344 _ACEOF
18345 cat confdefs.h >>conftest.$ac_ext
18346 cat >>conftest.$ac_ext <<_ACEOF
18347 /* end confdefs.h. */
18348 #include <netdb.h>
18350 main ()
18353 char *name=0;
18354 struct hostent he;
18355 struct hostent *result;
18356 char *buf=0;
18357 int bufsize=0;
18358 int res,errnr;
18359 char *addr=0;
18360 int addrlen=0;
18361 int addrtype=0;
18362 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18363 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18366 return 0;
18368 _ACEOF
18369 rm -f conftest.$ac_objext conftest$ac_exeext
18370 if { (ac_try="$ac_link"
18371 case "(($ac_try" in
18372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18374 esac
18375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_link") 2>conftest.er1
18377 ac_status=$?
18378 grep -v '^ *+' conftest.er1 >conftest.err
18379 rm -f conftest.er1
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } && {
18383 test -z "$ac_c_werror_flag" ||
18384 test ! -s conftest.err
18385 } && test -s conftest$ac_exeext &&
18386 $as_test_x conftest$ac_exeext; then
18387 wine_cv_linux_gethostbyname_r_6=yes
18388 else
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.$ac_ext >&5
18392 wine_cv_linux_gethostbyname_r_6=no
18396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18397 conftest$ac_exeext conftest.$ac_ext
18400 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18401 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18402 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18403 then
18405 cat >>confdefs.h <<\_ACEOF
18406 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18407 _ACEOF
18411 if test "$ac_cv_header_linux_joystick_h" = "yes"
18412 then
18413 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18414 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18415 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18416 echo $ECHO_N "(cached) $ECHO_C" >&6
18417 else
18418 cat >conftest.$ac_ext <<_ACEOF
18419 /* confdefs.h. */
18420 _ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18425 #include <sys/ioctl.h>
18426 #include <sys/types.h>
18427 #include <linux/joystick.h>
18429 struct js_event blub;
18430 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18431 #error "no 2.2 header"
18432 #endif
18435 main ()
18437 /*empty*/
18439 return 0;
18441 _ACEOF
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18447 esac
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && {
18456 test -z "$ac_c_werror_flag" ||
18457 test ! -s conftest.err
18458 } && test -s conftest.$ac_objext; then
18459 wine_cv_linux_joystick_22_api=yes
18460 else
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18464 wine_cv_linux_joystick_22_api=no
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18471 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18472 if test "$wine_cv_linux_joystick_22_api" = "yes"
18473 then
18475 cat >>confdefs.h <<\_ACEOF
18476 #define HAVE_LINUX_22_JOYSTICK_API 1
18477 _ACEOF
18483 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18484 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18485 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 else
18488 cat >conftest.$ac_ext <<_ACEOF
18489 /* confdefs.h. */
18490 _ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 #include <sys/types.h>
18495 #ifdef HAVE_SYS_PARAM_H
18496 # include <sys/param.h>
18497 #endif
18498 #ifdef HAVE_SYS_MOUNT_H
18499 # include <sys/mount.h>
18500 #endif
18501 #ifdef HAVE_SYS_VFS_H
18502 # include <sys/vfs.h>
18503 #endif
18504 #ifdef HAVE_SYS_STATFS_H
18505 # include <sys/statfs.h>
18506 #endif
18509 main ()
18511 static struct statfs ac_aggr;
18512 if (ac_aggr.f_bfree)
18513 return 0;
18515 return 0;
18517 _ACEOF
18518 rm -f conftest.$ac_objext
18519 if { (ac_try="$ac_compile"
18520 case "(($ac_try" in
18521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18522 *) ac_try_echo=$ac_try;;
18523 esac
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_compile") 2>conftest.er1
18526 ac_status=$?
18527 grep -v '^ *+' conftest.er1 >conftest.err
18528 rm -f conftest.er1
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } && {
18532 test -z "$ac_c_werror_flag" ||
18533 test ! -s conftest.err
18534 } && test -s conftest.$ac_objext; then
18535 ac_cv_member_struct_statfs_f_bfree=yes
18536 else
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 #include <sys/types.h>
18547 #ifdef HAVE_SYS_PARAM_H
18548 # include <sys/param.h>
18549 #endif
18550 #ifdef HAVE_SYS_MOUNT_H
18551 # include <sys/mount.h>
18552 #endif
18553 #ifdef HAVE_SYS_VFS_H
18554 # include <sys/vfs.h>
18555 #endif
18556 #ifdef HAVE_SYS_STATFS_H
18557 # include <sys/statfs.h>
18558 #endif
18561 main ()
18563 static struct statfs ac_aggr;
18564 if (sizeof ac_aggr.f_bfree)
18565 return 0;
18567 return 0;
18569 _ACEOF
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_member_struct_statfs_f_bfree=yes
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_cv_member_struct_statfs_f_bfree=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18601 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18602 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_STRUCT_STATFS_F_BFREE 1
18606 _ACEOF
18610 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18611 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18612 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 else
18615 cat >conftest.$ac_ext <<_ACEOF
18616 /* confdefs.h. */
18617 _ACEOF
18618 cat confdefs.h >>conftest.$ac_ext
18619 cat >>conftest.$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18621 #include <sys/types.h>
18622 #ifdef HAVE_SYS_PARAM_H
18623 # include <sys/param.h>
18624 #endif
18625 #ifdef HAVE_SYS_MOUNT_H
18626 # include <sys/mount.h>
18627 #endif
18628 #ifdef HAVE_SYS_VFS_H
18629 # include <sys/vfs.h>
18630 #endif
18631 #ifdef HAVE_SYS_STATFS_H
18632 # include <sys/statfs.h>
18633 #endif
18636 main ()
18638 static struct statfs ac_aggr;
18639 if (ac_aggr.f_bavail)
18640 return 0;
18642 return 0;
18644 _ACEOF
18645 rm -f conftest.$ac_objext
18646 if { (ac_try="$ac_compile"
18647 case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18650 esac
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_compile") 2>conftest.er1
18653 ac_status=$?
18654 grep -v '^ *+' conftest.er1 >conftest.err
18655 rm -f conftest.er1
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } && {
18659 test -z "$ac_c_werror_flag" ||
18660 test ! -s conftest.err
18661 } && test -s conftest.$ac_objext; then
18662 ac_cv_member_struct_statfs_f_bavail=yes
18663 else
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.$ac_ext >&5
18667 cat >conftest.$ac_ext <<_ACEOF
18668 /* confdefs.h. */
18669 _ACEOF
18670 cat confdefs.h >>conftest.$ac_ext
18671 cat >>conftest.$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 #include <sys/types.h>
18674 #ifdef HAVE_SYS_PARAM_H
18675 # include <sys/param.h>
18676 #endif
18677 #ifdef HAVE_SYS_MOUNT_H
18678 # include <sys/mount.h>
18679 #endif
18680 #ifdef HAVE_SYS_VFS_H
18681 # include <sys/vfs.h>
18682 #endif
18683 #ifdef HAVE_SYS_STATFS_H
18684 # include <sys/statfs.h>
18685 #endif
18688 main ()
18690 static struct statfs ac_aggr;
18691 if (sizeof ac_aggr.f_bavail)
18692 return 0;
18694 return 0;
18696 _ACEOF
18697 rm -f conftest.$ac_objext
18698 if { (ac_try="$ac_compile"
18699 case "(($ac_try" in
18700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18701 *) ac_try_echo=$ac_try;;
18702 esac
18703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18704 (eval "$ac_compile") 2>conftest.er1
18705 ac_status=$?
18706 grep -v '^ *+' conftest.er1 >conftest.err
18707 rm -f conftest.er1
18708 cat conftest.err >&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } && {
18711 test -z "$ac_c_werror_flag" ||
18712 test ! -s conftest.err
18713 } && test -s conftest.$ac_objext; then
18714 ac_cv_member_struct_statfs_f_bavail=yes
18715 else
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18719 ac_cv_member_struct_statfs_f_bavail=no
18722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18727 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18728 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18729 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18731 cat >>confdefs.h <<_ACEOF
18732 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18733 _ACEOF
18737 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18738 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18739 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 else
18742 cat >conftest.$ac_ext <<_ACEOF
18743 /* confdefs.h. */
18744 _ACEOF
18745 cat confdefs.h >>conftest.$ac_ext
18746 cat >>conftest.$ac_ext <<_ACEOF
18747 /* end confdefs.h. */
18748 #include <sys/types.h>
18749 #ifdef HAVE_SYS_PARAM_H
18750 # include <sys/param.h>
18751 #endif
18752 #ifdef HAVE_SYS_MOUNT_H
18753 # include <sys/mount.h>
18754 #endif
18755 #ifdef HAVE_SYS_VFS_H
18756 # include <sys/vfs.h>
18757 #endif
18758 #ifdef HAVE_SYS_STATFS_H
18759 # include <sys/statfs.h>
18760 #endif
18763 main ()
18765 static struct statfs ac_aggr;
18766 if (ac_aggr.f_frsize)
18767 return 0;
18769 return 0;
18771 _ACEOF
18772 rm -f conftest.$ac_objext
18773 if { (ac_try="$ac_compile"
18774 case "(($ac_try" in
18775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18776 *) ac_try_echo=$ac_try;;
18777 esac
18778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18779 (eval "$ac_compile") 2>conftest.er1
18780 ac_status=$?
18781 grep -v '^ *+' conftest.er1 >conftest.err
18782 rm -f conftest.er1
18783 cat conftest.err >&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); } && {
18786 test -z "$ac_c_werror_flag" ||
18787 test ! -s conftest.err
18788 } && test -s conftest.$ac_objext; then
18789 ac_cv_member_struct_statfs_f_frsize=yes
18790 else
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18794 cat >conftest.$ac_ext <<_ACEOF
18795 /* confdefs.h. */
18796 _ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800 #include <sys/types.h>
18801 #ifdef HAVE_SYS_PARAM_H
18802 # include <sys/param.h>
18803 #endif
18804 #ifdef HAVE_SYS_MOUNT_H
18805 # include <sys/mount.h>
18806 #endif
18807 #ifdef HAVE_SYS_VFS_H
18808 # include <sys/vfs.h>
18809 #endif
18810 #ifdef HAVE_SYS_STATFS_H
18811 # include <sys/statfs.h>
18812 #endif
18815 main ()
18817 static struct statfs ac_aggr;
18818 if (sizeof ac_aggr.f_frsize)
18819 return 0;
18821 return 0;
18823 _ACEOF
18824 rm -f conftest.$ac_objext
18825 if { (ac_try="$ac_compile"
18826 case "(($ac_try" in
18827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18828 *) ac_try_echo=$ac_try;;
18829 esac
18830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18831 (eval "$ac_compile") 2>conftest.er1
18832 ac_status=$?
18833 grep -v '^ *+' conftest.er1 >conftest.err
18834 rm -f conftest.er1
18835 cat conftest.err >&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } && {
18838 test -z "$ac_c_werror_flag" ||
18839 test ! -s conftest.err
18840 } && test -s conftest.$ac_objext; then
18841 ac_cv_member_struct_statfs_f_frsize=yes
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18846 ac_cv_member_struct_statfs_f_frsize=no
18849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18855 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18856 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18858 cat >>confdefs.h <<_ACEOF
18859 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18860 _ACEOF
18864 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18865 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18866 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 else
18869 cat >conftest.$ac_ext <<_ACEOF
18870 /* confdefs.h. */
18871 _ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 #include <sys/types.h>
18876 #ifdef HAVE_SYS_PARAM_H
18877 # include <sys/param.h>
18878 #endif
18879 #ifdef HAVE_SYS_MOUNT_H
18880 # include <sys/mount.h>
18881 #endif
18882 #ifdef HAVE_SYS_VFS_H
18883 # include <sys/vfs.h>
18884 #endif
18885 #ifdef HAVE_SYS_STATFS_H
18886 # include <sys/statfs.h>
18887 #endif
18890 main ()
18892 static struct statfs ac_aggr;
18893 if (ac_aggr.f_ffree)
18894 return 0;
18896 return 0;
18898 _ACEOF
18899 rm -f conftest.$ac_objext
18900 if { (ac_try="$ac_compile"
18901 case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18904 esac
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_compile") 2>conftest.er1
18907 ac_status=$?
18908 grep -v '^ *+' conftest.er1 >conftest.err
18909 rm -f conftest.er1
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } && {
18913 test -z "$ac_c_werror_flag" ||
18914 test ! -s conftest.err
18915 } && test -s conftest.$ac_objext; then
18916 ac_cv_member_struct_statfs_f_ffree=yes
18917 else
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 #include <sys/types.h>
18928 #ifdef HAVE_SYS_PARAM_H
18929 # include <sys/param.h>
18930 #endif
18931 #ifdef HAVE_SYS_MOUNT_H
18932 # include <sys/mount.h>
18933 #endif
18934 #ifdef HAVE_SYS_VFS_H
18935 # include <sys/vfs.h>
18936 #endif
18937 #ifdef HAVE_SYS_STATFS_H
18938 # include <sys/statfs.h>
18939 #endif
18942 main ()
18944 static struct statfs ac_aggr;
18945 if (sizeof ac_aggr.f_ffree)
18946 return 0;
18948 return 0;
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (ac_try="$ac_compile"
18953 case "(($ac_try" in
18954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18955 *) ac_try_echo=$ac_try;;
18956 esac
18957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18958 (eval "$ac_compile") 2>conftest.er1
18959 ac_status=$?
18960 grep -v '^ *+' conftest.er1 >conftest.err
18961 rm -f conftest.er1
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } && {
18965 test -z "$ac_c_werror_flag" ||
18966 test ! -s conftest.err
18967 } && test -s conftest.$ac_objext; then
18968 ac_cv_member_struct_statfs_f_ffree=yes
18969 else
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.$ac_ext >&5
18973 ac_cv_member_struct_statfs_f_ffree=no
18976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18982 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18983 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18985 cat >>confdefs.h <<_ACEOF
18986 #define HAVE_STRUCT_STATFS_F_FFREE 1
18987 _ACEOF
18991 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18992 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18993 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18994 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 else
18996 cat >conftest.$ac_ext <<_ACEOF
18997 /* confdefs.h. */
18998 _ACEOF
18999 cat confdefs.h >>conftest.$ac_ext
19000 cat >>conftest.$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 #include <sys/types.h>
19003 #ifdef HAVE_SYS_PARAM_H
19004 # include <sys/param.h>
19005 #endif
19006 #ifdef HAVE_SYS_MOUNT_H
19007 # include <sys/mount.h>
19008 #endif
19009 #ifdef HAVE_SYS_VFS_H
19010 # include <sys/vfs.h>
19011 #endif
19012 #ifdef HAVE_SYS_STATFS_H
19013 # include <sys/statfs.h>
19014 #endif
19017 main ()
19019 static struct statfs ac_aggr;
19020 if (ac_aggr.f_favail)
19021 return 0;
19023 return 0;
19025 _ACEOF
19026 rm -f conftest.$ac_objext
19027 if { (ac_try="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19031 esac
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_compile") 2>conftest.er1
19034 ac_status=$?
19035 grep -v '^ *+' conftest.er1 >conftest.err
19036 rm -f conftest.er1
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && {
19040 test -z "$ac_c_werror_flag" ||
19041 test ! -s conftest.err
19042 } && test -s conftest.$ac_objext; then
19043 ac_cv_member_struct_statfs_f_favail=yes
19044 else
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19048 cat >conftest.$ac_ext <<_ACEOF
19049 /* confdefs.h. */
19050 _ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 #include <sys/types.h>
19055 #ifdef HAVE_SYS_PARAM_H
19056 # include <sys/param.h>
19057 #endif
19058 #ifdef HAVE_SYS_MOUNT_H
19059 # include <sys/mount.h>
19060 #endif
19061 #ifdef HAVE_SYS_VFS_H
19062 # include <sys/vfs.h>
19063 #endif
19064 #ifdef HAVE_SYS_STATFS_H
19065 # include <sys/statfs.h>
19066 #endif
19069 main ()
19071 static struct statfs ac_aggr;
19072 if (sizeof ac_aggr.f_favail)
19073 return 0;
19075 return 0;
19077 _ACEOF
19078 rm -f conftest.$ac_objext
19079 if { (ac_try="$ac_compile"
19080 case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19083 esac
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_compile") 2>conftest.er1
19086 ac_status=$?
19087 grep -v '^ *+' conftest.er1 >conftest.err
19088 rm -f conftest.er1
19089 cat conftest.err >&5
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); } && {
19092 test -z "$ac_c_werror_flag" ||
19093 test ! -s conftest.err
19094 } && test -s conftest.$ac_objext; then
19095 ac_cv_member_struct_statfs_f_favail=yes
19096 else
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 ac_cv_member_struct_statfs_f_favail=no
19103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19108 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19109 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19110 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19112 cat >>confdefs.h <<_ACEOF
19113 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19114 _ACEOF
19118 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19119 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19120 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 else
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 #include <sys/types.h>
19130 #ifdef HAVE_SYS_PARAM_H
19131 # include <sys/param.h>
19132 #endif
19133 #ifdef HAVE_SYS_MOUNT_H
19134 # include <sys/mount.h>
19135 #endif
19136 #ifdef HAVE_SYS_VFS_H
19137 # include <sys/vfs.h>
19138 #endif
19139 #ifdef HAVE_SYS_STATFS_H
19140 # include <sys/statfs.h>
19141 #endif
19144 main ()
19146 static struct statfs ac_aggr;
19147 if (ac_aggr.f_namelen)
19148 return 0;
19150 return 0;
19152 _ACEOF
19153 rm -f conftest.$ac_objext
19154 if { (ac_try="$ac_compile"
19155 case "(($ac_try" in
19156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19157 *) ac_try_echo=$ac_try;;
19158 esac
19159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19160 (eval "$ac_compile") 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } && {
19167 test -z "$ac_c_werror_flag" ||
19168 test ! -s conftest.err
19169 } && test -s conftest.$ac_objext; then
19170 ac_cv_member_struct_statfs_f_namelen=yes
19171 else
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19175 cat >conftest.$ac_ext <<_ACEOF
19176 /* confdefs.h. */
19177 _ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 #include <sys/types.h>
19182 #ifdef HAVE_SYS_PARAM_H
19183 # include <sys/param.h>
19184 #endif
19185 #ifdef HAVE_SYS_MOUNT_H
19186 # include <sys/mount.h>
19187 #endif
19188 #ifdef HAVE_SYS_VFS_H
19189 # include <sys/vfs.h>
19190 #endif
19191 #ifdef HAVE_SYS_STATFS_H
19192 # include <sys/statfs.h>
19193 #endif
19196 main ()
19198 static struct statfs ac_aggr;
19199 if (sizeof ac_aggr.f_namelen)
19200 return 0;
19202 return 0;
19204 _ACEOF
19205 rm -f conftest.$ac_objext
19206 if { (ac_try="$ac_compile"
19207 case "(($ac_try" in
19208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19209 *) ac_try_echo=$ac_try;;
19210 esac
19211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19212 (eval "$ac_compile") 2>conftest.er1
19213 ac_status=$?
19214 grep -v '^ *+' conftest.er1 >conftest.err
19215 rm -f conftest.er1
19216 cat conftest.err >&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); } && {
19219 test -z "$ac_c_werror_flag" ||
19220 test ! -s conftest.err
19221 } && test -s conftest.$ac_objext; then
19222 ac_cv_member_struct_statfs_f_namelen=yes
19223 else
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19227 ac_cv_member_struct_statfs_f_namelen=no
19230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19235 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19236 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19237 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19239 cat >>confdefs.h <<_ACEOF
19240 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19241 _ACEOF
19247 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19248 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19249 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19251 else
19252 cat >conftest.$ac_ext <<_ACEOF
19253 /* confdefs.h. */
19254 _ACEOF
19255 cat confdefs.h >>conftest.$ac_ext
19256 cat >>conftest.$ac_ext <<_ACEOF
19257 /* end confdefs.h. */
19258 #ifdef HAVE_SYS_STATVFS_H
19259 #include <sys/statvfs.h>
19260 #endif
19263 main ()
19265 static struct statvfs ac_aggr;
19266 if (ac_aggr.f_blocks)
19267 return 0;
19269 return 0;
19271 _ACEOF
19272 rm -f conftest.$ac_objext
19273 if { (ac_try="$ac_compile"
19274 case "(($ac_try" in
19275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19276 *) ac_try_echo=$ac_try;;
19277 esac
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_compile") 2>conftest.er1
19280 ac_status=$?
19281 grep -v '^ *+' conftest.er1 >conftest.err
19282 rm -f conftest.er1
19283 cat conftest.err >&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } && {
19286 test -z "$ac_c_werror_flag" ||
19287 test ! -s conftest.err
19288 } && test -s conftest.$ac_objext; then
19289 ac_cv_member_struct_statvfs_f_blocks=yes
19290 else
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #ifdef HAVE_SYS_STATVFS_H
19301 #include <sys/statvfs.h>
19302 #endif
19305 main ()
19307 static struct statvfs ac_aggr;
19308 if (sizeof ac_aggr.f_blocks)
19309 return 0;
19311 return 0;
19313 _ACEOF
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19319 esac
19320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 ac_cv_member_struct_statvfs_f_blocks=yes
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_cv_member_struct_statvfs_f_blocks=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19345 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19346 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19350 _ACEOF
19356 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19357 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19358 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 else
19361 cat >conftest.$ac_ext <<_ACEOF
19362 /* confdefs.h. */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367 #include <sys/types.h>
19368 #ifdef HAVE_SYS_SOCKET_H
19369 # include <sys/socket.h>
19370 #endif
19371 #ifdef HAVE_SYS_UN_H
19372 # include <sys/un.h>
19373 #endif
19376 main ()
19378 static struct msghdr ac_aggr;
19379 if (ac_aggr.msg_accrights)
19380 return 0;
19382 return 0;
19384 _ACEOF
19385 rm -f conftest.$ac_objext
19386 if { (ac_try="$ac_compile"
19387 case "(($ac_try" in
19388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19389 *) ac_try_echo=$ac_try;;
19390 esac
19391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19392 (eval "$ac_compile") 2>conftest.er1
19393 ac_status=$?
19394 grep -v '^ *+' conftest.er1 >conftest.err
19395 rm -f conftest.er1
19396 cat conftest.err >&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } && {
19399 test -z "$ac_c_werror_flag" ||
19400 test ! -s conftest.err
19401 } && test -s conftest.$ac_objext; then
19402 ac_cv_member_struct_msghdr_msg_accrights=yes
19403 else
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19407 cat >conftest.$ac_ext <<_ACEOF
19408 /* confdefs.h. */
19409 _ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 #include <sys/types.h>
19414 #ifdef HAVE_SYS_SOCKET_H
19415 # include <sys/socket.h>
19416 #endif
19417 #ifdef HAVE_SYS_UN_H
19418 # include <sys/un.h>
19419 #endif
19422 main ()
19424 static struct msghdr ac_aggr;
19425 if (sizeof ac_aggr.msg_accrights)
19426 return 0;
19428 return 0;
19430 _ACEOF
19431 rm -f conftest.$ac_objext
19432 if { (ac_try="$ac_compile"
19433 case "(($ac_try" in
19434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19435 *) ac_try_echo=$ac_try;;
19436 esac
19437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19438 (eval "$ac_compile") 2>conftest.er1
19439 ac_status=$?
19440 grep -v '^ *+' conftest.er1 >conftest.err
19441 rm -f conftest.er1
19442 cat conftest.err >&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } && {
19445 test -z "$ac_c_werror_flag" ||
19446 test ! -s conftest.err
19447 } && test -s conftest.$ac_objext; then
19448 ac_cv_member_struct_msghdr_msg_accrights=yes
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19453 ac_cv_member_struct_msghdr_msg_accrights=no
19456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19461 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19462 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19463 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19467 _ACEOF
19471 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19472 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19473 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19475 else
19476 cat >conftest.$ac_ext <<_ACEOF
19477 /* confdefs.h. */
19478 _ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19482 #include <sys/types.h>
19483 #ifdef HAVE_SYS_SOCKET_H
19484 # include <sys/socket.h>
19485 #endif
19486 #ifdef HAVE_SYS_UN_H
19487 # include <sys/un.h>
19488 #endif
19491 main ()
19493 static struct sockaddr ac_aggr;
19494 if (ac_aggr.sa_len)
19495 return 0;
19497 return 0;
19499 _ACEOF
19500 rm -f conftest.$ac_objext
19501 if { (ac_try="$ac_compile"
19502 case "(($ac_try" in
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19504 *) ac_try_echo=$ac_try;;
19505 esac
19506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19507 (eval "$ac_compile") 2>conftest.er1
19508 ac_status=$?
19509 grep -v '^ *+' conftest.er1 >conftest.err
19510 rm -f conftest.er1
19511 cat conftest.err >&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } && {
19514 test -z "$ac_c_werror_flag" ||
19515 test ! -s conftest.err
19516 } && test -s conftest.$ac_objext; then
19517 ac_cv_member_struct_sockaddr_sa_len=yes
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19522 cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h. */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 #include <sys/types.h>
19529 #ifdef HAVE_SYS_SOCKET_H
19530 # include <sys/socket.h>
19531 #endif
19532 #ifdef HAVE_SYS_UN_H
19533 # include <sys/un.h>
19534 #endif
19537 main ()
19539 static struct sockaddr ac_aggr;
19540 if (sizeof ac_aggr.sa_len)
19541 return 0;
19543 return 0;
19545 _ACEOF
19546 rm -f conftest.$ac_objext
19547 if { (ac_try="$ac_compile"
19548 case "(($ac_try" in
19549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19550 *) ac_try_echo=$ac_try;;
19551 esac
19552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19553 (eval "$ac_compile") 2>conftest.er1
19554 ac_status=$?
19555 grep -v '^ *+' conftest.er1 >conftest.err
19556 rm -f conftest.er1
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && {
19560 test -z "$ac_c_werror_flag" ||
19561 test ! -s conftest.err
19562 } && test -s conftest.$ac_objext; then
19563 ac_cv_member_struct_sockaddr_sa_len=yes
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19568 ac_cv_member_struct_sockaddr_sa_len=no
19571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19577 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19578 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19580 cat >>confdefs.h <<_ACEOF
19581 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19582 _ACEOF
19586 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19587 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19588 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19589 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 else
19591 cat >conftest.$ac_ext <<_ACEOF
19592 /* confdefs.h. */
19593 _ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 #include <sys/types.h>
19598 #ifdef HAVE_SYS_SOCKET_H
19599 # include <sys/socket.h>
19600 #endif
19601 #ifdef HAVE_SYS_UN_H
19602 # include <sys/un.h>
19603 #endif
19606 main ()
19608 static struct sockaddr_un ac_aggr;
19609 if (ac_aggr.sun_len)
19610 return 0;
19612 return 0;
19614 _ACEOF
19615 rm -f conftest.$ac_objext
19616 if { (ac_try="$ac_compile"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19620 esac
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_compile") 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } && {
19629 test -z "$ac_c_werror_flag" ||
19630 test ! -s conftest.err
19631 } && test -s conftest.$ac_objext; then
19632 ac_cv_member_struct_sockaddr_un_sun_len=yes
19633 else
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 cat >conftest.$ac_ext <<_ACEOF
19638 /* confdefs.h. */
19639 _ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19643 #include <sys/types.h>
19644 #ifdef HAVE_SYS_SOCKET_H
19645 # include <sys/socket.h>
19646 #endif
19647 #ifdef HAVE_SYS_UN_H
19648 # include <sys/un.h>
19649 #endif
19652 main ()
19654 static struct sockaddr_un ac_aggr;
19655 if (sizeof ac_aggr.sun_len)
19656 return 0;
19658 return 0;
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (ac_try="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19666 esac
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19669 ac_status=$?
19670 grep -v '^ *+' conftest.er1 >conftest.err
19671 rm -f conftest.er1
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 ac_cv_member_struct_sockaddr_un_sun_len=yes
19679 else
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19683 ac_cv_member_struct_sockaddr_un_sun_len=no
19686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19692 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19693 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19695 cat >>confdefs.h <<_ACEOF
19696 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19697 _ACEOF
19703 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19704 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19705 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19706 echo $ECHO_N "(cached) $ECHO_C" >&6
19707 else
19708 cat >conftest.$ac_ext <<_ACEOF
19709 /* confdefs.h. */
19710 _ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 #include <sys/types.h>
19715 #ifdef HAVE_SCSI_SG_H
19716 #include <scsi/sg.h>
19717 #endif
19720 main ()
19722 static scsireq_t ac_aggr;
19723 if (ac_aggr.cmd)
19724 return 0;
19726 return 0;
19728 _ACEOF
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19734 esac
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_cv_member_scsireq_t_cmd=yes
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 cat >conftest.$ac_ext <<_ACEOF
19752 /* confdefs.h. */
19753 _ACEOF
19754 cat confdefs.h >>conftest.$ac_ext
19755 cat >>conftest.$ac_ext <<_ACEOF
19756 /* end confdefs.h. */
19757 #include <sys/types.h>
19758 #ifdef HAVE_SCSI_SG_H
19759 #include <scsi/sg.h>
19760 #endif
19763 main ()
19765 static scsireq_t ac_aggr;
19766 if (sizeof ac_aggr.cmd)
19767 return 0;
19769 return 0;
19771 _ACEOF
19772 rm -f conftest.$ac_objext
19773 if { (ac_try="$ac_compile"
19774 case "(($ac_try" in
19775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19776 *) ac_try_echo=$ac_try;;
19777 esac
19778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_compile") 2>conftest.er1
19780 ac_status=$?
19781 grep -v '^ *+' conftest.er1 >conftest.err
19782 rm -f conftest.er1
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } && {
19786 test -z "$ac_c_werror_flag" ||
19787 test ! -s conftest.err
19788 } && test -s conftest.$ac_objext; then
19789 ac_cv_member_scsireq_t_cmd=yes
19790 else
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.$ac_ext >&5
19794 ac_cv_member_scsireq_t_cmd=no
19797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19803 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19804 if test $ac_cv_member_scsireq_t_cmd = yes; then
19806 cat >>confdefs.h <<_ACEOF
19807 #define HAVE_SCSIREQ_T_CMD 1
19808 _ACEOF
19812 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19813 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19814 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19815 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 else
19817 cat >conftest.$ac_ext <<_ACEOF
19818 /* confdefs.h. */
19819 _ACEOF
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19823 #include <sys/types.h>
19824 #ifdef HAVE_SCSI_SG_H
19825 #include <scsi/sg.h>
19826 #endif
19829 main ()
19831 static sg_io_hdr_t ac_aggr;
19832 if (ac_aggr.interface_id)
19833 return 0;
19835 return 0;
19837 _ACEOF
19838 rm -f conftest.$ac_objext
19839 if { (ac_try="$ac_compile"
19840 case "(($ac_try" in
19841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19842 *) ac_try_echo=$ac_try;;
19843 esac
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_compile") 2>conftest.er1
19846 ac_status=$?
19847 grep -v '^ *+' conftest.er1 >conftest.err
19848 rm -f conftest.er1
19849 cat conftest.err >&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } && {
19852 test -z "$ac_c_werror_flag" ||
19853 test ! -s conftest.err
19854 } && test -s conftest.$ac_objext; then
19855 ac_cv_member_sg_io_hdr_t_interface_id=yes
19856 else
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19860 cat >conftest.$ac_ext <<_ACEOF
19861 /* confdefs.h. */
19862 _ACEOF
19863 cat confdefs.h >>conftest.$ac_ext
19864 cat >>conftest.$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19866 #include <sys/types.h>
19867 #ifdef HAVE_SCSI_SG_H
19868 #include <scsi/sg.h>
19869 #endif
19872 main ()
19874 static sg_io_hdr_t ac_aggr;
19875 if (sizeof ac_aggr.interface_id)
19876 return 0;
19878 return 0;
19880 _ACEOF
19881 rm -f conftest.$ac_objext
19882 if { (ac_try="$ac_compile"
19883 case "(($ac_try" in
19884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19885 *) ac_try_echo=$ac_try;;
19886 esac
19887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19888 (eval "$ac_compile") 2>conftest.er1
19889 ac_status=$?
19890 grep -v '^ *+' conftest.er1 >conftest.err
19891 rm -f conftest.er1
19892 cat conftest.err >&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } && {
19895 test -z "$ac_c_werror_flag" ||
19896 test ! -s conftest.err
19897 } && test -s conftest.$ac_objext; then
19898 ac_cv_member_sg_io_hdr_t_interface_id=yes
19899 else
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.$ac_ext >&5
19903 ac_cv_member_sg_io_hdr_t_interface_id=no
19906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19911 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19912 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19913 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19915 cat >>confdefs.h <<_ACEOF
19916 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19917 _ACEOF
19923 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19924 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19925 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 else
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h. */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 #include <signal.h>
19937 main ()
19939 static siginfo_t ac_aggr;
19940 if (ac_aggr.si_fd)
19941 return 0;
19943 return 0;
19945 _ACEOF
19946 rm -f conftest.$ac_objext
19947 if { (ac_try="$ac_compile"
19948 case "(($ac_try" in
19949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19950 *) ac_try_echo=$ac_try;;
19951 esac
19952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19953 (eval "$ac_compile") 2>conftest.er1
19954 ac_status=$?
19955 grep -v '^ *+' conftest.er1 >conftest.err
19956 rm -f conftest.er1
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } && {
19960 test -z "$ac_c_werror_flag" ||
19961 test ! -s conftest.err
19962 } && test -s conftest.$ac_objext; then
19963 ac_cv_member_siginfo_t_si_fd=yes
19964 else
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19968 cat >conftest.$ac_ext <<_ACEOF
19969 /* confdefs.h. */
19970 _ACEOF
19971 cat confdefs.h >>conftest.$ac_ext
19972 cat >>conftest.$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 #include <signal.h>
19977 main ()
19979 static siginfo_t ac_aggr;
19980 if (sizeof ac_aggr.si_fd)
19981 return 0;
19983 return 0;
19985 _ACEOF
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19994 ac_status=$?
19995 grep -v '^ *+' conftest.er1 >conftest.err
19996 rm -f conftest.er1
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } && {
20000 test -z "$ac_c_werror_flag" ||
20001 test ! -s conftest.err
20002 } && test -s conftest.$ac_objext; then
20003 ac_cv_member_siginfo_t_si_fd=yes
20004 else
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_member_siginfo_t_si_fd=no
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20017 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20018 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_SIGINFO_T_SI_FD 1
20022 _ACEOF
20028 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20029 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20030 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 else
20033 cat >conftest.$ac_ext <<_ACEOF
20034 /* confdefs.h. */
20035 _ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #include <sys/types.h>
20040 #ifdef HAVE_SYS_MTIO_H
20041 #include <sys/mtio.h>
20042 #endif
20045 main ()
20047 static struct mtget ac_aggr;
20048 if (ac_aggr.mt_blksiz)
20049 return 0;
20051 return 0;
20053 _ACEOF
20054 rm -f conftest.$ac_objext
20055 if { (ac_try="$ac_compile"
20056 case "(($ac_try" in
20057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20058 *) ac_try_echo=$ac_try;;
20059 esac
20060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20061 (eval "$ac_compile") 2>conftest.er1
20062 ac_status=$?
20063 grep -v '^ *+' conftest.er1 >conftest.err
20064 rm -f conftest.er1
20065 cat conftest.err >&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); } && {
20068 test -z "$ac_c_werror_flag" ||
20069 test ! -s conftest.err
20070 } && test -s conftest.$ac_objext; then
20071 ac_cv_member_struct_mtget_mt_blksiz=yes
20072 else
20073 echo "$as_me: failed program was:" >&5
20074 sed 's/^/| /' conftest.$ac_ext >&5
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <sys/types.h>
20083 #ifdef HAVE_SYS_MTIO_H
20084 #include <sys/mtio.h>
20085 #endif
20088 main ()
20090 static struct mtget ac_aggr;
20091 if (sizeof ac_aggr.mt_blksiz)
20092 return 0;
20094 return 0;
20096 _ACEOF
20097 rm -f conftest.$ac_objext
20098 if { (ac_try="$ac_compile"
20099 case "(($ac_try" in
20100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20101 *) ac_try_echo=$ac_try;;
20102 esac
20103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20104 (eval "$ac_compile") 2>conftest.er1
20105 ac_status=$?
20106 grep -v '^ *+' conftest.er1 >conftest.err
20107 rm -f conftest.er1
20108 cat conftest.err >&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } && {
20111 test -z "$ac_c_werror_flag" ||
20112 test ! -s conftest.err
20113 } && test -s conftest.$ac_objext; then
20114 ac_cv_member_struct_mtget_mt_blksiz=yes
20115 else
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20119 ac_cv_member_struct_mtget_mt_blksiz=no
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20127 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20128 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20129 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20131 cat >>confdefs.h <<_ACEOF
20132 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20133 _ACEOF
20137 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20138 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20139 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20140 echo $ECHO_N "(cached) $ECHO_C" >&6
20141 else
20142 cat >conftest.$ac_ext <<_ACEOF
20143 /* confdefs.h. */
20144 _ACEOF
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20148 #include <sys/types.h>
20149 #ifdef HAVE_SYS_MTIO_H
20150 #include <sys/mtio.h>
20151 #endif
20154 main ()
20156 static struct mtget ac_aggr;
20157 if (ac_aggr.mt_gstat)
20158 return 0;
20160 return 0;
20162 _ACEOF
20163 rm -f conftest.$ac_objext
20164 if { (ac_try="$ac_compile"
20165 case "(($ac_try" in
20166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20167 *) ac_try_echo=$ac_try;;
20168 esac
20169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20170 (eval "$ac_compile") 2>conftest.er1
20171 ac_status=$?
20172 grep -v '^ *+' conftest.er1 >conftest.err
20173 rm -f conftest.er1
20174 cat conftest.err >&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); } && {
20177 test -z "$ac_c_werror_flag" ||
20178 test ! -s conftest.err
20179 } && test -s conftest.$ac_objext; then
20180 ac_cv_member_struct_mtget_mt_gstat=yes
20181 else
20182 echo "$as_me: failed program was:" >&5
20183 sed 's/^/| /' conftest.$ac_ext >&5
20185 cat >conftest.$ac_ext <<_ACEOF
20186 /* confdefs.h. */
20187 _ACEOF
20188 cat confdefs.h >>conftest.$ac_ext
20189 cat >>conftest.$ac_ext <<_ACEOF
20190 /* end confdefs.h. */
20191 #include <sys/types.h>
20192 #ifdef HAVE_SYS_MTIO_H
20193 #include <sys/mtio.h>
20194 #endif
20197 main ()
20199 static struct mtget ac_aggr;
20200 if (sizeof ac_aggr.mt_gstat)
20201 return 0;
20203 return 0;
20205 _ACEOF
20206 rm -f conftest.$ac_objext
20207 if { (ac_try="$ac_compile"
20208 case "(($ac_try" in
20209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20210 *) ac_try_echo=$ac_try;;
20211 esac
20212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20213 (eval "$ac_compile") 2>conftest.er1
20214 ac_status=$?
20215 grep -v '^ *+' conftest.er1 >conftest.err
20216 rm -f conftest.er1
20217 cat conftest.err >&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } && {
20220 test -z "$ac_c_werror_flag" ||
20221 test ! -s conftest.err
20222 } && test -s conftest.$ac_objext; then
20223 ac_cv_member_struct_mtget_mt_gstat=yes
20224 else
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20228 ac_cv_member_struct_mtget_mt_gstat=no
20231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20237 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20238 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20240 cat >>confdefs.h <<_ACEOF
20241 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20242 _ACEOF
20246 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20247 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20248 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 else
20251 cat >conftest.$ac_ext <<_ACEOF
20252 /* confdefs.h. */
20253 _ACEOF
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 #include <sys/types.h>
20258 #ifdef HAVE_SYS_MTIO_H
20259 #include <sys/mtio.h>
20260 #endif
20263 main ()
20265 static struct mtget ac_aggr;
20266 if (ac_aggr.mt_blkno)
20267 return 0;
20269 return 0;
20271 _ACEOF
20272 rm -f conftest.$ac_objext
20273 if { (ac_try="$ac_compile"
20274 case "(($ac_try" in
20275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20276 *) ac_try_echo=$ac_try;;
20277 esac
20278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20279 (eval "$ac_compile") 2>conftest.er1
20280 ac_status=$?
20281 grep -v '^ *+' conftest.er1 >conftest.err
20282 rm -f conftest.er1
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } && {
20286 test -z "$ac_c_werror_flag" ||
20287 test ! -s conftest.err
20288 } && test -s conftest.$ac_objext; then
20289 ac_cv_member_struct_mtget_mt_blkno=yes
20290 else
20291 echo "$as_me: failed program was:" >&5
20292 sed 's/^/| /' conftest.$ac_ext >&5
20294 cat >conftest.$ac_ext <<_ACEOF
20295 /* confdefs.h. */
20296 _ACEOF
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 #include <sys/types.h>
20301 #ifdef HAVE_SYS_MTIO_H
20302 #include <sys/mtio.h>
20303 #endif
20306 main ()
20308 static struct mtget ac_aggr;
20309 if (sizeof ac_aggr.mt_blkno)
20310 return 0;
20312 return 0;
20314 _ACEOF
20315 rm -f conftest.$ac_objext
20316 if { (ac_try="$ac_compile"
20317 case "(($ac_try" in
20318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20319 *) ac_try_echo=$ac_try;;
20320 esac
20321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20322 (eval "$ac_compile") 2>conftest.er1
20323 ac_status=$?
20324 grep -v '^ *+' conftest.er1 >conftest.err
20325 rm -f conftest.er1
20326 cat conftest.err >&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } && {
20329 test -z "$ac_c_werror_flag" ||
20330 test ! -s conftest.err
20331 } && test -s conftest.$ac_objext; then
20332 ac_cv_member_struct_mtget_mt_blkno=yes
20333 else
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20337 ac_cv_member_struct_mtget_mt_blkno=no
20340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20345 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20346 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20347 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20349 cat >>confdefs.h <<_ACEOF
20350 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20351 _ACEOF
20357 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20358 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20359 if test "${ac_cv_member_struct_option_name+set}" = set; then
20360 echo $ECHO_N "(cached) $ECHO_C" >&6
20361 else
20362 cat >conftest.$ac_ext <<_ACEOF
20363 /* confdefs.h. */
20364 _ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 #ifdef HAVE_GETOPT_H
20369 #include <getopt.h>
20370 #endif
20373 main ()
20375 static struct option ac_aggr;
20376 if (ac_aggr.name)
20377 return 0;
20379 return 0;
20381 _ACEOF
20382 rm -f conftest.$ac_objext
20383 if { (ac_try="$ac_compile"
20384 case "(($ac_try" in
20385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20386 *) ac_try_echo=$ac_try;;
20387 esac
20388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20389 (eval "$ac_compile") 2>conftest.er1
20390 ac_status=$?
20391 grep -v '^ *+' conftest.er1 >conftest.err
20392 rm -f conftest.er1
20393 cat conftest.err >&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } && {
20396 test -z "$ac_c_werror_flag" ||
20397 test ! -s conftest.err
20398 } && test -s conftest.$ac_objext; then
20399 ac_cv_member_struct_option_name=yes
20400 else
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h. */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 #ifdef HAVE_GETOPT_H
20411 #include <getopt.h>
20412 #endif
20415 main ()
20417 static struct option ac_aggr;
20418 if (sizeof ac_aggr.name)
20419 return 0;
20421 return 0;
20423 _ACEOF
20424 rm -f conftest.$ac_objext
20425 if { (ac_try="$ac_compile"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20429 esac
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_compile") 2>conftest.er1
20432 ac_status=$?
20433 grep -v '^ *+' conftest.er1 >conftest.err
20434 rm -f conftest.er1
20435 cat conftest.err >&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } && {
20438 test -z "$ac_c_werror_flag" ||
20439 test ! -s conftest.err
20440 } && test -s conftest.$ac_objext; then
20441 ac_cv_member_struct_option_name=yes
20442 else
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.$ac_ext >&5
20446 ac_cv_member_struct_option_name=no
20449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20454 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20455 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20456 if test $ac_cv_member_struct_option_name = yes; then
20458 cat >>confdefs.h <<_ACEOF
20459 #define HAVE_STRUCT_OPTION_NAME 1
20460 _ACEOF
20466 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20467 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20468 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20469 echo $ECHO_N "(cached) $ECHO_C" >&6
20470 else
20471 cat >conftest.$ac_ext <<_ACEOF
20472 /* confdefs.h. */
20473 _ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 $ac_includes_default
20479 main ()
20481 static struct stat ac_aggr;
20482 if (ac_aggr.st_blocks)
20483 return 0;
20485 return 0;
20487 _ACEOF
20488 rm -f conftest.$ac_objext
20489 if { (ac_try="$ac_compile"
20490 case "(($ac_try" in
20491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20492 *) ac_try_echo=$ac_try;;
20493 esac
20494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20495 (eval "$ac_compile") 2>conftest.er1
20496 ac_status=$?
20497 grep -v '^ *+' conftest.er1 >conftest.err
20498 rm -f conftest.er1
20499 cat conftest.err >&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } && {
20502 test -z "$ac_c_werror_flag" ||
20503 test ! -s conftest.err
20504 } && test -s conftest.$ac_objext; then
20505 ac_cv_member_struct_stat_st_blocks=yes
20506 else
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.$ac_ext >&5
20510 cat >conftest.$ac_ext <<_ACEOF
20511 /* confdefs.h. */
20512 _ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20518 main ()
20520 static struct stat ac_aggr;
20521 if (sizeof ac_aggr.st_blocks)
20522 return 0;
20524 return 0;
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20531 *) ac_try_echo=$ac_try;;
20532 esac
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20535 ac_status=$?
20536 grep -v '^ *+' conftest.er1 >conftest.err
20537 rm -f conftest.er1
20538 cat conftest.err >&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } && {
20541 test -z "$ac_c_werror_flag" ||
20542 test ! -s conftest.err
20543 } && test -s conftest.$ac_objext; then
20544 ac_cv_member_struct_stat_st_blocks=yes
20545 else
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20549 ac_cv_member_struct_stat_st_blocks=no
20552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20558 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20559 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20561 cat >>confdefs.h <<_ACEOF
20562 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20563 _ACEOF
20569 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20570 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20571 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20572 echo $ECHO_N "(cached) $ECHO_C" >&6
20573 else
20574 cat >conftest.$ac_ext <<_ACEOF
20575 /* confdefs.h. */
20576 _ACEOF
20577 cat confdefs.h >>conftest.$ac_ext
20578 cat >>conftest.$ac_ext <<_ACEOF
20579 /* end confdefs.h. */
20580 #ifdef HAVE_SYS_TYPES_H
20581 #include <sys/types.h>
20582 #endif
20583 #ifdef HAVE_NETINET_IN_H
20584 #include <netinet/in.h>
20585 #endif
20588 main ()
20590 static struct sockaddr_in6 ac_aggr;
20591 if (ac_aggr.sin6_scope_id)
20592 return 0;
20594 return 0;
20596 _ACEOF
20597 rm -f conftest.$ac_objext
20598 if { (ac_try="$ac_compile"
20599 case "(($ac_try" in
20600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20602 esac
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_compile") 2>conftest.er1
20605 ac_status=$?
20606 grep -v '^ *+' conftest.er1 >conftest.err
20607 rm -f conftest.er1
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && {
20611 test -z "$ac_c_werror_flag" ||
20612 test ! -s conftest.err
20613 } && test -s conftest.$ac_objext; then
20614 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20615 else
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20619 cat >conftest.$ac_ext <<_ACEOF
20620 /* confdefs.h. */
20621 _ACEOF
20622 cat confdefs.h >>conftest.$ac_ext
20623 cat >>conftest.$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 #ifdef HAVE_SYS_TYPES_H
20626 #include <sys/types.h>
20627 #endif
20628 #ifdef HAVE_NETINET_IN_H
20629 #include <netinet/in.h>
20630 #endif
20633 main ()
20635 static struct sockaddr_in6 ac_aggr;
20636 if (sizeof ac_aggr.sin6_scope_id)
20637 return 0;
20639 return 0;
20641 _ACEOF
20642 rm -f conftest.$ac_objext
20643 if { (ac_try="$ac_compile"
20644 case "(($ac_try" in
20645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20646 *) ac_try_echo=$ac_try;;
20647 esac
20648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20649 (eval "$ac_compile") 2>conftest.er1
20650 ac_status=$?
20651 grep -v '^ *+' conftest.er1 >conftest.err
20652 rm -f conftest.er1
20653 cat conftest.err >&5
20654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20655 (exit $ac_status); } && {
20656 test -z "$ac_c_werror_flag" ||
20657 test ! -s conftest.err
20658 } && test -s conftest.$ac_objext; then
20659 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20660 else
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.$ac_ext >&5
20664 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20672 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20673 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20674 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20676 cat >>confdefs.h <<_ACEOF
20677 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20678 _ACEOF
20684 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20685 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20686 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20687 echo $ECHO_N "(cached) $ECHO_C" >&6
20688 else
20689 cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h. */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 #ifdef HAVE_SYS_TYPES_H
20696 #include <sys/types.h>
20697 #endif
20698 #ifdef HAVE_NETINET_IN_H
20699 # include <netinet/in.h>
20700 #endif
20701 #ifdef HAVE_ARPA_NAMESER_H
20702 # include <arpa/nameser.h>
20703 #endif
20706 main ()
20708 static ns_msg ac_aggr;
20709 if (ac_aggr._msg_ptr)
20710 return 0;
20712 return 0;
20714 _ACEOF
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;;
20720 esac
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20723 ac_status=$?
20724 grep -v '^ *+' conftest.er1 >conftest.err
20725 rm -f conftest.er1
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then
20732 ac_cv_member_ns_msg__msg_ptr=yes
20733 else
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 #ifdef HAVE_SYS_TYPES_H
20744 #include <sys/types.h>
20745 #endif
20746 #ifdef HAVE_NETINET_IN_H
20747 # include <netinet/in.h>
20748 #endif
20749 #ifdef HAVE_ARPA_NAMESER_H
20750 # include <arpa/nameser.h>
20751 #endif
20754 main ()
20756 static ns_msg ac_aggr;
20757 if (sizeof ac_aggr._msg_ptr)
20758 return 0;
20760 return 0;
20762 _ACEOF
20763 rm -f conftest.$ac_objext
20764 if { (ac_try="$ac_compile"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20767 *) ac_try_echo=$ac_try;;
20768 esac
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_compile") 2>conftest.er1
20771 ac_status=$?
20772 grep -v '^ *+' conftest.er1 >conftest.err
20773 rm -f conftest.er1
20774 cat conftest.err >&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && {
20777 test -z "$ac_c_werror_flag" ||
20778 test ! -s conftest.err
20779 } && test -s conftest.$ac_objext; then
20780 ac_cv_member_ns_msg__msg_ptr=yes
20781 else
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20785 ac_cv_member_ns_msg__msg_ptr=no
20788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20793 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20794 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20795 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20797 cat >>confdefs.h <<_ACEOF
20798 #define HAVE_NS_MSG__MSG_PTR 1
20799 _ACEOF
20805 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20806 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20807 if test "${ac_cv_have_timezone+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20809 else
20810 cat >conftest.$ac_ext <<_ACEOF
20811 /* confdefs.h. */
20812 _ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20816 #include <time.h>
20818 main ()
20820 timezone = 1
20822 return 0;
20824 _ACEOF
20825 rm -f conftest.$ac_objext conftest$ac_exeext
20826 if { (ac_try="$ac_link"
20827 case "(($ac_try" in
20828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20829 *) ac_try_echo=$ac_try;;
20830 esac
20831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20832 (eval "$ac_link") 2>conftest.er1
20833 ac_status=$?
20834 grep -v '^ *+' conftest.er1 >conftest.err
20835 rm -f conftest.er1
20836 cat conftest.err >&5
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); } && {
20839 test -z "$ac_c_werror_flag" ||
20840 test ! -s conftest.err
20841 } && test -s conftest$ac_exeext &&
20842 $as_test_x conftest$ac_exeext; then
20843 ac_cv_have_timezone="yes"
20844 else
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20848 ac_cv_have_timezone="no"
20851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20852 conftest$ac_exeext conftest.$ac_ext
20854 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20855 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20856 if test "$ac_cv_have_timezone" = "yes"
20857 then
20859 cat >>confdefs.h <<\_ACEOF
20860 #define HAVE_TIMEZONE 1
20861 _ACEOF
20864 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20865 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20866 if test "${ac_cv_have_daylight+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20868 else
20869 cat >conftest.$ac_ext <<_ACEOF
20870 /* confdefs.h. */
20871 _ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875 #include <time.h>
20877 main ()
20879 daylight = 1
20881 return 0;
20883 _ACEOF
20884 rm -f conftest.$ac_objext conftest$ac_exeext
20885 if { (ac_try="$ac_link"
20886 case "(($ac_try" in
20887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20888 *) ac_try_echo=$ac_try;;
20889 esac
20890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20891 (eval "$ac_link") 2>conftest.er1
20892 ac_status=$?
20893 grep -v '^ *+' conftest.er1 >conftest.err
20894 rm -f conftest.er1
20895 cat conftest.err >&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); } && {
20898 test -z "$ac_c_werror_flag" ||
20899 test ! -s conftest.err
20900 } && test -s conftest$ac_exeext &&
20901 $as_test_x conftest$ac_exeext; then
20902 ac_cv_have_daylight="yes"
20903 else
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.$ac_ext >&5
20907 ac_cv_have_daylight="no"
20910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20911 conftest$ac_exeext conftest.$ac_ext
20913 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20914 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20915 if test "$ac_cv_have_daylight" = "yes"
20916 then
20918 cat >>confdefs.h <<\_ACEOF
20919 #define HAVE_DAYLIGHT 1
20920 _ACEOF
20925 case $host_cpu in
20926 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20927 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20928 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20929 echo $ECHO_N "(cached) $ECHO_C" >&6
20930 else
20931 cat >conftest.$ac_ext <<_ACEOF
20932 /* confdefs.h. */
20933 _ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 #ifndef __i386__
20939 #endif
20940 _ACEOF
20941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20942 $EGREP "yes" >/dev/null 2>&1; then
20943 ac_cv_cpp_def___i386__=yes
20944 else
20945 ac_cv_cpp_def___i386__=no
20947 rm -f conftest*
20950 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20951 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20952 if test $ac_cv_cpp_def___i386__ = yes; then
20953 CFLAGS="$CFLAGS -D__i386__"
20954 LINTFLAGS="$LINTFLAGS -D__i386__"
20957 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20958 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20959 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20960 echo $ECHO_N "(cached) $ECHO_C" >&6
20961 else
20962 cat >conftest.$ac_ext <<_ACEOF
20963 /* confdefs.h. */
20964 _ACEOF
20965 cat confdefs.h >>conftest.$ac_ext
20966 cat >>conftest.$ac_ext <<_ACEOF
20967 /* end confdefs.h. */
20968 #ifndef __x86_64__
20970 #endif
20971 _ACEOF
20972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20973 $EGREP "yes" >/dev/null 2>&1; then
20974 ac_cv_cpp_def___x86_64__=yes
20975 else
20976 ac_cv_cpp_def___x86_64__=no
20978 rm -f conftest*
20981 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20982 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20983 if test $ac_cv_cpp_def___x86_64__ = yes; then
20984 CFLAGS="$CFLAGS -D__x86_64__"
20985 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20988 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20989 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20990 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20991 echo $ECHO_N "(cached) $ECHO_C" >&6
20992 else
20993 cat >conftest.$ac_ext <<_ACEOF
20994 /* confdefs.h. */
20995 _ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 #ifndef __ALPHA__
21001 #endif
21002 _ACEOF
21003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21004 $EGREP "yes" >/dev/null 2>&1; then
21005 ac_cv_cpp_def___ALPHA__=yes
21006 else
21007 ac_cv_cpp_def___ALPHA__=no
21009 rm -f conftest*
21012 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21013 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21014 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21015 CFLAGS="$CFLAGS -D__ALPHA__"
21016 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21019 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21020 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21021 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21022 echo $ECHO_N "(cached) $ECHO_C" >&6
21023 else
21024 cat >conftest.$ac_ext <<_ACEOF
21025 /* confdefs.h. */
21026 _ACEOF
21027 cat confdefs.h >>conftest.$ac_ext
21028 cat >>conftest.$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 #ifndef __sparc__
21032 #endif
21033 _ACEOF
21034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21035 $EGREP "yes" >/dev/null 2>&1; then
21036 ac_cv_cpp_def___sparc__=yes
21037 else
21038 ac_cv_cpp_def___sparc__=no
21040 rm -f conftest*
21043 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21044 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21045 if test $ac_cv_cpp_def___sparc__ = yes; then
21046 CFLAGS="$CFLAGS -D__sparc__"
21047 LINTFLAGS="$LINTFLAGS -D__sparc__"
21050 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21051 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21052 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21053 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 else
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #ifndef __powerpc__
21063 #endif
21064 _ACEOF
21065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21066 $EGREP "yes" >/dev/null 2>&1; then
21067 ac_cv_cpp_def___powerpc__=yes
21068 else
21069 ac_cv_cpp_def___powerpc__=no
21071 rm -f conftest*
21074 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21075 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21076 if test $ac_cv_cpp_def___powerpc__ = yes; then
21077 CFLAGS="$CFLAGS -D__powerpc__"
21078 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21081 esac
21083 case $host_vendor in
21084 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21085 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21086 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21087 echo $ECHO_N "(cached) $ECHO_C" >&6
21088 else
21089 cat >conftest.$ac_ext <<_ACEOF
21090 /* confdefs.h. */
21091 _ACEOF
21092 cat confdefs.h >>conftest.$ac_ext
21093 cat >>conftest.$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21095 #ifndef __sun__
21097 #endif
21098 _ACEOF
21099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21100 $EGREP "yes" >/dev/null 2>&1; then
21101 ac_cv_cpp_def___sun__=yes
21102 else
21103 ac_cv_cpp_def___sun__=no
21105 rm -f conftest*
21108 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21109 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21110 if test $ac_cv_cpp_def___sun__ = yes; then
21111 CFLAGS="$CFLAGS -D__sun__"
21112 LINTFLAGS="$LINTFLAGS -D__sun__"
21115 esac
21118 DEPENDENCIES="### Dependencies:
21120 .INIT: Makefile
21121 .BEGIN: Makefile
21122 Makefile: dummy
21123 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21125 \$(OBJS): \$(IDL_GEN_HEADERS)
21126 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21127 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21128 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21134 ac_config_commands="$ac_config_commands include/stamp-h"
21137 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21139 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21141 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21143 ac_config_commands="$ac_config_commands dlls/user32/resources"
21145 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21147 ac_config_commands="$ac_config_commands include/wine"
21150 MAKE_RULES=Make.rules
21153 MAKE_DLL_RULES=dlls/Makedll.rules
21156 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21159 MAKE_TEST_RULES=dlls/Maketest.rules
21162 MAKE_PROG_RULES=programs/Makeprog.rules
21165 ac_config_files="$ac_config_files Make.rules"
21167 ac_config_files="$ac_config_files dlls/Makedll.rules"
21169 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21171 ac_config_files="$ac_config_files dlls/Maketest.rules"
21173 ac_config_files="$ac_config_files programs/Makeprog.rules"
21175 ac_config_files="$ac_config_files Makefile"
21177 ac_config_files="$ac_config_files dlls/Makefile"
21179 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21181 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21183 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21185 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21187 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21189 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21191 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21193 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21195 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21197 ac_config_files="$ac_config_files dlls/atl/Makefile"
21199 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21201 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21203 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21205 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21207 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21209 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21211 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21213 ac_config_files="$ac_config_files dlls/cards/Makefile"
21215 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21217 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21219 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21221 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21223 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21225 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21227 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21229 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21231 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21233 ac_config_files="$ac_config_files dlls/credui/Makefile"
21235 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21237 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21239 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21241 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21243 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21245 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21247 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21249 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21251 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21253 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21255 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21257 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21259 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21261 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21263 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21265 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21267 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21269 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21271 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21273 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21275 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21277 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21279 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21281 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21283 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21285 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21287 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21289 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21291 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21293 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21295 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21297 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21299 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21301 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21303 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21305 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21307 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21309 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21311 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21313 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21315 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21317 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21319 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21321 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21323 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21325 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21327 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21329 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21331 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21333 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21335 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21337 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21339 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21341 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21343 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21345 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21347 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21349 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21351 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21353 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21355 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21357 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21359 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21361 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21363 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21365 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21367 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21369 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21371 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21373 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21375 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21377 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21379 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21381 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21383 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21385 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21387 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21389 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21391 ac_config_files="$ac_config_files dlls/hal/Makefile"
21393 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21395 ac_config_files="$ac_config_files dlls/hid/Makefile"
21397 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21399 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21401 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21403 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21405 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21407 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21409 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21411 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21413 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21415 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21417 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21419 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21421 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21423 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21425 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21427 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21429 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21431 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21433 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21435 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21437 ac_config_files="$ac_config_files dlls/itss/Makefile"
21439 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21441 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21443 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21445 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21447 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21449 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21451 ac_config_files="$ac_config_files dlls/localui/Makefile"
21453 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21455 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21457 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21459 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21461 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21463 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21465 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21467 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21469 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21471 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21473 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21475 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21477 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21479 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21481 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21483 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21485 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21487 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21489 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21491 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21493 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21495 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21497 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21499 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21501 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21503 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21505 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21507 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21509 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21511 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21513 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21515 ac_config_files="$ac_config_files dlls/msi/Makefile"
21517 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21519 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21521 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21523 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21525 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21527 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21529 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21531 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21533 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21535 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21537 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21539 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21541 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21543 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21545 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21547 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21549 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21551 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21553 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21555 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21557 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21559 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21561 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21563 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21565 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21567 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21569 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21571 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21573 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21575 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21577 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21581 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21583 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21585 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21587 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21589 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21591 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21593 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21595 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21597 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21599 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21601 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21603 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21605 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21607 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21609 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21611 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21613 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21615 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21617 ac_config_files="$ac_config_files dlls/printui/Makefile"
21619 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21621 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21623 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21625 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21627 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21629 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21631 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21633 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21635 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21637 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21639 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21641 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21643 ac_config_files="$ac_config_files dlls/query/Makefile"
21645 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21647 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21649 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21651 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21653 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21655 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21657 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21659 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21661 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21663 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21665 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21667 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21671 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21673 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21675 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21677 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21679 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21681 ac_config_files="$ac_config_files dlls/security/Makefile"
21683 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21685 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21687 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21689 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21691 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21693 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21695 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21697 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21699 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21701 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21703 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21705 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21707 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21709 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21711 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21713 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21715 ac_config_files="$ac_config_files dlls/slc/Makefile"
21717 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21719 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21721 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21723 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21725 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21727 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21729 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21731 ac_config_files="$ac_config_files dlls/sti/Makefile"
21733 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21735 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21737 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21739 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21741 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21743 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21745 ac_config_files="$ac_config_files dlls/url/Makefile"
21747 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21749 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21751 ac_config_files="$ac_config_files dlls/user32/Makefile"
21753 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21755 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21757 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21759 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21761 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21763 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21765 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21767 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21769 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21771 ac_config_files="$ac_config_files dlls/version/Makefile"
21773 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21775 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21777 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21779 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21781 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21783 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21785 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21787 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21789 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21791 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21793 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21795 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21797 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21799 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21801 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21803 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21805 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21807 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21809 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21811 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21813 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21815 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21817 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21819 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21821 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21823 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21825 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21827 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21829 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21831 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21833 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21835 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21837 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21839 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21841 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21843 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21845 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21847 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21849 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21851 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21853 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21855 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21857 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21859 ac_config_files="$ac_config_files documentation/Makefile"
21861 ac_config_files="$ac_config_files fonts/Makefile"
21863 ac_config_files="$ac_config_files include/Makefile"
21865 ac_config_files="$ac_config_files libs/Makefile"
21867 ac_config_files="$ac_config_files libs/port/Makefile"
21869 ac_config_files="$ac_config_files libs/wine/Makefile"
21871 ac_config_files="$ac_config_files libs/wpp/Makefile"
21873 ac_config_files="$ac_config_files loader/Makefile"
21875 ac_config_files="$ac_config_files programs/Makefile"
21877 ac_config_files="$ac_config_files programs/clock/Makefile"
21879 ac_config_files="$ac_config_files programs/cmd/Makefile"
21881 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21883 ac_config_files="$ac_config_files programs/control/Makefile"
21885 ac_config_files="$ac_config_files programs/eject/Makefile"
21887 ac_config_files="$ac_config_files programs/expand/Makefile"
21889 ac_config_files="$ac_config_files programs/explorer/Makefile"
21891 ac_config_files="$ac_config_files programs/hh/Makefile"
21893 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21895 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21897 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21899 ac_config_files="$ac_config_files programs/net/Makefile"
21901 ac_config_files="$ac_config_files programs/notepad/Makefile"
21903 ac_config_files="$ac_config_files programs/oleview/Makefile"
21905 ac_config_files="$ac_config_files programs/progman/Makefile"
21907 ac_config_files="$ac_config_files programs/regedit/Makefile"
21909 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21911 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21913 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21915 ac_config_files="$ac_config_files programs/secedit/Makefile"
21917 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21919 ac_config_files="$ac_config_files programs/start/Makefile"
21921 ac_config_files="$ac_config_files programs/svchost/Makefile"
21923 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21925 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21927 ac_config_files="$ac_config_files programs/view/Makefile"
21929 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21931 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21933 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21935 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21937 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21939 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21941 ac_config_files="$ac_config_files programs/winefile/Makefile"
21943 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21945 ac_config_files="$ac_config_files programs/winemine/Makefile"
21947 ac_config_files="$ac_config_files programs/winepath/Makefile"
21949 ac_config_files="$ac_config_files programs/winetest/Makefile"
21951 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21953 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21955 ac_config_files="$ac_config_files programs/winver/Makefile"
21957 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21959 ac_config_files="$ac_config_files programs/write/Makefile"
21961 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21963 ac_config_files="$ac_config_files server/Makefile"
21965 ac_config_files="$ac_config_files tools/Makefile"
21967 ac_config_files="$ac_config_files tools/widl/Makefile"
21969 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21971 ac_config_files="$ac_config_files tools/winedump/Makefile"
21973 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21975 ac_config_files="$ac_config_files tools/wmc/Makefile"
21977 ac_config_files="$ac_config_files tools/wrc/Makefile"
21980 cat >confcache <<\_ACEOF
21981 # This file is a shell script that caches the results of configure
21982 # tests run on this system so they can be shared between configure
21983 # scripts and configure runs, see configure's option --config-cache.
21984 # It is not useful on other systems. If it contains results you don't
21985 # want to keep, you may remove or edit it.
21987 # config.status only pays attention to the cache file if you give it
21988 # the --recheck option to rerun configure.
21990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21992 # following values.
21994 _ACEOF
21996 # The following way of writing the cache mishandles newlines in values,
21997 # but we know of no workaround that is simple, portable, and efficient.
21998 # So, we kill variables containing newlines.
21999 # Ultrix sh set writes to stderr and can't be redirected directly,
22000 # and sets the high bit in the cache file unless we assign to the vars.
22002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22003 eval ac_val=\$$ac_var
22004 case $ac_val in #(
22005 *${as_nl}*)
22006 case $ac_var in #(
22007 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22008 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22009 esac
22010 case $ac_var in #(
22011 _ | IFS | as_nl) ;; #(
22012 *) $as_unset $ac_var ;;
22013 esac ;;
22014 esac
22015 done
22017 (set) 2>&1 |
22018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22019 *${as_nl}ac_space=\ *)
22020 # `set' does not quote correctly, so add quotes (double-quote
22021 # substitution turns \\\\ into \\, and sed turns \\ into \).
22022 sed -n \
22023 "s/'/'\\\\''/g;
22024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22025 ;; #(
22027 # `set' quotes correctly as required by POSIX, so do not add quotes.
22028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22030 esac |
22031 sort
22033 sed '
22034 /^ac_cv_env_/b end
22035 t clear
22036 :clear
22037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22038 t end
22039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22040 :end' >>confcache
22041 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22042 if test -w "$cache_file"; then
22043 test "x$cache_file" != "x/dev/null" &&
22044 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22045 echo "$as_me: updating cache $cache_file" >&6;}
22046 cat confcache >$cache_file
22047 else
22048 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22049 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22052 rm -f confcache
22054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22055 # Let make expand exec_prefix.
22056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22058 DEFS=-DHAVE_CONFIG_H
22060 ac_libobjs=
22061 ac_ltlibobjs=
22062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22063 # 1. Remove the extension, and $U if already installed.
22064 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22065 ac_i=`echo "$ac_i" | sed "$ac_script"`
22066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22067 # will be set to the directory where LIBOBJS objects are built.
22068 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22069 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22070 done
22071 LIBOBJS=$ac_libobjs
22073 LTLIBOBJS=$ac_ltlibobjs
22077 : ${CONFIG_STATUS=./config.status}
22078 ac_clean_files_save=$ac_clean_files
22079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22080 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22081 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22082 cat >$CONFIG_STATUS <<_ACEOF
22083 #! $SHELL
22084 # Generated by $as_me.
22085 # Run this file to recreate the current configuration.
22086 # Compiler output produced by configure, useful for debugging
22087 # configure, is in config.log if it exists.
22089 debug=false
22090 ac_cs_recheck=false
22091 ac_cs_silent=false
22092 SHELL=\${CONFIG_SHELL-$SHELL}
22093 _ACEOF
22095 cat >>$CONFIG_STATUS <<\_ACEOF
22096 ## --------------------- ##
22097 ## M4sh Initialization. ##
22098 ## --------------------- ##
22100 # Be more Bourne compatible
22101 DUALCASE=1; export DUALCASE # for MKS sh
22102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22103 emulate sh
22104 NULLCMD=:
22105 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22106 # is contrary to our usage. Disable this feature.
22107 alias -g '${1+"$@"}'='"$@"'
22108 setopt NO_GLOB_SUBST
22109 else
22110 case `(set -o) 2>/dev/null` in
22111 *posix*) set -o posix ;;
22112 esac
22119 # PATH needs CR
22120 # Avoid depending upon Character Ranges.
22121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22124 as_cr_digits='0123456789'
22125 as_cr_alnum=$as_cr_Letters$as_cr_digits
22127 # The user is always right.
22128 if test "${PATH_SEPARATOR+set}" != set; then
22129 echo "#! /bin/sh" >conf$$.sh
22130 echo "exit 0" >>conf$$.sh
22131 chmod +x conf$$.sh
22132 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22133 PATH_SEPARATOR=';'
22134 else
22135 PATH_SEPARATOR=:
22137 rm -f conf$$.sh
22140 # Support unset when possible.
22141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22142 as_unset=unset
22143 else
22144 as_unset=false
22148 # IFS
22149 # We need space, tab and new line, in precisely that order. Quoting is
22150 # there to prevent editors from complaining about space-tab.
22151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22152 # splitting by setting IFS to empty value.)
22153 as_nl='
22155 IFS=" "" $as_nl"
22157 # Find who we are. Look in the path if we contain no directory separator.
22158 case $0 in
22159 *[\\/]* ) as_myself=$0 ;;
22160 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22161 for as_dir in $PATH
22163 IFS=$as_save_IFS
22164 test -z "$as_dir" && as_dir=.
22165 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22166 done
22167 IFS=$as_save_IFS
22170 esac
22171 # We did not find ourselves, most probably we were run as `sh COMMAND'
22172 # in which case we are not to be found in the path.
22173 if test "x$as_myself" = x; then
22174 as_myself=$0
22176 if test ! -f "$as_myself"; then
22177 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22178 { (exit 1); exit 1; }
22181 # Work around bugs in pre-3.0 UWIN ksh.
22182 for as_var in ENV MAIL MAILPATH
22183 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22184 done
22185 PS1='$ '
22186 PS2='> '
22187 PS4='+ '
22189 # NLS nuisances.
22190 for as_var in \
22191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22193 LC_TELEPHONE LC_TIME
22195 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22196 eval $as_var=C; export $as_var
22197 else
22198 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22200 done
22202 # Required to use basename.
22203 if expr a : '\(a\)' >/dev/null 2>&1 &&
22204 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22205 as_expr=expr
22206 else
22207 as_expr=false
22210 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22211 as_basename=basename
22212 else
22213 as_basename=false
22217 # Name of the executable.
22218 as_me=`$as_basename -- "$0" ||
22219 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22220 X"$0" : 'X\(//\)$' \| \
22221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22222 echo X/"$0" |
22223 sed '/^.*\/\([^/][^/]*\)\/*$/{
22224 s//\1/
22227 /^X\/\(\/\/\)$/{
22228 s//\1/
22231 /^X\/\(\/\).*/{
22232 s//\1/
22235 s/.*/./; q'`
22237 # CDPATH.
22238 $as_unset CDPATH
22242 as_lineno_1=$LINENO
22243 as_lineno_2=$LINENO
22244 test "x$as_lineno_1" != "x$as_lineno_2" &&
22245 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22247 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22248 # uniformly replaced by the line number. The first 'sed' inserts a
22249 # line-number line after each line using $LINENO; the second 'sed'
22250 # does the real work. The second script uses 'N' to pair each
22251 # line-number line with the line containing $LINENO, and appends
22252 # trailing '-' during substitution so that $LINENO is not a special
22253 # case at line end.
22254 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22255 # scripts with optimization help from Paolo Bonzini. Blame Lee
22256 # E. McMahon (1931-1989) for sed's syntax. :-)
22257 sed -n '
22259 /[$]LINENO/=
22260 ' <$as_myself |
22261 sed '
22262 s/[$]LINENO.*/&-/
22263 t lineno
22265 :lineno
22267 :loop
22268 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22269 t loop
22270 s/-\n.*//
22271 ' >$as_me.lineno &&
22272 chmod +x "$as_me.lineno" ||
22273 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22274 { (exit 1); exit 1; }; }
22276 # Don't try to exec as it changes $[0], causing all sort of problems
22277 # (the dirname of $[0] is not the place where we might find the
22278 # original and so on. Autoconf is especially sensitive to this).
22279 . "./$as_me.lineno"
22280 # Exit status is that of the last command.
22281 exit
22285 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22286 as_dirname=dirname
22287 else
22288 as_dirname=false
22291 ECHO_C= ECHO_N= ECHO_T=
22292 case `echo -n x` in
22293 -n*)
22294 case `echo 'x\c'` in
22295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22296 *) ECHO_C='\c';;
22297 esac;;
22299 ECHO_N='-n';;
22300 esac
22302 if expr a : '\(a\)' >/dev/null 2>&1 &&
22303 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22304 as_expr=expr
22305 else
22306 as_expr=false
22309 rm -f conf$$ conf$$.exe conf$$.file
22310 if test -d conf$$.dir; then
22311 rm -f conf$$.dir/conf$$.file
22312 else
22313 rm -f conf$$.dir
22314 mkdir conf$$.dir
22316 echo >conf$$.file
22317 if ln -s conf$$.file conf$$ 2>/dev/null; then
22318 as_ln_s='ln -s'
22319 # ... but there are two gotchas:
22320 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22321 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22322 # In both cases, we have to default to `cp -p'.
22323 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22324 as_ln_s='cp -p'
22325 elif ln conf$$.file conf$$ 2>/dev/null; then
22326 as_ln_s=ln
22327 else
22328 as_ln_s='cp -p'
22330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22331 rmdir conf$$.dir 2>/dev/null
22333 if mkdir -p . 2>/dev/null; then
22334 as_mkdir_p=:
22335 else
22336 test -d ./-p && rmdir ./-p
22337 as_mkdir_p=false
22340 if test -x / >/dev/null 2>&1; then
22341 as_test_x='test -x'
22342 else
22343 if ls -dL / >/dev/null 2>&1; then
22344 as_ls_L_option=L
22345 else
22346 as_ls_L_option=
22348 as_test_x='
22349 eval sh -c '\''
22350 if test -d "$1"; then
22351 test -d "$1/.";
22352 else
22353 case $1 in
22354 -*)set "./$1";;
22355 esac;
22356 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22357 ???[sx]*):;;*)false;;esac;fi
22358 '\'' sh
22361 as_executable_p=$as_test_x
22363 # Sed expression to map a string onto a valid CPP name.
22364 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22366 # Sed expression to map a string onto a valid variable name.
22367 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22370 exec 6>&1
22372 # Save the log message, to keep $[0] and so on meaningful, and to
22373 # report actual input values of CONFIG_FILES etc. instead of their
22374 # values after options handling.
22375 ac_log="
22376 This file was extended by Wine $as_me 0.9.57, which was
22377 generated by GNU Autoconf 2.61. Invocation command line was
22379 CONFIG_FILES = $CONFIG_FILES
22380 CONFIG_HEADERS = $CONFIG_HEADERS
22381 CONFIG_LINKS = $CONFIG_LINKS
22382 CONFIG_COMMANDS = $CONFIG_COMMANDS
22383 $ $0 $@
22385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22388 _ACEOF
22390 cat >>$CONFIG_STATUS <<_ACEOF
22391 # Files that config.status was made for.
22392 config_files="$ac_config_files"
22393 config_headers="$ac_config_headers"
22394 config_commands="$ac_config_commands"
22396 _ACEOF
22398 cat >>$CONFIG_STATUS <<\_ACEOF
22399 ac_cs_usage="\
22400 \`$as_me' instantiates files from templates according to the
22401 current configuration.
22403 Usage: $0 [OPTIONS] [FILE]...
22405 -h, --help print this help, then exit
22406 -V, --version print version number and configuration settings, then exit
22407 -q, --quiet do not print progress messages
22408 -d, --debug don't remove temporary files
22409 --recheck update $as_me by reconfiguring in the same conditions
22410 --file=FILE[:TEMPLATE]
22411 instantiate the configuration file FILE
22412 --header=FILE[:TEMPLATE]
22413 instantiate the configuration header FILE
22415 Configuration files:
22416 $config_files
22418 Configuration headers:
22419 $config_headers
22421 Configuration commands:
22422 $config_commands
22424 Report bugs to <bug-autoconf@gnu.org>."
22426 _ACEOF
22427 cat >>$CONFIG_STATUS <<_ACEOF
22428 ac_cs_version="\\
22429 Wine config.status 0.9.57
22430 configured by $0, generated by GNU Autoconf 2.61,
22431 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22433 Copyright (C) 2006 Free Software Foundation, Inc.
22434 This config.status script is free software; the Free Software Foundation
22435 gives unlimited permission to copy, distribute and modify it."
22437 ac_pwd='$ac_pwd'
22438 srcdir='$srcdir'
22439 INSTALL='$INSTALL'
22440 _ACEOF
22442 cat >>$CONFIG_STATUS <<\_ACEOF
22443 # If no file are specified by the user, then we need to provide default
22444 # value. By we need to know if files were specified by the user.
22445 ac_need_defaults=:
22446 while test $# != 0
22448 case $1 in
22449 --*=*)
22450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22452 ac_shift=:
22455 ac_option=$1
22456 ac_optarg=$2
22457 ac_shift=shift
22459 esac
22461 case $ac_option in
22462 # Handling of the options.
22463 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22464 ac_cs_recheck=: ;;
22465 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22466 echo "$ac_cs_version"; exit ;;
22467 --debug | --debu | --deb | --de | --d | -d )
22468 debug=: ;;
22469 --file | --fil | --fi | --f )
22470 $ac_shift
22471 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22472 ac_need_defaults=false;;
22473 --header | --heade | --head | --hea )
22474 $ac_shift
22475 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22476 ac_need_defaults=false;;
22477 --he | --h)
22478 # Conflict between --help and --header
22479 { echo "$as_me: error: ambiguous option: $1
22480 Try \`$0 --help' for more information." >&2
22481 { (exit 1); exit 1; }; };;
22482 --help | --hel | -h )
22483 echo "$ac_cs_usage"; exit ;;
22484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22485 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22486 ac_cs_silent=: ;;
22488 # This is an error.
22489 -*) { echo "$as_me: error: unrecognized option: $1
22490 Try \`$0 --help' for more information." >&2
22491 { (exit 1); exit 1; }; } ;;
22493 *) ac_config_targets="$ac_config_targets $1"
22494 ac_need_defaults=false ;;
22496 esac
22497 shift
22498 done
22500 ac_configure_extra_args=
22502 if $ac_cs_silent; then
22503 exec 6>/dev/null
22504 ac_configure_extra_args="$ac_configure_extra_args --silent"
22507 _ACEOF
22508 cat >>$CONFIG_STATUS <<_ACEOF
22509 if \$ac_cs_recheck; then
22510 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22511 CONFIG_SHELL=$SHELL
22512 export CONFIG_SHELL
22513 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22516 _ACEOF
22517 cat >>$CONFIG_STATUS <<\_ACEOF
22518 exec 5>>config.log
22520 echo
22521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22522 ## Running $as_me. ##
22523 _ASBOX
22524 echo "$ac_log"
22525 } >&5
22527 _ACEOF
22528 cat >>$CONFIG_STATUS <<_ACEOF
22529 _ACEOF
22531 cat >>$CONFIG_STATUS <<\_ACEOF
22533 # Handling of arguments.
22534 for ac_config_target in $ac_config_targets
22536 case $ac_config_target in
22537 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22538 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22539 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22540 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22541 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22542 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22543 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22544 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22545 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22546 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22547 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22548 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22549 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22550 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22551 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22552 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22553 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22554 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22555 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22556 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22557 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22558 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22559 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22560 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22561 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22562 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22563 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22564 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22565 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22566 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22567 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22568 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22569 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22570 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22571 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22572 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22573 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22574 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22575 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22576 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22577 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22578 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22579 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22580 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22581 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22582 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22583 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22584 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22585 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22586 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22587 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22588 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22589 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22590 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22591 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22592 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22593 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22594 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22595 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22596 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22597 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22598 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22599 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22600 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22601 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22602 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22603 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22604 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22605 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22606 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22607 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22608 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22609 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22610 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22611 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22612 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22613 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22614 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22615 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22616 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22617 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22618 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22619 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22620 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22621 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22622 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22623 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22624 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22625 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22626 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22627 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22628 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22629 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22630 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22631 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22632 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22633 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22634 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22635 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22636 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22637 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22638 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22639 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22640 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22641 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22642 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22643 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22644 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22645 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22646 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22647 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22648 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22649 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22650 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22651 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22652 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22653 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22654 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22655 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22656 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22657 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22658 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22659 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22660 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22661 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22662 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22663 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22664 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22665 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22666 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22667 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22668 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22669 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22670 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22671 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22672 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22673 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22674 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22675 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22676 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22677 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22678 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22679 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22680 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22681 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22682 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22683 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22684 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22685 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22686 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22687 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22688 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22689 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22690 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22691 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22692 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22693 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22694 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22695 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22696 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22697 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22698 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22699 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22700 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22701 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22702 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22703 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22704 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22705 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22706 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22707 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22708 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22709 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22710 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22711 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22712 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22713 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22714 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22715 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22716 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22717 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22718 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22719 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22720 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22721 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22722 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22723 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22724 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22725 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22726 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22727 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22728 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22729 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22730 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22731 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22732 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22733 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22734 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22735 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22736 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22737 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22738 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22739 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22740 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22741 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22742 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22743 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22744 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22745 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22746 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22747 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22748 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22749 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22750 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22751 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22752 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22753 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22754 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22755 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22756 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22757 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22758 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22759 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22760 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22761 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22762 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22763 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22764 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22765 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22766 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22767 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22768 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22769 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22770 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22771 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22772 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22773 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22774 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22775 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22776 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22777 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22778 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22779 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22780 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22781 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22782 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22783 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22784 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22785 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22786 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22787 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22788 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22789 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22790 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22791 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22792 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22793 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22794 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22795 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22796 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22797 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22798 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22799 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22800 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22801 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22802 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22803 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22804 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22805 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22806 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22807 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22808 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22809 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22810 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22811 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22812 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22813 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22814 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22815 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22816 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22817 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22818 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22819 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22820 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22821 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22822 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22823 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22824 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22825 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22826 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22827 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22828 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22829 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22830 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22831 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22832 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22833 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22834 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22835 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22836 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22837 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22838 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22839 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22840 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22841 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22842 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22843 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22844 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22845 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22846 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22847 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22848 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22849 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22850 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22851 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22852 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22853 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22854 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22855 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22856 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22857 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22858 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22859 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22860 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22861 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22862 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22863 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22864 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22865 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22866 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22867 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22868 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22869 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22870 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22871 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22872 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22873 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22874 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22875 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22876 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22877 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22878 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22879 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22880 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22881 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22882 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22883 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22884 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22885 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22886 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22887 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22888 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22889 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22890 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22891 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22892 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22893 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22894 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22895 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22896 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22897 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22898 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22899 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22900 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22901 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22902 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22903 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22904 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22905 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22906 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22907 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22908 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22909 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22910 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22911 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22912 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22913 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22914 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22915 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22916 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22917 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22918 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22919 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22920 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
22921 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22922 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22923 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22924 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22925 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22926 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22927 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22928 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22929 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22930 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22931 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22932 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22933 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22934 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22935 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22936 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22937 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22938 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22939 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22940 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22941 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22942 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22943 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22944 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22945 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22946 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22947 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22948 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22949 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22950 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22951 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22953 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22954 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22955 { (exit 1); exit 1; }; };;
22956 esac
22957 done
22960 # If the user did not use the arguments to specify the items to instantiate,
22961 # then the envvar interface is used. Set only those that are not.
22962 # We use the long form for the default assignment because of an extremely
22963 # bizarre bug on SunOS 4.1.3.
22964 if $ac_need_defaults; then
22965 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22966 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22967 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22970 # Have a temporary directory for convenience. Make it in the build tree
22971 # simply because there is no reason against having it here, and in addition,
22972 # creating and moving files from /tmp can sometimes cause problems.
22973 # Hook for its removal unless debugging.
22974 # Note that there is a small window in which the directory will not be cleaned:
22975 # after its creation but before its name has been assigned to `$tmp'.
22976 $debug ||
22978 tmp=
22979 trap 'exit_status=$?
22980 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22982 trap '{ (exit 1); exit 1; }' 1 2 13 15
22984 # Create a (secure) tmp directory for tmp files.
22987 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22988 test -n "$tmp" && test -d "$tmp"
22989 } ||
22991 tmp=./conf$$-$RANDOM
22992 (umask 077 && mkdir "$tmp")
22993 } ||
22995 echo "$me: cannot create a temporary directory in ." >&2
22996 { (exit 1); exit 1; }
23000 # Set up the sed scripts for CONFIG_FILES section.
23003 # No need to generate the scripts if there are no CONFIG_FILES.
23004 # This happens for instance when ./config.status config.h
23005 if test -n "$CONFIG_FILES"; then
23007 _ACEOF
23009 # Create sed commands to just substitute file output variables.
23011 # Remaining file output variables are in a fragment that also has non-file
23012 # output varibles.
23016 ac_delim='%!_!# '
23017 for ac_last_try in false false false false false :; do
23018 cat >conf$$subs.sed <<_ACEOF
23019 SHELL!$SHELL$ac_delim
23020 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23021 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23022 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23023 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23024 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23025 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23026 exec_prefix!$exec_prefix$ac_delim
23027 prefix!$prefix$ac_delim
23028 program_transform_name!$program_transform_name$ac_delim
23029 bindir!$bindir$ac_delim
23030 sbindir!$sbindir$ac_delim
23031 libexecdir!$libexecdir$ac_delim
23032 datarootdir!$datarootdir$ac_delim
23033 datadir!$datadir$ac_delim
23034 sysconfdir!$sysconfdir$ac_delim
23035 sharedstatedir!$sharedstatedir$ac_delim
23036 localstatedir!$localstatedir$ac_delim
23037 includedir!$includedir$ac_delim
23038 oldincludedir!$oldincludedir$ac_delim
23039 docdir!$docdir$ac_delim
23040 infodir!$infodir$ac_delim
23041 htmldir!$htmldir$ac_delim
23042 dvidir!$dvidir$ac_delim
23043 pdfdir!$pdfdir$ac_delim
23044 psdir!$psdir$ac_delim
23045 libdir!$libdir$ac_delim
23046 localedir!$localedir$ac_delim
23047 mandir!$mandir$ac_delim
23048 DEFS!$DEFS$ac_delim
23049 ECHO_C!$ECHO_C$ac_delim
23050 ECHO_N!$ECHO_N$ac_delim
23051 ECHO_T!$ECHO_T$ac_delim
23052 LIBS!$LIBS$ac_delim
23053 build_alias!$build_alias$ac_delim
23054 host_alias!$host_alias$ac_delim
23055 target_alias!$target_alias$ac_delim
23056 build!$build$ac_delim
23057 build_cpu!$build_cpu$ac_delim
23058 build_vendor!$build_vendor$ac_delim
23059 build_os!$build_os$ac_delim
23060 host!$host$ac_delim
23061 host_cpu!$host_cpu$ac_delim
23062 host_vendor!$host_vendor$ac_delim
23063 host_os!$host_os$ac_delim
23064 WIN16_FILES!$WIN16_FILES$ac_delim
23065 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23066 SET_MAKE!$SET_MAKE$ac_delim
23067 CC!$CC$ac_delim
23068 CFLAGS!$CFLAGS$ac_delim
23069 LDFLAGS!$LDFLAGS$ac_delim
23070 CPPFLAGS!$CPPFLAGS$ac_delim
23071 ac_ct_CC!$ac_ct_CC$ac_delim
23072 EXEEXT!$EXEEXT$ac_delim
23073 OBJEXT!$OBJEXT$ac_delim
23074 CXX!$CXX$ac_delim
23075 CXXFLAGS!$CXXFLAGS$ac_delim
23076 ac_ct_CXX!$ac_ct_CXX$ac_delim
23077 CPPBIN!$CPPBIN$ac_delim
23078 TOOLSDIR!$TOOLSDIR$ac_delim
23079 XMKMF!$XMKMF$ac_delim
23080 CPP!$CPP$ac_delim
23081 X_CFLAGS!$X_CFLAGS$ac_delim
23082 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23083 X_LIBS!$X_LIBS$ac_delim
23084 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23085 FLEX!$FLEX$ac_delim
23086 BISON!$BISON$ac_delim
23087 AS!$AS$ac_delim
23088 ac_ct_AS!$ac_ct_AS$ac_delim
23089 LD!$LD$ac_delim
23090 AR!$AR$ac_delim
23091 ARFLAGS!$ARFLAGS$ac_delim
23092 RANLIB!$RANLIB$ac_delim
23093 STRIP!$STRIP$ac_delim
23094 WINDRES!$WINDRES$ac_delim
23095 LN_S!$LN_S$ac_delim
23096 LN!$LN$ac_delim
23097 GREP!$GREP$ac_delim
23098 EGREP!$EGREP$ac_delim
23099 LDCONFIG!$LDCONFIG$ac_delim
23100 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23101 _ACEOF
23103 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23104 break
23105 elif $ac_last_try; then
23106 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23107 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23108 { (exit 1); exit 1; }; }
23109 else
23110 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23112 done
23114 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23115 if test -n "$ac_eof"; then
23116 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23117 ac_eof=`expr $ac_eof + 1`
23120 cat >>$CONFIG_STATUS <<_ACEOF
23121 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23123 /^[ ]*@MAKE_RULES@[ ]*$/{
23124 r $MAKE_RULES
23127 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23128 r $MAKE_DLL_RULES
23131 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23132 r $MAKE_IMPLIB_RULES
23135 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23136 r $MAKE_TEST_RULES
23139 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23140 r $MAKE_PROG_RULES
23143 _ACEOF
23144 sed '
23145 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23146 s/^/s,@/; s/!/@,|#_!!_#|/
23149 s/'"$ac_delim"'$/,g/; t
23150 s/$/\\/; p
23151 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23152 ' >>$CONFIG_STATUS <conf$$subs.sed
23153 rm -f conf$$subs.sed
23154 cat >>$CONFIG_STATUS <<_ACEOF
23155 CEOF$ac_eof
23156 _ACEOF
23159 ac_delim='%!_!# '
23160 for ac_last_try in false false false false false :; do
23161 cat >conf$$subs.sed <<_ACEOF
23162 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23163 INSTALL_DATA!$INSTALL_DATA$ac_delim
23164 LINT!$LINT$ac_delim
23165 LINTFLAGS!$LINTFLAGS$ac_delim
23166 FONTFORGE!$FONTFORGE$ac_delim
23167 PKG_CONFIG!$PKG_CONFIG$ac_delim
23168 PRELINK!$PRELINK$ac_delim
23169 LIBPTHREAD!$LIBPTHREAD$ac_delim
23170 XLIB!$XLIB$ac_delim
23171 XFILES!$XFILES$ac_delim
23172 OPENGLFILES!$OPENGLFILES$ac_delim
23173 GLU32FILES!$GLU32FILES$ac_delim
23174 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23175 QUARTZFILES!$QUARTZFILES$ac_delim
23176 DLLEXT!$DLLEXT$ac_delim
23177 DLLFLAGS!$DLLFLAGS$ac_delim
23178 LDSHARED!$LDSHARED$ac_delim
23179 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23180 LIBEXT!$LIBEXT$ac_delim
23181 IMPLIBEXT!$IMPLIBEXT$ac_delim
23182 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23183 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23184 LDD!$LDD$ac_delim
23185 DLLTOOL!$DLLTOOL$ac_delim
23186 DLLWRAP!$DLLWRAP$ac_delim
23187 MINGWAR!$MINGWAR$ac_delim
23188 SECURITYLIB!$SECURITYLIB$ac_delim
23189 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23190 IOKITLIB!$IOKITLIB$ac_delim
23191 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23192 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23193 COREAUDIO!$COREAUDIO$ac_delim
23194 CARBONLIB!$CARBONLIB$ac_delim
23195 CROSSTEST!$CROSSTEST$ac_delim
23196 CROSSCC!$CROSSCC$ac_delim
23197 CROSSWINDRES!$CROSSWINDRES$ac_delim
23198 NASLIBS!$NASLIBS$ac_delim
23199 XML2LIBS!$XML2LIBS$ac_delim
23200 XML2INCL!$XML2INCL$ac_delim
23201 XSLTLIBS!$XSLTLIBS$ac_delim
23202 XSLTINCL!$XSLTINCL$ac_delim
23203 HALINCL!$HALINCL$ac_delim
23204 sane_devel!$sane_devel$ac_delim
23205 SANEINCL!$SANEINCL$ac_delim
23206 gphoto2_devel!$gphoto2_devel$ac_delim
23207 gphoto2port_devel!$gphoto2port_devel$ac_delim
23208 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23209 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23210 RESOLVLIBS!$RESOLVLIBS$ac_delim
23211 LCMSLIBS!$LCMSLIBS$ac_delim
23212 LDAPLIBS!$LDAPLIBS$ac_delim
23213 ft_devel!$ft_devel$ac_delim
23214 FREETYPELIBS!$FREETYPELIBS$ac_delim
23215 FREETYPEINCL!$FREETYPEINCL$ac_delim
23216 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23217 ESDCONFIG!$ESDCONFIG$ac_delim
23218 ESDLIBS!$ESDLIBS$ac_delim
23219 ESDINCL!$ESDINCL$ac_delim
23220 ALSALIBS!$ALSALIBS$ac_delim
23221 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23222 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23223 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23224 BUILTINFLAG!$BUILTINFLAG$ac_delim
23225 LDPATH!$LDPATH$ac_delim
23226 CRTLIBS!$CRTLIBS$ac_delim
23227 SOCKETLIBS!$SOCKETLIBS$ac_delim
23228 MAIN_BINARY!$MAIN_BINARY$ac_delim
23229 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23230 LIBDL!$LIBDL$ac_delim
23231 LIBPOLL!$LIBPOLL$ac_delim
23232 DEPENDENCIES!$DEPENDENCIES$ac_delim
23233 LIBOBJS!$LIBOBJS$ac_delim
23234 LTLIBOBJS!$LTLIBOBJS$ac_delim
23235 _ACEOF
23237 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
23238 break
23239 elif $ac_last_try; then
23240 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23241 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23242 { (exit 1); exit 1; }; }
23243 else
23244 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23246 done
23248 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23249 if test -n "$ac_eof"; then
23250 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23251 ac_eof=`expr $ac_eof + 1`
23254 cat >>$CONFIG_STATUS <<_ACEOF
23255 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23257 _ACEOF
23258 sed '
23259 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23260 s/^/s,@/; s/!/@,|#_!!_#|/
23263 s/'"$ac_delim"'$/,g/; t
23264 s/$/\\/; p
23265 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23266 ' >>$CONFIG_STATUS <conf$$subs.sed
23267 rm -f conf$$subs.sed
23268 cat >>$CONFIG_STATUS <<_ACEOF
23269 :end
23270 s/|#_!!_#|//g
23271 CEOF$ac_eof
23272 _ACEOF
23275 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23276 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23277 # trailing colons and then remove the whole line if VPATH becomes empty
23278 # (actually we leave an empty line to preserve line numbers).
23279 if test "x$srcdir" = x.; then
23280 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23281 s/:*\$(srcdir):*/:/
23282 s/:*\${srcdir}:*/:/
23283 s/:*@srcdir@:*/:/
23284 s/^\([^=]*=[ ]*\):*/\1/
23285 s/:*$//
23286 s/^[^=]*=[ ]*$//
23290 cat >>$CONFIG_STATUS <<\_ACEOF
23291 fi # test -n "$CONFIG_FILES"
23294 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23296 case $ac_tag in
23297 :[FHLC]) ac_mode=$ac_tag; continue;;
23298 esac
23299 case $ac_mode$ac_tag in
23300 :[FHL]*:*);;
23301 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23302 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23303 { (exit 1); exit 1; }; };;
23304 :[FH]-) ac_tag=-:-;;
23305 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23306 esac
23307 ac_save_IFS=$IFS
23308 IFS=:
23309 set x $ac_tag
23310 IFS=$ac_save_IFS
23311 shift
23312 ac_file=$1
23313 shift
23315 case $ac_mode in
23316 :L) ac_source=$1;;
23317 :[FH])
23318 ac_file_inputs=
23319 for ac_f
23321 case $ac_f in
23322 -) ac_f="$tmp/stdin";;
23323 *) # Look for the file first in the build tree, then in the source tree
23324 # (if the path is not absolute). The absolute path cannot be DOS-style,
23325 # because $ac_f cannot contain `:'.
23326 test -f "$ac_f" ||
23327 case $ac_f in
23328 [\\/$]*) false;;
23329 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23330 esac ||
23331 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23332 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23333 { (exit 1); exit 1; }; };;
23334 esac
23335 ac_file_inputs="$ac_file_inputs $ac_f"
23336 done
23338 # Let's still pretend it is `configure' which instantiates (i.e., don't
23339 # use $as_me), people would be surprised to read:
23340 # /* config.h. Generated by config.status. */
23341 configure_input="Generated from "`IFS=:
23342 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23343 if test x"$ac_file" != x-; then
23344 configure_input="$ac_file. $configure_input"
23345 { echo "$as_me:$LINENO: creating $ac_file" >&5
23346 echo "$as_me: creating $ac_file" >&6;}
23349 case $ac_tag in
23350 *:-:* | *:-) cat >"$tmp/stdin";;
23351 esac
23353 esac
23355 ac_dir=`$as_dirname -- "$ac_file" ||
23356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23357 X"$ac_file" : 'X\(//\)[^/]' \| \
23358 X"$ac_file" : 'X\(//\)$' \| \
23359 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23360 echo X"$ac_file" |
23361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23362 s//\1/
23365 /^X\(\/\/\)[^/].*/{
23366 s//\1/
23369 /^X\(\/\/\)$/{
23370 s//\1/
23373 /^X\(\/\).*/{
23374 s//\1/
23377 s/.*/./; q'`
23378 { as_dir="$ac_dir"
23379 case $as_dir in #(
23380 -*) as_dir=./$as_dir;;
23381 esac
23382 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23383 as_dirs=
23384 while :; do
23385 case $as_dir in #(
23386 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23387 *) as_qdir=$as_dir;;
23388 esac
23389 as_dirs="'$as_qdir' $as_dirs"
23390 as_dir=`$as_dirname -- "$as_dir" ||
23391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23392 X"$as_dir" : 'X\(//\)[^/]' \| \
23393 X"$as_dir" : 'X\(//\)$' \| \
23394 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23395 echo X"$as_dir" |
23396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23397 s//\1/
23400 /^X\(\/\/\)[^/].*/{
23401 s//\1/
23404 /^X\(\/\/\)$/{
23405 s//\1/
23408 /^X\(\/\).*/{
23409 s//\1/
23412 s/.*/./; q'`
23413 test -d "$as_dir" && break
23414 done
23415 test -z "$as_dirs" || eval "mkdir $as_dirs"
23416 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23417 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23418 { (exit 1); exit 1; }; }; }
23419 ac_builddir=.
23421 case "$ac_dir" in
23422 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23424 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23425 # A ".." for each directory in $ac_dir_suffix.
23426 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23427 case $ac_top_builddir_sub in
23428 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23429 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23430 esac ;;
23431 esac
23432 ac_abs_top_builddir=$ac_pwd
23433 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23434 # for backward compatibility:
23435 ac_top_builddir=$ac_top_build_prefix
23437 case $srcdir in
23438 .) # We are building in place.
23439 ac_srcdir=.
23440 ac_top_srcdir=$ac_top_builddir_sub
23441 ac_abs_top_srcdir=$ac_pwd ;;
23442 [\\/]* | ?:[\\/]* ) # Absolute name.
23443 ac_srcdir=$srcdir$ac_dir_suffix;
23444 ac_top_srcdir=$srcdir
23445 ac_abs_top_srcdir=$srcdir ;;
23446 *) # Relative name.
23447 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23448 ac_top_srcdir=$ac_top_build_prefix$srcdir
23449 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23450 esac
23451 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23454 case $ac_mode in
23457 # CONFIG_FILE
23460 case $INSTALL in
23461 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23462 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23463 esac
23464 _ACEOF
23466 cat >>$CONFIG_STATUS <<\_ACEOF
23467 # If the template does not know about datarootdir, expand it.
23468 # FIXME: This hack should be removed a few years after 2.60.
23469 ac_datarootdir_hack=; ac_datarootdir_seen=
23471 case `sed -n '/datarootdir/ {
23475 /@datadir@/p
23476 /@docdir@/p
23477 /@infodir@/p
23478 /@localedir@/p
23479 /@mandir@/p
23480 ' $ac_file_inputs` in
23481 *datarootdir*) ac_datarootdir_seen=yes;;
23482 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23483 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23484 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23485 _ACEOF
23486 cat >>$CONFIG_STATUS <<_ACEOF
23487 ac_datarootdir_hack='
23488 s&@datadir@&$datadir&g
23489 s&@docdir@&$docdir&g
23490 s&@infodir@&$infodir&g
23491 s&@localedir@&$localedir&g
23492 s&@mandir@&$mandir&g
23493 s&\\\${datarootdir}&$datarootdir&g' ;;
23494 esac
23495 _ACEOF
23497 # Neutralize VPATH when `$srcdir' = `.'.
23498 # Shell code in configure.ac might set extrasub.
23499 # FIXME: do we really want to maintain this feature?
23500 cat >>$CONFIG_STATUS <<_ACEOF
23501 sed "$ac_vpsub
23502 $extrasub
23503 _ACEOF
23504 cat >>$CONFIG_STATUS <<\_ACEOF
23506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23507 s&@configure_input@&$configure_input&;t t
23508 s&@top_builddir@&$ac_top_builddir_sub&;t t
23509 s&@srcdir@&$ac_srcdir&;t t
23510 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23511 s&@top_srcdir@&$ac_top_srcdir&;t t
23512 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23513 s&@builddir@&$ac_builddir&;t t
23514 s&@abs_builddir@&$ac_abs_builddir&;t t
23515 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23516 s&@INSTALL@&$ac_INSTALL&;t t
23517 $ac_datarootdir_hack
23518 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23521 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23523 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23524 which seems to be undefined. Please make sure it is defined." >&5
23525 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23526 which seems to be undefined. Please make sure it is defined." >&2;}
23528 rm -f "$tmp/stdin"
23529 case $ac_file in
23530 -) cat "$tmp/out"; rm -f "$tmp/out";;
23531 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23532 esac
23536 # CONFIG_HEADER
23538 _ACEOF
23540 # Transform confdefs.h into a sed script `conftest.defines', that
23541 # substitutes the proper values into config.h.in to produce config.h.
23542 rm -f conftest.defines conftest.tail
23543 # First, append a space to every undef/define line, to ease matching.
23544 echo 's/$/ /' >conftest.defines
23545 # Then, protect against being on the right side of a sed subst, or in
23546 # an unquoted here document, in config.status. If some macros were
23547 # called several times there might be several #defines for the same
23548 # symbol, which is useless. But do not sort them, since the last
23549 # AC_DEFINE must be honored.
23550 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23551 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23552 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23553 # PARAMS is the parameter list in the macro definition--in most cases, it's
23554 # just an empty string.
23555 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23556 ac_dB='\\)[ (].*,\\1define\\2'
23557 ac_dC=' '
23558 ac_dD=' ,'
23560 uniq confdefs.h |
23561 sed -n '
23562 t rset
23563 :rset
23564 s/^[ ]*#[ ]*define[ ][ ]*//
23565 t ok
23568 s/[\\&,]/\\&/g
23569 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23570 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23571 ' >>conftest.defines
23573 # Remove the space that was appended to ease matching.
23574 # Then replace #undef with comments. This is necessary, for
23575 # example, in the case of _POSIX_SOURCE, which is predefined and required
23576 # on some systems where configure will not decide to define it.
23577 # (The regexp can be short, since the line contains either #define or #undef.)
23578 echo 's/ $//
23579 s,^[ #]*u.*,/* & */,' >>conftest.defines
23581 # Break up conftest.defines:
23582 ac_max_sed_lines=50
23584 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23585 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23586 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23587 # et cetera.
23588 ac_in='$ac_file_inputs'
23589 ac_out='"$tmp/out1"'
23590 ac_nxt='"$tmp/out2"'
23592 while :
23594 # Write a here document:
23595 cat >>$CONFIG_STATUS <<_ACEOF
23596 # First, check the format of the line:
23597 cat >"\$tmp/defines.sed" <<\\CEOF
23598 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23599 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23601 :def
23602 _ACEOF
23603 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23604 echo 'CEOF
23605 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23606 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23607 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23608 grep . conftest.tail >/dev/null || break
23609 rm -f conftest.defines
23610 mv conftest.tail conftest.defines
23611 done
23612 rm -f conftest.defines conftest.tail
23614 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23615 cat >>$CONFIG_STATUS <<\_ACEOF
23616 if test x"$ac_file" != x-; then
23617 echo "/* $configure_input */" >"$tmp/config.h"
23618 cat "$ac_result" >>"$tmp/config.h"
23619 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23620 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23621 echo "$as_me: $ac_file is unchanged" >&6;}
23622 else
23623 rm -f $ac_file
23624 mv "$tmp/config.h" $ac_file
23626 else
23627 echo "/* $configure_input */"
23628 cat "$ac_result"
23630 rm -f "$tmp/out12"
23633 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23634 echo "$as_me: executing $ac_file commands" >&6;}
23636 esac
23639 case $ac_file$ac_mode in
23640 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23641 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23642 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23643 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23644 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23645 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23646 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23647 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23648 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23649 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23650 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23651 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23652 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23654 esac
23655 done # for ac_tag
23658 { (exit 0); exit 0; }
23659 _ACEOF
23660 chmod +x $CONFIG_STATUS
23661 ac_clean_files=$ac_clean_files_save
23664 # configure is writing to config.log, and then calls config.status.
23665 # config.status does its own redirection, appending to config.log.
23666 # Unfortunately, on DOS this fails, as config.log is still kept open
23667 # by configure, so config.status won't be able to write to it; its
23668 # output is simply discarded. So we exec the FD to /dev/null,
23669 # effectively closing config.log, so it can be properly (re)opened and
23670 # appended to by config.status. When coming back to configure, we
23671 # need to make the FD available again.
23672 if test "$no_create" != yes; then
23673 ac_cs_success=:
23674 ac_config_status_args=
23675 test "$silent" = yes &&
23676 ac_config_status_args="$ac_config_status_args --quiet"
23677 exec 5>/dev/null
23678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23679 exec 5>>config.log
23680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23681 # would make configure fail if this is the last instruction.
23682 $ac_cs_success || { (exit 1); exit 1; }
23686 if test "$no_create" = "yes"
23687 then
23688 exit 0
23691 ac_save_IFS="$IFS"
23692 IFS="|"
23693 if test "x$wine_notices != "x; then
23694 echo >&6
23695 for msg in $wine_notices; do
23696 if test -n "$msg"; then
23697 { echo "$as_me:$LINENO: $msg" >&5
23698 echo "$as_me: $msg" >&6;}
23700 done
23702 for msg in $wine_warnings; do
23703 if test -n "$msg"; then
23704 echo >&2
23705 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23706 echo "$as_me: WARNING: $msg" >&2;}
23708 done
23709 IFS="$ac_save_IFS"
23711 echo "
23712 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23713 " >&6